/* ========== CORE DESIGN SYSTEM ========== */

:root {
    --primary: #7C3AED;
    --primary-hover: #6D28D9;
    --secondary: #4F46E5;
    --text-dark: #111827;
    --text-gray: #4B5563;
    --text-light: #9CA3AF;
    --bg-white: #FFFFFF;
    --bg-gray: #F9FAFB;
    --border: #E5E7EB;
    --gradient: linear-gradient(135deg, #7C3AED 0%, #4F46E5 100%);
    --font-main: 'Inter', sans-serif;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 24px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow-x: clip;
    max-width: 100vw;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    background-color: var(--bg-white);
    line-height: 1.6;
    overflow-x: clip;
    cursor: none;
}

/* ========== CUSTOM CURSOR ========== */
.custom-cursor {
    position: fixed;
    width: 30px;
    height: 30px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10001;
    transition: width 0.3s, height 0.3s, background 0.3s;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 15px rgba(124, 58, 237, 0.4);
}

.cursor-dot {
    position: fixed;
    width: 6px;
    height: 6px;
    background: var(--secondary);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10002;
    transform: translate(-50%, -50%);
}

a, button, .cursor-pointer {
    cursor: none;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: 0 4px 14px rgba(124, 58, 237, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.4);
}

.btn-outline {
    background: white;
    color: var(--text-dark);
    border: 1px solid var(--border);
}

.btn-outline:hover {
    border-color: var(--text-gray);
    background: var(--bg-gray);
}

/* Navbar */
header {
    height: 85px;
    width: 100%;
    position: fixed; /* Fixed for constant presence */
    top: 0;
    left: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    padding: 0 50px;
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.header-scrolled {
    height: 72px;
    background: transparent !important; /* Fully transparent */
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: none;
}

.header-scrolled .nav-links a, 
.header-scrolled .logo {
    color: white !important; /* Adaptive color for dark sections */
}

.header-scrolled .btn-primary {
    background: white;
    color: var(--primary);
}

.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 100%;
}

.logo {
    font-size: 26px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-dark);
}

.logo span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 52px;
}

.nav-links a {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-gray);
    position: relative;
    transition: color 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a.active {
    color: var(--primary);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    width: 24px;
    height: 1.5px;
    background: var(--primary);
    transition: all 0.3s ease;
}

/* Specific Header Button Style */
header .btn-primary {
    height: 52px;
    padding: 0 28px;
    border-radius: 14px;
    background: linear-gradient(135deg, #6b3df5, #7c4dff);
    box-shadow: 0 8px 20px rgba(107, 61, 245, 0.25);
    font-size: 15px;
    font-weight: 600;
}

header .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(107, 61, 245, 0.35);
}

/* ========== HERO SECTION ========== */
/* ========== PRODUCTION-LEVEL HERO POLISH ========== */
/* ========== HERO SECTION REDESIGN ========== */
.hero {
    position: relative;
    min-height: 100vh;
    height: 100vh;
    overflow: hidden;

    background:
    linear-gradient(
        to bottom,
        #f8f5ff 0%,
        #f4efff 40%,
        #f3edff 100%
    );
}

.hero-bg-container{
    position: absolute;
    inset: 0;
    overflow: hidden;
}

/* TOP LIGHT */

.hero-top-light{
    position: absolute;

    width: 1600px;
    height: 600px;

    left: 50%;
    top: -180px;

    transform: translateX(-50%);

    background:
    radial-gradient(
        ellipse at center,
        rgba(255,255,255,0.95) 0%,
        rgba(255,255,255,0.55) 25%,
        rgba(255,255,255,0.18) 50%,
        transparent 72%
    );

    filter: blur(90px);

    opacity: 0.95;

    z-index: 1;
}

/* HORIZON GLOW */

.hero-horizon-glow{
    position: absolute;

    width: 1800px;
    height: 500px;

    left: 50%;
    top: 52%;

    transform: translateX(-50%);

    background:
    radial-gradient(
        ellipse at center,
        rgba(255,255,255,0.78) 0%,
        rgba(255,255,255,0.48) 25%,
        rgba(220,205,255,0.18) 50%,
        transparent 75%
    );

    filter: blur(70px);

    opacity: 0.95;

    z-index: 1;
}

/* FLOOR ATMOSPHERE */

.hero-floor-atmosphere{
    position: absolute;

    width: 1500px;
    height: 380px;

    left: 50%;
    bottom: -220px;

    transform: translateX(-50%);

    background:
    radial-gradient(
        ellipse at center,
        rgba(255,255,255,0.95),
        rgba(255,255,255,0.28),
        transparent 72%
    );

    filter: blur(80px);

    opacity: 0.9;

    z-index: 1;
}

/* GLOBAL FOG */

.hero-global-fog{
    position: absolute;
    inset: 0;

    background:
    radial-gradient(
        circle at center,
        rgba(255,255,255,0.16),
        rgba(255,255,255,0.04),
        transparent 75%
    );

    backdrop-filter: blur(5px);

    opacity: 0.9;

    z-index: 2;
}

/* NOISE */

.hero-noise{
    position: absolute;
    inset: 0;

    background-image:
    url("../assets/noise.png");

    opacity: 0.035;

    mix-blend-mode: soft-light;

    z-index: 3;
}

/* MAIN GLOW */

.hero-massive-glow{
    position: absolute;

    width: 1100px;
    height: 1100px;

    left: 50%;
    top: 50%;

    transform: translate(-50%, -50%);

    border-radius: 50%;

    opacity: 0.85;

    background:
    radial-gradient(
        circle,
        rgba(255,255,255,0.98) 0%,
        rgba(255,255,255,0.85) 25%,
        rgba(255,255,255,0.45) 50%,
        rgba(255,255,255,0.15) 70%,
        transparent 85%
    );

    filter: blur(8px);

    box-shadow:
    0 -80px 180px rgba(255,255,255,0.95),
    0 -20px 100px rgba(190,160,255,0.55),
    0 0 120px rgba(170,130,255,0.16),
    inset 0 40px 120px rgba(255,255,255,0.85);

    z-index: 2;
}

/* ORBIT RINGS */

