/* ================================================================
   FlightSuite Design System v2 — Immersive Dark Theme
   ================================================================ */

/* --- Design Tokens --- */
:root {
    /* Background — true black for premium depth */
    --color-bg-primary: #000000;
    --color-bg-secondary: #08080C;
    --color-bg-elevated: #111118;
    --color-bg-surface: #0C0C14;

    /* Text */
    --color-text-primary: #FFFFFF;
    --color-text-secondary: #8A8A9A;
    --color-text-tertiary: #555566;
    --color-text-muted: #3A3A4A;

    /* Accents */
    --color-accent-blue: #0071E3;
    --color-accent-purple: #5E5CE6;
    --color-accent-cyan: #22D3EE;
    --color-success: #34C759;
    --color-error: #FF3B30;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #5E5CE6 0%, #0071E3 100%);
    --gradient-text: linear-gradient(135deg, #F5F5F7 0%, #A1A1AA 100%);
    --gradient-hero: linear-gradient(135deg, #5E5CE6 0%, #0071E3 50%, #22D3EE 100%);
    --gradient-glow: radial-gradient(circle, rgba(94, 92, 230, 0.15) 0%, transparent 70%);

    /* Glass — slightly more visible for true black bg */
    --color-glass: rgba(255, 255, 255, 0.04);
    --color-glass-border: rgba(255, 255, 255, 0.06);
    --color-glass-hover: rgba(255, 255, 255, 0.08);

    /* Typography */
    --font-display: 'Space Grotesk', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'DM Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Easing */
    --ease-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

    /* Spacing */
    --section-spacing: clamp(80px, 10vw, 160px);
    --container-padding: clamp(20px, 5vw, 40px);
    --container-max: 1400px;

    /* Borders */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color-scheme: dark;
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    color: var(--color-text-primary);
    background: var(--color-bg-primary);
    font-size: clamp(15px, 1.5vw, 17px);
    line-height: 1.6;
    font-weight: 400;
    letter-spacing: -0.01em;
    overflow-x: hidden;
    position: relative;
}

a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
img { max-width: 100%; height: auto; }

/* All sections above particle canvas */
section {
    position: relative;
    z-index: 1;
}

/* Smooth default transitions for interactive elements */
a, button {
    transition: color 0.25s var(--ease-smooth), opacity 0.25s var(--ease-smooth);
}

/* --- Background --- */
.animated-bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    background: var(--color-bg-primary);
    overflow: hidden;
}

/* CSS grid pattern (Vercel/Linear-inspired) with depth parallax */
.animated-bg {
    --grid-y: 0px;
}

.animated-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to right, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse 80% 40% at 50% 0%, #000 50%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 80% 40% at 50% 0%, #000 50%, transparent 100%);
    transform: translateY(var(--grid-y));
    will-change: transform;
}

/* Scroll-driven color temperature overlay */
.animated-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    opacity: var(--temp-opacity, 0);
    background: radial-gradient(
        ellipse 120% 80% at 50% 50%,
        var(--temp-color, rgba(94, 92, 230, 0)) 0%,
        transparent 70%
    );
    transition: opacity 1.2s var(--ease-smooth), background 1.2s var(--ease-smooth);
    pointer-events: none;
    z-index: 1;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(150px);
    opacity: 0.4;
    animation: float 20s ease-in-out infinite;
    will-change: transform;
    transition: opacity 1.5s var(--ease-smooth);
}

.gradient-orb:nth-child(1) {
    width: min(800px, 70vw);
    height: min(800px, 70vw);
    background: radial-gradient(circle, rgba(94, 92, 230, 0.3) 0%, transparent 70%);
    top: -200px;
    left: -100px;
    animation-duration: 25s;
}

.gradient-orb:nth-child(2) {
    width: min(700px, 60vw);
    height: min(700px, 60vw);
    background: radial-gradient(circle, rgba(0, 113, 227, 0.25) 0%, transparent 70%);
    top: 30%;
    right: -150px;
    animation-duration: 30s;
    animation-delay: -10s;
}

.gradient-orb:nth-child(3) {
    width: min(600px, 55vw);
    height: min(600px, 55vw);
    background: radial-gradient(circle, rgba(34, 211, 238, 0.12) 0%, transparent 70%);
    bottom: -100px;
    left: 25%;
    animation-duration: 35s;
    animation-delay: -20s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(60px, -60px) scale(1.05); }
    66% { transform: translate(-40px, 40px) scale(0.95); }
}

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

/* --- Header --- */
.header {
    position: fixed;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    background: rgba(10, 10, 15, 0.6);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border: 1px solid var(--color-glass-border);
    border-radius: var(--radius-full);
    transition: background 0.4s var(--ease-smooth), border-color 0.4s var(--ease-smooth), box-shadow 0.4s var(--ease-smooth);
    width: min(calc(100% - 32px), 900px);
    will-change: background, border-color;
}

.header.scrolled {
    background: rgba(10, 10, 15, 0.85);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.header-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.04em;
    text-decoration: none;
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: transform 0.3s var(--ease-spring);
}

.logo-text:hover {
    transform: scale(1.03);
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-link {
    color: var(--color-text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
    letter-spacing: -0.01em;
}

.nav-link:hover {
    color: var(--color-text-primary);
}

.cta-header {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s var(--ease-smooth), box-shadow 0.3s var(--ease-smooth);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.cta-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s;
}

.cta-header:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(94, 92, 230, 0.4);
}

.cta-header:hover::before {
    opacity: 1;
}

/* --- Hero --- */
/* ================================================================
   HERO — The product IS the hero
   ================================================================ */
.hero {
    padding: clamp(100px, 15vw, 160px) var(--container-padding) clamp(60px, 8vw, 100px);
    text-align: center;
    position: relative;
    z-index: 0; /* Let particle canvas show through hero */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Atmospheric glow — focused, not diffuse */
.hero::before {
    content: '';
    position: absolute;
    top: -5%;
    left: 50%;
    transform: translateX(-50%);
    width: min(1000px, 90vw);
    height: 600px;
    background: radial-gradient(ellipse 60% 50% at 50% 30%, rgba(94, 92, 230, 0.2) 0%, rgba(0, 113, 227, 0.08) 40%, transparent 70%);
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
}

.hero-content {
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: var(--color-glass);
    border: 1px solid var(--color-glass-border);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 500;
    color: var(--color-text-secondary);
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.hero-badge-dot {
    width: 6px;
    height: 6px;
    background: var(--color-success);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

/* Title */
.hero-title {
    font-family: var(--font-display);
    font-size: clamp(44px, 9vw, 88px);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.1;
    margin-bottom: 16px;
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    perspective: 600px;
    opacity: 0; /* GSAP animates this */
}

.hero-char {
    display: inline-block;
    will-change: transform, opacity;
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-title.shimmer-active { position: relative; overflow: visible; }
.hero-title.shimmer-active::after {
    content: '';
    position: absolute;
    top: 0; left: -100%; width: 60%; height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.12) 50%, transparent 100%);
    animation: shimmerSweep 2.5s ease-in-out 0.5s 1;
    pointer-events: none;
}
@keyframes shimmerSweep { 0% { left: -60%; } 100% { left: 160%; } }

/* Subtitle — short, punchy */
.hero-subtitle {
    font-size: clamp(16px, 2vw, 20px);
    color: var(--color-text-secondary);
    max-width: 500px;
    margin: 0 auto 40px;
    line-height: 1.5;
    font-weight: 400;
}

/* ---- Hero Live Demo ---- */
.hero-demo {
    position: relative;
    max-width: 720px;
    margin: 0 auto 48px;
    min-height: 180px;
}

.hero-demo-input {
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-glass-border);
    border-radius: var(--radius-lg);
    padding: 20px 24px;
    text-align: left;
    margin-bottom: 20px;
    position: relative;
    transition: border-color 0.4s var(--ease-smooth);
    height: 88px;
    overflow: hidden;
}

.hero-demo-input:hover,
.hero-demo-input.active {
    border-color: rgba(94, 92, 230, 0.3);
}

.hero-demo-prompt {
    font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
    font-size: clamp(13px, 1.6vw, 16px);
    line-height: 1.6;
    word-break: break-word;
}

.hero-demo-cursor-icon {
    color: var(--color-accent-purple);
    font-weight: 700;
    font-size: 20px;
    margin-right: 10px;
}

.hero-demo-typed {
    color: var(--color-text-primary);
}

.hero-demo-caret {
    display: inline-block;
    width: 2px;
    height: 1em;
    background: var(--color-accent-purple);
    animation: caretPulse 1.1s ease-in-out infinite;
    vertical-align: text-bottom;
    margin-left: 1px;
    flex-shrink: 0;
}

@keyframes caretPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.2; }
}

