/* ============================================
   COROAMBRA AGENCY — Premium Dark Theme
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #0a0a0f;
    --bg-card: #111118;
    --bg-card-hover: #16161f;
    --border: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(255, 255, 255, 0.12);
    --text: #e4e4e7;
    --text-muted: #71717a;
    --text-dim: #52525b;
    --white: #fafafa;
    --accent-1: #6366f1;
    --accent-2: #8b5cf6;
    --accent-3: #06b6d4;
    --gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #06b6d4 100%);
    --gradient-subtle: linear-gradient(135deg, rgba(99,102,241,0.15) 0%, rgba(139,92,246,0.15) 50%, rgba(6,182,212,0.08) 100%);
    --glow: 0 0 60px rgba(99,102,241,0.15), 0 0 120px rgba(139,92,246,0.08);
    --radius: 12px;
    --radius-lg: 20px;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Space Grotesk', 'Inter', sans-serif;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out: cubic-bezier(0, 0, 0.2, 1);
}

html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a, button, .btn, .service-card, .nav-toggle, .social-icon {
    cursor: none;
}

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

img { max-width: 100%; display: block; }

/* ===========================
   CUSTOM FUTURISTIC CURSOR
   =========================== */
.cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
    pointer-events: none;
    z-index: 10001;
    transform: translate(-50%, -50%);
    transition: width 0.3s var(--ease), height 0.3s var(--ease), background 0.3s;
    mix-blend-mode: difference;
}

.cursor-dot.hovering {
    width: 0;
    height: 0;
}

.cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    width: 36px;
    height: 36px;
    border: 1.5px solid rgba(99, 102, 241, 0.6);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    transition: width 0.4s var(--ease), height 0.4s var(--ease), border-color 0.3s, background 0.3s, opacity 0.3s;
}

.cursor-ring.hovering {
    width: 56px;
    height: 56px;
    border-color: rgba(99, 102, 241, 0.4);
    background: rgba(99, 102, 241, 0.08);
}

.cursor-ring.clicking {
    width: 28px;
    height: 28px;
    border-color: rgba(139, 92, 246, 0.8);
}

.cursor-trail {
    position: fixed;
    top: 0;
    left: 0;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
}

/* ===========================
   FUTURISTIC AI BACKGROUND
   =========================== */

/* Perspective grid */
.bg-grid {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(99, 102, 241, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 20%, transparent 70%);
    animation: gridPulse 8s ease-in-out infinite;
}

@keyframes gridPulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

/* Floating gradient orbs */
.bg-orbs {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    animation-direction: alternate;
}

.bg-orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.12) 0%, transparent 70%);
    top: -10%;
    left: -5%;
    animation: orbFloat1 12s ease-in-out infinite alternate;
}

.bg-orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
    top: 40%;
    right: -8%;
    animation: orbFloat2 15s ease-in-out infinite alternate;
}

.bg-orb-3 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.08) 0%, transparent 70%);
    bottom: 5%;
    left: 20%;
    animation: orbFloat3 18s ease-in-out infinite alternate;
}

@keyframes orbFloat1 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(80px, 60px) scale(1.15); }
}

@keyframes orbFloat2 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-60px, -80px) scale(1.2); }
}

@keyframes orbFloat3 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, -40px) scale(1.1); }
}

/* Film grain noise overlay */
.bg-noise {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.025;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px 256px;
}

/* --- Loader --- */
.loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s var(--ease), visibility 0.6s;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* --- Site Logo --- */
.site-logo {
    width: 600px;
    height: 600px;
    display: block;
    object-fit: contain;
}

.site-logo--lg {
    width: 1000px;
    height: 1000px;
}

.logo-wrap {
    width: 240px;
    height: 240px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin: -85px 0;
}

.logo-wrap--footer {
    width: 100px;
    height: 100px;
}

.logo-wrap--lg {
    width: 260px;
    height: 260px;
    margin: -80px auto -90px;
}

