/* ═══════════════════════════════════════════════════════
   SYNC STUDIO — ULTRA DESIGN SYSTEM v2.0
   30 Improvements Edition
   ═══════════════════════════════════════════════════════ */

/* ═══════════ DESIGN TOKENS ═══════════ */
:root {
    /* Palette — Cinematic Dark */
    --bg-primary: #0a0b14;
    --bg-secondary: #0f1022;
    --bg-tertiary: #161833;
    --bg-card: rgba(20, 22, 48, 0.6);
    --bg-card-hover: rgba(30, 33, 68, 0.75);
    --bg-glass: rgba(16, 18, 42, 0.5);
    --surface-border: rgba(90, 142, 255, 0.08);
    --surface-border-hover: rgba(90, 142, 255, 0.2);
    --text-primary: #f0f0f8;
    --text-secondary: rgba(240, 240, 248, 0.6);
    --text-tertiary: rgba(240, 240, 248, 0.35);
    --accent: #5a8eff;
    --accent-purple: #a855f7;
    --accent-cyan: #22d3ee;
    --accent-emerald: #10b981;
    --accent-red: #ef4444;
    --gradient-brand: linear-gradient(135deg, #5a8eff 0%, #a855f7 50%, #d946ef 100%);
    --gradient-brand-subtle: linear-gradient(135deg, rgba(90,142,255,0.15), rgba(168,85,247,0.15));
    --gradient-surface: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    /* Typography */
    --font-display: 'Outfit', sans-serif;
    --font-body: 'DM Sans', sans-serif;
    --font-mono: 'Space Mono', monospace;
    /* Spacing */
    --space-xs: 0.25rem; --space-sm: 0.5rem; --space-md: 1rem;
    --space-lg: 1.5rem; --space-xl: 2rem; --space-2xl: 3rem;
    --space-3xl: 4rem; --space-4xl: 6rem; --space-5xl: 8rem;
    /* Animation */
    --duration-fast: 150ms; --duration-normal: 300ms; --duration-slow: 600ms;
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    /* Sizing */
    --radius-sm: 6px; --radius-md: 12px; --radius-lg: 20px; --radius-xl: 28px; --radius-full: 100px;
    --container-max: 1280px;
    --nav-height: 80px;
}

/* ═══════════ RESET & BASE ═══════════ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font-body); background: var(--bg-primary); color: var(--text-primary); line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
input, select, textarea, button { font-family: inherit; font-size: inherit; }

.container { max-width: var(--container-max); margin: 0 auto; padding: 0 var(--space-xl); }

/* ═══════════ #9 SCROLL PROGRESS BAR ═══════════ */
.scroll-progress {
    position: fixed; top: 0; left: 0; height: 3px; width: 0%;
    background: var(--gradient-brand); z-index: 10001;
    transition: width 50ms linear;
}

/* ═══════════ CURSOR GLOW ═══════════ */
#cursor-glow {
    position: fixed; width: 400px; height: 400px; border-radius: 50%;
    background: radial-gradient(circle, rgba(90,142,255,0.06) 0%, transparent 70%);
    pointer-events: none; z-index: 1; will-change: transform;
}

/* ═══════════ TYPOGRAPHY ═══════════ */
.gradient-text { background: var(--gradient-brand); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.section-tag { font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--accent); display: inline-flex; align-items: center; gap: 8px; padding: 8px 20px; border: 1px solid var(--surface-border); border-radius: var(--radius-full); }
.section-title { font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.15; margin-top: var(--space-lg); }
.section-subtitle { color: var(--text-secondary); font-size: 1.1rem; max-width: 650px; margin: var(--space-md) auto 0; }
.section-header { text-align: center; margin-bottom: var(--space-4xl); }

/* ═══════════ #14 CLIP-PATH TEXT REVEAL ═══════════ */
.clip-reveal { clip-path: inset(0 100% 0 0); animation: none; }
.clip-reveal.revealed { animation: clipReveal 0.8s var(--ease-smooth) forwards; }
@keyframes clipReveal { to { clip-path: inset(0 0 0 0); } }

/* ═══════════ SCROLL REVEAL ═══════════ */
.reveal-up { opacity: 0; transform: translateY(30px); transition: opacity var(--duration-slow) var(--ease-smooth), transform var(--duration-slow) var(--ease-smooth); transition-delay: var(--delay, 0s); }
.reveal-up.revealed { opacity: 1; transform: translateY(0); }

/* ═══════════ GLASS CARD ═══════════ */
.glass-card {
    background: var(--bg-card); border: 1px solid var(--surface-border);
    border-radius: var(--radius-lg); padding: var(--space-2xl);
    transition: background var(--duration-normal), border-color var(--duration-normal),
                transform var(--duration-normal) var(--ease-spring), box-shadow var(--duration-normal);
    position: relative; overflow: hidden;
}
/* #3 Mouse-follow light refraction */
.glass-card::before {
    content: ''; position: absolute; top: var(--mouse-y, -100px); left: var(--mouse-x, -100px);
    width: 250px; height: 250px; border-radius: 50%;
    background: radial-gradient(circle, rgba(90,142,255,0.08) 0%, transparent 70%);
    transform: translate(-50%, -50%); pointer-events: none; transition: opacity 0.3s;
    opacity: 0;
}
.glass-card:hover::before { opacity: 1; }
.glass-card:hover { background: var(--bg-card-hover); border-color: var(--surface-border-hover); transform: translateY(-4px); box-shadow: 0 20px 50px rgba(0,0,0,0.3), 0 0 0 1px rgba(90,142,255,0.1); }

/* ═══════════ BUTTONS ═══════════ */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--font-body); font-weight: 600; font-size: 1rem; padding: 14px 32px; border-radius: var(--radius-full); border: none; cursor: pointer; transition: all var(--duration-normal) var(--ease-spring); position: relative; overflow: hidden; }
.btn--primary { background: var(--gradient-brand); color: white; box-shadow: 0 4px 20px rgba(90,142,255,0.3); }
.btn--primary:hover { box-shadow: 0 8px 40px rgba(90,142,255,0.5); transform: translateY(-2px) scale(1.02); }
.btn--ghost { background: transparent; color: var(--text-primary); border: 1px solid var(--surface-border); }
.btn--ghost:hover, .btn--ghost.active { border-color: var(--accent); background: rgba(90,142,255,0.15); color: white; }
.btn--outline { background: transparent; color: var(--text-primary); border: 1px solid var(--surface-border); padding: 12px 28px; }
.btn--outline:hover { border-color: var(--accent); background: rgba(90,142,255,0.05); }
.btn--full { width: 100%; }

/* #12 Magnetic btn effect applied via JS */

/* ═══════════ NAVIGATION ═══════════ */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: var(--space-md) 0; transition: all var(--duration-normal); }
.nav--scrolled { background: rgba(10, 11, 20, 0.85); backdrop-filter: blur(20px) saturate(180%); -webkit-backdrop-filter: blur(20px) saturate(180%); border-bottom: 1px solid var(--surface-border); padding: var(--space-sm) 0; }
.nav__inner { max-width: var(--container-max); margin: 0 auto; padding: 0 var(--space-xl); display: flex; align-items: center; justify-content: space-between; }
.nav__logo-img { height: 58px; width: auto; transition: transform var(--duration-normal) var(--ease-spring); }
.nav__logo:hover .nav__logo-img { transform: scale(1.05); }
.nav__links { display: flex; align-items: center; gap: 1rem; }
.nav__link { font-family: var(--font-body); font-weight: 500; font-size: 0.82rem; color: var(--text-secondary); transition: color var(--duration-normal); position: relative; white-space: nowrap; }
.nav__link::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: var(--gradient-brand); transition: width var(--duration-normal); }
.nav__link:hover { color: var(--text-primary); }
.nav__link:hover::after { width: 100%; }
.nav__cta-btn { font-family: var(--font-body); font-weight: 600; font-size: 0.9rem; padding: 10px 24px; background: var(--gradient-brand); color: white; border-radius: var(--radius-full); transition: all var(--duration-normal) var(--ease-spring); }
.nav__cta-btn:hover { transform: scale(1.05); box-shadow: 0 4px 20px rgba(90,142,255,0.4); }
.nav__cmd-hint { display: flex; align-items: center; justify-content: center; gap: 6px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius-full); padding: 8px 14px; font-family: var(--font-mono); font-size: 0.75rem; color: var(--text-secondary); cursor: pointer; transition: all 0.2s; margin-left: 8px; }
.nav__cmd-hint:hover { background: rgba(255,255,255,0.1); color: var(--text-primary); border-color: rgba(255,255,255,0.2); }
@media (max-width: 1024px) { .nav__cmd-hint { display: none; } }
.nav__hamburger { display: none; background: none; border: none; cursor: pointer; padding: 8px; flex-direction: column; gap: 5px; }
.nav__hamburger span { width: 24px; height: 2px; background: var(--text-primary); transition: all var(--duration-normal); display: block; }