.orbit-ring{
    position: absolute;

    left: 50%;
    top: 50%;

    transform: translate(-50%, -50%);

    border-radius: 50%;

    border:
    1px dashed rgba(255,255,255,0.22);

    filter: blur(0.3px);

    opacity: 0.55;

    box-shadow:
    0 0 25px rgba(255,255,255,0.12);

    z-index: 2;
}

.orbit-1{
    width: 620px;
    height: 620px;
}

.orbit-2{
    width: 860px;
    height: 860px;
}

.orbit-3{
    width: 1120px;
    height: 1120px;
}

/* SPHERES */

.glow-sphere{
    position: absolute;

    border-radius: 50%;

    background:
    radial-gradient(
        circle at 30% 30%,
        rgba(255,255,255,0.95),
        #b785ff 45%,
        #7b3dff 100%
    );

    box-shadow:
    0 0 20px rgba(140,90,255,0.7),
    0 0 50px rgba(170,120,255,0.45),
    0 0 90px rgba(200,170,255,0.22);
}

.sparkle{
    width: 2px;
    height: 2px;

    border-radius: 50%;

    background: white;

    opacity: 0.7;

    filter: blur(0.5px);

    box-shadow:
    0 0 10px white;
}

@keyframes orbitFloating {
    0% { transform: translate(0, 0) scale(1); opacity: 0.6; }
    50% { transform: translate(40px, -40px) scale(1.1); opacity: 1; }
    100% { transform: translate(-20px, 20px) scale(0.9); opacity: 0.6; }
}

@keyframes twinkle {
    0%, 100% { opacity: 0.2; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.5); }
}

.hero-inner {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 110px;
    padding-bottom: 30px;
    position: relative;
    z-index: 5;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 1000px;
}

.hero-floating-badge {
    position: absolute;
    top: 140px;
    left: 50%;
    transform: translateX(-50%);
    width: fit-content;
    height: 62px;
    padding: 0 28px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.1);
    display: flex;
    align-items: center;
    gap: 14px;
    z-index: 10;
}

.badge-icon {
    width: 36px;
    height: 36px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
}

.hero-floating-badge span {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
}

.hero-heading-badge {
    margin-bottom: 20px;
    height: 48px;
    padding: 0 24px;
    border-radius: 999px;
    border: 1px solid rgba(124, 77, 255, 0.25);
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(12px);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--primary);
    font-size: 15px;
    font-weight: 600;
    transform: scale(0.9);
}

.hero-heading-badge i {
    font-size: 14px;
}

.hero-title {
    font-size: 72px;
    line-height: 0.95;
    font-weight: 800;
    letter-spacing: -3px;
    color: #1a1a1a;
    max-width: 760px;
    margin-bottom: 22px;
    text-align: center;
}

.highlight {
    color: var(--primary);
}

.typing-text {
    font-size: 1.15em;
    display: inline-block;
    white-space: nowrap;
}

.typing-cursor {
    display: inline-block;
    width: 3px;
    height: 0.9em;
    background: var(--primary);
    vertical-align: text-bottom;
    margin-left: 2px;
    animation: blink-cursor 0.8s step-end infinite;
}