.loader-logo {
    margin-bottom: 2rem;
    text-align: center;
}

.loader-bar {
    width: 200px;
    height: 2px;
    background: var(--border);
    border-radius: 2px;
    overflow: hidden;
}

.loader-progress {
    height: 100%;
    width: 0;
    background: var(--gradient);
    border-radius: 2px;
    animation: load 1.8s var(--ease) forwards;
}

@keyframes load {
    0% { width: 0; }
    50% { width: 70%; }
    100% { width: 100%; }
}

/* --- Particle Canvas --- */
#particles {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

/* --- Container --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 10px 0;
    transition: all 0.4s var(--ease);
}

.nav.scrolled {
    padding: 6px 0;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.nav-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}

.nav-logo {
    color: var(--white);
    display: flex;
    align-items: center;
    justify-self: center;
}

.accent { color: var(--accent-1); }

.nav-links {
    display: flex;
    gap: 36px;
    justify-self: start;
}

.nav-inner > .btn-sm {
    justify-self: end;
}

.nav-links a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: color 0.3s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gradient);
    transition: width 0.3s var(--ease);
}

.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    justify-self: end;
}

.nav-toggle span {
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.3s var(--ease);
}

.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99;
    background: rgba(10, 10, 15, 0.97);
    backdrop-filter: blur(30px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s var(--ease);
}

.mobile-menu.open { opacity: 1; visibility: visible; }

.mobile-link {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text-muted);
    transition: color 0.3s;
}

.mobile-link:hover { color: var(--white); }

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font);
    font-size: 0.875rem;
    font-weight: 500;
    padding: 10px 24px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text);
    cursor: pointer;
    transition: all 0.3s var(--ease);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient);
    opacity: 0;
    transition: opacity 0.3s;
    z-index: -1;
}

.btn-sm { padding: 8px 18px; font-size: 0.8125rem; }

.btn-lg { padding: 14px 32px; font-size: 0.9375rem; }

.btn-full { width: 100%; justify-content: center; }

.btn-primary {
    background: var(--gradient);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 0 20px rgba(99,102,241,0.25);
}

.btn-primary:hover {
    box-shadow: 0 0 40px rgba(99,102,241,0.4);
    transform: translateY(-2px);
}

.btn-ghost {
    border-color: var(--border-hover);
    color: var(--text-muted);
}

.btn-ghost:hover {
    border-color: var(--accent-1);
    color: var(--white);
    background: rgba(99,102,241,0.08);
}

/* --- Hero --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 140px 0 100px;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 600px;
    background: radial-gradient(ellipse, rgba(99,102,241,0.12) 0%, rgba(139,92,246,0.06) 40%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.hero-glow-2 {
    position: absolute;
    bottom: -100px;
    right: -200px;
    width: 600px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(6,182,212,0.08) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 100px;
    border: 1px solid var(--border);
    background: rgba(255,255,255,0.03);
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-bottom: 32px;
}

.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #22c55e;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(34,197,94,0.4); }
    50% { opacity: 0.8; box-shadow: 0 0 0 6px rgba(34,197,94,0); }
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--white);
    margin-bottom: 24px;
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto 40px;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 64px;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.hero-stat { text-align: center; }

.hero-stat-num {
    display: block;
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.02em;
}

.hero-stat-label {
    font-size: 0.8125rem;
    color: var(--text-dim);
    margin-top: 4px;
}

.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

.hero-gradient-line {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient);
    opacity: 0.3;
}

/* --- Glow Separator --- */
.glow-separator {
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(99,102,241,0.3) 20%, rgba(139,92,246,0.4) 50%, rgba(6,182,212,0.3) 80%, transparent 100%);
    position: relative;
}

.glow-separator::after {
    content: '';
    position: absolute;
    top: -20px;
    left: 10%;
    right: 10%;
    height: 40px;
    background: linear-gradient(90deg, transparent 0%, rgba(99,102,241,0.06) 50%, transparent 100%);
    filter: blur(20px);
}