/* CRM output cards — fixed height prevents page bounce */
.hero-demo-output {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    height: 100px;
    overflow: hidden;
}

.hero-crm-card {
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-glass-border);
    border-radius: var(--radius-md);
    padding: 14px 18px;
    opacity: 0;
    transform: translateY(15px) scale(0.95);
    transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
    backdrop-filter: blur(10px);
    will-change: transform, opacity;
}

.hero-crm-card.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.hero-crm-card-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.hero-crm-card-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 0 6px currentColor;
}

.hero-crm-card-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-text-tertiary);
}

.hero-crm-card-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: 2px;
}

.hero-crm-card-detail {
    font-size: 12px;
    color: var(--color-text-secondary);
}

/* Particle trail canvas (between input and output) */
.hero-demo-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.hero-demo-particles canvas {
    width: 100%;
    height: 100%;
}

/* Trust pills */
.hero-trust-row {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.trust-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--color-glass);
    border: 1px solid var(--color-glass-border);
    border-radius: var(--radius-full);
    font-size: 13px;
    color: var(--color-text-secondary);
    backdrop-filter: blur(10px);
    transition: border-color 0.3s ease;
}

.trust-pill:hover {
    border-color: rgba(255, 255, 255, 0.12);
}

.trust-pill strong {
    color: var(--color-text-primary);
    font-weight: 600;
}

.trust-pill .chrome-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* ================================================================
   GHOST AGENT — persistent AI activity indicator
   ================================================================ */
.ghost-agent {
    position: fixed;
    bottom: 80px;
    right: 24px;
    z-index: 100;
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-glass-border);
    border-radius: var(--radius-lg);
    padding: 12px 16px;
    width: 260px;
    backdrop-filter: blur(20px);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s var(--ease-out);
    pointer-events: none;
}

.ghost-agent.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.ghost-agent-status {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--color-glass-border);
}

.ghost-agent-dot {
    width: 6px;
    height: 6px;
    background: var(--color-success);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

.ghost-agent-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-text-secondary);
}

.ghost-agent-feed {
    display: flex;
    flex-direction: column;
    gap: 4px;
    height: 72px;
    overflow: hidden;
}

.ghost-agent-item {
    font-size: 12px;
    color: var(--color-text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}

.ghost-agent-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.ghost-agent-item.exiting {
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.ghost-agent-icon {
    color: var(--color-success);
    font-size: 12px;
    flex-shrink: 0;
}

/* ================================================================
   COMMAND BAR — type to navigate / demo the product
   ================================================================ */
.command-bar {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 200;
    width: min(600px, calc(100vw - 40px));
    opacity: 0;
    animation: commandBarIn 0.8s var(--ease-out) 3s forwards;
}

@keyframes commandBarIn {
    from { opacity: 0; transform: translateX(-50%) translateY(20px); }
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.command-bar-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(17, 17, 24, 0.9);
    border: 1px solid var(--color-glass-border);
    border-radius: var(--radius-full);
    padding: 12px 20px;
    backdrop-filter: blur(20px);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.command-bar-inner:focus-within {
    border-color: rgba(94, 92, 230, 0.4);
    box-shadow: 0 0 30px rgba(94, 92, 230, 0.1), 0 0 0 1px rgba(94, 92, 230, 0.15);
}

.command-bar-icon {
    color: var(--color-accent-purple);
    font-weight: 700;
    font-size: 18px;
    font-family: monospace;
    flex-shrink: 0;
}

.command-bar-input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    color: var(--color-text-primary);
    font-family: var(--font-body);
    font-size: 14px;
}

.command-bar-input::placeholder {
    color: var(--color-text-tertiary);
}

.command-bar-hint {
    background: var(--color-glass);
    border: 1px solid var(--color-glass-border);
    border-radius: 6px;
    padding: 2px 8px;
    font-size: 12px;
    color: var(--color-text-tertiary);
    font-family: var(--font-body);
    flex-shrink: 0;
}

.command-bar.open .command-bar-inner {
    border-color: rgba(94, 92, 230, 0.4);
    box-shadow: 0 0 30px rgba(94, 92, 230, 0.1);
}

.command-bar-feedback {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(17, 17, 24, 0.95);
    border: 1px solid var(--color-glass-border);
    border-radius: var(--radius-md);
    padding: 10px 18px;
    font-size: 13px;
    color: var(--color-text-secondary);
    white-space: nowrap;
    backdrop-filter: blur(20px);
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.command-bar-feedback.visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.command-bar-feedback-dot {
    width: 6px;
    height: 6px;
    background: var(--color-accent-purple);
    border-radius: 50%;
    animation: pulse-dot 1s ease-in-out infinite;
    flex-shrink: 0;
}

.hero-cta-group {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

/* Primary CTA */
.cta-primary,
.cta-large {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 18px 36px;
    border-radius: var(--radius-full);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.35s var(--ease-out);
    position: relative;
    overflow: hidden;
    box-shadow:
        0 0 20px rgba(94, 92, 230, 0.3),
        0 0 60px rgba(94, 92, 230, 0.15),
        0 0 0 1px rgba(94, 92, 230, 0.2);
    letter-spacing: 0.01em;
}

.cta-primary::before,
.cta-large::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s;
}

.cta-primary:hover,
.cta-large:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow:
        0 0 30px rgba(94, 92, 230, 0.5),
        0 0 80px rgba(94, 92, 230, 0.2),
        0 0 0 1px rgba(94, 92, 230, 0.3);
}

.cta-primary:hover::before,
.cta-large:hover::before {
    opacity: 1;
}

/* Secondary CTA */
.cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--color-glass);
    color: var(--color-text-primary);
    border: 1px solid var(--color-glass-border);
    padding: 16px 32px;
    border-radius: var(--radius-full);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s var(--ease-smooth);
    backdrop-filter: blur(10px);
}

.cta-secondary:hover {
    background: var(--color-glass-hover);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

/* Trust badges under CTA */
.cta-trust {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--color-text-tertiary);
}

/* Hero trust row — Chrome badge + press badge */
.hero-trust-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.user-count-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--color-text-secondary);
    background: var(--color-glass);
    border: 1px solid var(--color-glass-border);
    border-radius: 999px;
    padding: 8px 16px;
}

.user-count-badge .chrome-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.press-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--color-text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}

.press-badge:hover {
    color: var(--color-text-primary);
}

.press-badge-label {
    color: var(--color-text-tertiary);
}

.press-badge-source {
    font-weight: 500;
    color: var(--color-text-secondary);
}

/* Hero stats bar */
.hero-stats {
    display: flex;
    gap: 48px;
    justify-content: center;
    margin-top: 64px;
    padding-top: 32px;
    border-top: 1px solid var(--color-glass-border);
}

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

.hero-stat-number {
    font-family: var(--font-display);
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 700;
    color: var(--color-text-primary);
    letter-spacing: -0.02em;
}

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

/* --- Glassmorphism Cards --- */
.glass-card {
    background: var(--color-glass);
    border: 1px solid var(--color-glass-border);
    border-radius: var(--radius-xl);
    padding: 32px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: all 0.3s var(--ease-smooth);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
}

.glass-card:hover {
    background: var(--color-glass-hover);
    border-color: rgba(255, 255, 255, 0.12);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* --- Section Base --- */
.section {
    padding: var(--section-spacing) var(--container-padding);
    position: relative;
}

.section-container {
    max-width: var(--container-max);
    margin: 0 auto;
}

.section-label {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-accent-purple);
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(28px, 5vw, 48px);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 16px;
    color: var(--color-text-primary);
}