/* ═══════════ HERO ═══════════ */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; overflow: hidden; padding: calc(var(--nav-height) + var(--space-3xl)) var(--space-xl) var(--space-4xl); }
.hero__canvas { position: absolute; inset: 0; z-index: 0; }
/* #5 Animated Gradient Mesh */
.hero__mesh {
    position: absolute; inset: 0; z-index: 0;
    background: radial-gradient(ellipse 80% 50% at 50% 50%, rgba(90,142,255,0.08) 0%, transparent 60%),
                radial-gradient(ellipse 60% 40% at 20% 80%, rgba(168,85,247,0.06) 0%, transparent 50%),
                radial-gradient(ellipse 50% 30% at 80% 20%, rgba(34,211,238,0.04) 0%, transparent 50%);
    animation: meshFloat 15s ease-in-out infinite alternate;
}
@keyframes meshFloat {
    0% { background-position: 0% 50%, 100% 0%, 50% 100%; }
    50% { background-position: 100% 50%, 0% 100%, 100% 0%; }
    100% { background-position: 50% 0%, 50% 50%, 0% 50%; }
}
.hero__gradient-orb { position: absolute; border-radius: 50%; filter: blur(80px); animation: float 20s ease-in-out infinite; }
.hero__gradient-orb--1 { width: 500px; height: 500px; background: rgba(90,142,255,0.1); top: -10%; right: -5%; }
.hero__gradient-orb--2 { width: 350px; height: 350px; background: rgba(168,85,247,0.08); bottom: 10%; left: -5%; animation-delay: -5s; }
.hero__gradient-orb--3 { width: 250px; height: 250px; background: rgba(34,211,238,0.06); top: 40%; left: 30%; animation-delay: -10s; }
@keyframes float { 0%,100% { transform: translate(0,0) scale(1); } 33% { transform: translate(30px,-20px) scale(1.05); } 66% { transform: translate(-20px,15px) scale(0.95); } }
.hero__grid-overlay { position: absolute; inset: 0; background-image: linear-gradient(rgba(90,142,255,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(90,142,255,0.03) 1px, transparent 1px); background-size: 60px 60px; mask-image: radial-gradient(ellipse 70% 50% at 50% 50%, black 20%, transparent 70%); }
/* Morphing Blob */
.hero__morph-blob {
    position: absolute; inset: 0; z-index: 1; pointer-events: none;
    display: flex; align-items: center; justify-content: center;
}
.morph-blob {
    position: absolute; width: 550px; height: 550px;
    mix-blend-mode: screen; opacity: 0.9;
}
.morph-blob--1 {
    top: 50%; left: 50%; transform: translate(-50%, -50%);
    animation: blobBreathe1 8s ease-in-out infinite alternate;
}
.morph-blob--2 {
    top: 50%; left: 50%; transform: translate(-45%, -55%);
    width: 480px; height: 480px;
    animation: blobBreathe2 10s ease-in-out infinite alternate;
}
@keyframes blobBreathe1 {
    0% { transform: translate(-50%, -50%) scale(1) rotate(0deg); }
    100% { transform: translate(-50%, -50%) scale(1.08) rotate(8deg); }
}
@keyframes blobBreathe2 {
    0% { transform: translate(-45%, -55%) scale(1) rotate(0deg); }
    100% { transform: translate(-45%, -55%) scale(1.06) rotate(-6deg); }
}
@media (max-width: 768px) {
    .morph-blob { width: 350px; height: 350px; }
    .morph-blob--2 { width: 300px; height: 300px; }
}
.hero__content { position: relative; z-index: 2; text-align: center; max-width: 820px; }
/* #2 Logo Reveal */
.hero__logo-reveal { margin-bottom: var(--space-lg); }
.hero__hero-logo { width: 90px; height: auto; margin: 0 auto; animation: logoReveal 1.5s var(--ease-spring) forwards; opacity: 0; }
@keyframes logoReveal { 0% { opacity: 0; transform: scale(0.3) rotate(-10deg); filter: blur(20px); } 60% { opacity: 1; transform: scale(1.1) rotate(2deg); filter: blur(0); } 100% { opacity: 1; transform: scale(1) rotate(0); filter: blur(0); } }
.hero__badge { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-secondary); border: 1px solid var(--surface-border); border-radius: var(--radius-full); padding: 8px 24px; display: inline-flex; align-items: center; gap: 8px; margin-bottom: var(--space-xl); }
.hero__badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent-emerald); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }
.hero__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.5rem, 5.5vw, 4.5rem); line-height: 1.1; margin-bottom: var(--space-xl); }
.hero__title-line { display: block; }
/* #4 Typewriter */
.typewriter { position: relative; }
.typewriter::after { content: '|'; animation: blink 1s step-end infinite; color: var(--accent); font-weight: 300; }
@keyframes blink { 50% { opacity: 0; } }
.hero__subtitle { font-size: 1.15rem; color: var(--text-secondary); max-width: 600px; margin: 0 auto var(--space-2xl); line-height: 1.7; }
.hero__actions { display: flex; gap: var(--space-md); justify-content: center; flex-wrap: wrap; margin-bottom: var(--space-3xl); }
.hero__metrics { display: flex; align-items: center; justify-content: center; gap: var(--space-2xl); }
.hero__metric { text-align: center; }
.odometer-wrap { display: flex; align-items: baseline; justify-content: center; }
.odometer { font-family: var(--font-display); font-weight: 800; font-size: 2.8rem; background: var(--gradient-brand); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero__metric-suffix { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; color: var(--accent); margin-left: 2px; }
.hero__metric-label { font-size: 0.85rem; color: var(--text-tertiary); margin-top: var(--space-xs); display: block; }
.hero__metric-divider { width: 1px; height: 50px; background: var(--surface-border); }
.hero__scroll-indicator { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); }
.hero__scroll-line { width: 1px; height: 50px; background: linear-gradient(to bottom, transparent, var(--accent), transparent); animation: scrollPulse 2s ease-in-out infinite; }
@keyframes scrollPulse { 0%,100% { opacity: 0.3; transform: scaleY(0.8); } 50% { opacity: 1; transform: scaleY(1); } }

/* ═══════════ #16 TRUST BAR ═══════════ */
.trust-bar { padding: var(--space-2xl) 0; border-top: 1px solid var(--surface-border); border-bottom: 1px solid var(--surface-border); background: var(--bg-secondary); }
.trust-bar__label { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-tertiary); text-align: center; margin-bottom: var(--space-lg); }
.trust-bar__track { overflow: hidden; mask-image: linear-gradient(90deg, transparent, black 15%, black 85%, transparent); }
.trust-bar__logos { display: flex; gap: var(--space-3xl); animation: scrollLogos 30s linear infinite; width: max-content; }
@keyframes scrollLogos { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.trust-bar__logo { font-family: var(--font-mono); font-size: 0.85rem; color: var(--text-tertiary); white-space: nowrap; padding: var(--space-sm) var(--space-md); border: 1px solid var(--surface-border); border-radius: var(--radius-sm); transition: all 0.3s; letter-spacing: 0.05em; }
.trust-bar__logo:hover { color: var(--accent); border-color: var(--accent); background: rgba(90,142,255,0.05); }

/* ═══════════ MANIFESTO ═══════════ */
.manifesto { padding: var(--space-lg) 0; overflow: hidden; background: var(--bg-primary); border-bottom: 1px solid var(--surface-border); }
.manifesto__track { overflow: hidden; mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent); }
.manifesto__text { display: flex; gap: var(--space-xl); animation: scrollManifesto 40s linear infinite; white-space: nowrap; font-family: var(--font-mono); font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-tertiary); }
@keyframes scrollManifesto { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.manifesto__dot { color: var(--accent-purple); }

/* ═══════════ PROBLEM ═══════════ */
.problem { padding: var(--space-5xl) 0; background: var(--gradient-surface); }
.problem__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-xl); }
.problem__card-icon { width: 52px; height: 52px; border-radius: var(--radius-md); background: rgba(90,142,255,0.1); display: flex; align-items: center; justify-content: center; margin-bottom: var(--space-xl); color: var(--accent); transition: all var(--duration-normal); }
.problem__card:hover .problem__card-icon { background: var(--gradient-brand); color: white; }
.problem__card-title { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; margin-bottom: var(--space-sm); }
.problem__card-text { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.6; }

/* ═══════════ #6 BEFORE / AFTER ═══════════ */
.before-after { padding: var(--space-5xl) 0; background: var(--bg-secondary); }
.ba-slider { display: grid; grid-template-columns: 1fr auto 1fr; gap: var(--space-xl); align-items: stretch; }
.ba-slider__panel { background: var(--bg-card); border-radius: var(--radius-lg); padding: var(--space-2xl); border: 1px solid var(--surface-border); }
.ba-slider__panel--before { border-color: rgba(239,68,68,0.2); }
.ba-slider__panel--after { border-color: rgba(16,185,129,0.2); }
.ba-slider__label { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: var(--space-lg); padding: 6px 16px; border-radius: var(--radius-full); display: inline-block; }
.ba-slider__label--before { color: var(--accent-red); background: rgba(239,68,68,0.1); }
.ba-slider__label--after { color: var(--accent-emerald); background: rgba(16,185,129,0.1); }
.ba-slider__items { display: flex; flex-direction: column; gap: var(--space-md); }
.ba-item { display: flex; align-items: center; gap: var(--space-md); font-size: 0.95rem; color: var(--text-secondary); padding: var(--space-sm) 0; }
.ba-item__icon { font-size: 1.1rem; }
.ba-slider__divider { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--space-sm); padding: 0 var(--space-md); }
.ba-slider__divider-line { width: 2px; flex: 1; background: var(--gradient-brand); border-radius: 2px; }
.ba-slider__divider-icon { font-size: 1.5rem; padding: var(--space-sm); background: var(--bg-card); border: 1px solid var(--surface-border); border-radius: 50%; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; }

/* ═══════════ #22 ARCHITECTURE DIAGRAM ═══════════ */
.architecture { padding: var(--space-5xl) 0; background: var(--bg-primary); }
.arch-diagram { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 0; padding: var(--space-2xl) 0; }
.arch-node { background: var(--bg-card); border: 1px solid var(--surface-border); border-radius: var(--radius-lg); padding: var(--space-lg) var(--space-xl); text-align: center; min-width: 140px; transition: all 0.5s var(--ease-spring); opacity: 0.5; position: relative; }
.arch-node--active, .arch-node.lit { opacity: 1; border-color: var(--accent); box-shadow: 0 0 30px rgba(90,142,255,0.15); transform: scale(1.05); }
.arch-node__icon { font-size: 2rem; margin-bottom: var(--space-sm); }
.arch-node__label { font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; }
.arch-node__sub { font-family: var(--font-mono); font-size: 0.7rem; color: var(--text-tertiary); text-transform: uppercase; letter-spacing: 0.1em; margin-top: 4px; }
.arch-connector { display: flex; align-items: center; padding: 0 var(--space-sm); color: var(--text-tertiary); font-size: 1.2rem; position: relative; opacity: 0.3; transition: opacity 0.5s; }
.arch-connector.lit { opacity: 1; color: var(--accent); }
.arch-connector__line { display: none; }

/* Tooltips para Arquitectura (#43) */
.tooltip-container { position: relative; cursor: help; }
.tooltip-box {
    position: absolute; bottom: calc(100% + 15px); left: 50%; transform: translateX(-50%) translateY(15px) scale(0.95);
    background: rgba(14, 18, 37, 0.85); backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, 0.15); padding: 14px 18px;
    border-radius: 12px; font-size: 0.85rem; color: #e2e8f0; white-space: normal; width: max-content; max-width: 240px; text-align: center;
    line-height: 1.4; opacity: 0; pointer-events: none; transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.1); z-index: 20;
}
.tooltip-box::after {
    content: ''; position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
    border-width: 6px; border-style: solid; border-color: rgba(255, 255, 255, 0.15) transparent transparent transparent;
}
.tooltip-container:hover .tooltip-box, .arch-node--active .tooltip-box {
    opacity: 1; transform: translateX(-50%) translateY(0) scale(1);
}
.arch-node { transition: all 0.3s ease; }
.arch-node:hover { transform: translateY(-5px) scale(1.05); box-shadow: 0 0 20px rgba(90, 142, 255, 0.4); border-color: var(--accent); }

/* ═══════════ SERVICES ═══════════ */
.services { padding: var(--space-5xl) 0; background: var(--gradient-surface); }
/* #11 Stagger Grid */
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-xl); }
.stagger-grid .service-card:nth-child(1) { --delay: 0.03s; }
.stagger-grid .service-card:nth-child(2) { --delay: 0.09s; }
.stagger-grid .service-card:nth-child(3) { --delay: 0.15s; }
.stagger-grid .service-card:nth-child(4) { --delay: 0.08s; }
.stagger-grid .service-card:nth-child(5) { --delay: 0.14s; }
.stagger-grid .service-card:nth-child(6) { --delay: 0.20s; }
.stagger-grid .service-card:nth-child(7) { --delay: 0.13s; }
.stagger-grid .service-card:nth-child(8) { --delay: 0.19s; }
.stagger-grid .service-card:nth-child(9) { --delay: 0.25s; }
.service-card { position: relative; }
.service-card__number { font-family: var(--font-mono); font-size: 0.72rem; color: var(--text-tertiary); position: absolute; top: var(--space-lg); right: var(--space-lg); }
.service-card__icon { width: 52px; height: 52px; border-radius: var(--radius-md); background: rgba(90,142,255,0.1); display: flex; align-items: center; justify-content: center; margin-bottom: var(--space-xl); color: var(--accent); transition: all var(--duration-normal); }
.service-card:hover .service-card__icon { background: var(--gradient-brand); color: white; }
.service-card__title { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; margin-bottom: var(--space-sm); }
.service-card__text { color: var(--text-secondary); font-size: 0.92rem; line-height: 1.6; margin-bottom: var(--space-lg); }
.service-card__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.service-card__tags span { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.05em; text-transform: uppercase; padding: 4px 10px; border: 1px solid var(--surface-border); border-radius: var(--radius-sm); color: var(--text-tertiary); }