/* --- Brands Marquee --- */
.brands {
    position: relative;
    z-index: 1;
    padding: 60px 0;
    overflow: hidden;
}

.brands-label {
    text-align: center;
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-bottom: 36px;
}

.brands-marquee {
    position: relative;
    width: 100%;
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent 0%, black 10%, black 90%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 10%, black 90%, transparent 100%);
}

.brands-track {
    display: flex;
    align-items: center;
    gap: 80px;
    width: max-content;
    animation: marquee 30s linear infinite;
}

.brands-track:hover {
    animation-play-state: paused;
}

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

.brand-item {
    flex-shrink: 0;
    color: var(--text-dim);
    opacity: 0.5;
    transition: opacity 0.4s var(--ease), color 0.4s var(--ease);
}

.brand-item:hover {
    opacity: 1;
    color: var(--text-muted);
}

/* --- Section Common --- */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent-1);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--white);
    margin-bottom: 16px;
}

.section-sub {
    font-size: 1.0625rem;
    color: var(--text-muted);
    max-width: 480px;
    margin: 0 auto;
}

/* --- Services --- */
.services {
    position: relative;
    z-index: 1;
    padding: 120px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.service-card {
    position: relative;
    padding: 40px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: var(--bg-card);
    transition: border-color 0.4s var(--ease), background 0.4s var(--ease), box-shadow 0.5s var(--ease);
    overflow: hidden;
    transform-style: preserve-3d;
}

/* Override reveal transition so it doesn't block JS 3D tilt */
.service-card.visible {
    transition:
        opacity 1.2s cubic-bezier(0.22, 1, 0.36, 1),
        filter 1.2s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.4s var(--ease),
        background 0.4s var(--ease),
        box-shadow 0.5s var(--ease);
    will-change: auto;
}

/* Gradient overlay */
.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-subtle);
    opacity: 0;
    transition: opacity 0.5s var(--ease);
    z-index: 0;
}

/* Moving glow that follows the cursor — positioned via JS */
.service-card::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(99,102,241,0.15) 0%, rgba(139,92,246,0.08) 40%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s var(--ease);
    pointer-events: none;
    z-index: 0;
    transform: translate(-50%, -50%);
    top: var(--mouse-y, 50%);
    left: var(--mouse-x, 50%);
}

.service-card:hover {
    border-color: rgba(99,102,241,0.3);
    background: var(--bg-card-hover);
    box-shadow: var(--glow);
}

.service-card:hover::before { opacity: 1; }
.service-card:hover::after { opacity: 1; }

.service-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: rgba(255,255,255,0.02);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
    transition: border-color 0.4s var(--ease), background 0.4s var(--ease);
}

.service-card:hover .service-icon {
    border-color: rgba(99,102,241,0.3);
    background: rgba(99,102,241,0.08);
}

.service-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.service-desc {
    font-size: 0.9375rem;
    color: var(--text-muted);
    line-height: 1.65;
    position: relative;
    z-index: 1;
    transition: color 0.4s var(--ease);
}

.service-card:hover .service-desc {
    color: var(--text);
}

.service-line {
    position: absolute;
    bottom: 0;
    left: 40px;
    right: 40px;
    height: 2px;
    background: var(--gradient);
    opacity: 0;
    transition: opacity 0.5s var(--ease);
    z-index: 1;
}

.service-card:hover .service-line { opacity: 0.6; }

/* --- Process --- */
.process {
    position: relative;
    z-index: 1;
    padding: 120px 0;
}

.process-timeline {
    position: relative;
    max-width: 640px;
    margin: 0 auto;
}

.process-line {
    position: absolute;
    left: 28px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(180deg, var(--accent-1) 0%, var(--accent-2) 50%, transparent 100%);
    opacity: 0.3;
}

.process-step {
    display: flex;
    gap: 32px;
    padding: 40px 0;
    position: relative;
}