.section-description {
    font-size: clamp(16px, 1.8vw, 18px);
    color: var(--color-text-secondary);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* --- Pain Section --- */
.pain-section {
    padding: var(--section-spacing) var(--container-padding);
    background: var(--color-bg-secondary);
    position: relative;
    overflow: hidden;
}

.pain-section::before {
    content: '';
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 900px;
    height: 600px;
    background: radial-gradient(ellipse, rgba(255, 59, 48, 0.1) 0%, rgba(255, 59, 48, 0.03) 40%, transparent 70%);
    filter: blur(100px);
    pointer-events: none;
}

.pain-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.pain-label {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255, 59, 48, 0.08);
    color: #FF6B6B;
    border: 1px solid rgba(255, 59, 48, 0.15);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 24px;
}

.pain-title {
    font-family: var(--font-display);
    font-size: clamp(28px, 5vw, 44px);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 16px;
    color: var(--color-text-primary);
}

.pain-subtitle {
    font-size: clamp(16px, 2vw, 18px);
    color: var(--color-text-secondary);
    margin-bottom: 48px;
    line-height: 1.6;
}

.pain-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 48px;
}

.pain-card {
    background: rgba(255, 50, 50, 0.04);
    border: 1px solid rgba(255, 59, 48, 0.15);
    border-radius: var(--radius-lg);
    padding: 48px 28px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: border-color 0.4s var(--ease-out), background 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 0 40px rgba(255, 59, 48, 0.03), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.pain-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 5%, rgba(255, 59, 48, 0.6) 50%, transparent 95%);
}

.pain-card:hover {
    border-color: rgba(255, 59, 48, 0.25);
    background: rgba(255, 50, 50, 0.07);
    box-shadow: 0 12px 48px rgba(255, 59, 48, 0.1), 0 0 60px rgba(255, 59, 48, 0.04);
}

.pain-stat-number {
    font-family: var(--font-display);
    font-size: clamp(40px, 6vw, 56px);
    font-weight: 700;
    background: linear-gradient(135deg, #FF6B6B, #FF3B30);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.03em;
    line-height: 1;
    display: inline;
}

.pain-stat-suffix {
    font-family: var(--font-display);
    font-size: clamp(20px, 3vw, 28px);
    font-weight: 600;
    color: #FF6B6B;
    opacity: 0.8;
    margin-top: 4px;
    display: block;
}

.pain-stat-label {
    font-size: 14px;
    color: var(--color-text-secondary);
    line-height: 1.5;
    margin-top: 12px;
}

.pain-solution {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.pain-arrow {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent-purple);
    animation: bounceDown 2s ease-in-out infinite;
}

@keyframes bounceDown {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

.pain-solution-text {
    font-size: clamp(16px, 2vw, 18px);
    color: var(--color-text-primary);
    font-weight: 500;
    max-width: 500px;
}

@media (max-width: 768px) {
    .pain-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* --- Demo Section --- */
.demo-section {
    padding: var(--section-spacing) var(--container-padding);
    position: relative;
    z-index: 2;
    overflow: hidden;
    background: var(--color-bg-primary);
}

/* ================================================================
   Before/After Drag Reveal
   ================================================================ */

.before-after-section {
    padding: var(--section-spacing) var(--container-padding);
    position: relative;
    overflow: hidden;
}

.before-after-container {
    max-width: var(--container-max);
    margin: 0 auto;
    text-align: center;
}

.before-after-title {
    font-size: clamp(32px, 4vw, 56px);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 12px;
    letter-spacing: -0.03em;
}

.before-after-subtitle {
    font-size: clamp(16px, 1.3vw, 20px);
    color: var(--text-secondary);
    margin-bottom: 48px;
}

.ba-comparison {
    position: relative;
    width: 100%;
    max-width: 1100px;
    height: 620px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(10, 10, 15, 0.6);
    cursor: col-resize;
    user-select: none;
    -webkit-user-select: none;
}

.ba-before,
.ba-after {
    position: absolute;
    top: 0;
    height: 100%;
    overflow: hidden;
}

.ba-before {
    left: 0;
    width: 50%;
    z-index: 1;
}

.ba-after {
    left: 0;
    width: 100%;
    z-index: 0;
}

/* Panels fill the comparison container */
.ba-panel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 32px;
    display: flex;
    flex-direction: column;
}

.ba-panel-before {
    background: #1a0f0f;
}

.ba-panel-after {
    background: #0a0f1e;
}

.ba-panel-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 100, 100, 0.7);
    margin-bottom: 20px;
}

.ba-panel-label-glow {
    color: rgba(94, 92, 230, 0.9);
    text-shadow: 0 0 20px rgba(94, 92, 230, 0.3);
}

/* CRM Nightmare (Before) */
.ba-crm-nightmare {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ba-crm-header {
    display: flex;
    gap: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: 8px;
}

.ba-crm-tab {
    padding: 6px 14px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.3);
    border-bottom: 2px solid transparent;
    cursor: default;
}

.ba-crm-tab-active {
    color: rgba(255, 255, 255, 0.6);
    border-bottom-color: rgba(255, 100, 100, 0.4);
}

.ba-crm-toolbar {
    display: flex;
    gap: 6px;
    padding: 8px 0;
    flex-wrap: wrap;
}

.ba-btn-sm {
    padding: 4px 10px;
    font-size: 11px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.03);
}

.ba-crm-table {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.ba-crm-row {
    display: grid;
    grid-template-columns: 1.2fr 1.2fr 0.8fr 0.8fr 1fr;
    gap: 8px;
    padding: 10px 8px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    align-items: center;
}

.ba-crm-row-header {
    color: rgba(255, 255, 255, 0.25);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.ba-crm-row-header span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ba-crm-row-stale {
    background: rgba(255, 80, 80, 0.04);
}

.ba-badge-warn {
    background: rgba(255, 160, 60, 0.15);
    color: rgba(255, 160, 60, 0.8);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 600;
    display: inline-block;
}

.ba-badge-empty {
    color: rgba(255, 255, 255, 0.2);
    font-style: italic;
}

.ba-text-danger {
    color: rgba(255, 80, 80, 0.7);
}

.ba-crm-warning {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    margin-top: auto;
    background: rgba(255, 80, 80, 0.08);
    border: 1px solid rgba(255, 80, 80, 0.15);
    border-radius: 8px;
    font-size: 12px;
    color: rgba(255, 120, 120, 0.8);
}

.ba-crm-warning svg {
    flex-shrink: 0;
    stroke: rgba(255, 120, 120, 0.6);
}

/* FlightSuite Clean (After) */
.ba-flightsuite-clean {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ba-fs-input {
    display: flex;
    gap: 12px;
    padding: 16px;
    background: rgba(94, 92, 230, 0.08);
    border: 1px solid rgba(94, 92, 230, 0.3);
    border-radius: 12px;
}

.ba-fs-prompt {
    color: var(--accent-purple);
    font-size: 18px;
    font-weight: 700;
    flex-shrink: 0;
    line-height: 1.5;
}

.ba-fs-text {
    font-size: 14px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
    text-align: left;
}

.ba-fs-results {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.ba-fs-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 10px;
    text-align: left;
}

.ba-fs-card-success {
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.25);
}

.ba-fs-card-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
}

.ba-fs-card-title {
    font-size: 14px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
}

.ba-fs-card-detail {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.55);
    margin-top: 2px;
}

.ba-fs-time {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px;
    font-size: 13px;
    color: rgba(94, 92, 230, 0.8);
    font-weight: 500;
}

.ba-fs-time svg {
    stroke: rgba(94, 92, 230, 0.6);
}

/* Drag Slider */
.ba-slider {
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    z-index: 10;
    cursor: col-resize;
    transform: translateX(-50%);
}

.ba-slider-line {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, rgba(94, 92, 230, 0.3), rgba(94, 92, 230, 0.8), rgba(94, 92, 230, 0.3));
    box-shadow: 0 0 12px rgba(94, 92, 230, 0.3);
}

.ba-slider-handle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(94, 92, 230, 0.9);
    border: 2px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    box-shadow: 0 0 20px rgba(94, 92, 230, 0.4), 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: col-resize;
}

.ba-slider-handle:hover {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 0 30px rgba(94, 92, 230, 0.6), 0 4px 16px rgba(0, 0, 0, 0.4);
}

.ba-slider-handle svg {
    stroke: white;
    width: 14px;
    height: 14px;
}