/* ═══════════ PROCESS ═══════════ */
.process { padding: var(--space-5xl) 0; background: var(--bg-secondary); }
.process__timeline { position: relative; max-width: 700px; margin: 0 auto; padding-left: 60px; }
/* #13 Timeline line drawing */
.process__line { position: absolute; left: 22px; top: 0; bottom: 0; width: 2px; background: var(--surface-border); }
.process__line-fill { width: 100%; height: 0%; background: var(--gradient-brand); transition: height 0.1s linear; border-radius: 2px; }
.process__step { position: relative; padding-bottom: var(--space-3xl); }
.process__step:last-child { padding-bottom: 0; }
.process__step-marker { position: absolute; left: -60px; top: 0; width: 44px; height: 44px; border-radius: 50%; background: var(--bg-tertiary); border: 2px solid var(--surface-border); display: flex; align-items: center; justify-content: center; font-family: var(--font-mono); font-size: 0.8rem; font-weight: 700; color: var(--accent); transition: all var(--duration-normal) var(--ease-spring); z-index: 2; }
.process__step:hover .process__step-marker { background: var(--gradient-brand); border-color: var(--accent); transform: scale(1.15); }
.process__step:hover .process__step-marker span { color: white; }
.process__step-tag { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-purple); }
.process__step-title { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; margin: var(--space-xs) 0 var(--space-sm); }
.process__step-text { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.6; }

/* ═══════════ #17 CASE STUDIES ═══════════ */
.case-studies { padding: var(--space-5xl) 0; background: var(--bg-primary); }
.cases__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-xl); }
.case-card__industry { font-size: 1.6rem; margin-bottom: var(--space-md); }
.case-card__title { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; margin-bottom: var(--space-sm); }
.case-card__desc { color: var(--text-secondary); font-size: 0.92rem; line-height: 1.6; margin-bottom: var(--space-lg); }
.case-card__metrics { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-md); padding-top: var(--space-lg); border-top: 1px solid var(--surface-border); }
.case-card__metric-value { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; display: block; background: var(--gradient-brand); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.case-card__metric-label { font-size: 0.78rem; color: var(--text-tertiary); }

/* ═══════════ RESULTS ═══════════ */
.results { padding: var(--space-5xl) 0; background: var(--gradient-surface); }
/* #20 Live Counter */
.live-counter { font-size: 0.95rem; color: var(--text-secondary); display: inline-flex; align-items: center; gap: 8px; margin-top: var(--space-md); }
.live-counter__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-emerald); animation: pulse 2s ease-in-out infinite; box-shadow: 0 0 8px var(--accent-emerald); }
.live-counter__num { font-weight: 700; color: var(--accent-emerald); }
.results__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-xl); }
.result-card { background: var(--bg-card); border: 1px solid var(--surface-border); border-radius: var(--radius-lg); padding: var(--space-2xl); text-align: center; }
.result-card__value { font-family: var(--font-display); font-weight: 800; font-size: 2.5rem; margin-bottom: var(--space-xs); }
.result-card__value span { background: var(--gradient-brand); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.result-card__value small { font-size: 1rem; font-weight: 600; }
.result-card__label { color: var(--text-secondary); font-size: 0.9rem; margin-bottom: var(--space-lg); }
.result-card__bar { height: 4px; background: var(--surface-border); border-radius: 4px; overflow: hidden; }
.result-card__bar-fill { height: 100%; width: 0; background: var(--gradient-brand); border-radius: 4px; transition: width 1.5s var(--ease-smooth); }
.result-card__bar-fill.animated { width: var(--width); }

/* ═══════════ #21 ROI CALCULATOR ═══════════ */
.calculator { padding: var(--space-5xl) 0; background: var(--bg-secondary); }
.calc-widget { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3xl); background: var(--bg-card); border: 1px solid var(--surface-border); border-radius: var(--radius-xl); padding: var(--space-3xl); }
.calc-inputs { display: flex; flex-direction: column; gap: var(--space-2xl); }
.calc-input-group label { font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; display: block; margin-bottom: var(--space-md); }
.calc-range { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; background: var(--surface-border); border-radius: 6px; outline: none; cursor: pointer; }
.calc-range::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: var(--gradient-brand); cursor: pointer; box-shadow: 0 2px 10px rgba(90,142,255,0.4); }
.calc-range::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--accent); cursor: pointer; border: none; }
.calc-range-value { font-family: var(--font-mono); font-size: 0.85rem; color: var(--text-secondary); margin-top: var(--space-sm); }
.calc-results { display: flex; flex-direction: column; gap: var(--space-xl); justify-content: center; }
.calc-result-card { background: rgba(90,142,255,0.05); border: 1px solid var(--surface-border); border-radius: var(--radius-lg); padding: var(--space-xl); text-align: center; }
.calc-result-card--highlight { border-color: var(--accent); background: rgba(90,142,255,0.1); }
.calc-result__label { font-size: 0.85rem; color: var(--text-secondary); margin-bottom: var(--space-sm); }
.calc-result__value { font-family: var(--font-display); font-weight: 800; font-size: 2.2rem; }
.calc-result__sub { font-size: 0.78rem; color: var(--text-tertiary); margin-top: 4px; }
.calc-cta { margin-top: var(--space-md); }

/* ═══════════ PACKAGES ═══════════ */
.packages { padding: var(--space-5xl) 0; background: var(--bg-primary); }
.packages__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-xl); }
.package-card { display: flex; flex-direction: column; }
.package-card--featured { border-color: var(--accent); position: relative; }
.package-card__badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--gradient-brand); color: white; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; padding: 6px 20px; border-radius: var(--radius-full); white-space: nowrap; }
.package-card__header { margin-bottom: var(--space-xl); }
.package-card__tier { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-purple); }
.package-card__name { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; margin-top: var(--space-xs); }
.package-card__price { padding-bottom: var(--space-lg); margin-bottom: var(--space-lg); border-bottom: 1px solid var(--surface-border); }
.package-card__from { font-size: 0.85rem; color: var(--text-tertiary); margin-right: 4px; }
.package-card__amount { font-family: var(--font-display); font-weight: 800; font-size: 2rem; }
.package-card__currency { font-size: 0.85rem; color: var(--text-tertiary); margin-left: 4px; }
.package-card__features { flex: 1; margin-bottom: var(--space-xl); display: flex; flex-direction: column; gap: var(--space-sm); }
.package-card__features li { font-size: 0.92rem; color: var(--text-secondary); padding-left: 20px; position: relative; line-height: 1.5; }
.package-card__features li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--gradient-brand); position: absolute; left: 0; top: 8px; }
.package-card__ideal { font-size: 0.82rem; color: var(--text-tertiary); background: rgba(90,142,255,0.05); padding: var(--space-md); border-radius: var(--radius-sm); margin-bottom: var(--space-lg); }
.package-card__cta { width: 100%; }

/* ═══════════ #15 TESTIMONIALS ═══════════ */
.testimonials { padding: var(--space-5xl) 0; background: var(--bg-secondary); }
.testimonials__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-xl); }
.testimonial-card__stars { color: #fbbf24; font-size: 1.1rem; margin-bottom: var(--space-lg); letter-spacing: 2px; }
.testimonial-card__quote { font-size: 1rem; line-height: 1.7; color: var(--text-secondary); font-style: italic; margin-bottom: var(--space-xl); }
.testimonial-card__author { display: flex; align-items: center; gap: var(--space-md); }
.testimonial-card__avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--gradient-brand); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; font-size: 0.85rem; color: white; flex-shrink: 0; }
.testimonial-card__author strong { display: block; font-size: 0.95rem; }
.testimonial-card__author span { font-size: 0.8rem; color: var(--text-tertiary); }

/* ═══════════ #18 CERTIFICATIONS ═══════════ */
.certifications { padding: var(--space-2xl) 0; background: var(--bg-primary); border-top: 1px solid var(--surface-border); }
.certifications__inner { display: flex; justify-content: center; gap: var(--space-2xl); flex-wrap: wrap; }
.cert-badge { display: flex; align-items: center; gap: var(--space-sm); font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.05em; color: var(--text-tertiary); padding: var(--space-sm) var(--space-lg); border: 1px solid var(--surface-border); border-radius: var(--radius-full); transition: all 0.3s; }
.cert-badge:hover { border-color: var(--accent); color: var(--text-primary); background: rgba(90,142,255,0.05); }

/* ═══════════ #23 FAQ ACCORDION ═══════════ */
.faq { padding: var(--space-5xl) 0; background: var(--bg-secondary); }
.faq__list { max-width: 750px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--surface-border); }
.faq-item__question { width: 100%; background: none; border: none; color: var(--text-primary); font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; padding: var(--space-xl) 0; display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); cursor: pointer; text-align: left; }
.faq-item__icon { transition: transform 0.3s; color: var(--accent); flex-shrink: 0; }
.faq-item[data-open="true"] .faq-item__icon { transform: rotate(180deg); }
.faq-item__answer { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease-smooth), padding 0.4s; }
.faq-item__answer p { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.7; padding-bottom: var(--space-xl); }

/* ═══════════ CONTACT ═══════════ */
.contact { padding: var(--space-5xl) 0; position: relative; overflow: hidden; background: var(--bg-primary); }
.contact__gradient-orb { position: absolute; border-radius: 50%; filter: blur(100px); }
.contact__gradient-orb--1 { width: 500px; height: 500px; background: rgba(90,142,255,0.06); top: -20%; right: -10%; }
.contact__gradient-orb--2 { width: 400px; height: 400px; background: rgba(168,85,247,0.05); bottom: -20%; left: -10%; }
.contact__inner { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4xl); position: relative; z-index: 2; }
.contact__desc { color: var(--text-secondary); font-size: 1.05rem; line-height: 1.7; margin: var(--space-xl) 0 var(--space-2xl); }
.contact__benefits { display: flex; flex-direction: column; gap: var(--space-md); }
.contact__benefit { display: flex; align-items: center; gap: var(--space-md); font-size: 0.95rem; color: var(--text-secondary); }
/* #27 Multi-Step Form */
.contact__form { background: var(--bg-card); border: 1px solid var(--surface-border); border-radius: var(--radius-xl); padding: var(--space-2xl); }
.form-steps { margin-bottom: var(--space-xl); }
.form-step-indicator { display: flex; align-items: center; justify-content: center; gap: var(--space-sm); }
.form-step-dot { width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--surface-border); display: flex; align-items: center; justify-content: center; font-family: var(--font-mono); font-size: 0.78rem; color: var(--text-tertiary); transition: all 0.3s; }
.form-step-dot.active { border-color: var(--accent); color: var(--accent); background: rgba(90,142,255,0.1); }
.form-step-dot.completed { border-color: var(--accent-emerald); background: var(--accent-emerald); color: white; }
.form-step-line { width: 40px; height: 2px; background: var(--surface-border); }
.form-step-panel { display: none; flex-direction: column; gap: var(--space-lg); }
.form-step-panel.active { display: flex; }
.form-step-nav { display: flex; gap: var(--space-md); }
.form-step-nav .btn { flex: 1; }
.form-group { display: flex; flex-direction: column; gap: var(--space-xs); }
.form-group label { font-family: var(--font-display); font-weight: 600; font-size: 0.85rem; color: var(--text-secondary); }
.form-group input, .form-group select, .form-group textarea { background: var(--bg-tertiary); border: 1px solid var(--surface-border); border-radius: var(--radius-md); padding: 14px 16px; color: var(--text-primary); font-size: 0.95rem; transition: border-color var(--duration-normal); outline: none; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--accent); }
.form-group select { cursor: pointer; }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-disclaimer { font-size: 0.78rem; color: var(--text-tertiary); text-align: center; margin-top: var(--space-lg); }