.step-num {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    border: 1px solid var(--border);
    background: var(--bg-card);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--accent-1);
    position: relative;
    z-index: 1;
    transition: all 0.4s var(--ease);
}

.process-step:hover .step-num {
    background: var(--gradient);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 0 30px rgba(99,102,241,0.3);
}

.step-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 8px;
}

.step-desc {
    font-size: 0.9375rem;
    color: var(--text-muted);
    line-height: 1.65;
}

/* --- Results --- */
.results {
    position: relative;
    z-index: 1;
    padding: 120px 0;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.result-card {
    padding: 36px 28px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: var(--bg-card);
    text-align: center;
    transition: all 0.4s var(--ease);
}

.result-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: var(--glow);
}

.result-num {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.result-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.result-bar {
    height: 3px;
    background: var(--border);
    border-radius: 3px;
    overflow: hidden;
}

.result-fill {
    height: 100%;
    width: 0;
    background: var(--gradient);
    border-radius: 3px;
    transition: width 1.5s var(--ease);
}

.result-fill.animated {
    /* width set by JS */
}

/* --- Why --- */
.why {
    position: relative;
    z-index: 1;
    padding: 120px 0;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.why-item {
    padding: 36px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: var(--bg-card);
    transition: all 0.4s var(--ease);
}

.why-item:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.why-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-1);
    margin-bottom: 20px;
    transition: all 0.3s var(--ease);
}

.why-item:hover .why-icon-wrap {
    background: rgba(99,102,241,0.1);
    border-color: rgba(99,102,241,0.3);
}

.why-title {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 8px;
}

.why-desc {
    font-size: 0.9375rem;
    color: var(--text-muted);
    line-height: 1.65;
}

/* --- CTA Section --- */
.cta-section {
    position: relative;
    z-index: 1;
    padding: 140px 0;
    overflow: hidden;
}

.cta-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 700px;
    height: 500px;
    background: radial-gradient(ellipse, rgba(99,102,241,0.1) 0%, rgba(139,92,246,0.05) 40%, transparent 70%);
    pointer-events: none;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--white);
    margin-bottom: 20px;
}

.cta-sub {
    font-size: 1.0625rem;
    color: var(--text-muted);
    max-width: 480px;
    margin: 0 auto 36px;
    line-height: 1.7;
}

.cta-note {
    margin-top: 16px;
    font-size: 0.8125rem;
    color: var(--text-dim);
}

/* --- Footer --- */
.footer {
    position: relative;
    z-index: 1;
    padding: 80px 0 40px;
}

.footer-top {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;
    border-bottom: 1px solid var(--border);
    height: 220px;
    overflow: hidden;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-wrap--footer-lg {
    width: 800px;
    height: 800px;
    margin: 0;
    flex-shrink: 0;
}

.footer-tagline {
    font-size: 1rem;
    color: var(--text-muted);
    margin-top: 8px;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border);
}

.footer-col { display: flex; flex-direction: column; gap: 10px; }

.footer-col h4 {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-col a {
    font-size: 0.875rem;
    color: var(--text-dim);
    transition: color 0.3s;
}

.footer-col a:hover { color: var(--white); }

.footer-socials {
    display: flex;
    gap: 12px;
    align-items: center;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dim);
    transition: all 0.3s var(--ease);
}

.social-icon:hover {
    color: var(--white);
    border-color: var(--border-hover);
    background: rgba(255,255,255,0.03);
}

.footer-bottom {
    padding-top: 24px;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8125rem;
    color: var(--text-dim);
}

/* --- Scroll Reveal --- */
.reveal {
    opacity: 0;
    transform: translateY(60px) scale(0.98);
    filter: blur(4px);
    transition:
        opacity 1.2s cubic-bezier(0.22, 1, 0.36, 1),
        transform 1.2s cubic-bezier(0.22, 1, 0.36, 1),
        filter 1.2s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform, filter;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
}