/* Mobile Before/After */
@media (max-width: 768px) {
    .ba-comparison {
        height: 600px;
    }

    .ba-panel {
        padding: 20px 16px;
    }

    .ba-crm-row {
        grid-template-columns: 1fr 1fr 0.6fr;
        font-size: 11px;
    }

    .ba-crm-row span:nth-child(3),
    .ba-crm-row span:nth-child(5) {
        display: none;
    }

    .ba-crm-row-header span:nth-child(3),
    .ba-crm-row-header span:nth-child(5) {
        display: none;
    }

    .ba-fs-text {
        font-size: 13px;
    }

    .ba-fs-card {
        padding: 10px 12px;
    }
}

/* Demo atmospheric glow — blue/purple */
.demo-section::before {
    content: '';
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1000px;
    height: 700px;
    background: radial-gradient(ellipse, rgba(94, 92, 230, 0.12) 0%, rgba(0, 113, 227, 0.06) 35%, transparent 70%);
    filter: blur(100px);
    pointer-events: none;
}

.demo-container {
    max-width: var(--container-max);
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.demo-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-accent-purple);
    text-align: center;
    margin-bottom: 12px;
}

.demo-title {
    font-family: var(--font-display);
    font-size: clamp(28px, 5vw, 44px);
    font-weight: 700;
    letter-spacing: -0.02em;
    text-align: center;
    margin-bottom: 16px;
    color: var(--color-text-primary);
}

.demo-description {
    text-align: center;
    color: var(--color-text-secondary);
    margin-bottom: 48px;
    font-size: clamp(15px, 1.5vw, 17px);
    line-height: 1.6;
}

.demo-subtitle {
    text-align: center;
    color: var(--color-text-secondary);
    margin-bottom: 48px;
    font-size: clamp(15px, 1.5vw, 17px);
}

/* --- Data Flow Scene --- */
.dataflow-scene {
    display: grid;
    grid-template-columns: 1fr 140px 1fr;
    align-items: center;
    gap: 0;
    max-width: 1000px;
    margin: 0 auto;
    min-height: 340px;
    perspective: 1200px;
}

/* Terminal Panel (Left) */
.dataflow-terminal {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transform: rotateY(4deg);
    transform-origin: right center;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(94, 92, 230, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.dataflow-terminal-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.02);
}

.dataflow-terminal-dots {
    display: flex;
    gap: 6px;
}

.dataflow-terminal-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
}

.dataflow-terminal-dots span:first-child { background: rgba(255, 59, 48, 0.6); }
.dataflow-terminal-dots span:nth-child(2) { background: rgba(255, 159, 10, 0.6); }
.dataflow-terminal-dots span:nth-child(3) { background: rgba(48, 209, 88, 0.6); }

.dataflow-terminal-title {
    font-size: 12px;
    font-weight: 500;
    color: var(--color-text-tertiary);
    letter-spacing: 0.02em;
}

.dataflow-terminal-body {
    padding: 20px;
    min-height: 160px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.dataflow-prompt {
    font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
    font-size: 14px;
    line-height: 1.6;
    color: var(--color-text-primary);
    word-break: break-word;
}

.dataflow-prompt-icon {
    color: var(--color-accent-purple);
    font-weight: 700;
    font-size: 18px;
    margin-right: 8px;
}

.dataflow-typed {
    color: var(--color-text-primary);
}

.dataflow-caret {
    display: inline-block;
    width: 2px;
    height: 1em;
    background: var(--color-accent-purple);
    animation: caretPulse 1.1s ease-in-out infinite;
    vertical-align: text-bottom;
    margin-left: 1px;
}

.dataflow-status {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.dataflow-status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-text-muted);
    transition: background 0.4s var(--ease-smooth);
}

.dataflow-status-dot.active {
    background: var(--color-success);
    box-shadow: 0 0 8px rgba(48, 209, 88, 0.5);
}

.dataflow-status-text {
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-text-muted);
    transition: color 0.4s var(--ease-smooth);
}

.dataflow-status-text.active {
    color: var(--color-success);
}

/* Energy Flow (Center) */
.dataflow-energy {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dataflow-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.dataflow-path {
    stroke-dasharray: 8 6;
    stroke-dashoffset: 0;
    opacity: 0.15;
    transition: opacity 0.6s var(--ease-smooth);
}

.dataflow-path.active {
    opacity: 0.7;
    animation: flowDash 1.5s linear infinite;
}

@keyframes flowDash {
    to { stroke-dashoffset: -28; }
}

.dataflow-brain {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(94, 92, 230, 0.1);
    border: 1px solid rgba(94, 92, 230, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.dataflow-brain-ring {
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 1px solid rgba(94, 92, 230, 0.15);
    opacity: 0;
    transition: opacity 0.4s var(--ease-smooth);
}

.dataflow-brain.active .dataflow-brain-ring {
    opacity: 1;
    animation: brainPulse 1.5s ease-in-out infinite;
}

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

.dataflow-brain-label {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 700;
    color: var(--color-accent-purple);
    letter-spacing: 0.02em;
}

/* CRM Output Cards (Right) */
.dataflow-output {
    display: flex;
    flex-direction: column;
    gap: 10px;
    transform: rotateY(-4deg);
    transform-origin: left center;
    min-height: 260px;
}

.dataflow-card {
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-glass-border);
    border-radius: var(--radius-md);
    padding: 14px 16px;
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.dataflow-card.visible {
    opacity: 1;
    transform: translateX(0);
}

.dataflow-card-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.dataflow-card-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
}

.dataflow-card-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-text-tertiary);
}

.dataflow-card-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: 2px;
}

.dataflow-card-detail {
    font-size: 12px;
    color: var(--color-text-secondary);
}

/* --- Channel Showcase --- */
.channels-section {
    padding: var(--section-spacing) var(--container-padding);
    text-align: center;
    position: relative;
    z-index: 1;
    background: var(--color-bg-primary);
}

.channel-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: var(--container-max);
    margin: 48px auto 0;
}

.channel-card {
    background: var(--color-glass);
    border: 1px solid var(--color-glass-border);
    border-radius: var(--radius-xl);
    padding: 40px 32px;
    text-align: center;
    transition: all 0.4s var(--ease-smooth);
    position: relative;
    overflow: hidden;
}

.channel-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
}

.channel-card:hover {
    transform: translateY(-8px) perspective(1000px) rotateX(2deg);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    border-color: rgba(94, 92, 230, 0.3);
}

.channel-card.active {
    border-color: rgba(94, 92, 230, 0.3);
}

.channel-card.active::after {
    content: 'Available Now';
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(52, 199, 89, 0.15);
    color: var(--color-success);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
}

.channel-card.launching::after {
    content: 'Launching Mar 16';
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(94, 92, 230, 0.15);
    color: var(--color-accent-purple);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
    animation: pulse-badge 2s ease-in-out infinite;
}

@keyframes pulse-badge {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.channel-card.coming::after {
    content: 'Coming Soon';
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--color-text-tertiary);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
}

.channel-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-elevated);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-glass-border);
}

.channel-icon svg {
    width: 32px;
    height: 32px;
    color: var(--color-text-primary);
}

.channel-name {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 8px;
}

.channel-description {
    font-size: 14px;
    color: var(--color-text-secondary);
    line-height: 1.5;
}

/* --- Bento Grid (Capabilities) --- */
.bento-section {
    padding: var(--section-spacing) var(--container-padding);
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(200px, auto);
    gap: 16px;
    max-width: var(--container-max);
    margin: 48px auto 0;
}

.bento-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all 0.4s var(--ease-out);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.bento-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 10%, rgba(94, 92, 230, 0.3) 50%, transparent 90%);
}

.bento-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(94, 92, 230, 0.15);
    transform: translateY(-6px);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(94, 92, 230, 0.06);
}

.bento-card.span-2 {
    grid-column: span 2;
}

.bento-card.span-row {
    grid-row: span 2;
}

.bento-card-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-elevated);
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
    border: 1px solid var(--color-glass-border);
}

.bento-card-icon svg {
    width: 20px;
    height: 20px;
    color: var(--color-accent-purple);
}

.bento-card-title {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: 8px;
}

.bento-card-description {
    font-size: 14px;
    color: var(--color-text-secondary);
    line-height: 1.5;
}