/* Floating Labels */
.form-group--floating { position: relative; gap: 0; }
.form-group--floating input, .form-group--floating textarea { padding: 20px 16px 8px; }
.form-group--floating label {
    position: absolute; left: 16px; top: 18px; pointer-events: none;
    transition: all 0.2s var(--ease-spring); color: var(--text-tertiary); font-weight: 500; font-size: 0.95rem;
}
.form-group--floating input:focus ~ label, .form-group--floating input:not(:placeholder-shown) ~ label,
.form-group--floating textarea:focus ~ label, .form-group--floating textarea:not(:placeholder-shown) ~ label {
    top: 6px; font-size: 0.7rem; color: var(--accent);
}

/* Custom Select */
.custom-select {
    position: relative; background: var(--bg-tertiary); border: 1px solid var(--surface-border); border-radius: var(--radius-md);
    color: var(--text-primary); font-size: 0.95rem; transition: border-color var(--duration-normal); cursor: pointer; user-select: none;
}
.custom-select:focus { border-color: var(--accent); outline: none; }
.custom-select__trigger { padding: 14px 16px; display: flex; justify-content: space-between; align-items: center; }
.custom-select__trigger svg { transition: transform 0.3s; opacity: 0.6; }
.custom-select.open .custom-select__trigger svg { transform: rotate(180deg); }
.custom-select__options {
    position: absolute; top: calc(100% + 5px); left: 0; right: 0; background: var(--bg-tertiary);
    border: 1px solid var(--surface-border); border-radius: var(--radius-md); z-index: 50;
    opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(-10px); transition: all 0.2s;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5); max-height: 250px; overflow-y: auto;
}
.custom-select.open .custom-select__options { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); }
.custom-select__option { padding: 12px 16px; transition: background 0.2s; }
.custom-select__option:hover { background: rgba(90, 142, 255, 0.1); color: var(--accent); }
.custom-select__option.selected { background: var(--accent); color: #fff; }

/* ═══════════ FOOTER ═══════════ */
.footer { padding: var(--space-4xl) 0 var(--space-xl); background: var(--bg-secondary); border-top: 1px solid var(--surface-border); }
.footer__inner { display: grid; grid-template-columns: 1fr 2fr; gap: var(--space-4xl); padding-bottom: var(--space-3xl); border-bottom: 1px solid var(--surface-border); }
.footer__logo { height: 64px; width: auto; margin-bottom: var(--space-md); }
.footer__tagline { font-size: 0.92rem; color: var(--text-tertiary); line-height: 1.6; }
.footer__links { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-xl); }
.footer__col h4 { font-family: var(--font-mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--text-primary); margin-bottom: var(--space-lg); }
.footer__col a { display: block; font-size: 0.92rem; color: var(--text-tertiary); padding: 4px 0; transition: color var(--duration-normal); }
.footer__col a:hover { color: var(--accent); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; padding-top: var(--space-xl); }
.footer__bottom p { font-size: 0.82rem; color: var(--text-tertiary); }
.footer__credit { font-family: var(--font-mono); font-size: 0.72rem !important; letter-spacing: 0.12em; }

/* ═══════════ #24 WHATSAPP BUTTON ═══════════ */
.whatsapp-btn {
    position: fixed; bottom: 28px; right: 28px; z-index: 999;
    width: 60px; height: 60px; border-radius: 50%;
    background: #25D366; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 20px rgba(37,211,102,0.4);
    transition: all 0.3s var(--ease-spring);
    animation: whatsappPulse 3s ease-in-out infinite;
}
.whatsapp-btn:hover { transform: scale(1.1); box-shadow: 0 8px 30px rgba(37,211,102,0.6); }
@keyframes whatsappPulse { 0%,100% { box-shadow: 0 4px 20px rgba(37,211,102,0.4); } 50% { box-shadow: 0 4px 20px rgba(37,211,102,0.4), 0 0 0 12px rgba(37,211,102,0.1); } }

/* ═══════════ #28 STICKY CTA MOBILE ═══════════ */
.sticky-cta-mobile {
    display: none; position: fixed; bottom: 0; left: 0; right: 0;
    padding: var(--space-sm) var(--space-md); background: rgba(10,11,20,0.95);
    backdrop-filter: blur(10px); border-top: 1px solid var(--surface-border);
    z-index: 998; transform: translateY(100%); transition: transform 0.3s;
}
.sticky-cta-mobile.visible { transform: translateY(0); }

/* ═══════════ #25 EXIT POPUP ═══════════ */
.exit-popup { position: fixed; inset: 0; z-index: 10000; display: none; align-items: center; justify-content: center; }
.exit-popup.active { display: flex; }
.exit-popup__overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.7); backdrop-filter: blur(5px); }
.exit-popup__content { position: relative; background: var(--bg-secondary); border: 1px solid var(--surface-border); border-radius: var(--radius-xl); padding: var(--space-3xl); max-width: 460px; width: 90%; text-align: center; animation: popupIn 0.4s var(--ease-spring); }
@keyframes popupIn { from { opacity: 0; transform: scale(0.9) translateY(20px); } to { opacity: 1; transform: scale(1) translateY(0); } }
.exit-popup__close { position: absolute; top: var(--space-md); right: var(--space-md); background: none; border: none; color: var(--text-tertiary); font-size: 1.8rem; cursor: pointer; line-height: 1; }
.exit-popup__close:hover { color: var(--text-primary); }
.exit-popup__icon { font-size: 3rem; margin-bottom: var(--space-md); }
.exit-popup__content h3 { font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; margin-bottom: var(--space-md); }
.exit-popup__content p { color: var(--text-secondary); margin-bottom: var(--space-xl); line-height: 1.6; }
.exit-popup__content .form-group { margin-bottom: var(--space-md); }
.exit-popup__fine { font-size: 0.75rem; color: var(--text-tertiary); margin-top: var(--space-md); }

/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width: 1100px) {
    .services__grid, .cases__grid, .testimonials__grid { grid-template-columns: repeat(2, 1fr); }
    .packages__grid { grid-template-columns: repeat(2, 1fr); }
    .results__grid { grid-template-columns: repeat(2, 1fr); }
    .arch-diagram { flex-wrap: wrap; gap: var(--space-md); justify-content: center; }
}

@media (max-width: 900px) {
    .problem__grid { grid-template-columns: repeat(2, 1fr); }
    .contact__inner { grid-template-columns: 1fr; }
    .footer__inner { grid-template-columns: 1fr; }
    .ba-slider { grid-template-columns: 1fr; gap: var(--space-md); }
    .ba-slider__divider { flex-direction: row; padding: var(--space-md) 0; }
    .ba-slider__divider-line { width: 100%; height: 2px; }
    .calc-widget { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    :root { --nav-height: 64px; }
    .nav__links { display: none; position: fixed; inset: 0; background: rgba(10,11,20,0.98); backdrop-filter: blur(20px); flex-direction: column; align-items: center; justify-content: center; gap: var(--space-2xl); z-index: 999; }
    .nav__links.active { display: flex; }
    .nav__hamburger { display: flex; z-index: 1000; }
    .nav__link { font-size: 1.3rem; }
    .hero__title { font-size: clamp(2rem, 6vw, 3rem); }
    .hero__metrics { flex-direction: column; gap: var(--space-xl); }
    .hero__metric-divider { width: 40px; height: 1px; }
    .services__grid, .cases__grid, .testimonials__grid, .packages__grid, .results__grid { grid-template-columns: 1fr; }
    .problem__grid { grid-template-columns: 1fr; }
    .footer__links { grid-template-columns: 1fr; }
    .sticky-cta-mobile { display: block; }
    .whatsapp-btn { bottom: 76px; }
    .certifications__inner { gap: var(--space-md); }
    .arch-connector { display: none; }
    .arch-diagram { flex-direction: column; gap: var(--space-md); }
    .arch-node { width: 100%; }
    #cursor-glow { display: none; }
}

@media (max-width: 480px) {
    .hero__actions { flex-direction: column; align-items: center; }
    .hero__actions .btn { width: 100%; }
    .container { padding: 0 var(--space-md); }
}

/* ═══════════ PRELOADER ═══════════ */
.preloader {
    position: fixed; inset: 0; z-index: 99999;
    background: var(--bg-primary); display: flex; align-items: center;
    justify-content: center; transition: opacity 0.6s, visibility 0.6s;
}
.preloader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader__inner { text-align: center; }
.preloader__logo {
    width: 80px; height: auto; margin: 0 auto var(--space-xl);
    animation: preloaderPulse 1.5s ease-in-out infinite;
}
@keyframes preloaderPulse { 0%,100% { transform: scale(1); filter: brightness(1); } 50% { transform: scale(1.12); filter: brightness(1.3); } }
.preloader__bar { width: 200px; height: 3px; background: var(--surface-border); border-radius: 3px; margin: 0 auto var(--space-md); overflow: hidden; }
.preloader__bar-fill { width: 0; height: 100%; background: var(--gradient-brand); border-radius: 3px; animation: preloaderFill 1.8s var(--ease-smooth) forwards; }
@keyframes preloaderFill { to { width: 100%; } }
.preloader__text { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-tertiary); }

/* ═══════════ SKIP LINK ═══════════ */
.skip-link {
    position: fixed; top: -100%; left: 50%; transform: translateX(-50%);
    z-index: 100000; background: var(--gradient-brand); color: white;
    padding: 12px 24px; border-radius: var(--radius-full); font-weight: 600;
    transition: top 0.3s;
}
.skip-link:focus { top: 10px; }

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

/* ═══════════ CUSTOM SCROLLBAR ═══════════ */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--accent), var(--accent-purple));
    border-radius: 4px; border: 2px solid var(--bg-primary);
}
::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, var(--accent-purple), var(--accent-cyan)); }
html { scrollbar-color: var(--accent) var(--bg-primary); scrollbar-width: thin; }