@keyframes blink-cursor {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.hero-desc {
    max-width: 560px;
    font-size: 18px;
    line-height: 1.65;
    color: #666b7a;
    font-weight: 400;
    margin-top: 12px;
    margin-bottom: 28px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-top: 10px;
    margin-bottom: 48px;
}

.hero-actions .btn-primary {
    height: 58px;
    padding: 0 30px;
    border-radius: 16px;
    background: linear-gradient(135deg, #6b3df5, #8a5cff);
    color: white;
    font-size: 18px;
    font-weight: 600;
    box-shadow: 0 15px 35px rgba(107, 61, 245, 0.25);
    transition: all 0.3s ease;
}

.hero-actions .btn-white {
    height: 58px;
    padding: 0 30px;
    border-radius: 16px;
    background: white;
    border: none;
    color: var(--text-dark);
    font-size: 18px;
    font-weight: 600;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.hero-actions .btn:hover {
    transform: translateY(-3px);
}

/* Social Proof & Logo Strip */
.social-proof {
    margin-top: 34px;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10;
}

.social-proof-row {
    display: flex;
    align-items: center;
    gap: 16px;
}

.avatars {
    display: flex;
    align-items: center;
}

.avatars img {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 2px solid white;
    margin-left: -10px;
    object-fit: cover;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.avatars img:first-child {
    margin-left: 0;
}

.stars {
    display: flex;
    gap: 2px;
    color: #f59e0b; /* Gold */
    font-size: 14px;
}

.social-proof-text {
    font-size: 14px;
    color: #6b7280;
    margin-top: 8px;
    font-weight: 500;
}

.crm-floating-badge {
    margin-top: 34px;
    height: 62px;
    padding: 0 28px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
}

.badge-icon-small {
    width: 34px;
    height: 34px;
    background: rgba(124, 77, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 16px;
}

.crm-floating-badge span {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
}

.crm-floating-badge:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(124, 58, 237, 0.1);
}

.brand-logo-section {
    margin-top: 34px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo-title {
    font-size: 17px;
    color: #6b7280;
    margin-bottom: 24px;
    font-weight: 500;
}

.logo-row {
    display: flex;
    align-items: center;
    gap: 48px;
    transform: scale(0.9);
    opacity: 0.42;
}

.logo-item {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    opacity: 0.6;
    transition: all 0.3s ease;
}

.logo-sep {
    width: 1px;
    height: 24px;
    background: #e5e7eb;
}

.logo-item:hover {
    opacity: 1;
}

.floating-card{
    display: flex;
    align-items: center;
    gap: 12px;

    height: 62px;

    padding: 0 22px;

    border-radius: 18px;

    background:
    rgba(255,255,255,0.78);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    border:
    1px solid rgba(255,255,255,0.65);

    box-shadow:
    0 10px 40px rgba(0,0,0,0.05),
    0 0 20px rgba(180,150,255,0.08);

    z-index: 8;

    animation:
    floatingCard 7s ease-in-out infinite;
}

.card-icon{
    width: 38px;
    height: 38px;

    border-radius: 12px;

    display: flex;
    align-items: center;
    justify-content: center;

    background:
    rgba(124,77,255,0.12);

    color:
    #7c4dff;

    font-size: 18px;
}

.card-text{
    font-size: 17px;
    font-weight: 600;

    color:
    #1f2430;
}

.pill-top{
    position: absolute;
    left: 50%;
    top: 140px;
    transform: translateX(-50%);
}

.pill-left{
    position: absolute;
    left: 8%;
    top: 45%;
    transform: translateY(-50%);
    animation-delay: -2s;
}

.pill-right{
    position: absolute;
    right: 8%;
    top: 45%;
    transform: translateY(-50%);
    animation-delay: -4s;
}

.pill-bottom{
    position: absolute;
    left: 50%;
    bottom: 120px;
    transform: translateX(-50%);
    animation-delay: -1s;
}

@keyframes floatingCard{
    0%{
        transform: translateY(0px);
    }
    50%{
        transform: translateY(-10px);
    }
    100%{
        transform: translateY(0px);
    }
}

/* Tablet / Responsive */
@media (max-width: 1200px) {
    .pill-left { left: 40px; }
    .pill-right { right: 40px; }
}

@media (max-width: 991px) {
    .floating-card {
        transform: scale(0.85);
    }
    .pill-top { top: 120px; }
    .pill-bottom { bottom: 100px; }
    .pill-left { left: 20px; }
    .pill-right { right: 20px; }
}

@media (max-width: 768px) {
    .floating-card {
        position: relative;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        bottom: auto !important;
        margin: 10px auto;
        width: fit-content;
        transform: none;
    }
    .hero-bg-container {
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        padding-bottom: 20px;
    }
    /* Alternatively hide some on mobile */
    .pill-left, .pill-right {
        display: none;
    }
}

.avatars img:first-child { margin-left: 0; }

.stars { color: #f59e0b; font-size: 14px; margin-bottom: 2px; }
.social-proof-text { font-size: 14px; color: #666; font-weight: 500; }

@keyframes wheelScroll {
    0% { transform: translateX(-50%) translateY(0); opacity: 1; }
    100% { transform: translateX(-50%) translateY(10px); opacity: 0; }
}

/* Adjust Navbar Dot */
.nav-links a::after {
    background: var(--primary);
    opacity: 0.3;
}

.nav-links a.active::after {
    opacity: 1;
}
.path-circle-1 {
    stroke-width: 1.5;
    stroke-dasharray: 8 12;
    animation: flowCircle 8s linear infinite;
}

.path-circle-2 {
    fill: none;
    stroke: rgba(79, 70, 229, 0.15);
    stroke-width: 1.5;
    stroke-dasharray: 6 14;
    animation: flowCircle 12s linear infinite reverse;
}

.hg-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90px;
    height: 90px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 12px rgba(124, 58, 237, 0.06), 0 0 0 24px rgba(124, 58, 237, 0.04), 0 8px 32px rgba(124, 58, 237, 0.2);
    z-index: 10;
    animation: centerPulse 4s ease-in-out infinite;
}

.hg-card {
    position: absolute;
    width: 190px;
    padding: 16px;
    text-align: center;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 24px rgba(31, 38, 135, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
    z-index: 5;
    transform-style: preserve-3d;
}

.hg-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.08) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s;
}

.hg-card:hover::before, .hg-card.active::before {
    opacity: 1;
}

.hg-card:hover, .hg-card.active {
    border-color: rgba(124, 58, 237, 0.25);
    box-shadow: 0 12px 40px rgba(124, 58, 237, 0.15);
    z-index: 15;
    transform: scale(1.05);
}

.hg-top { top: calc(50% - 210px); left: 50%; }
.hg-bottom { top: calc(50% + 210px); left: 50%; }
.hg-left { top: 50%; left: calc(50% - 210px); }
.hg-right { top: 50%; left: calc(50% + 210px); }

.hg-card-icon {
    width: 40px;
    height: 40px;
    margin: 0 auto 12px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.hg-card h2 { font-size: 12px; font-weight: 600; margin-bottom: 4px; color: var(--text-dark); }
.hg-card p { font-size: 11px; color: var(--text-gray); line-height: 1.4; }

/* ========== METRICS BAR ========== */
.metrics-container {
    margin-top: 40px;
    background: white;
    border-radius: 40px;
    border: 1px solid rgba(229, 231, 235, 0.5);
    padding: 32px 60px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.03);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 10;
}

.metric-item { display: flex; align-items: center; gap: 20px; }
.metric-icon-wrap {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(124, 58, 237, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 24px;
    transition: transform 0.3s ease;
}

.metric-item:hover .metric-icon-wrap { transform: scale(1.1); background: rgba(124, 58, 237, 0.15); }
.metric-info h3 { font-size: 24px; font-weight: 800; color: var(--text-dark); margin: 0; line-height: 1.2; }
.metric-info p { font-size: 13px; color: var(--text-gray); margin: 4px 0 0 0; font-weight: 500; }
.metric-sep { width: 1px; height: 40px; background: var(--border); opacity: 0.5; }

/* ========== LOGO BAR ========== */
.logo-bar { padding: 80px 0 40px; position: relative; }
.logo-bar-inner { display: flex; flex-direction: column; align-items: center; gap: 40px; }
.logo-label { display: flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 700; color: var(--text-light); text-transform: uppercase; letter-spacing: 2px; }

/* Marquee Logic */
.logo-marquee-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 20px 0;
}

.logo-marquee-track {
    display: flex;
    width: max-content;
    gap: 80px;
    animation: marquee 40s linear infinite;
}

@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.logo-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 700;
    color: #CBD5E1;
    filter: grayscale(1);
    opacity: 0.6;
    transition: all 0.3s;
}

.logo-item:hover { filter: grayscale(0); opacity: 1; color: var(--text-dark); }

/* ========== SECTION HEADINGS ========== */
.section-header { text-align: center; margin-bottom: 60px; }
.section-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.section-label i { font-size: 10px; opacity: 0.6; }
.section-title { font-size: 36px; font-weight: 700; margin-bottom: 16px; }
.section-desc { font-size: 16px; color: var(--text-gray); max-width: 600px; margin: 0 auto; }

/* ========== SERVICES SECTION ========== */
.services { padding: 120px 0; background: #ffffff; position: relative; overflow: hidden; }
.services-bg-glow { position: absolute; width: 600px; height: 600px; background: radial-gradient(circle, rgba(124, 58, 237, 0.05) 0%, transparent 70%); top: 20%; left: -10%; filter: blur(80px); z-index: 0; pointer-events: none; }
.services-bg-glow-2 { position: absolute; width: 500px; height: 500px; background: radial-gradient(circle, rgba(79, 70, 229, 0.04) 0%, transparent 70%); bottom: 10%; right: -5%; filter: blur(80px); z-index: 0; pointer-events: none; }
.services-dot-grid { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background-image: radial-gradient(rgba(124, 58, 237, 0.05) 1px, transparent 1px); background-size: 30px 30px; z-index: 0; pointer-events: none; }
.services .container { position: relative; z-index: 1; }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 60px; }

.service-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    opacity: 0;
    transform: translateY(30px);
    transform-style: preserve-3d;
    border: 1px solid rgba(229, 231, 235, 0.5);
    border-radius: 32px;
    padding: 48px 32px;
    text-align: left;
    transition: border-color 0.3s, box-shadow 0.3s, background-color 0.3s;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card .mouse-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(600px circle at var(--mouse-x) var(--mouse-y), rgba(124, 58, 237, 0.06), transparent 40%);
    z-index: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.service-card:hover .mouse-glow { opacity: 1; }
.service-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 32px;
    padding: 1.5px;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.3), transparent, rgba(79, 70, 229, 0.3));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.service-card:hover::after { opacity: 1; }
.service-card:hover { border-color: rgba(124, 58, 237, 0.1); box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(124, 58, 237, 0.05); }

.service-card .icon-box {
    width: 64px;
    height: 64px;
    margin-bottom: 32px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    position: relative;
    z-index: 1;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.service-card:hover .icon-box { transform: scale(1.1) translateY(-5px); box-shadow: 0 10px 20px rgba(124, 58, 237, 0.1); }
.service-card h3 { font-size: 22px; font-weight: 700; margin-bottom: 16px; color: var(--text-dark); position: relative; z-index: 1; }
.service-card .card-desc { font-size: 15px; color: var(--text-gray); line-height: 1.6; margin-bottom: 32px; position: relative; z-index: 1; }

.card-features { list-style: none; padding: 0; margin: 0 0 40px 0; display: flex; flex-direction: column; gap: 14px; position: relative; z-index: 1; }
.feature-item { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text-dark); font-weight: 500; }
.feature-item i { color: var(--primary); font-size: 12px; width: 20px; height: 20px; background: rgba(124, 58, 237, 0.08); border-radius: 50%; display: flex; align-items: center; justify-content: center; }

.card-illustration { position: absolute; bottom: -10px; right: -10px; width: 140px; height: 110px; opacity: 0.1; pointer-events: none; transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1); z-index: 0; }
.service-card:hover .card-illustration { transform: scale(1.1) rotate(-5deg); opacity: 0.25; }

.learn-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    margin-top: auto;
}