/* --- Social Proof --- */
/* --- Testimonial Swirl --- */
/* --- Testimonial Marquee — Infinite dual-row conveyor --- */
.testimonial-marquee-section {
    padding: var(--section-spacing) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.testimonial-marquee-header {
    max-width: var(--container-max);
    margin: 0 auto 48px;
    padding: 0 var(--container-padding);
}

/* Center spotlight glow — cards passing through center get illuminated */
.marquee-spotlight {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 100%;
    background: radial-gradient(ellipse 100% 80% at 50% 50%, rgba(94, 92, 230, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 2;
}

.marquee-row {
    overflow: hidden;
    position: relative;
    padding: 12px 0;
    /* Fade edges to black */
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.marquee-track {
    display: flex;
    gap: 20px;
    width: max-content;
    will-change: transform;
}

.marquee-left {
    animation: marqueeScrollLeft var(--gen-marquee-duration, 45s) linear infinite;
}

.marquee-right {
    animation: marqueeScrollRight var(--gen-marquee-duration, 45s) linear infinite;
}

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

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

.marquee-card {
    flex-shrink: 0;
    width: 340px;
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-glass-border);
    border-radius: var(--radius-md);
    padding: 24px 28px;
    text-align: left;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: border-color 0.6s ease, box-shadow 0.6s ease;
}

.marquee-card:hover {
    border-color: rgba(94, 92, 230, 0.3);
    box-shadow: 0 12px 48px rgba(94, 92, 230, 0.1);
}

.marquee-stars {
    color: #FF9F0A;
    font-size: 12px;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.marquee-card p {
    font-size: 15px;
    line-height: 1.65;
    color: var(--color-text-primary);
    margin: 0 0 14px 0;
    font-style: italic;
}

.marquee-author {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text-secondary);
}

.marquee-author span {
    font-weight: 400;
    color: var(--color-text-tertiary);
    margin-left: 6px;
}

/* Pause on hover for readability */
.marquee-row:hover .marquee-track {
    animation-play-state: paused;
}

@media (max-width: 768px) {
    .marquee-card {
        width: 280px;
        padding: 20px 22px;
    }

    .marquee-left,
    .marquee-right {
        animation-duration: 30s;
    }
}

/* --- Setup Flow (horizontal timeline under demo) --- */
.setup-flow {
    max-width: 500px;
    margin: 40px auto 0;
}

.setup-flow-steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
}

.setup-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
}

.setup-step-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
}

.setup-step-dot.active {
    background: var(--color-accent-purple);
    border-color: var(--color-accent-purple);
    box-shadow: 0 0 12px rgba(94, 92, 230, 0.4);
}

.setup-step-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.08));
    margin-top: 5px;
    min-width: 60px;
}

.setup-step-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text-primary);
    letter-spacing: -0.01em;
}

.setup-step-detail {
    font-size: 12px;
    color: var(--color-text-tertiary);
    letter-spacing: 0.02em;
}

/* --- Demo CTA --- */
.demo-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-top: 32px;
}

.demo-cta-secondary {
    font-size: 14px;
    color: var(--color-text-tertiary);
    text-decoration: none;
    transition: color 0.2s ease;
    cursor: pointer;
}

.demo-cta-secondary:hover {
    color: var(--color-text-secondary);
}

/* --- Press Strip (minimal) --- */
.press-strip {
    padding: 32px var(--container-padding);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
    z-index: 2;
    background: var(--color-bg-primary);
}

.press-strip-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 32px;
}

.press-strip-label {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-secondary);
    white-space: nowrap;
    flex-shrink: 0;
    font-weight: 500;
}

.press-strip-items {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.press-strip-item {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-size: 15px;
    color: var(--color-text-secondary);
    transition: color 0.2s ease;
}

.press-strip-item:hover {
    color: var(--color-text-primary);
}

.press-strip-pub {
    color: var(--color-accent-purple);
    font-weight: 600;
    font-size: 15px;
}

.press-strip-divider {
    color: var(--color-text-muted);
    opacity: 0.5;
}

.press-strip-title {
    color: var(--color-text-secondary);
    font-size: 15px;
}

/* Trust logos */
.trust-section {
    padding: 32px var(--container-padding);
}

.trust-logos {
    display: flex;
    gap: 48px;
    justify-content: center;
    align-items: center;
    opacity: 0.4;
    flex-wrap: wrap;
}

.trust-logos img {
    height: 28px;
    filter: brightness(0) invert(1);
}

/* --- Value Props (Questions) --- */
.value-props-section {
    padding: var(--section-spacing) var(--container-padding);
}

.value-props-title {
    font-family: var(--font-display);
    font-size: clamp(28px, 5vw, 44px);
    font-weight: 700;
    letter-spacing: -0.02em;
    text-align: center;
    margin-bottom: 48px;
    color: var(--color-text-primary);
}

.value-prop-card {
    background: var(--color-glass);
    border: 1px solid var(--color-glass-border);
    border-radius: var(--radius-lg);
    padding: 24px 28px;
    margin-bottom: 12px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    transition: all 0.3s var(--ease-smooth);
    cursor: pointer;
}

.value-prop-card:hover {
    background: var(--color-glass-hover);
    border-color: rgba(255, 255, 255, 0.12);
}

.value-prop-question {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 600;
    color: var(--color-text-primary);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.value-prop-answer {
    margin-top: 12px;
    font-size: 15px;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* --- FAQ Section --- */
.faq-section {
    padding: var(--section-spacing) var(--container-padding);
    position: relative;
    z-index: 2;
    background: var(--color-bg-primary);
}

.faq-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
    text-align: center;
    margin-bottom: 12px;
}

.faq-title {
    font-family: var(--font-display);
    font-size: clamp(28px, 5vw, 44px);
    font-weight: 700;
    letter-spacing: -0.02em;
    text-align: center;
    margin-bottom: 48px;
    color: var(--color-text-primary);
}

.faq-item {
    max-width: 800px;
    margin: 0 auto 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.3s var(--ease-smooth);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.faq-item:hover {
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
}

.faq-item.active {
    border-color: rgba(94, 92, 230, 0.2);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

.faq-question {
    padding: 20px 24px;
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 600;
    color: var(--color-text-primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
}

.faq-question svg {
    width: 20px;
    height: 20px;
    color: var(--color-text-tertiary);
    transition: transform 0.3s var(--ease-smooth);
    flex-shrink: 0;
}

.faq-item.active .faq-question svg {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s var(--ease-smooth);
}

.faq-answer-content {
    padding: 0 24px 20px;
    font-size: 15px;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* --- Integrations --- */
.integrations-section {
    padding: var(--section-spacing) var(--container-padding);
    text-align: center;
    position: relative;
    z-index: 1;
    background: var(--color-bg-primary);
}

.integration-logos {
    display: flex;
    gap: 32px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    max-width: var(--container-max);
    margin: 48px auto 0;
}

.integration-logo {
    background: var(--color-glass);
    border: 1px solid var(--color-glass-border);
    border-radius: var(--radius-lg);
    padding: 24px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    transition: all 0.3s var(--ease-smooth);
    min-width: 160px;
}

.integration-logo:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.integration-logo img {
    height: 40px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.8;
}

.integration-logo .tool-count {
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 600;
    color: var(--color-accent-purple);
}

.integration-logo .coming-soon {
    font-size: 12px;
    color: var(--color-text-tertiary);
}

/* --- Final CTA --- */
.final-cta {
    padding: var(--section-spacing) var(--container-padding);
    text-align: center;
    position: relative;
    z-index: 2;
    overflow: visible; /* allow gradient veil to bleed upward */
    background: transparent; /* particle canvas shows through, convergence takes over */
}

/* Gradient veil — bleeds UPWARD from CTA into section above for seamless handoff */
.final-cta::after {
    content: '';
    position: absolute;
    top: -120px; /* extend above section boundary */
    left: 0;
    right: 0;
    height: 320px;
    background: linear-gradient(180deg, transparent 0%, rgba(10, 10, 46, 0.15) 30%, rgba(10, 10, 46, 0.5) 60%, rgba(10, 10, 46, 0.85) 85%, #0A0A2E 100%);
    pointer-events: none;
    z-index: 0;
}

.convergence-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.final-cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1200px;
    height: 800px;
    background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(94, 92, 230, 0.2) 0%, rgba(0, 113, 227, 0.1) 30%, rgba(34, 211, 238, 0.04) 60%, transparent 80%);
    filter: blur(80px);
    pointer-events: none;
    animation: cta-glow-breathe 6s ease-in-out infinite;
}

@keyframes cta-glow-breathe {
    0%, 100% { opacity: 0.8; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.05); }
}

/* CTA button animated glow pulse */
.final-cta .cta-primary,
.final-cta .cta-large {
    animation: cta-button-pulse 3s ease-in-out infinite;
}

@keyframes cta-button-pulse {
    0%, 100% {
        box-shadow:
            0 0 20px rgba(94, 92, 230, 0.3),
            0 0 60px rgba(94, 92, 230, 0.15),
            0 0 0 1px rgba(94, 92, 230, 0.2);
    }
    50% {
        box-shadow:
            0 0 30px rgba(94, 92, 230, 0.5),
            0 0 80px rgba(94, 92, 230, 0.25),
            0 0 120px rgba(94, 92, 230, 0.1),
            0 0 0 1px rgba(94, 92, 230, 0.3);
    }
}

.final-cta-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.final-cta-label {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-accent-purple);
    margin-bottom: 16px;
}

.final-cta-title {
    font-family: var(--font-display);
    font-size: clamp(32px, 6vw, 56px);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--color-text-primary);
}

.final-cta-description {
    font-size: clamp(16px, 1.8vw, 18px);
    color: var(--color-text-secondary);
    margin-bottom: 40px;
    line-height: 1.6;
}

.final-cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

/* --- Roadmap --- */
.roadmap-section {
    padding: var(--section-spacing) var(--container-padding);
    text-align: center;
    position: relative;
    z-index: 1;
    background: var(--color-bg-primary);
}

.roadmap-title {
    font-family: var(--font-display);
    font-size: clamp(28px, 5vw, 44px);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    color: var(--color-text-primary);
}

/* --- Capabilities Preview --- */
/* --- Capabilities Section — Holographic Cards with Hover Expansion --- */
.capabilities-preview {
    padding: var(--section-spacing) var(--container-padding);
    background: var(--color-bg-secondary);
    position: relative;
    overflow: hidden;
}

.capabilities-preview::before {
    content: '';
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1000px;
    height: 600px;
    background: radial-gradient(ellipse, rgba(34, 211, 238, 0.08) 0%, rgba(0, 113, 227, 0.05) 35%, transparent 70%);
    filter: blur(100px);
    pointer-events: none;
}

.capabilities-container {
    max-width: var(--container-max);
    margin: 0 auto;
    text-align: center;
}

.cap-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
    text-align: left;
}

.cap-card {
    position: relative;
    background: var(--color-glass);
    border: 1px solid var(--color-glass-border);
    border-radius: 16px;
    padding: 28px;
    transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), border-color 0.4s ease;
    overflow: hidden;
    cursor: default;
}