/* ═══════════ URGENCY BANNER ═══════════ */
.urgency-banner {
    background: linear-gradient(90deg, rgba(239,68,68,0.1), rgba(168,85,247,0.1), rgba(90,142,255,0.1));
    border-top: 1px solid rgba(239,68,68,0.15); border-bottom: 1px solid rgba(90,142,255,0.15);
    padding: var(--space-md) 0;
}
.urgency-banner__inner { display: flex; align-items: center; justify-content: center; gap: var(--space-md); flex-wrap: wrap; }
.urgency-banner__icon { font-size: 1.2rem; }
.urgency-banner__text { font-size: 0.9rem; color: var(--text-secondary); }
.urgency-banner__text strong { color: var(--text-primary); }
#urgency-slots { color: var(--accent-red); font-family: var(--font-display); font-weight: 800; }
.urgency-banner__btn {
    font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.05em; text-transform: uppercase;
    color: var(--accent); border: 1px solid var(--accent); border-radius: var(--radius-full);
    padding: 6px 18px; transition: all 0.3s; white-space: nowrap;
}
.urgency-banner__btn:hover { background: var(--accent); color: white; }

/* ═══════════ COMPARISON TABLE ═══════════ */
.comparison { padding: var(--space-5xl) 0; background: var(--gradient-surface); }
.comparison__table-wrap { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--surface-border); }
.comparison__table {
    width: 100%; border-collapse: collapse; font-size: 0.92rem;
    background: var(--bg-card);
}
.comparison__table thead tr { background: var(--bg-tertiary); }
.comparison__table th {
    padding: var(--space-lg) var(--space-xl); text-align: center;
    font-family: var(--font-display); font-weight: 700; font-size: 0.95rem;
    border-bottom: 2px solid var(--surface-border); white-space: nowrap;
}
.comparison__table th:first-child { text-align: left; }
.comparison__header--dim { color: var(--text-tertiary); }
.comparison__header--highlight {
    color: var(--accent); background: rgba(90,142,255,0.08);
    position: relative;
}
.comparison__header--highlight::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: var(--gradient-brand);
}
.comparison__logo { width: 28px; height: auto; display: inline-block; vertical-align: middle; margin-right: 8px; }
.comparison__table td {
    padding: var(--space-md) var(--space-xl); text-align: center;
    border-bottom: 1px solid var(--surface-border); color: var(--text-secondary);
}
.comparison__table td:first-child { text-align: left; font-weight: 500; color: var(--text-primary); }
.comparison__table td:last-child { background: rgba(90,142,255,0.04); }
.comparison__cell--accent { font-weight: 700; color: var(--accent-emerald) !important; }
.comparison__table tbody tr:hover { background: rgba(90,142,255,0.03); }
.comparison__table tbody tr:last-child td { border-bottom: none; }

/* ═══════════ BACK TO TOP ═══════════ */
.back-to-top {
    position: fixed; bottom: 100px; right: 28px; z-index: 997;
    width: 44px; height: 44px; border-radius: 50%;
    background: var(--bg-tertiary); border: 1px solid var(--surface-border);
    color: var(--accent); display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: all 0.3s var(--ease-spring);
    opacity: 0; transform: translateY(20px); pointer-events: none;
}
.back-to-top.visible { opacity: 1; transform: translateY(0); pointer-events: all; }
.back-to-top:hover { background: var(--accent); color: white; border-color: var(--accent); transform: translateY(-4px); box-shadow: 0 8px 25px rgba(90,142,255,0.3); }

/* ═══════════ 3D CARD TILT ═══════════ */
.glass-card { transform-style: preserve-3d; perspective: 1000px; }

/* ═══════════ ANIMATED GRADIENT BORDER (Featured Card) ═══════════ */
.package-card--featured::after {
    content: ''; position: absolute; inset: -1px; z-index: -1;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--accent), var(--accent-purple), var(--accent-cyan), var(--accent));
    background-size: 300% 300%;
    animation: gradientBorder 4s ease infinite;
    opacity: 0.6;
}
@keyframes gradientBorder { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }

/* ═══════════ FOCUS STATES ═══════════ */
.btn:focus-visible, .nav__link:focus-visible, .nav__cta-btn:focus-visible,
.faq-item__question:focus-visible, input:focus-visible, select:focus-visible,
textarea:focus-visible, .package-card__cta:focus-visible {
    outline: 2px solid var(--accent); outline-offset: 3px;
}

/* ═══════════ #3 SVG STROKE ANIMATION ═══════════ */
.service-card__icon svg {
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    transition: stroke-dashoffset 1.2s var(--ease-smooth);
}
.service-card.revealed .service-card__icon svg,
.service-card__icon svg.animated {
    stroke-dashoffset: 0;
}
.problem__card-icon svg {
    stroke-dasharray: 80;
    stroke-dashoffset: 80;
    transition: stroke-dashoffset 1s var(--ease-smooth) 0.2s;
}
.problem__card.revealed .problem__card-icon svg { stroke-dashoffset: 0; }

/* ═══════════ #5 GLOWING ACCENT LINES ═══════════ */
.glow-divider {
    position: relative; width: 100%; height: 1px; margin: 0; overflow: visible;
}
.glow-divider::before {
    content: ''; position: absolute; top: 0; left: 10%; right: 10%; height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), var(--accent-purple), var(--accent-cyan), transparent);
    opacity: 0.4;
}
.glow-divider::after {
    content: ''; position: absolute; top: -2px; left: 30%; width: 60px; height: 5px;
    background: var(--accent); border-radius: 50%; filter: blur(8px);
    animation: glowTravel 4s ease-in-out infinite;
}
@keyframes glowTravel {
    0% { left: 10%; opacity: 0; }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { left: 85%; opacity: 0; }
}

/* ═══════════ #6 WAVE SECTION TRANSITIONS ═══════════ */
.wave-top, .wave-bottom { position: relative; }
.wave-top::before {
    content: ''; position: absolute; top: -40px; left: 0; right: 0; height: 40px;
    background: var(--bg-primary);
    clip-path: polygon(0 100%, 100% 100%, 100% 0, 75% 60%, 50% 20%, 25% 80%, 0 30%);
    z-index: 1;
}
.wave-bottom::after {
    content: ''; position: absolute; bottom: -40px; left: 0; right: 0; height: 40px;
    background: var(--bg-primary);
    clip-path: polygon(0 0, 100% 0, 100% 70%, 75% 20%, 50% 80%, 25% 40%, 0 100%);
    z-index: 1;
}

/* ═══════════ #8 RIPPLE EFFECT ON BUTTONS ═══════════ */
.btn { position: relative; overflow: hidden; }
.btn .ripple-effect {
    position: absolute; border-radius: 50%; background: rgba(255,255,255,0.35);
    transform: scale(0); animation: rippleAnim 0.6s ease-out forwards;
    pointer-events: none;
}
@keyframes rippleAnim {
    to { transform: scale(4); opacity: 0; }
}

/* ═══════════ #9 FLOATING UI CHIPS ═══════════ */
.hero__floating-chips { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.floating-chip {
    position: absolute; font-family: var(--font-mono); font-size: 0.72rem;
    letter-spacing: 0.04em; padding: 6px 14px; border-radius: var(--radius-full);
    background: rgba(15,23,42,0.7); border: 1px solid var(--surface-border);
    color: var(--text-secondary); backdrop-filter: blur(8px);
    opacity: 0; animation: chipFloat 6s ease-in-out infinite, chipFadeIn 1s ease forwards;
    white-space: nowrap;
}
.floating-chip--1 { top: 18%; left: 5%; animation-delay: 0.5s, 0.5s; }
.floating-chip--2 { top: 32%; right: 4%; animation-delay: 1.2s, 1.2s; }
.floating-chip--3 { bottom: 30%; left: 3%; animation-delay: 1.8s, 1.8s; }
.floating-chip--4 { bottom: 18%; right: 6%; animation-delay: 2.5s, 2.5s; }
.floating-chip--5 { top: 55%; left: 7%; animation-delay: 3s, 3s; }
@keyframes chipFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-10px) rotate(1deg); }
    66% { transform: translateY(6px) rotate(-0.5deg); }
}
@keyframes chipFadeIn {
    from { opacity: 0; transform: scale(0.7); }
    to { opacity: 0.7; transform: scale(1); }
}

/* ═══════════ #10 CINEMATIC PARALLAX LAYERS ═══════════ */
.hero__parallax-layer {
    position: absolute; border-radius: 50%; pointer-events: none;
    will-change: transform;
}
.hero__parallax-layer--near {
    width: 8px; height: 8px; background: rgba(90,142,255,0.5);
    top: 20%; left: 15%; filter: blur(0px);
}
.hero__parallax-layer--mid {
    width: 5px; height: 5px; background: rgba(168,85,247,0.3);
    top: 60%; right: 20%; filter: blur(1px);
}
.hero__parallax-layer--far {
    width: 3px; height: 3px; background: rgba(34,211,238,0.2);
    top: 40%; left: 60%; filter: blur(2px);
}
.hero__parallax-layer--near2 {
    width: 6px; height: 6px; background: rgba(236,72,153,0.4);
    bottom: 25%; right: 10%; filter: blur(0px);
}
}

/* ═══════════ #23 SVG TRUST BAR LOGOS ═══════════ */
.trust-bar__logo--svg {
    display: flex; align-items: center; gap: 8px;
}
.trust-bar__logo--svg svg {
    opacity: 0.5; transition: opacity 0.3s;
}
.trust-bar__logo--svg:hover svg { opacity: 1; }

/* ═══════════ #25 FLOATING METRIC BANNER ═══════════ */
.floating-metric {
    position: fixed; top: 80px; left: 24px; z-index: 900;
    background: rgba(10,14,28,0.92); backdrop-filter: blur(16px);
    border: 1px solid var(--surface-border); border-radius: var(--radius-full);
    padding: 10px 20px; font-family: var(--font-mono); font-size: 0.75rem;
    color: var(--text-secondary); letter-spacing: 0.04em;
    transform: translateX(-120%); opacity: 0;
    transition: all 0.5s var(--ease-smooth);
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.floating-metric.visible { transform: translateX(0); opacity: 1; }
.floating-metric strong { color: var(--accent-emerald); font-weight: 700; }
.floating-metric__dot {
    display: inline-block; width: 8px; height: 8px; border-radius: 50%;
    background: #ef4444; margin-right: 6px; vertical-align: middle;
    animation: metricPulse 2s ease-in-out infinite;
}
@keyframes metricPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(239,68,68,0.4); }
    50% { box-shadow: 0 0 0 6px rgba(239,68,68,0); }
}
@media (max-width: 768px) { .floating-metric { display: none; } }

/* ═══════════ #24 VIDEO TESTIMONIAL ═══════════ */
.testimonial-card--video { padding: 0 0 var(--space-lg) 0; overflow: hidden; }
.video-testimonial__thumb {
    width: 100%; height: 180px; background: linear-gradient(135deg, rgba(90,142,255,0.15), rgba(168,85,247,0.15));
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: var(--space-sm); position: relative; cursor: pointer; border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    transition: all 0.3s;
}
.video-testimonial__thumb:hover { background: linear-gradient(135deg, rgba(90,142,255,0.25), rgba(168,85,247,0.25)); }
.video-testimonial__play {
    width: 60px; height: 60px; border-radius: 50%;
    background: rgba(90,142,255,0.6); display: flex; align-items: center; justify-content: center;
    transition: all 0.3s; backdrop-filter: blur(8px);
}
.video-testimonial__play:hover { background: var(--accent); transform: scale(1.1); }
.video-testimonial__label {
    font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.06em;
    color: var(--text-tertiary); text-transform: uppercase;
}
.testimonial-card--video .testimonial-card__author { padding: 0 var(--space-lg); }