.learn-more i { transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1); }
.learn-more:hover { color: #4F46E5; text-shadow: 0 0 10px rgba(124, 58, 237, 0.2); }
.learn-more:hover i { transform: translateX(6px); }

/* Highlighted Theme Card */
.service-card.highlighted-card {
    background: linear-gradient(135deg, var(--primary), #4F46E5);
    border-color: transparent;
    box-shadow: 0 20px 40px rgba(124, 58, 237, 0.2);
}
.service-card.highlighted-card h3, 
.service-card.highlighted-card .card-desc, 
.service-card.highlighted-card .feature-item,
.service-card.highlighted-card .learn-more {
    color: #ffffff;
}
.service-card.highlighted-card .icon-box {
    background: rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
}
.service-card.highlighted-card .feature-item i {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}
.service-card.highlighted-card .learn-more:hover {
    color: rgba(255, 255, 255, 0.8);
    text-shadow: none;
}
/* ========== PROCESS SECTION - PREMIUM STACKED LAYOUT ========== */
.process {
    padding: 160px 0;
    background: #ffffff;
    position: relative;
    overflow: visible;
}

.process-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: start;
}

/* Left: Illustration Side */
.process-visual-side {
    position: sticky;
    top: 150px;
    height: fit-content;
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-container {
    position: relative;
    width: 100%;
    max-width: 520px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-glow-main {
    position: absolute;
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
    pointer-events: none;
}

.process-image {
    width: 100%;
    height: auto;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 40px 80px rgba(124, 58, 237, 0.15));
}

/* Right: Content Side */
.process-content-side {
    display: flex;
    flex-direction: column;
}

.process-header {
    margin-bottom: 60px;
}

.process-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--text-dark);
}

.process-desc {
    font-size: 19px;
    color: var(--text-gray);
    line-height: 1.6;
    max-width: 480px;
}

/* Stacked Cards */
.process-cards-stack {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding-bottom: 100px;
}

.process-card {
    background: #ffffff;
    border: 1px solid rgba(124, 58, 237, 0.1);
    border-radius: 32px;
    padding: 48px;
    display: flex;
    gap: 32px;
    align-items: flex-start;
    box-shadow: 0 20px 40px rgba(31, 38, 135, 0.05);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

    /* Removed manual sticky top offsets as GSAP handles stacking now */

.card-number {
    font-size: 14px;
    font-weight: 800;
    color: var(--primary);
    opacity: 0.6;
    font-family: var(--font-main);
    letter-spacing: 1px;
}

.card-icon {
    width: 64px;
    height: 64px;
    background: rgba(124, 58, 237, 0.08);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 24px;
    flex-shrink: 0;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.process-card:hover .card-icon {
    background: var(--primary);
    color: white;
    transform: scale(1.1) rotate(5deg);
}

.card-body h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.card-body p {
    font-size: 16px;
    color: var(--text-gray);
    line-height: 1.6;
    margin: 0;
}

.card-glow {
    position: absolute;
    inset: 0;
    border-radius: 32px;
    padding: 1.5px;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.5), transparent, rgba(79, 70, 229, 0.5));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.process-card:hover .card-glow {
    opacity: 1;
}

.process-card:hover {
    border-color: rgba(124, 58, 237, 0.3);
    box-shadow: 0 40px 80px rgba(124, 58, 237, 0.12);
}


/* Stats Bar Refinements */
.stats-bar {
    margin-top: 140px;
    background: white;
    border-radius: 40px;
    border: 1px solid rgba(229, 231, 235, 0.5);
    padding: 60px 40px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.05);
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 40px;
    border-right: 1px solid #F3F4F6;
}