/* Holographic animated border — conic gradient rotating on hover */
.cap-card-holo {
    position: absolute;
    inset: -1px;
    border-radius: 17px;
    background: conic-gradient(from var(--holo-angle, 0deg), transparent, rgba(94, 92, 230, 0.4), rgba(0, 113, 227, 0.3), rgba(34, 211, 238, 0.4), transparent);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 0;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    padding: 1px;
    animation: holoRotate 3s linear infinite paused;
}

@keyframes holoRotate {
    0% { --holo-angle: 0deg; }
    100% { --holo-angle: 360deg; }
}

@property --holo-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

.cap-card:hover .cap-card-holo {
    opacity: 1;
    animation-play-state: running;
}

.cap-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(94, 92, 230, 0.12), 0 0 80px rgba(94, 92, 230, 0.04);
    border-color: transparent;
}

/* Luminous top edge */
.cap-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(94, 92, 230, 0.3), transparent);
    border-radius: 16px 16px 0 0;
    z-index: 1;
}

.cap-card-icon {
    position: relative;
    z-index: 1;
    width: 44px;
    height: 44px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.cap-card-title {
    position: relative;
    z-index: 1;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.cap-card-desc {
    position: relative;
    z-index: 1;
    font-size: 15px;
    color: var(--color-text-secondary);
    line-height: 1.55;
}

.cap-card-count {
    position: relative;
    z-index: 1;
    margin-top: 12px;
    font-size: 13px;
    color: var(--color-accent-purple);
    font-weight: 500;
}

/* Example command — hidden by default, reveals on hover */
.cap-card-example {
    position: relative;
    z-index: 1;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--color-glass-border);
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease-out), opacity 0.4s var(--ease-out), margin-top 0.4s var(--ease-out);
    margin-top: 0;
}

.cap-card:hover .cap-card-example {
    max-height: 80px;
    opacity: 1;
    margin-top: 16px;
}

.cap-example-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-text-tertiary);
    margin-bottom: 6px;
}

.cap-example-text {
    display: block;
    font-size: 14px;
    color: var(--color-accent-cyan);
    font-family: var(--font-body);
    font-style: italic;
    line-height: 1.4;
}

.cap-view-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: transparent;
    color: var(--color-accent-purple);
    border: 1.5px solid var(--color-accent-purple);
    border-radius: var(--radius-full);
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.3s ease, color 0.3s ease;
}

.cap-view-all:hover {
    background: var(--color-accent-purple);
    color: white;
}

@media (max-width: 768px) {
    .cap-grid {
        grid-template-columns: 1fr;
    }

    /* Show examples by default on mobile (no hover) */
    .cap-card-example {
        max-height: 80px;
        opacity: 1;
        margin-top: 16px;
    }
}

/* --- CRM Finder / Services / Calculator --- */
.crm-finder-section,
.crm-promo-section {
    padding: var(--section-spacing) var(--container-padding);
}

.crm-promo-section {
    border-top: 1px solid var(--color-glass-border);
}

.crm-promo-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.crm-promo-badge {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(94, 92, 230, 0.1);
    color: var(--color-accent-purple);
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 16px;
}

.crm-promo-title {
    font-family: var(--font-display);
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 12px;
}

.crm-promo-description {
    font-size: 15px;
    color: var(--color-text-secondary);
    margin-bottom: 24px;
    line-height: 1.6;
}

.crm-promo-features {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.crm-promo-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--color-text-secondary);
}

.crm-promo-feature svg {
    color: var(--color-success);
}

.crm-promo-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--color-glass);
    border: 1px solid var(--color-glass-border);
    border-radius: var(--radius-full);
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text-primary);
    transition: all 0.3s;
}

.crm-promo-button:hover {
    background: var(--color-glass-hover);
    transform: translateY(-2px);
}

/* --- Footer --- */
.footer {
    padding: 60px var(--container-padding) 32px;
    border-top: none;
    background: var(--color-bg-secondary);
    position: relative;
    z-index: 2;
    overflow: hidden;
}

/* Gradient separator from final CTA */
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 5%, rgba(94, 92, 230, 0.4) 30%, rgba(0, 113, 227, 0.3) 50%, rgba(94, 92, 230, 0.4) 70%, transparent 95%);
}

/* Subtle grid pattern at top */
.footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background:
        linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,0.5) 0%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.5) 0%, transparent 100%);
    pointer-events: none;
}

.footer-content {
    max-width: var(--container-max);
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand-name {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.footer-description {
    font-size: 14px;
    color: var(--color-text-tertiary);
    line-height: 1.5;
}

.footer-column h4 {
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-text-tertiary);
    margin-bottom: 16px;
}

.footer-links {
    list-style: none;
}

.footer-link {
    display: block;
    padding: 4px 0;
    font-size: 14px;
    color: var(--color-text-secondary);
    transition: color 0.2s;
}

.footer-link:hover {
    color: var(--color-text-primary);
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid var(--color-glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--color-text-muted);
}

/* --- Modals --- */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-overlay.active {
    display: flex;
}

.modal {
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-glass-border);
    border-radius: var(--radius-xl);
    padding: 32px;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modalEnter 0.3s var(--ease-out);
}

@keyframes modalEnter {
    from { opacity: 0; transform: scale(0.95) translateY(10px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--color-glass);
    border: 1px solid var(--color-glass-border);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--color-text-tertiary);
    transition: all 0.2s;
}

.modal-close:hover {
    background: var(--color-glass-hover);
    color: var(--color-text-primary);
}

.modal-title {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 16px;
}