/* ═══════════ #27 FEATURED IN ═══════════ */
.featured-in {
    padding: var(--space-2xl) 0; text-align: center;
}
.featured-in__label {
    font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.15em;
    color: var(--text-tertiary); text-transform: uppercase; margin-bottom: var(--space-lg);
}
.featured-in__grid {
    display: flex; flex-wrap: wrap; gap: var(--space-md); justify-content: center;
}
.featured-in__badge {
    background: rgba(255,255,255,0.04); border: 1px solid var(--surface-border);
    padding: 10px 20px; border-radius: var(--radius-full);
    font-family: var(--font-mono); font-size: 0.78rem; color: var(--text-secondary);
    letter-spacing: 0.04em;
    transition: all 0.3s;
}
.featured-in__badge:hover {
    border-color: var(--accent); color: var(--text-primary);
    background: rgba(90,142,255,0.06);
}

/* ═══════════ #28 TEAM SECTION ═══════════ */
.team-section {
    padding: var(--space-3xl) 0;
}
.team-section__grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-xl); margin-top: var(--space-2xl);
}
.team-card {
    text-align: center; padding: var(--space-xl); background: var(--surface-card);
    border: 1px solid var(--surface-border); border-radius: var(--radius-lg);
    transition: all 0.3s var(--ease-smooth);
    display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.team-card:hover {
    border-color: var(--accent); transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(90,142,255,0.15);
}
.team-card__avatar {
    font-size: 3rem; width: 80px; height: 80px; border-radius: 50%;
    background: linear-gradient(135deg, rgba(90,142,255,0.1), rgba(168,85,247,0.1));
    display: flex; align-items: center; justify-content: center;
    margin-bottom: var(--space-sm);
}
.team-card strong {
    font-family: var(--font-display); font-size: 1.05rem; color: var(--text-primary);
}
.team-card span {
    font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.05em;
    color: var(--text-tertiary); text-transform: uppercase;
}

/* ═══════════ #35 ONBOARDING TIMELINE ═══════════ */
.onboarding-timeline { padding: var(--space-3xl) 0; }
.onboarding__track {
    display: flex; align-items: center; justify-content: center;
    gap: 0; flex-wrap: wrap; margin-top: var(--space-2xl);
}
.onboarding__step {
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    padding: var(--space-lg); text-align: center; min-width: 140px;
}
.onboarding__day {
    font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.1em;
    color: var(--accent-cyan); text-transform: uppercase; font-weight: 700;
}
.onboarding__icon { font-size: 2rem; }
.onboarding__step strong { color: var(--text-primary); font-size: 0.95rem; }
.onboarding__step span { font-size: 0.78rem; color: var(--text-tertiary); }
.onboarding__connector {
    width: 60px; height: 2px; background: var(--gradient-brand); flex-shrink: 0;
}
@media (max-width: 600px) {
    .onboarding__track { flex-direction: column; }
    .onboarding__connector { width: 2px; height: 30px; }
}

/* ═══════════ #33 GUARANTEE ═══════════ */
.guarantee-section { padding: var(--space-3xl) 0; }
.guarantee__card {
    text-align: center; padding: var(--space-3xl) var(--space-2xl);
    background: linear-gradient(135deg, rgba(90,142,255,0.06), rgba(168,85,247,0.06));
    border: 1px solid var(--surface-border); border-radius: var(--radius-xl);
    max-width: 700px; margin: 0 auto;
}
.guarantee__badge { font-size: 3.5rem; margin-bottom: var(--space-md); }
.guarantee__title {
    font-family: var(--font-display); font-size: clamp(1.4rem, 3vw, 2rem);
    color: var(--text-primary); margin-bottom: var(--space-md);
}
.guarantee__text {
    color: var(--text-secondary); font-size: 0.95rem; line-height: 1.7;
    margin-bottom: var(--space-lg); max-width: 500px; margin-left: auto; margin-right: auto;
}
.guarantee__badges {
    display: flex; flex-wrap: wrap; gap: var(--space-sm); justify-content: center;
}
.guarantee__badges span {
    font-family: var(--font-mono); font-size: 0.72rem; padding: 8px 16px;
    background: rgba(255,255,255,0.04); border: 1px solid var(--surface-border);
    border-radius: var(--radius-full); color: var(--text-secondary);
}

/* ═══════════ #36 INDUSTRIES TABS ═══════════ */
.industries-section { padding: var(--space-3xl) 0; }
.industries__tabs {
    display: flex; gap: var(--space-sm); justify-content: center;
    flex-wrap: wrap; margin-top: var(--space-xl); margin-bottom: var(--space-xl);
}
.industries__tab {
    font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.05em;
    padding: 10px 22px; border-radius: var(--radius-full); cursor: pointer;
    background: rgba(255,255,255,0.04); border: 1px solid var(--surface-border);
    color: var(--text-secondary); transition: all 0.3s;
}
.industries__tab.active, .industries__tab:hover {
    background: var(--accent); color: white; border-color: var(--accent);
}
.industries__panels { position: relative; min-height: 180px; }
.industries__panel {
    display: none; padding: var(--space-xl); background: var(--surface-card);
    border: 1px solid var(--surface-border); border-radius: var(--radius-lg);
    animation: fadeIn 0.3s ease;
}
.industries__panel.active { display: block; }
.industries__panel h4 {
    font-family: var(--font-display); font-size: 1.2rem; color: var(--text-primary);
    margin-bottom: var(--space-sm);
}
.industries__panel p { color: var(--text-secondary); line-height: 1.7; margin-bottom: var(--space-md); }
.industries__pain-points { display: flex; flex-wrap: wrap; gap: var(--space-xs); }
.industries__pain-points span {
    font-family: var(--font-mono); font-size: 0.72rem; padding: 6px 14px;
    background: rgba(239,68,68,0.08); border: 1px solid rgba(239,68,68,0.2);
    border-radius: var(--radius-full); color: #f87171;
}
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* ═══════════ #34 ECOSYSTEM MAP ═══════════ */
.ecosystem-map { padding: var(--space-3xl) 0; }
.ecosystem__grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-lg); margin-top: var(--space-2xl);
}
.ecosystem__category {
    padding: var(--space-lg); background: var(--surface-card);
    border: 1px solid var(--surface-border); border-radius: var(--radius-lg);
    transition: border-color 0.3s;
}
.ecosystem__category:hover { border-color: var(--accent); }
.ecosystem__category h4 {
    font-size: 1rem; margin-bottom: var(--space-sm); color: var(--text-primary);
}
.ecosystem__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.ecosystem__tags span {
    font-family: var(--font-mono); font-size: 0.7rem; padding: 5px 12px;
    background: rgba(90,142,255,0.08); border-radius: var(--radius-full);
    color: var(--accent-cyan); letter-spacing: 0.04em;
}

/* ═══════════ #32 PROCESS COMPARISON ═══════════ */
.process-comparison { padding: var(--space-3xl) 0; }
.comparison-flow {
    display: flex; align-items: stretch; gap: var(--space-lg);
    margin-top: var(--space-2xl);
}
.comparison-flow__side {
    flex: 1; padding: var(--space-xl); border-radius: var(--radius-lg);
    border: 1px solid var(--surface-border); background: var(--surface-card);
}
.comparison-flow__side--before { border-color: rgba(239,68,68,0.2); }
.comparison-flow__side--after { border-color: rgba(16,185,129,0.3); }
.comparison-flow__side h4 { font-size: 1rem; margin-bottom: var(--space-md); color: var(--text-primary); }
.comparison-flow__steps {
    display: flex; flex-direction: column; gap: 8px;
}
.comparison-flow__steps span {
    font-family: var(--font-mono); font-size: 0.75rem; padding: 8px 14px;
    background: rgba(255,255,255,0.03); border-radius: var(--radius-md);
    color: var(--text-secondary); border-left: 2px solid var(--surface-border);
}
.comparison-flow__side--after .comparison-flow__steps span { border-left-color: var(--accent-emerald); }
.comparison-flow__result {
    margin-top: var(--space-md); font-family: var(--font-mono); font-size: 0.82rem;
    font-weight: 700; padding: 10px; border-radius: var(--radius-md); text-align: center;
}
.comparison-flow__result--bad { background: rgba(239,68,68,0.08); color: #f87171; }
.comparison-flow__result--good { background: rgba(16,185,129,0.08); color: var(--accent-emerald); }
.comparison-flow__vs {
    display: flex; align-items: center; font-family: var(--font-display);
    font-size: 1.5rem; font-weight: 700; color: var(--text-tertiary); flex-shrink: 0;
}
@media (max-width: 768px) {
    .comparison-flow { flex-direction: column; }
    .comparison-flow__vs { justify-content: center; }
}

/* ═══════════ #29 MINI BLOG ═══════════ */
.mini-blog { padding: var(--space-3xl) 0; }
.mini-blog__grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg); margin-top: var(--space-2xl);
}
.blog-card { overflow: hidden; cursor: pointer; transition: all 0.3s; }
.blog-card:hover { border-color: var(--accent); transform: translateY(-4px); }
.blog-card__thumb {
    height: 80px; display: flex; align-items: center; justify-content: center;
    font-size: 2.5rem; background: linear-gradient(135deg, rgba(90,142,255,0.08), rgba(168,85,247,0.08));
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.blog-card__content { padding: var(--space-lg); }
.blog-card__date {
    font-family: var(--font-mono); font-size: 0.68rem; color: var(--accent-cyan);
    letter-spacing: 0.08em; text-transform: uppercase;
}
.blog-card__title {
    font-family: var(--font-display); font-size: 1rem; color: var(--text-primary);
    margin: var(--space-xs) 0; line-height: 1.4;
}
.blog-card__excerpt { font-size: 0.82rem; color: var(--text-tertiary); line-height: 1.5; }

/* ═══════════ #37 SMOOTH PAGE LOAD TRANSITION ═══════════ */
.hero {
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    opacity: 0;
    transition: clip-path 1s var(--ease-smooth), opacity 0.8s ease;
}
body.page-loaded .hero {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%) !important;
    opacity: 1 !important;
}

/* ═══════════ #38 ANIMATED HAMBURGER → X ═══════════ */
.nav__hamburger span {
    transition: all 0.3s var(--ease-smooth);
    transform-origin: center;
}
.nav__hamburger.is-active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.nav__hamburger.is-active span:nth-child(2) {
    opacity: 0; transform: scaleX(0);
}
.nav__hamburger.is-active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ═══════════ #40 BLUR LAZY REVEAL ═══════════ */
.blur-initial {
    filter: blur(8px); opacity: 0; transform: translateY(16px);
    transition: filter 0.6s ease, opacity 0.6s ease, transform 0.6s var(--ease-smooth);
}
.blur-revealed {
    filter: blur(0) !important; opacity: 1 !important; transform: translateY(0) !important;
}

/* ═══════════ #42 AUTO-HIDE NAV ═══════════ */
.nav { transition: transform 0.35s var(--ease-smooth); }
.nav--hidden { transform: translateY(-100%); }