.stat-item:last-child { border-right: none; }
.stat-icon {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    background: rgba(124, 58, 237, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 26px;
    margin-bottom: 24px;
}

.stat-value { font-size: 40px; font-weight: 800; color: var(--text-dark); margin-bottom: 8px; }
.stat-label { font-size: 13px; color: var(--text-gray); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }

/* ========== ABOUT SECTION ========== */
.about-section { padding: 120px 0; background: #ffffff; position: relative; overflow: hidden; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }

.about-image-side { position: relative; }
.about-image-wrapper { border-radius: 40px; overflow: hidden; box-shadow: 0 30px 60px rgba(0,0,0,0.1); }
.about-image-wrapper img { width: 100%; display: block; }
.experience-badge { position: absolute; bottom: -30px; right: -30px; background: var(--primary); color: white; padding: 32px; border-radius: 32px; text-align: center; box-shadow: 0 20px 40px rgba(124, 58, 237, 0.3); }
.experience-badge h2 { font-size: 40px; margin-bottom: 4px; }
.experience-badge p { font-size: 14px; font-weight: 500; opacity: 0.9; }

.about-content-side h2 { font-size: 44px; font-weight: 700; margin-bottom: 24px; line-height: 1.2; }
.about-content-side p { font-size: 17px; color: var(--text-gray); margin-bottom: 40px; line-height: 1.7; }

.values-list { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.value-card { background: var(--bg-gray); padding: 24px; border-radius: 24px; border: 1px solid transparent; transition: all 0.3s; }
.value-card:hover { background: white; box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05); border-color: rgba(124, 58, 237, 0.2); transform: translateY(-5px); }
.value-icon { width: 48px; height: 48px; background: white; border-radius: 12px; display: flex; align-items: center; justify-content: center; color: var(--primary); font-size: 20px; margin-bottom: 16px; box-shadow: 0 8px 16px rgba(0, 0, 0, 0.03); }
.value-card h3 { font-size: 18px; font-weight: 700; color: var(--text-dark); margin-bottom: 8px; }
.value-card p { font-size: 14px; margin-bottom: 0; line-height: 1.6; }

/* ========== PROJECTS SECTION (Futuristic 3D Carousel) ========== */
/* ========== PROJECTS SECTION (Centered Cinematic Carousel) ========== */
.projects-section {
    position: relative;
    overflow: hidden;
    width: 100%;
    min-height: 80vh; 
    padding: 130px 0 60px; /* Increased top padding to clear fixed navbar */
    display: flex;
    flex-direction: column;
    align-items: center;
    background: radial-gradient(circle at top, rgba(90, 60, 180, 0.22), rgba(5, 10, 30, 1) 60%);
    isolation: isolate;
}

.projects-header {
    text-align: center;
    margin-bottom: 40px; /* Reduced margin */
    z-index: 10;
}

.projects-title {
    font-size: 52px; /* Smaller font */
    line-height: 1.1;
    font-weight: 800;
    color: white;
    margin-bottom: 12px;
}

.projects-description {
    max-width: 620px;
    font-size: 18px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.68);
}

.project-bg-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.3;
    pointer-events: none;
    z-index: 1;
}

.glow-1 {
    width: 500px;
    height: 500px;
    top: -120px;
    left: 10%;
    background: rgba(124, 77, 255, 0.32);
}

.glow-2 {
    width: 600px;
    height: 600px;
    bottom: -220px;
    right: 0;
    background: rgba(180, 140, 255, 0.18);
}

.projects-carousel {
    width: 100%;
    max-width: 1400px;
    height: 520px; /* Reduced height */
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    margin-top: 10px;
}

.carousel-track {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.project-card {
    position: absolute;
    width: 290px; /* Smaller width */
    height: 410px; /* Smaller height */
    border-radius: 28px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
    
    /* Hidden by default */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate(-50%, -50%) scale(0.5);
    left: 50%;
    top: 50%;
    
    display: flex;
    flex-direction: column;
    z-index: 1;
}

.project-card.active, .project-card.left, .project-card.right {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.project-card.left {
    transform: translate(-130%, -50%) scale(0.85) perspective(1200px) rotateY(15deg);
    opacity: 0.45;
    z-index: 5;
}

.project-card.right {
    transform: translate(30%, -50%) scale(0.85) perspective(1200px) rotateY(-15deg);
    opacity: 0.45;
    z-index: 5;
}

.project-card.active {
    width: 360px; /* Smaller width */
    height: 510px; /* Smaller height */
    transform: translate(-50%, -50%) translateY(-10px) scale(1) perspective(1800px) rotateX(2deg);
    opacity: 1;
    z-index: 20;
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5), 0 0 60px rgba(124, 77, 255, 0.25);
    animation: activeFloat 5s ease-in-out infinite;
}

.project-card.active::after {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(124, 77, 255, 0.45), rgba(255, 255, 255, 0.05), rgba(180, 140, 255, 0.22));
    z-index: -1;
    filter: blur(26px);
    opacity: 0.85;
}

.project-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.project-card.active .project-image img {
    transform: scale(1.05);
}

.project-content {
    padding: 28px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.project-tag {
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #b388ff;
    font-weight: 700;
}

.project-title {
    font-size: 30px;
    font-weight: 700;
    color: white;
    margin-top: 14px;
    line-height: 1.1;
}

.project-description {
    font-size: 16px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.68);
    margin-top: 16px;
}

.project-footer {
    margin-top: auto;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.project-metric {
    color: #4dff9a;
    font-weight: 600;
    font-size: 14px;
}

.project-link {
    color: white;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s;
}

@keyframes activeFloat {
    0%, 100% { transform: translate(-50%, -50%) translateY(-20px) perspective(1800px) rotateX(2deg); }
    50% { transform: translate(-50%, -50%) translateY(-35px) perspective(1800px) rotateX(2deg); }
}

/* ========== SLIDER NAVIGATION ========== */
.slider-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 100;
    transition: all 0.3s ease;
}

.slider-nav-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 0 30px rgba(124, 58, 237, 0.4);
    transform: translateY(-50%) scale(1.1);
}

.prev-btn { left: 40px; }
.next-btn { right: 40px; }