/* Form styles */
.form-input {
    width: 100%;
    background: var(--color-bg-surface);
    border: 1px solid var(--color-glass-border);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    color: var(--color-text-primary);
    font-size: 15px;
    outline: none;
    transition: border-color 0.2s;
    margin-bottom: 12px;
}

.form-input::placeholder {
    color: var(--color-text-muted);
}

.form-input:focus {
    border-color: var(--color-accent-purple);
}

.form-error {
    font-size: 12px;
    color: var(--color-error);
    margin-top: -8px;
    margin-bottom: 12px;
    display: none;
}


/* --- Scroll Reveal --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* --- Responsive --- */
@media (max-width: 768px) {
    /* Global mobile font floor — 50-year-old readability */
    :root {
        --font-min: 14px;
    }

    body {
        font-size: 16px;
    }

    .header {
        top: 8px;
        width: calc(100% - 16px);
    }

    .header-nav .nav-link {
        display: none;
    }

    .hero {
        min-height: auto;
        padding-top: 120px;
    }

    /* Section labels — bump from 13px to 14px */
    .section-label,
    .testimonial-swirl-label,
    .press-strip-label {
        font-size: 14px;
    }

    /* Body text — never below 15px on mobile */
    .section-description,
    .pain-card-text,
    .faq-answer,
    .capability-card p,
    .roadmap-description,
    .final-cta-description,
    .marquee-card p {
        font-size: 15px;
        line-height: 1.6;
    }

    /* Small labels / metadata — minimum 13px on mobile */
    .hero-crm-card-label,
    .hero-crm-card-detail,
    .setup-step-label,
    .setup-step-detail,
    .dataflow-status-text,
    .press-strip-title,
    .marquee-author,
    .capability-card-count,
    .roadmap-card-status,
    .footer-link {
        font-size: 13px;
    }

    /* Card names / primary text — minimum 15px */
    .hero-crm-card-name,
    .press-strip-pub,
    .faq-question-text,
    .marquee-author {
        font-size: 15px;
    }

    .dataflow-scene {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .dataflow-terminal {
        transform: none;
    }

    .dataflow-energy {
        height: 60px;
    }

    .dataflow-energy .dataflow-svg {
        display: none;
    }

    .dataflow-output {
        transform: none;
    }

    .channel-cards {
        grid-template-columns: 1fr;
    }

    .bento-grid {
        grid-template-columns: 1fr;
    }

    .bento-card.span-2 {
        grid-column: span 1;
    }

    .hero-stats {
        gap: 24px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .stats-grid {
        gap: 32px;
    }

    .press-strip-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .press-strip-items {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        width: 100%;
    }

    .press-strip-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
    }

    .press-strip-divider {
        display: none;
    }

    .press-strip-pub {
        font-size: 16px;
    }

    .press-strip-title {
        font-size: 14px;
        color: var(--color-text-tertiary);
    }

    .setup-flow-steps {
        gap: 0;
    }

    .setup-step-line {
        min-width: 40px;
    }

    .demo-cta {
        flex-direction: column;
        gap: 16px;
    }

    .hero-cta-group {
        flex-direction: column;
        align-items: center;
    }

    .cta-large, .cta-secondary {
        width: 100%;
        justify-content: center;
        font-size: 16px;
        padding: 16px 28px;
    }

    .final-cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    /* Hide ghost agent on mobile — it overlaps CTAs */
    .ghost-agent {
        display: none;
    }

    /* Command bar: smaller on mobile */
    .command-bar {
        bottom: 12px;
        width: calc(100vw - 24px);
    }

    .command-bar-inner {
        padding: 10px 16px;
    }

    .command-bar-input {
        font-size: 16px; /* 16px prevents iOS auto-zoom on focus */
    }

    /* ========== MOBILE SMOOTHNESS ========== */

    /* Kill backdrop-filter on mobile — #1 cause of scroll jank */
    .header,
    .hero-crm-card,
    .trust-pill,
    .ghost-agent,
    .command-bar-inner,
    .command-bar-feedback,
    .pain-card,
    .channel-card,
    .modal-content,
    .install-modal-content,
    .faq-question,
    .marquee-card {
        -webkit-backdrop-filter: none !important;
        backdrop-filter: none !important;
    }

    /* Particle canvas: reduce opacity on mobile for cleaner content */
    .particle-canvas {
        opacity: 0.3;
    }

    /* Hero demo adjustments — FIXED height prevents page bounce */
    .hero-demo {
        margin: 0 -8px;
    }

    .hero-demo-input {
        padding: 14px 16px;
        font-size: 16px; /* 16px prevents iOS auto-zoom on focus */
    }

    .hero-demo-output {
        flex-direction: column;
        gap: 8px;
        padding: 0 12px;
        height: 220px; /* Fixed height — no layout shift when cards appear */
        overflow: hidden;
    }

    .hero-crm-card {
        padding: 12px 16px;
        width: 100%;
        max-width: none;
    }

    .hero-trust-row {
        flex-direction: column;
        gap: 8px;
    }

    /* FAQ — bigger tap targets */
    .faq-question {
        padding: 18px 20px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 36px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }

    /* Even tighter: ensure no horizontal overflow */
    .hero-demo-output {
        padding: 0 8px;
    }
}

/* Large font mode */
.large-font {
    font-size: clamp(17px, 2vw, 20px);
}

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .gradient-orb {
        animation: none;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* --- Fusion Core (Hero 3D placeholder) --- */
.fusion-container {
    position: absolute;
    width: 200px;
    height: 200px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 0;
}

.fusion-core {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: var(--gradient-primary);
    opacity: 0.15;
    filter: blur(40px);
    animation: pulse-core 4s ease-in-out infinite;
}

@keyframes pulse-core {
    0%, 100% { transform: scale(1); opacity: 0.15; }
    50% { transform: scale(1.2); opacity: 0.25; }
}

.fusion-ring {
    position: absolute;
    inset: 20px;
    border-radius: 50%;
    border: 1px solid rgba(94, 92, 230, 0.2);
    animation: spin-ring 20s linear infinite;
}

@keyframes spin-ring {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Orbiting dots */
.orbit-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-accent-purple);
    box-shadow: 0 0 12px rgba(94, 92, 230, 0.6);
}

/* Video section */
.video-wrapper {
    max-width: 900px;
    margin: 0 auto;
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--color-glass-border);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* Loom embed */
.loom-embed {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.loom-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* --- User count --- */
.user-count {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--color-text-tertiary);
}

.user-count-number {
    font-weight: 600;
    color: var(--color-text-secondary);
}

/* --- Pricing inline styles override --- */
.pricing-toggle {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
    margin-bottom: 32px;
}

/* --- Mobile menu overlay --- */
.mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1100;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu .nav-link {
    font-size: 20px;
    color: var(--color-text-primary);
}

/* Demo hint animation */
.demo-hint {
    animation: hint-pulse 2s ease-in-out infinite;
}

@keyframes hint-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(94, 92, 230, 0.3); }
    50% { box-shadow: 0 0 0 6px rgba(94, 92, 230, 0); }
}

/* CRM Instructions in modal */
.crm-instructions {
    display: none;
}

.crm-instructions.active {
    display: block;
}

/* CRM tabs */
.crm-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.crm-tab {
    flex: 1;
    padding: 10px;
    background: var(--color-glass);
    border: 1px solid var(--color-glass-border);
    border-radius: var(--radius-md);
    color: var(--color-text-secondary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s;
}

.crm-tab.active {
    background: var(--color-accent-purple);
    color: white;
    border-color: var(--color-accent-purple);
}

/* Install steps */
.install-step {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--color-glass-border);
}

.install-step:last-child {
    border-bottom: none;
}

.step-number {
    width: 28px;
    height: 28px;
    min-width: 28px;
    border-radius: 50%;
    background: var(--color-accent-purple);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
}

.step-content h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: 4px;
}

.step-content p {
    font-size: 14px;
    color: var(--color-text-secondary);
    line-height: 1.5;
}

/* Inline calculator CTA */
#calculator-cta {
    background: var(--gradient-primary) !important;
    border-radius: var(--radius-xl) !important;
}

#calculator-cta h2 {
    color: white !important;
}

#calculator-cta p {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* --- Roadmap Custom Styles --- */
.roadmap-container {
    max-width: var(--container-max);
    margin: 0 auto;
}