/* ═══════════ #11 ANIMATED HIGHLIGHTED WORDS ═══════════ */
.highlight-word {
    position: relative; display: inline; padding: 0 4px;
    background: linear-gradient(120deg, rgba(90,142,255,0.25) 0%, rgba(168,85,247,0.25) 100%);
    background-repeat: no-repeat; background-size: 0% 40%; background-position: 0 90%;
    transition: background-size 0.6s var(--ease-smooth);
    border-radius: 2px;
}
.highlight-word.active, .revealed .highlight-word {
    background-size: 100% 40%;
}

/* ═══════════ #12 PULL QUOTE ═══════════ */
.pull-quote {
    padding: var(--space-3xl) 0; text-align: center;
    position: relative; overflow: hidden;
}
.pull-quote__text {
    font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 3.2rem);
    font-weight: 300; font-style: italic; color: var(--text-secondary);
    line-height: 1.4; max-width: 900px; margin: 0 auto;
    border: none; padding: 0; position: relative;
}
.pull-quote__mark {
    font-size: 5rem; line-height: 0; color: var(--accent); opacity: 0.5;
    vertical-align: -0.35em; margin-right: 4px;
    font-family: Georgia, serif;
}

/* ═══════════ #13 WORD ROTATOR ═══════════ */
.word-rotator {
    display: inline-block;
    transition: opacity 0.4s ease, transform 0.4s ease;
}
.word-rotator.fade-out {
    opacity: 0; transform: translateY(10px);
}
.word-rotator.fade-in {
    opacity: 1; transform: translateY(0);
}

/* ═══════════ #14 MICRO-COPY ═══════════ */
.cta-with-micro {
    display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.micro-copy {
    font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.06em;
    color: var(--text-tertiary); text-transform: uppercase; opacity: 0.7;
}

/* ═══════════ #15 GRADIENT UNDERLINE LINKS ═══════════ */
.footer__col a, .nav__link {
    position: relative; text-decoration: none;
}
.footer__col a::after, .nav__link::after {
    content: ''; position: absolute; bottom: -2px; left: 0;
    width: 0; height: 2px;
    background: var(--gradient-brand);
    transition: width 0.35s var(--ease-smooth);
    border-radius: 1px;
}
.footer__col a:hover::after, .nav__link:hover::after {
    width: 100%;
}

/* ═══════════ COMMAND MENU MODAL ═══════════ */
.cmd-menu { position: fixed; inset: 0; z-index: 10000; display: flex; align-items: flex-start; justify-content: center; padding-top: 15vh; opacity: 0; visibility: hidden; transition: all 0.2s var(--ease-spring); pointer-events: none; }
.cmd-menu.active { opacity: 1; visibility: visible; pointer-events: auto; }
.cmd-menu__backdrop { position: absolute; inset: 0; background: rgba(10, 11, 20, 0.6); backdrop-filter: blur(8px); }
.cmd-menu__content { position: relative; width: 90%; max-width: 600px; background: rgba(14, 18, 37, 0.85); backdrop-filter: blur(20px); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 16px; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7); overflow: hidden; transform: scale(0.95) translateY(-20px); transition: all 0.3s var(--ease-spring); }
.cmd-menu.active .cmd-menu__content { transform: scale(1) translateY(0); }
.cmd-menu__search { display: flex; align-items: center; padding: 16px 24px; border-bottom: 1px solid rgba(255, 255, 255, 0.05); }
.cmd-menu__search svg { color: var(--text-tertiary); margin-right: 16px; }
.cmd-menu__search input { flex: 1; background: transparent; border: none; outline: none; color: var(--text-primary); font-size: 1.1rem; font-family: var(--font-primary); }
.cmd-menu__search input::placeholder { color: var(--text-tertiary); }
.cmd-menu__badge { font-size: 0.7rem; font-family: var(--font-mono); background: rgba(255,255,255,0.1); padding: 4px 8px; border-radius: 4px; color: var(--text-tertiary); }
.cmd-menu__results { max-height: 400px; overflow-y: auto; padding: 12px; }
.cmd-menu__group { margin-bottom: 16px; }
.cmd-menu__group:last-child { margin-bottom: 0; }
.cmd-menu__group-title { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-tertiary); padding: 8px 12px; }
.cmd-menu__item { display: flex; align-items: center; padding: 12px; border-radius: 8px; text-decoration: none; color: var(--text-secondary); transition: all 0.2s; }
.cmd-menu__item:hover, .cmd-menu__item.focused { background: rgba(90, 142, 255, 0.1); color: var(--text-primary); }
.cmd-menu__item-icon { margin-right: 16px; color: var(--accent); opacity: 0.7; }
.cmd-menu__item:hover .cmd-menu__item-icon, .cmd-menu__item.focused .cmd-menu__item-icon { opacity: 1; }
.cmd-menu__item-text { flex: 1; font-weight: 500; }
.cmd-menu__item-shortcut { font-family: var(--font-mono); font-size: 0.8rem; color: var(--text-tertiary); opacity: 0; transition: opacity 0.2s; }
.cmd-menu__item:hover .cmd-menu__item-shortcut, .cmd-menu__item.focused .cmd-menu__item-shortcut { opacity: 1; }

/* ═══════════ #16 COUNTDOWN TIMER ═══════════ */
.countdown-timer {
    font-family: var(--font-mono); font-weight: 700; color: var(--accent-cyan);
    letter-spacing: 0.08em; font-size: 0.9em;
    text-shadow: 0 0 10px rgba(6,182,212,0.4);
}

/* ═══════════ #17 SOCIAL PROOF TOAST ═══════════ */
.social-proof-toast {
    position: fixed; bottom: 24px; left: 24px; z-index: 9000;
    background: rgba(10,14,28,0.92); backdrop-filter: blur(16px);
    border: 1px solid var(--surface-border); border-radius: var(--radius-lg);
    padding: 14px 20px; display: flex; align-items: center; gap: 12px;
    max-width: 340px; transform: translateX(-120%); opacity: 0;
    transition: transform 0.5s var(--ease-smooth), opacity 0.5s ease;
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
.social-proof-toast.visible {
    transform: translateX(0); opacity: 1;
}
.social-proof-toast__avatar {
    width: 36px; height: 36px; background: var(--gradient-brand);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem; flex-shrink: 0;
}
.social-proof-toast__content {
    font-size: 0.82rem; color: var(--text-secondary); line-height: 1.4;
}
.social-proof-toast__content strong {
    color: var(--text-primary); font-weight: 600;
}
.social-proof-toast__content span {
    display: block; color: var(--text-tertiary); font-size: 0.78rem;
}
.social-proof-toast__time {
    font-family: var(--font-mono); font-size: 0.68rem; color: var(--accent-emerald);
    white-space: nowrap;
}

/* ═══════════ #18 FORM PROGRESS BAR ═══════════ */
.form-progress-bar {
    width: 100%; height: 4px; background: rgba(255,255,255,0.06);
    border-radius: var(--radius-full); margin-bottom: var(--space-md); overflow: hidden;
}
.form-progress-bar__fill {
    height: 100%; border-radius: var(--radius-full);
    background: var(--gradient-brand);
    transition: width 0.5s var(--ease-smooth);
}

/* ═══════════ #19 INLINE VALIDATION ═══════════ */
.form-group { position: relative; }
.form-group .validation-check {
    position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
    width: 20px; height: 20px; border-radius: 50%;
    background: var(--accent-emerald); display: flex; align-items: center;
    justify-content: center; opacity: 0; transform: translateY(-50%) scale(0.5);
    transition: all 0.3s var(--ease-spring);
}
.form-group .validation-check.valid {
    opacity: 1; transform: translateY(-50%) scale(1);
}
.form-group .validation-check svg { width: 12px; height: 12px; }
.form-group input.input-valid { border-color: var(--accent-emerald) !important; }
.form-group input.input-error { border-color: #ef4444 !important; }

/* ═══════════ #22 CLICK-TO-CALL ═══════════ */
.click-to-call {
    display: none; position: fixed; bottom: 72px; left: 16px; z-index: 998;
}
.click-to-call__btn {
    display: flex; align-items: center; gap: 8px;
    background: var(--gradient-brand); color: white; padding: 10px 20px;
    border-radius: var(--radius-full); text-decoration: none;
    font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.05em;
    box-shadow: 0 4px 20px rgba(90,142,255,0.3);
    animation: phonePulse 2s ease-in-out infinite;
}
@keyframes phonePulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(90,142,255,0.3); }
    50% { box-shadow: 0 4px 32px rgba(90,142,255,0.6); }
}
@media (max-width: 768px) {
    .click-to-call { display: block; }
}

/* ═══════════ #49 COOKIE CONSENT BANNER ═══════════ */
.cookie-banner {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 10000;
    background: rgba(10,14,28,0.95); backdrop-filter: blur(20px);
    border-top: 1px solid var(--surface-border);
    padding: var(--space-lg) var(--space-xl);
    transform: translateY(100%); transition: transform 0.5s var(--ease-smooth);
}
.cookie-banner.visible { transform: translateY(0); }
.cookie-banner.hidden { transform: translateY(100%); pointer-events: none; }
.cookie-banner__inner {
    max-width: 1200px; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between; gap: var(--space-xl);
}
.cookie-banner__text { flex: 1; }
.cookie-banner__text strong {
    font-family: var(--font-display); font-size: 1rem; color: var(--text-primary);
    display: block; margin-bottom: 4px;
}
.cookie-banner__text p {
    font-size: 0.82rem; color: var(--text-secondary); margin: 0; line-height: 1.5;
}
.cookie-banner__text a {
    color: var(--accent); text-decoration: underline; text-underline-offset: 2px;
}
.cookie-banner__actions { display: flex; gap: var(--space-sm); flex-shrink: 0; }
.cookie-banner__btn {
    font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.05em;
    padding: 10px 24px; border-radius: var(--radius-full); cursor: pointer;
    transition: all var(--duration-fast); border: 1px solid var(--surface-border);
    text-transform: uppercase;
}
.cookie-banner__btn--reject {
    background: transparent; color: var(--text-secondary);
}
.cookie-banner__btn--reject:hover {
    background: rgba(255,255,255,0.05); color: var(--text-primary);
}
.cookie-banner__btn--accept {
    background: var(--gradient-brand); color: white; border: none; font-weight: 600;
}
.cookie-banner__btn--accept:hover {
    box-shadow: 0 4px 20px rgba(90,142,255,0.4); transform: translateY(-1px);
}