@media (max-width: 1400px) {
    .prev-btn { left: 10px; }
    .next-btn { right: 10px; }
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    position: absolute;
    bottom: 10px; /* Moved even lower */
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: var(--primary);
    transform: scale(1.4);
    box-shadow: 0 0 15px rgba(124, 58, 237, 0.5);
}

.project-particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: white;
    border-radius: 50%;
    pointer-events: none;
    animation: carouselSparkle 3s infinite;
}

@keyframes carouselSparkle {
    0%, 100% { opacity: 0; transform: scale(0); }
    50% { opacity: 0.6; transform: scale(1); }
}/* ========== PROCESS SECTION - CARD STACKING ========== */
.process-v2 { background: #fdfcff; padding-bottom: 80px; }
.process-header-v2 { display: flex; justify-content: space-between; align-items: flex-end; width: 100%; margin-bottom: 60px; }
.process-header-v2 .left-side h2 { font-size: 42px; line-height: 1.2; margin-top: 16px; font-weight: 800; color: #111827; }

/* ========== REUSABLE PINNED CARD STACKING COMPONENT ========== */
.pinned-stack-section {
    position: relative;
    z-index: 5 !important;
}
.pin-spacer {
    z-index: 5 !important;
}
.pinned-stack-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 40px auto 0;
    height: auto; /* Natural height for sticky cards */
    padding-bottom: 40vh; /* Replaces card margins to provide end-of-stack hold time */
    z-index: 10;
}

.pinned-card {
    position: sticky !important;
    top: calc(120px + var(--card-index, 1) * 20px) !important;
    width: 100%;
    background: #ffffff;
    border: 1px solid rgba(124, 58, 237, 0.15);
    border-radius: 32px;
    padding: 40px;
    box-shadow: 0 -10px 40px rgba(124, 77, 255, 0.04), 0 20px 40px rgba(0, 0, 0, 0.05);
    transform-origin: top center;
    will-change: transform, opacity;
    /* Small gap between cards before they stick and overlap */
    margin-bottom: 24px;
    z-index: var(--card-index, 1);
}

.pinned-card:last-child {
    margin-bottom: 0;
}

.pinned-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; bottom: 0; width: 6px;
    background: linear-gradient(180deg, var(--primary), var(--secondary));
    opacity: 0.8;
}

.card-inner {
    display: flex;
    align-items: center;
    gap: 40px;
    position: relative;
    z-index: 2;
}

.process-card .step-number {
    font-size: 80px;
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 2px rgba(124, 58, 237, 0.15);
    line-height: 1;
}

.process-card .step-content {
    flex: 1;
}