.roadmap-header {
    text-align: center;
    margin-bottom: 48px;
}

.roadmap-label {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-accent-purple);
    margin-bottom: 12px;
}

.roadmap-description {
    font-size: clamp(16px, 1.8vw, 18px);
    color: var(--color-text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.roadmap-journey {
    position: relative;
}

.road-path,
.road-line,
.road-dashes {
    display: none; /* Hide old road animation */
}

.boarding-banner {
    background: var(--gradient-primary);
    color: white;
    padding: 12px 24px;
    border-radius: var(--radius-full);
    text-align: center;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    margin-bottom: 32px;
    transition: all 0.3s;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.boarding-banner:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(94, 92, 230, 0.4);
}

.roadmap-stops {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
    margin-bottom: 48px;
}

.roadmap-stop {
    background: var(--color-glass);
    border: 1px solid var(--color-glass-border);
    border-radius: var(--radius-lg);
    padding: 24px 16px;
    text-align: center;
    transition: all 0.3s var(--ease-smooth);
}

.roadmap-stop:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.12);
}

.roadmap-stop img,
.roadmap-stop svg {
    width: 48px;
    height: 48px;
    margin: 0 auto 12px;
    display: block;
    border-radius: 12px;
}

.roadmap-stop-name {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: 4px;
}

.roadmap-stop-status {
    font-size: 12px;
    font-weight: 500;
}

.roadmap-stop-status:has(● Live) {
    color: var(--color-success);
}

.roadmap-cta {
    text-align: center;
    padding: 40px;
    background: var(--color-glass);
    border: 1px solid var(--color-glass-border);
    border-radius: var(--radius-xl);
}

.roadmap-cta-title {
    font-family: var(--font-display);
    font-size: clamp(20px, 3vw, 28px);
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 12px;
}

.roadmap-cta-description {
    font-size: 15px;
    color: var(--color-text-secondary);
    margin-bottom: 24px;
    line-height: 1.6;
}

/* --- Social Proof Image --- */
.social-proof-image {
    border-radius: var(--radius-xl);
    border: 1px solid var(--color-glass-border);
    max-width: 800px;
    margin: 0 auto;
    display: block;
}

.social-proof-container {
    max-width: var(--container-max);
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.social-proof-label {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-accent-purple);
    margin-bottom: 12px;
}

.social-proof-subtitle {
    font-size: clamp(16px, 1.8vw, 18px);
    color: var(--color-text-secondary);
    max-width: 600px;
    margin: 0 auto 32px;
    line-height: 1.6;
}

/* --- Station grid (HTML uses .station classes) --- */
.stations-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 16px;
    margin-bottom: 48px;
}

.station {
    background: var(--color-glass);
    border: 1px solid var(--color-glass-border);
    border-radius: var(--radius-lg);
    padding: 24px 16px;
    text-align: center;
    transition: all 0.3s var(--ease-smooth);
    cursor: default;
}

.station[onclick] {
    cursor: pointer;
}

.station:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.12);
}

.station-marker {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    overflow: hidden;
}

.station-marker.active {
    background: rgba(0, 113, 227, 0.15);
    border: 1px solid rgba(0, 113, 227, 0.3);
}

.station-marker.coming-soon {
    background: rgba(94, 92, 230, 0.15);
    border: 1px solid rgba(94, 92, 230, 0.3);
}

.station-marker.future {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.station-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.station-icon img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    border-radius: 8px;
}

.station-icon img.larger-logo {
    width: 36px;
    height: 36px;
}

.station-icon svg {
    width: 36px;
    height: 36px;
}

.station-name {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: 4px;
}

.station-status {
    font-size: 12px;
    font-weight: 500;
    color: var(--color-text-secondary);
}

.station-status.live {
    color: var(--color-success);
}

.station-status.boarding {
    color: var(--color-accent-purple);
}

/* Bus SVG - themed and properly sized */
.bus {
    display: none; /* Hide bus SVG, using station grid instead */
}

.bus-exhaust {
    display: none;
}

/* --- Social proof image --- */
.social-proof-image {
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
    display: block;
    border-radius: var(--radius-xl);
    border: 1px solid var(--color-glass-border);
}

/* --- Scrollbar --- */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--color-bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--color-bg-elevated);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* ================================================================
   INTERACTIVE ELEMENTS — 3D, Particles, Spotlight
   ================================================================ */

/* --- Particle Canvas (fixed background layer) --- */
.particle-canvas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.6;
}

/* --- Three.js Hero Canvas Container --- */
.hero-canvas-container {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: auto;
    opacity: 0;
    animation: heroCanvasFadeIn 2s ease-out 0.5s forwards;
}

.hero-canvas-container canvas {
    width: 100% !important;
    height: 100% !important;
    display: block;
}

@keyframes heroCanvasFadeIn {
    to { opacity: 1; }
}

/* Mobile: hide Three.js, show CSS animated orbs */
@media (max-width: 767px) {
    .hero-canvas-container { display: none; }
    .hero-mobile-bg { display: block; }
}

@media (min-width: 768px) {
    .hero-mobile-bg { display: none; }
}

/* --- Mobile Hero Background (CSS-only 3D feel) --- */
.hero-mobile-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation: heroOrbFloat 8s ease-in-out infinite;
}

.hero-orb-1 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(94, 92, 230, 0.5) 0%, transparent 70%);
    top: 10%;
    left: 20%;
    animation-duration: 7s;
}

.hero-orb-2 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(0, 113, 227, 0.4) 0%, transparent 70%);
    top: 40%;
    right: 10%;
    animation-duration: 9s;
    animation-delay: -3s;
}

.hero-orb-3 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(34, 211, 238, 0.3) 0%, transparent 70%);
    bottom: 20%;
    left: 40%;
    animation-duration: 11s;
    animation-delay: -5s;
}

@keyframes heroOrbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -40px) scale(1.1); }
    50% { transform: translate(-20px, 20px) scale(0.9); }
    75% { transform: translate(40px, 30px) scale(1.05); }
}

/* --- Spotlight Card Effect --- */
.spotlight-card {
    position: relative;
    overflow: hidden;
}

.spotlight-glow {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 1;
}

/* --- 3D Tilt Card Effect --- */
.tilt-card {
    transform-style: preserve-3d;
    will-change: transform;
}

/* --- Glow Border (mouse-following gradient border) --- */
.glow-border {
    position: relative;
    --glow-x: 50%;
    --glow-y: 50%;
}

.glow-border::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: radial-gradient(
        300px circle at var(--glow-x) var(--glow-y),
        rgba(94, 92, 230, 0.4),
        transparent 60%
    );
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.glow-border:hover::before {
    opacity: 1;
}

/* --- Text Reveal (scroll-driven word-by-word) --- */
.text-reveal {
    word-spacing: 0.25em;
}

.text-reveal .reveal-word {
    transition: opacity 0.3s ease;
}

/* --- Magnetic Button Effect (handled in JS, CSS smoothing) --- */
.cta-primary,
.cta-header {
    transition: transform 0.2s var(--ease-spring), background 0.3s ease, box-shadow 0.3s ease;
}

/* --- Enhanced hero content z-index above Three.js canvas --- */
.hero-content {
    position: relative;
    z-index: 2;
}

.hero-bottom-glow {
    z-index: 2;
}

/* --- Ultra-wide & Large Screen Scaling --- */
@media (min-width: 1600px) {
    :root {
        --container-max: 1600px;
        --container-padding: 60px;
        --section-spacing: clamp(120px, 10vw, 200px);
    }

    .hero-title {
        font-size: clamp(72px, 7vw, 110px);
    }

    .section-label {
        font-size: 15px;
    }

    .section-title {
        font-size: clamp(40px, 4vw, 60px);
    }

    .pain-container {
        max-width: 1100px;
    }

    .demo-container {
        max-width: 1600px;
    }

    .marquee-card {
        width: 380px;
        padding: 26px 30px;
    }

    .capabilities-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 1920px) {
    :root {
        --container-max: 1800px;
        --container-padding: 80px;
    }

    .hero-title {
        font-size: clamp(90px, 7vw, 130px);
    }

    .dataflow-scene {
        max-width: 1400px;
    }

    .press-strip-items {
        gap: 60px;
    }
}