/* Stagger children — longer delays for cinematic feel */
.services-grid .service-card:nth-child(1) { transition-delay: 0s; }
.services-grid .service-card:nth-child(2) { transition-delay: 0.12s; }
.services-grid .service-card:nth-child(3) { transition-delay: 0.24s; }
.services-grid .service-card:nth-child(4) { transition-delay: 0.36s; }

.results-grid .result-card:nth-child(1) { transition-delay: 0s; }
.results-grid .result-card:nth-child(2) { transition-delay: 0.12s; }
.results-grid .result-card:nth-child(3) { transition-delay: 0.24s; }
.results-grid .result-card:nth-child(4) { transition-delay: 0.36s; }

.why-grid .why-item:nth-child(1) { transition-delay: 0s; }
.why-grid .why-item:nth-child(2) { transition-delay: 0.12s; }
.why-grid .why-item:nth-child(3) { transition-delay: 0.24s; }
.why-grid .why-item:nth-child(4) { transition-delay: 0.36s; }

.process-step:nth-child(2) { transition-delay: 0s; }
.process-step:nth-child(3) { transition-delay: 0.15s; }
.process-step:nth-child(4) { transition-delay: 0.3s; }

/* Parallax elements */
.parallax {
    will-change: transform;
    transition: transform 0.1s linear;
}

/* Section header words animate individually */
.section-header .section-tag {
    transition-delay: 0s;
}
.section-header .section-title {
    transition-delay: 0.08s;
}
.section-header .section-sub {
    transition-delay: 0.16s;
}

/* Hero stagger */
.hero .hero-badge { transition-delay: 0.1s; }
.hero .hero-title { transition-delay: 0.25s; }
.hero .hero-sub { transition-delay: 0.4s; }
.hero .hero-ctas { transition-delay: 0.55s; }
.hero .hero-stats { transition-delay: 0.7s; }

/* Glow separator animation */
.glow-separator {
    transform: scaleX(0);
    transition: transform 1.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.glow-separator.visible {
    transform: scaleX(1);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .results-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    /* Nav: logo center, toggle right */
    .nav-inner {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
    }
    .nav-links { display: none; }
    .nav .btn-sm { display: none; }
    .nav-toggle {
        display: flex;
        justify-self: end;
        grid-column: 3;
    }
    .nav-logo {
        grid-column: 2;
        justify-self: center;
    }

    /* Nav logo smaller on mobile */
    .logo-wrap {
        width: 180px;
        height: 180px;
        margin: -65px 0;
    }

    .hero { padding: 120px 0 80px; }
    .hero-title { font-size: 2.25rem; }
    .hero-sub { font-size: 1rem; }
    .hero-stats { gap: 24px; }
    .hero-stat-num { font-size: 1.35rem; }

    .services-grid { grid-template-columns: 1fr; }
    .services, .process, .results, .why { padding: 80px 0; }
    .section-title { font-size: 1.75rem; }

    .results-grid { grid-template-columns: 1fr 1fr; }
    .why-grid { grid-template-columns: 1fr; }

    .process-step { gap: 20px; }
    .step-num { width: 48px; height: 48px; font-size: 0.875rem; }

    /* Footer logo smaller on mobile */
    .footer-top {
        height: 120px;
    }
    .logo-wrap--footer-lg {
        width: 500px;
        height: 500px;
    }

    .footer-inner {
        flex-direction: column;
        align-items: center;
        gap: 32px;
        text-align: center;
    }

    .footer-socials {
        justify-content: center;
    }

    .cta-section { padding: 100px 0; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .hero-title { font-size: 1.85rem; }
    .hero-ctas { flex-direction: column; align-items: center; }
    .hero-stats { flex-direction: column; gap: 16px; }
    .hero-stat-divider { width: 40px; height: 1px; }
    .results-grid { grid-template-columns: 1fr; }
    .service-card { padding: 28px; }
}