.process-card .step-content h3 {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.process-card .step-content p {
    font-size: 18px;
    color: var(--text-gray);
    line-height: 1.6;
    max-width: 600px;
}

.process-card .step-icon {
    width: 100px;
    height: 100px;
    border-radius: 24px;
    background: rgba(124, 58, 237, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: var(--primary);
}

/* ========== WORKFLOW SECTION ========== */
/* overflow must NOT be hidden — breaks CSS sticky */
.workflow-section { position: relative; background: #fbfaff; min-height: 100vh; padding: 100px 0; overflow: visible; }
.workflow-container { width: 100%; max-width: 1200px; padding: 0 40px; position: relative; z-index: 10; }
.workflow-section .section-header { text-align: center; margin-bottom: 80px; opacity: 0; transform: translateY(30px); }
.wf-pipeline { display: flex; justify-content: space-between; align-items: flex-start; position: relative; width: 100%; padding: 40px 0; }
.wf-svg-layer { position: absolute; top: 85px; left: 0; width: 100%; height: 20px; z-index: 1; pointer-events: none; }
.wf-path-base { fill: none; stroke: #e2e8f0; stroke-width: 2; stroke-dasharray: 8 8; }
.wf-path-active { fill: none; stroke: var(--primary); stroke-width: 3; stroke-dasharray: none; filter: drop-shadow(0 0 12px rgba(124, 58, 237, 0.5)); stroke-linecap: round; }
.wf-step { position: relative; z-index: 5; display: flex; flex-direction: column; align-items: center; text-align: center; width: 180px; opacity: 0; transform: translateY(30px); }
.wf-node { width: 90px; height: 90px; background: #ffffff; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05); margin-bottom: 24px; position: relative; transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275); border: 1px solid rgba(226, 232, 240, 0.5); }
.wf-node::after { content: ''; position: absolute; inset: -8px; border-radius: 50%; background: var(--primary); opacity: 0; transform: scale(0.8); transition: all 0.5s ease; z-index: -1; }
.wf-step.active .wf-node { border-color: var(--primary); animation: wf-node-pulse 2s infinite ease-in-out; background: #ffffff; z-index: 10; }
.wf-step.active .wf-node::after { opacity: 0.1; transform: scale(1.2); }
.wf-icon { font-size: 28px; color: var(--primary); transition: all 0.5s ease; }
.wf-step[data-step="0"] .wf-icon { color: #8B5CF6; }
.wf-step[data-step="1"] .wf-icon { color: #7C3AED; }
.wf-step[data-step="2"] .wf-icon { color: #10B981; }
.wf-step[data-step="3"] .wf-icon { color: #22C55E; }
.wf-step[data-step="4"] .wf-icon { color: #6366F1; }
.wf-content { opacity: 0.6; transition: all 0.5s ease; transform: translateY(10px); }
.wf-step.active .wf-content { opacity: 1; transform: translateY(0); }
.wf-label { font-size: 16px; font-weight: 700; color: #111827; margin-bottom: 4px; display: block; }
.wf-sub { font-size: 13px; color: #64748b; font-weight: 500; }
.wf-arrow { position: absolute; top: 45px; right: -30px; color: #cbd5e1; font-size: 12px; opacity: 0.5; }

/* ========== TESTIMONIALS SECTION ========== */
.testimonials { padding: 120px 0; background: #ffffff; position: relative; }
.testi-carousel-wrapper { position: relative; overflow: hidden; width: 100%; margin-top: 60px; padding: 20px 0 10px; }
.testi-track { display: flex; gap: 24px; width: max-content; will-change: transform; }
.testi-card { flex: 0 0 400px; background: white; border: 1px solid rgba(229, 231, 235, 0.6); border-radius: 32px; padding: 48px 40px; position: relative; transition: border-color 0.3s, box-shadow 0.3s, transform 0.5s cubic-bezier(0.23, 1, 0.32, 1); display: flex; flex-direction: column; height: 450px; opacity: 0; transform: translateY(30px); }
.testi-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.04); border-color: rgba(124, 58, 237, 0.2); }
.quote-icon { font-size: 32px; color: var(--primary); opacity: 0.4; margin-bottom: 24px; }
.testi-text { font-size: 17px; line-height: 1.7; color: var(--text-dark); font-weight: 500; margin-bottom: 40px; flex-grow: 1; }
.testi-footer { padding-top: 32px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
.testi-user { display: flex; align-items: center; gap: 16px; }
.testi-user img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 2px solid white; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); }
.user-meta h3 { font-size: 16px; font-weight: 700; margin: 0 0 4px 0; color: var(--text-dark); }
.user-meta p { font-size: 12px; color: var(--text-gray); margin: 0; }
.testi-rating { display: flex; gap: 2px; color: #fbbf24; font-size: 12px; }
.industry-tag { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; background: #F3F0FF; color: var(--primary); border-radius: 12px; font-size: 12px; font-weight: 600; align-self: flex-start; }
.carousel-nav { display: flex; justify-content: center; align-items: center; gap: 12px; margin: 40px 0 60px; }
.carousel-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--border); cursor: pointer; transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1); }
.carousel-dot.active { width: 32px; border-radius: 10px; background: var(--primary); }

/* ========== CTA SECTION ========== */
.cta-section { padding: 80px 0; }
.cta-box { background: var(--primary); border-radius: var(--radius-lg); padding: 60px; display: flex; align-items: center; justify-content: space-between; color: white; box-shadow: 0 20px 40px rgba(124, 58, 237, 0.2); }
.cta-content { display: flex; align-items: center; gap: 24px; }
.cta-icon { width: 80px; height: 80px; background: rgba(255, 255, 255, 0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 32px; }
.cta-text h2 { font-size: 32px; margin-bottom: 8px; }
.cta-text p { font-size: 16px; opacity: 0.9; }
.btn-white { background: white; color: var(--primary); font-weight: 600; }

/* ========== FOOTER ========== */
footer { background: #0A0A18; color: white; padding: 65px 0 35px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; margin-bottom: 50px; }
.footer-about p { color: var(--text-light); font-size: 14px; margin: 20px 0; max-width: 300px; }
.social-icons { display: flex; gap: 12px; }
.social-icons a { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.2); display: flex; align-items: center; justify-content: center; color: white; transition: all 0.3s; }
.social-icons a:hover { background: var(--primary); border-color: var(--primary); }
.footer-col h3 { font-size: 16px; margin-bottom: 24px; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a { color: var(--text-light); font-size: 14px; transition: color 0.3s; text-decoration: none; }
.footer-col ul li a:hover { color: white; }
.footer-col ul li i { margin-right: 8px; font-size: 12px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 32px; border-top: 1px solid rgba(255, 255, 255, 0.1); color: var(--text-light); font-size: 14px; flex-wrap: wrap; gap: 16px; }
.footer-bottom-left { text-align: left; }
.footer-bottom-right { text-align: right; }
.footer-bottom-right a { color: var(--text-light); transition: color 0.3s; text-decoration: none; }
.footer-bottom-right a:hover { color: white; }

/* ========== WHY STAQTIX SECTION (PREMIUM GLASSMORPHISM V3) ========== */
.why-section {
    padding: 160px 0;
    background: linear-gradient(180deg, #f7f4ff 0%, #f3efff 40%, #f8f6ff 100%);
    position: relative;
    /* NOTE: overflow must NOT be hidden here — GSAP pin requires overflow to be visible */
}

/* Decorative Background Elements */
.why-ambient-glow {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 60%;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.08) 0%, transparent 70%);
    filter: blur(120px);
    pointer-events: none;
    z-index: 1;
}

.why-arch-line {
    position: absolute;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
    width: 1400px;
    height: 700px;
    border-top: 1px solid rgba(124, 58, 237, 0.12);
    border-radius: 50% 50% 0 0;
    pointer-events: none;
    z-index: 1;
    mask-image: linear-gradient(to right, transparent, black, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black, transparent);
}

.why-header {
    text-align: center;
    margin-bottom: 90px;
    position: relative;
    z-index: 10;
}

.why-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 28px;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(124, 58, 237, 0.2);
    border-radius: 100px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--primary);
    margin-bottom: 35px;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.05);
}

.why-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    color: #0F172A;
    margin-bottom: 28px;
    letter-spacing: -2px;
}

.why-title span {
    color: var(--primary);
}

.why-subtitle {
    font-size: 19px;
    color: #64748b;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

.why-divider {
    width: 450px;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(124, 58, 237, 0.4), transparent);
    margin: 45px auto;
    position: relative;
}

.why-divider::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--primary);
}

/* ========== WHY STAQTIX SPECIFIC (Cards use reusable .pinned-card now) ========== */
.why-card-inner {
    display: flex;
    align-items: center;
    gap: 30px;
}

.why-icon-box {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1), rgba(167, 139, 250, 0.15));
    border: 1px solid rgba(124, 58, 237, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: var(--primary);
    flex-shrink: 0;
}

.why-content {
    flex: 1;
}

.why-content h3 {
    font-size: 22px;
    font-weight: 800;
    color: #121826;
    margin-bottom: 8px;
}

.why-content p {
    font-size: 16px;
    line-height: 1.6;
    color: #475569;
}

@keyframes softFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Why Bottom Bar */
.why-footer-bar {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 28px;
    padding: 35px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.03);
    max-width: 1100px;
    margin: 40px auto 0;
    position: relative;
    z-index: 10;
}

.why-footer-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.why-footer-icon {
    width: 48px;
    height: 48px;
    background: rgba(124, 58, 237, 0.1);
    color: var(--primary);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.why-footer-left p {
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    letter-spacing: -0.5px;
}

.why-stats-row {
    display: flex;
    gap: 50px;
    align-items: center;
}

.why-stat-item {
    text-align: center;
}

.why-stat-item h4 {
    font-size: 20px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 4px;
}

.why-stat-item p {
    font-size: 13px;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.why-v-sep {
    width: 1px;
    height: 35px;
    background: rgba(0, 0, 0, 0.08);
}

@media (max-width: 1200px) {
    .why-title { font-size: 48px; }
    .why-divider { width: 300px; }
}

@media (max-width: 1024px) {
    .why-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .why-footer-bar { flex-direction: column; gap: 40px; text-align: center; padding: 40px; }
    .why-stats-row { gap: 30px; }
}

@media (max-width: 768px) {
    .why-grid { grid-template-columns: 1fr; }
    .why-title { font-size: 40px; }
    .why-subtitle { font-size: 17px; }
    .why-divider { width: 200px; }
    .why-stats-row { flex-direction: column; gap: 20px; }
    .why-v-sep { display: none; }
}

.bg-purple-light { background: #F3F0FF; color: var(--primary); }
.bg-green-light { background: #ECFDF5; color: #10B981; }
.bg-blue-light { background: #EFF6FF; color: #3B82F6; }
.bg-pink-light { background: #FDF2F8; color: #EC4899; }

/* ========== BOOKING MODAL ========== */
.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.6); backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center; z-index: 100000; opacity: 0; pointer-events: none; transition: opacity 0.3s; }
.modal-overlay.active { opacity: 1; pointer-events: all; }
.modal-content { background: white; border-radius: var(--radius-md); width: 100%; max-width: 450px; padding: 32px; position: relative; transform: translateY(20px); transition: transform 0.3s; box-shadow: 0 24px 48px rgba(0, 0, 0, 0.2); }
.modal-overlay.active .modal-content { transform: translateY(0); }
.modal-close { position: absolute; top: 16px; right: 16px; background: none; border: none; font-size: 20px; color: var(--text-light); cursor: pointer; transition: color 0.2s; }
.modal-close:hover { color: var(--text-dark); }
.modal-header h3 { font-size: 22px; margin-bottom: 8px; color: var(--text-dark); }
.modal-header p { font-size: 14px; color: var(--text-gray); margin-bottom: 24px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 13px; font-weight: 500; margin-bottom: 6px; color: var(--text-dark); }
.form-group input, .form-group textarea { width: 100%; padding: 10px 14px; border: 1px solid var(--border); border-radius: var(--radius-sm); font-family: var(--font-main); font-size: 14px; transition: border-color 0.2s; outline: none; }
.form-group input:focus, .form-group textarea:focus { border-color: var(--primary); }
.w-100 { width: 100%; justify-content: center; margin-top: 8px; }

/* ========== GLOBAL MOBILE RESPONSIVENESS OVERRIDES ========== */
@media (max-width: 991px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    /* Section Spacing */
    section { padding: 80px 0 !important; }
    .container { padding: 0 24px !important; }

    /* Typography */
    .hero-title { font-size: 42px !important; line-height: 1.1 !important; letter-spacing: -1px !important; }
    .hero-desc { font-size: 16px !important; margin: 24px auto !important; }
    .section-title { font-size: 32px !important; line-height: 1.2 !important; }
    .section-desc { font-size: 15px !important; }
    
    .why-title { font-size: 36px !important; line-height: 1.1 !important; }
    .why-subtitle { font-size: 16px !important; }

    /* Hero Buttons */
    .hero-btns { flex-direction: column; gap: 12px !important; width: 100%; align-items: center; margin-top: 30px !important; }
    .hero-btns .btn { width: 100%; max-width: 320px; text-align: center; justify-content: center; height: 56px !important; }

    /* Projects Carousel (3D Mobile Fix) */
    .projects-carousel { height: 650px !important; padding-top: 40px !important; }
    .project-card.active { 
        width: 100% !important; 
        max-width: 380px !important;
        height: 500px !important; 
        transform: translate(-50%, -50%) scale(1) !important;
        animation: none !important;
    }
    .project-card.left, .project-card.right { display: none !important; }
    .slider-nav-btn { width: 50px !important; height: 50px !important; }
    .prev-btn { left: 10px !important; }
    .next-btn { right: 10px !important; }
    .slider-dots { bottom: 0 !important; }

    /* Why Staqtix Section Fixes */
    .why-header { margin-bottom: 60px !important; }
    .why-grid { gap: 20px !important; }
    .why-card { padding: 32px 24px !important; }
    .why-icon-box { width: 60px !important; height: 60px !important; font-size: 22px !important; }
    .why-divider { width: 80% !important; max-width: 300px !important; }

    /* Footer */
    footer { padding: 40px 0 90px !important; }
    .footer-grid { 
        grid-template-columns: 1fr 1fr !important; 
        gap: 32px 16px !important; 
        text-align: left; 
    }
    .footer-about { grid-column: 1 / -1; text-align: center; }
    .footer-about p { margin: 12px auto 20px !important; max-width: 100%; font-size: 14px; line-height: 1.5; }
    .social-icons { justify-content: center; }
    .footer-col:last-child { grid-column: 1 / -1; }
    .footer-col h3 { margin-bottom: 16px !important; }
    .footer-col h3::after { left: 0; transform: none; }
    .footer-col ul li { margin-bottom: 8px !important; }
    .footer-bottom { justify-content: center; flex-direction: column; text-align: center; gap: 12px; padding-top: 24px; }
    .footer-bottom-left, .footer-bottom-right { text-align: center; }

    /* Workflow Section (Mobile stack) */
    .wf-pipeline { flex-direction: column; gap: 40px; padding: 0 !important; }
    .wf-svg-layer { display: none; }
    .wf-step { width: 100% !important; flex-direction: row; text-align: left; gap: 20px; }
    .wf-node { width: 64px !important; height: 64px !important; margin-bottom: 0 !important; flex-shrink: 0; }
    .wf-icon { font-size: 20px !important; }
    .wf-content { transform: none !important; opacity: 1 !important; }
    .wf-arrow { display: none; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 34px !important; }
    .why-title { font-size: 30px !important; }
    .section-title { font-size: 28px !important; }
    .why-footer-bar { padding: 30px 15px !important; }
    .why-stat-item h4 { font-size: 18px !important; }
}


/* Tech Stack Section */
.tech-stack-section { padding: 60px 0; background: var(--bg-gray); }
.tech-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 32px 16px; margin-top: 40px; }
.tech-item { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.tech-item i { font-size: 48px; }
.tech-item span { font-size: 14px; font-weight: 600; color: var(--text-dark); }

/* WhatsApp Floating Icon */
.whatsapp-float {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: translateY(-5px);
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.2);
    color: #fff;
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 25px;
    }
}