/* ═══════════ MOBILE-FIRST POLISH (#3) ═══════════ */
@media (max-width: 768px) {
    /* Touch-friendly tap targets (min 48px) */
    .nav__link, .nav__cta-btn, .faq-item__question,
    .industries__tab, .cookie-banner__btn { min-height: 48px; }

    /* Typography scaling */
    .hero__title { font-size: clamp(1.8rem, 7vw, 3rem); }
    .section-title { font-size: clamp(1.4rem, 5vw, 2.2rem); }
    .pull-quote__text { font-size: 1.4rem; }

    /* Prevent horizontal overflow */
    body { overflow-x: hidden; }
    .trust-bar__track { overflow: hidden; }

    /* Fullscreen mobile nav */
    .nav__links {
        position: fixed; inset: 0; background: rgba(10,14,28,0.98);
        flex-direction: column; justify-content: center; align-items: center;
        gap: var(--space-xl); transform: translateX(100%);
        transition: transform 0.4s var(--ease-smooth);
    }
    .nav__links.active { transform: translateX(0); }
    .nav__link { font-size: 1.2rem; }

    /* Spacing reductions */
    .container { padding-left: var(--space-md); padding-right: var(--space-md); }
    section { padding-top: var(--space-2xl); padding-bottom: var(--space-2xl); }

    /* Urgency banner */
    .urgency-banner__inner { font-size: 0.78rem; flex-wrap: wrap; justify-content: center; }

    /* Comparison table scroll */
    .comparison__table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .comparison__table { font-size: 0.78rem; min-width: 600px; }
    .comparison__table th, .comparison__table td { padding: var(--space-sm); }

    /* Testimonials horizontal scroll */
    .testimonials__grid {
        display: flex; overflow-x: auto; -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory; gap: var(--space-md);
        padding-bottom: var(--space-md);
    }
    .testimonial-card {
        flex: 0 0 85vw; scroll-snap-align: start;
    }

    /* Team grid 2-col */
    .team-section__grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-md); }
    .team-card__avatar { font-size: 2rem; width: 56px; height: 56px; }

    /* Blog cards stack */
    .mini-blog__grid { grid-template-columns: 1fr; }

    /* Ecosystem 2-col */
    .ecosystem__grid { grid-template-columns: repeat(2, 1fr); }

    /* Process comparison stack */
    .comparison-flow { flex-direction: column; }
    .comparison-flow__vs { justify-content: center; padding: var(--space-sm) 0; }

    /* Services grid 1-col */
    .services__grid { grid-template-columns: 1fr; }

    /* Results grid 2-col */
    .results__grid { grid-template-columns: repeat(2, 1fr); }

    /* Onboarding vertical */
    .onboarding__track { flex-direction: column; align-items: center; }
    .onboarding__connector { width: 2px; height: 24px; }

    /* Form full-width */
    .contact__form-wrap { padding: var(--space-lg); }

    /* Hide desktop-only elements */
    .floating-chip { display: none; }
    .hero__parallax-layer { display: none; }
    .floating-metric { display: none; }
    .wave-top::before, .wave-bottom::after { height: 16px; }
    .back-to-top { bottom: 136px; right: 16px; }

    /* Cookie banner mobile */
    .cookie-banner__inner { flex-direction: column; text-align: center; gap: var(--space-md); }
    .cookie-banner__actions { width: 100%; justify-content: center; }

    /* iOS safe area support */
    .nav { padding-top: max(16px, env(safe-area-inset-top)); }
    .cookie-banner { padding-bottom: max(var(--space-lg), env(safe-area-inset-bottom)); }
    footer { padding-bottom: max(var(--space-2xl), env(safe-area-inset-bottom)); }
}

/* ═══════════ SMALL MOBILE (< 480px) ═══════════ */
@media (max-width: 480px) {
    .hero__title { font-size: 1.6rem; }
    .section-title { font-size: 1.3rem; }
    .guarantee__card { padding: var(--space-xl) var(--space-md); }
    .team-section__grid { grid-template-columns: 1fr 1fr; }
    .ecosystem__grid { grid-template-columns: 1fr; }
    .results__grid { grid-template-columns: 1fr; }
    .featured-in__grid { flex-direction: column; align-items: center; }
    .industries__tabs { flex-direction: column; align-items: stretch; }
    .case-card__metrics { flex-direction: column; }
}

/* ═══════════ #8 LANGUAGE TOGGLE ═══════════ */
.lang-toggle {
    position: fixed; top: 80px; right: 20px; z-index: 10001;
    font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.05em;
    padding: 8px 16px; border-radius: var(--radius-full); cursor: pointer;
    background: rgba(10,14,28,0.9); backdrop-filter: blur(12px);
    border: 1px solid var(--surface-border); color: var(--text-secondary);
    transition: all 0.3s; font-weight: 600;
}
.lang-toggle:hover {
    border-color: var(--accent); color: var(--text-primary);
    box-shadow: 0 4px 16px rgba(90,142,255,0.2);
}
@media (max-width: 768px) {
    .lang-toggle { top: auto; bottom: 80px; right: 16px; }
}

/* ═══════════ #48 MINI SIMULATOR ═══════════ */
.mini-simulator {
    margin-top: var(--space-3xl);
    padding: var(--space-2xl) !important;
    background: linear-gradient(135deg, rgba(90,142,255,0.06), rgba(168,85,247,0.06)) !important;
    border-color: rgba(90,142,255,0.15) !important;
}
.mini-simulator h3 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.2rem;
    margin-top: 0;
    margin-bottom: var(--space-xl);
    display: flex;
    align-items: center;
    gap: 10px;
}
.mini-simulator h3::before {
    content: '⚡';
    font-size: 1.4rem;
}
.mini-sim__grid {
    display: flex;
    gap: 28px;
    align-items: stretch;
    flex-wrap: wrap;
}
.mini-sim__input-group {
    flex: 1;
    min-width: 220px;
}
.mini-sim__input-group label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-tertiary);
    display: block;
    margin-bottom: 12px;
}
.mini-sim__input-group label strong {
    color: var(--accent);
    font-size: 0.95rem;
    font-family: var(--font-display);
    letter-spacing: 0;
    text-transform: none;
}
.mini-simulator input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    background: var(--surface-border);
    border-radius: 6px;
    outline: none;
    cursor: pointer;
    transition: background 0.3s;
}
.mini-simulator input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--gradient-brand);
    cursor: pointer;
    box-shadow: 0 2px 12px rgba(90,142,255,0.5);
    transition: transform 0.2s var(--ease-spring);
}
.mini-simulator input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}
.mini-simulator input[type="range"]::-moz-range-thumb {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--accent);
    cursor: pointer;
    border: none;
}
.mini-sim__result {
    flex: 1;
    min-width: 250px;
    text-align: center;
    border-left: 1px solid rgba(255,255,255,0.08);
    padding-left: 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.mini-sim__result-label {
    font-size: 0.85rem;
    color: var(--text-tertiary);
}
.mini-simulator #mini-sim-cost {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 2.2rem;
    color: var(--accent-red);
    text-shadow: 0 0 20px rgba(239,68,68,0.3);
    transition: all 0.3s;
    line-height: 1.2;
}
.mini-sim__cta {
    margin-top: 8px;
    font-size: 0.82rem !important;
    padding: 10px 20px !important;
    white-space: nowrap;
}
@media (max-width: 768px) {
    .mini-sim__grid { flex-direction: column; gap: 20px; }
    .mini-sim__result { border-left: none; border-top: 1px solid rgba(255,255,255,0.08); padding-left: 0; padding-top: 20px; }
    .mini-simulator #mini-sim-cost { font-size: 1.8rem; }
}

/* ═══════════ #45 PORTFOLIO FILTERS ═══════════ */
.portfolio-filters-container {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: var(--space-3xl);
    flex-wrap: wrap;
}
.portfolio-filter {
    font-family: var(--font-mono) !important;
    font-size: 0.78rem !important;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 10px 24px !important;
    transition: all 0.3s var(--ease-spring) !important;
}
.portfolio-filter.active {
    background: var(--accent) !important;
    border-color: var(--accent) !important;
    color: white !important;
    box-shadow: 0 4px 15px rgba(90,142,255,0.3);
}
.case-card {
    transition: opacity 0.3s ease, transform 0.3s ease, display 0.3s;
}

/* ═══════════ CASE CARD IMAGE FIX ═══════════ */
.case-card__image {
    width: calc(100% + 48px) !important;
    height: 180px;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    overflow: hidden;
    margin: -24px -24px 16px -24px;
}
.case-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease-smooth);
}
.case-card:hover .case-card__image img {
    transform: scale(1.05);
}

/* ═══════════ #17 SOCIAL PROOF TOAST ═══════════ */
.social-proof-toast {
    position: fixed;
    bottom: 100px;
    left: 24px;
    background: rgba(15, 20, 40, 0.95);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(90, 142, 255, 0.15);
    border-radius: 14px;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 900;
    transform: translateX(-120%);
    opacity: 0;
    transition: transform 0.5s var(--ease-spring), opacity 0.4s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    max-width: 340px;
}
.social-proof-toast.visible {
    transform: translateX(0);
    opacity: 1;
}
.social-proof-toast__avatar {
    font-size: 1.6rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(90, 142, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.social-proof-toast__content {
    font-size: 0.82rem;
    line-height: 1.4;
    color: var(--text-secondary);
}
.social-proof-toast__content strong {
    color: var(--text-primary);
    font-weight: 600;
}
.social-proof-toast__time {
    font-size: 0.7rem;
    color: var(--text-tertiary);
    font-family: var(--font-mono);
    white-space: nowrap;
}
@media (max-width: 768px) {
    .social-proof-toast { left: 12px; right: 12px; max-width: none; bottom: 80px; }
}
/* ----------- MOBILE STICKY CTA ----------- */
.mobile-sticky-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px;
    background: rgba(10, 14, 28, 0.95);
    backdrop-filter: blur(16px);
    border-top: 1px solid var(--surface-border);
    z-index: 800;
    transform: translateY(100%);
    transition: transform 0.4s var(--ease-spring);
}
.mobile-sticky-cta.visible { transform: translateY(0); }
@media (max-width: 768px) {
    .mobile-sticky-cta { display: block; }
}

/* ----------- EXIT INTENT MODAL ----------- */
.exit-intent-modal {
    position: fixed; inset: 0; z-index: 10000;
    display: flex; align-items: center; justify-content: center;
    padding: 20px;
    pointer-events: none; opacity: 0;
    transition: opacity 0.4s var(--ease-smooth);
}
.exit-intent-modal.visible { pointer-events: auto; opacity: 1; }
.exit-intent-modal__backdrop {
    position: absolute; inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
}
.exit-intent-modal__content {
    position: relative; z-index: 1; max-width: 450px; width: 100%;
    text-align: center;
    transform: translateY(50px) scale(0.95);
    transition: transform 0.5s var(--ease-spring);
}
.exit-intent-modal.visible .exit-intent-modal__content {
    transform: translateY(0) scale(1);
}
.exit-intent-modal__close {
    position: absolute; top: 16px; right: 16px;
    background: none; border: none; color: var(--text-secondary);
    font-size: 1.5rem; cursor: pointer; transition: color 0.3s;
}
.exit-intent-modal__close:hover { color: white; }

/* ----------- TESTIMONIALS CAROUSEL ----------- */
.testimonials__grid {
    display: flex; gap: 24px;
    overflow-x: auto; scroll-snap-type: x mandatory;
    padding-bottom: 24px; scrollbar-width: none;
    -ms-overflow-style: none;
}
.testimonials__grid::-webkit-scrollbar { display: none; }
.testimonial-card {
    min-width: 350px; max-width: 400px;
    scroll-snap-align: center;
    flex: 0 0 auto;
}
@media (max-width: 768px) {
    .testimonial-card { min-width: 300px; }
}

/* ----------- COUNTER ANIMATION UPGRADE ----------- */
.odometer { transition: transform 0.2s, color 0.2s; display: inline-block; }
.odometer.is-counting { transform: scale(1.1); color: var(--accent); }

/* ----------- SCROLL SNAP PROXIMITY ----------- */
@media (min-width: 1024px) {
    html { scroll-snap-type: y proximity; }
    section { scroll-snap-align: start; scroll-margin-top: var(--nav-height); }
}

