/* ============================================================
   ROOT & TOKENS
   ============================================================ */
:root {
    /* Brand */
        --primary: #6366f1;
        --primary-light: #818cf8;
        --primary-dark: #4f46e5;
        --secondary: #ec4899;
        --accent: #8b5cf6;
        --teal: #06b6d4;
        --emerald: #10b981;
    
        /* Surface */
        --dark: #070b12;
        --dark-mid: #0d1524;
        --dark-card: #111827;
        --dark-card-alt: #141e30;
        --dark-lighter: #1e293b;
    
        /* Text */
        --light: #f1f5f9;
        --muted: rgba(241, 245, 249, 0.5);
        --muted-mid: rgba(241, 245, 249, 0.35);
    
        /* Glass */
        --glass: rgba(255, 255, 255, 0.04);
        --glass-hover: rgba(255, 255, 255, 0.07);
        --glass-border: rgba(255, 255, 255, 0.07);
        --glass-border-h: rgba(99, 102, 241, 0.4);
    
        /* Gradients */
        --grad-brand: linear-gradient(135deg, var(--primary-light) 0%, var(--secondary) 100%);
        --grad-warm: linear-gradient(135deg, #f59e0b, var(--secondary));
        --grad-teal: linear-gradient(135deg, var(--teal), var(--accent));
    
        /* Shadows */
        --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.3);
        --shadow-md: 0 12px 40px rgba(0, 0, 0, 0.4);
        --shadow-lg: 0 30px 70px rgba(0, 0, 0, 0.5);
        --shadow-glow: 0 0 60px rgba(99, 102, 241, 0.18);
    
        /* Radii */
        --r-sm: 0.625rem;
        --r-md: 1rem;
        --r-lg: 1.5rem;
        --r-xl: 2rem;
        --r-2xl: 3rem;
    
        /* Motion */
        --ease: cubic-bezier(0.4, 0, 0.2, 1);
        --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
        --t-fast: 0.18s;
        --t-base: 0.35s;
        --t-slow: 0.6s;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}
body {
    background: var(--dark);
    color: var(--light);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
        line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: inherit;
}

button {
    font-family: inherit;
    cursor: pointer;
}

/* ============================================================
   BACKGROUND
   ============================================================ */
.bg-canvas {
    position: fixed;
    inset: 0;
        z-index: 0;
        pointer-events: none;
        overflow: hidden;
}

.blob {
    position: absolute;
    border-radius: 50%;
    will-change: transform;
        filter: blur(100px);
        animation: drift 28s ease-in-out infinite alternate;
}

.blob-1 {
    width: 650px;
        height: 650px;
        background: radial-gradient(circle, rgba(99, 102, 241, 0.45), transparent 70%);
        top: -180px;
        right: -180px;
        animation-duration: 22s;
}
.blob-2 {
    width: 550px;
        height: 550px;
        background: radial-gradient(circle, rgba(236, 72, 153, 0.35), transparent 70%);
        bottom: -140px;
        left: -120px;
        animation-delay: -9s;
        animation-duration: 30s;
}
.blob-3 {
    width: 420px;
        height: 420px;
        background: radial-gradient(circle, rgba(139, 92, 246, 0.3), transparent 70%);
        top: 48%;
        left: 38%;
        animation-delay: -16s;
        animation-duration: 25s;
}

@keyframes drift {
    0% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(50px, -60px) scale(1.08);
    }

    66% {
        transform: translate(-30px, 40px) scale(0.96);
    }

    100% {
        transform: translate(70px, 30px) scale(1.04);
    }
}

.grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse 85% 85% at 50% 40%, black 20%, transparent 100%);
}

.noise-overlay {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
    opacity: 0.025;
    mix-blend-mode: overlay;
}

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
        z-index: 1;
}

section {
    padding: 9rem 0;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1,
h2,
h3,
h4 {
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: var(--light);
}

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

/* ============================================================
   NAV
   ============================================================ */
nav {
    position: fixed;
        top: 0;
        width: 100%;
    padding: 1.5rem 0;
    z-index: 1000;
    transition: background var(--t-base) var(--ease),
            padding var(--t-base) var(--ease),
            border-color var(--t-base) var(--ease);
        border-bottom: 1px solid transparent;
    }
    
    nav.scrolled {
        background: rgba(7, 11, 18, 0.88);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        border-color: var(--glass-border);
        padding: 1rem 0;
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.logo {
    display: flex;
        align-items: center;
        gap: 0.55rem;
        font-size: 1.35rem;
        font-weight: 900;
        letter-spacing: -0.04em;
        text-decoration: none;
        color: var(--light);
        flex-shrink: 0;
    }
    
    .logo-icon {
        width: 32px;
        height: 32px;
        background: var(--grad-brand);
        border-radius: 0.55rem;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.8rem;
        color: white;
        flex-shrink: 0;
}

.nav-links {
    display: flex;
        align-items: center;
        gap: 0.2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--muted);
        font-weight: 500;
        font-size: 0.88rem;
        padding: 0.45rem 0.9rem;
        border-radius: var(--r-sm);
        transition: color var(--t-fast), background var(--t-fast);
    }
    
    .nav-links a:hover {
        color: var(--light);
        background: var(--glass);
    }
    
    /* ============================================================
       BUTTONS
       ============================================================ */
    .btn {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        padding: 0.875rem 1.875rem;
        border-radius: 99px;
        font-weight: 700;
        font-size: 0.92rem;
        text-decoration: none;
        transition:
            transform var(--t-base) var(--ease-spring),
            box-shadow var(--t-base) var(--ease),
            background var(--t-fast),
            border-color var(--t-fast);
        white-space: nowrap;
        border: 1px solid transparent;
        cursor: pointer;
    }
    
    .btn-primary {
        background: var(--grad-brand);
        color: #fff;
        box-shadow: 0 6px 24px rgba(99, 102, 241, 0.38);
        border-color: transparent;
    }
    
    .btn-primary:hover {
        transform: translateY(-3px) scale(1.02);
        box-shadow: 0 14px 40px rgba(99, 102, 241, 0.55);
    }
    
    .btn-ghost {
        background: var(--glass);
        border-color: var(--glass-border);
    color: var(--light);
    backdrop-filter: blur(10px);
    }
    
    .btn-ghost:hover {
        background: var(--glass-hover);
        border-color: var(--glass-border-h);
        transform: translateY(-2px);
}

.btn-nav {
    padding: 0.55rem 1.25rem;
    font-size: 0.84rem;
    background: var(--glass);
    border-color: var(--glass-border);
    color: var(--light);
}

.btn-nav:hover {
    background: var(--glass-hover);
    border-color: var(--glass-border-h);
}

.btn-lg {
    padding: 1.05rem 2.25rem;
    font-size: 0.98rem;
}

.cta-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
    position: relative;
        z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
        justify-content: center;
        padding: 7rem 0 5rem;
    }
    
    .hero-inner {
        display: grid;
        grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 5rem;
}

/* Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.22);
    padding: 0.45rem 1rem;
    border-radius: 99px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-light);
    margin-bottom: 1.75rem;
    width: fit-content;
}

.badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--emerald);
    box-shadow: 0 0 8px var(--emerald);
    animation: blink 2.2s ease-in-out infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.4);
    }
}

/* Hero heading */
.hero-content h1 {
    font-size: clamp(2.75rem, 5vw, 5rem);
    margin-bottom: 1.5rem;
    color: var(--light);
}

.hero-sub {
    font-size: 1.1rem;
    color: var(--muted);
    margin-bottom: 2.25rem;
    max-width: 500px;
    line-height: 1.8;
    font-weight: 400;
}

/* Stats */
.hero-stats {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    margin-top: 2.75rem;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.stat-num {
    font-size: 1.85rem;
    font-weight: 900;
    background: var(--grad-brand);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.05em;
    line-height: 1;
}

.stat-unit {
    font-size: 1rem;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--muted);
    font-weight: 500;
    white-space: nowrap;
    margin-top: 0.2rem;
}

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

/* ── Agent Window ── */
.hero-visual {
    position: relative;
    height: 520px;
}

.agent-window {
    position: absolute;
    inset: 0;
    background: rgba(13, 21, 36, 0.9);
    border: 1px solid var(--glass-border);
    border-radius: var(--r-xl);
        backdrop-filter: blur(24px);
        box-shadow: var(--shadow-lg), var(--shadow-glow);
        overflow: hidden;
        animation: heroFloat 7s ease-in-out infinite;
    }
    
    @keyframes heroFloat {
    
        0%,
        100% {
            transform: translateY(0);
        }
    
        50% {
            transform: translateY(-14px);
        }
    }
    
    .window-chrome {
        display: flex;
        align-items: center;
        gap: 0.4rem;
        padding: 1.1rem 1.4rem;
        background: rgba(255, 255, 255, 0.025);
        border-bottom: 1px solid var(--glass-border);
    }
    
    .chrome-dot {
        width: 11px;
        height: 11px;
        border-radius: 50%;
    }
    
    .chrome-dot.red {
        background: #ff5f57;
    }
    
    .chrome-dot.yellow {
        background: #febc2e;
    }
    
    .chrome-dot.green {
        background: #28c840;
    }
    
    .chrome-label {
        font-size: 0.78rem;
        font-weight: 600;
        color: var(--muted);
        margin-left: 0.6rem;
    }
    
    .window-body {
        padding: 1.5rem;
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    
    /* Chat bubbles */
    .chat-bubble {
        display: flex;
        align-items: flex-start;
        gap: 0.7rem;
    }
    
    .chat-bubble.user {
        flex-direction: row-reverse;
    }
    
    .bubble-avatar {
        width: 30px;
        height: 30px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.72rem;
        flex-shrink: 0;
    }
    
    .chat-bubble.agent .bubble-avatar {
        background: rgba(99, 102, 241, 0.18);
        color: var(--primary-light);
    }
    
    .chat-bubble.user .bubble-avatar {
        background: rgba(236, 72, 153, 0.18);
        color: var(--secondary);
    }
    
    .bubble-text {
    background: var(--glass);
    border: 1px solid var(--glass-border);
        padding: 0.65rem 1rem;
        border-radius: var(--r-md);
        font-size: 0.85rem;
        line-height: 1.55;
        color: var(--light);
        max-width: 80%;
}

.chat-bubble.agent .bubble-text {
    border-radius: 0.25rem var(--r-md) var(--r-md) var(--r-md);
}

.chat-bubble.user .bubble-text {
    border-radius: var(--r-md) 0.25rem var(--r-md) var(--r-md);
}

/* Progress steps */
.agent-progress {
    background: rgba(99, 102, 241, 0.07);
    border: 1px solid rgba(99, 102, 241, 0.18);
    border-radius: var(--r-md);
    padding: 1rem 1.1rem;
    margin-top: 0.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.progress-steps {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.progress-step {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--muted);
}

.progress-step.done {
    color: var(--emerald);
}

.progress-step.active {
    color: var(--primary-light);
}

.progress-step.done i {
    font-size: 0.7rem;
}

.spinner {
    width: 12px;
    height: 12px;
    border: 2px solid rgba(99, 102, 241, 0.25);
    border-top-color: var(--primary-light);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    flex-shrink: 0;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.progress-bar-wrap {
    height: 3px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 99px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: var(--grad-brand);
    border-radius: 99px;
    animation: progressAnim 2.4s ease-in-out infinite;
}

@keyframes progressAnim {
    0% {
        width: 0;
        margin-left: 0;
    }

    50% {
        width: 60%;
        margin-left: 20%;
    }

    100% {
        width: 0;
        margin-left: 100%;
    }
}

/* Float badges */
.float-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(13, 21, 36, 0.92);
    border: 1px solid var(--glass-border);
    border-radius: var(--r-lg);
    padding: 0.85rem 1.2rem;
    backdrop-filter: blur(16px);
    box-shadow: var(--shadow-md);
    font-size: 0.82rem;
}

.float-badge>i {
    font-size: 1.1rem;
    flex-shrink: 0;
}

.float-badge div {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.float-badge strong {
    font-weight: 700;
    font-size: 0.82rem;
    color: var(--light);
}

.float-badge span {
    font-size: 0.72rem;
    color: var(--muted);
}

.float-1 {
    bottom: 5.5rem;
    left: -3.5rem;
    border-color: rgba(16, 185, 129, 0.25);
    animation: heroFloat 5.5s ease-in-out infinite reverse;
}

.float-1>i {
    color: var(--emerald);
}

.float-2 {
    top: 2.5rem;
    right: -2.5rem;
    border-color: rgba(6, 182, 212, 0.25);
    animation: heroFloat 8s ease-in-out infinite 1s;
}

.float-2>i {
    color: var(--teal);
}

/* Scroll cue */
.scroll-cue {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 36px;
    height: 36px;
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: var(--muted);
    text-decoration: none;
    animation: scrollBounce 2.5s ease-in-out infinite;
    transition: border-color var(--t-fast), color var(--t-fast);
    z-index: 1;
}

.scroll-cue:hover {
    border-color: var(--primary-light);
    color: var(--primary-light);
}

@keyframes scrollBounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(6px);
    }
}

/* ============================================================
   TECH BAR
   ============================================================ */
.tech-bar {
    position: relative;
    z-index: 1;
    padding: 1.5rem 0;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.012);
}

.tech-bar-inner {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.tech-bar-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--muted-mid);
    white-space: nowrap;
}

.tech-pills {
    display: flex;
    gap: 0.65rem;
    flex-wrap: wrap;
}

.tech-pill {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    padding: 0.4rem 0.85rem;
    border-radius: 99px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--muted);
    transition: color var(--t-fast), border-color var(--t-fast), background var(--t-fast);
}

.tech-pill:hover {
    color: var(--light);
    border-color: var(--glass-border-h);
    background: var(--glass-hover);
}

.tech-pill i {
    font-size: 0.7rem;
    color: var(--primary-light);
}

.pill-tag {
    font-size: 0.68rem;
    background: rgba(99, 102, 241, 0.15);
    color: var(--primary-light);
    padding: 0.1rem 0.45rem;
    border-radius: 99px;
    font-weight: 600;
    margin-left: 0.1rem;
}

/* ============================================================
   SECTION HEADER
   ============================================================ */
.section-header {
    text-align: center;
    margin-bottom: 5rem;
    max-width: 680px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .section-tag {
        display: inline-flex;
        align-items: center;
        gap: 0.4rem;
        background: rgba(99, 102, 241, 0.1);
        border: 1px solid rgba(99, 102, 241, 0.2);
        color: var(--primary-light);
        font-size: 0.74rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.1em;
        padding: 0.35rem 0.9rem;
        border-radius: 99px;
        margin-bottom: 1.25rem;
}

.section-header h2 {
    font-size: clamp(2.1rem, 4vw, 3.1rem);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.05rem;
    color: var(--muted);
    line-height: 1.8;
}

/* ============================================================
   FEATURES — BENTO GRID
   ============================================================ */
#features {
    background: linear-gradient(180deg, transparent, rgba(13, 21, 36, 0.5) 20%, rgba(13, 21, 36, 0.5) 80%, transparent);
}

.features-bento {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
        gap: 1.25rem;
    }
    
    /* Card base */
    .bento-card {
        background: var(--dark-card);
        border: 1px solid var(--glass-border);
        border-radius: var(--r-xl);
        padding: 2rem;
        grid-column: span 2;
        transition:
            transform var(--t-base) var(--ease-spring),
            border-color var(--t-base),
            box-shadow var(--t-base);
        position: relative;
        overflow: hidden;
    }
    
    .bento-card::after {
        content: '';
        position: absolute;
        inset: 0;
        background: var(--grad-brand);
        opacity: 0;
        transition: opacity var(--t-base);
        border-radius: inherit;
        pointer-events: none;
    }
    
    .bento-card:hover {
        transform: translateY(-5px);
        border-color: var(--glass-border-h);
        box-shadow: var(--shadow-md), var(--shadow-glow);
    }
    
    .bento-card:hover::after {
        opacity: 0.04;
    }
    
    /* Large card */
    .bento-large {
        grid-column: span 4;
        display: grid;
        grid-template-columns: auto 1fr;
        grid-template-rows: auto 1fr auto;
        gap: 0 1.75rem;
    }
    
    .bento-large .bento-icon {
        grid-row: 1;
        grid-column: 1;
    }
    
    .bento-large .bento-body {
        grid-column: 2;
        grid-row: 1 / 3;
    }
    
    .bento-large .bento-decoration {
        grid-column: 1 / 3;
        grid-row: 3;
        margin-top: 1.5rem;
    }
    
    .bento-icon {
        width: 48px;
        height: 48px;
        background: rgba(99, 102, 241, 0.12);
        border: 1px solid rgba(99, 102, 241, 0.2);
        border-radius: var(--r-md);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.2rem;
        color: var(--primary-light);
        margin-bottom: 1.4rem;
        flex-shrink: 0;
        transition: transform var(--t-base) var(--ease-spring), background var(--t-base);
    }
    
    .bento-card:hover .bento-icon {
        transform: scale(1.12) rotate(6deg);
        background: rgba(99, 102, 241, 0.22);
    }
    
    .bento-card h3 {
        font-size: 1.1rem;
        font-weight: 700;
        margin-bottom: 0.65rem;
        letter-spacing: -0.02em;
    }
    
    .bento-card p {
        font-size: 0.88rem;
        color: var(--muted);
        line-height: 1.75;
    }
    
    /* Check list */
    .check-list {
        list-style: none;
        margin-top: 1.1rem;
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .check-list li {
        display: flex;
        align-items: center;
        gap: 0.55rem;
        font-size: 0.84rem;
        color: var(--muted);
        font-weight: 500;
    }
    
    .check-list li i {
        font-size: 0.65rem;
        color: var(--primary-light);
        background: rgba(99, 102, 241, 0.15);
        width: 16px;
        height: 16px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }
    
    /* Mini chat decoration */
    .mini-chat {
        background: rgba(255, 255, 255, 0.025);
        border: 1px solid var(--glass-border);
        border-radius: var(--r-md);
        padding: 0.9rem 1rem;
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .mini-msg {
        font-size: 0.78rem;
        padding: 0.4rem 0.75rem;
        border-radius: var(--r-sm);
        width: fit-content;
        max-width: 90%;
        font-weight: 500;
        line-height: 1.4;
    }
    
    .mini-msg.a {
        background: rgba(99, 102, 241, 0.14);
        color: var(--primary-light);
    }
    
    .mini-msg.u {
        background: rgba(255, 255, 255, 0.06);
        color: var(--light);
        align-self: flex-end;
    }
    
    /* Four scenes preview */
    .four-scenes-preview {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 0.5rem;
        margin-top: 1.25rem;
    }
    
    .scene-thumb {
        aspect-ratio: 16/10;
        border-radius: var(--r-sm);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.25rem;
        border: 1px solid var(--glass-border);
        transition: transform var(--t-base) var(--ease-spring);
    }
    
    .scene-thumb:hover {
        transform: scale(1.06);
    }
    
    .s1 {
        background: linear-gradient(135deg, #065f46, #1a3a20);
        color: #6ee7b7;
    }
    
    .s2 {
        background: linear-gradient(135deg, #1e3a5f, #0d1a2d);
        color: #93c5fd;
    }
    
    .s3 {
        background: linear-gradient(135deg, #1e3a5f, #164e63);
        color: #67e8f9;
    }
    
    .s4 {
        background: linear-gradient(135deg, #14532d, #052e16);
        color: #86efac;
    }
    
    /* Video spec row */
    .video-spec-row {
        display: flex;
        gap: 0.5rem;
        flex-wrap: wrap;
        margin-top: 1.25rem;
    }
    
    .spec-chip {
        display: inline-flex;
        align-items: center;
        gap: 0.35rem;
        background: rgba(99, 102, 241, 0.1);
        border: 1px solid rgba(99, 102, 241, 0.18);
        color: var(--primary-light);
        padding: 0.3rem 0.7rem;
        border-radius: 99px;
        font-size: 0.75rem;
        font-weight: 600;
}

/* Speed indicator */
.speed-indicator {
    margin-top: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.speed-bar {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.74rem;
}

.speed-bar span {
    color: var(--muted);
    min-width: 80px;
    font-weight: 500;
}

.speed-bar em {
    font-style: normal;
    font-weight: 700;
    font-size: 0.72rem;
    color: var(--muted);
    margin-left: auto;
}

.speed-bar::before {
    content: '';
    display: block;
    width: var(--w);
    height: 6px;
    border-radius: 99px;
    background: var(--dark-lighter);
    flex: 1;
        position: relative;
        overflow: hidden;
    }
    
    /* override for accent bar */
    .speed-bar::before {
        background: rgba(255, 255, 255, 0.08);
        max-width: 140px;
    }
    
    .speed-bar:first-child::before {
        background: rgba(236, 72, 153, 0.35);
    }
    
    .speed-bar.accent::before {
        background: var(--grad-brand);
        max-width: 5px;
    }
    
    .speed-bar.accent span,
    .speed-bar.accent em {
        color: var(--primary-light);
    }
    
    /* Grid layout for bento cards */
    .features-bento .bento-card:nth-child(2) {
        grid-column: span 2;
    }
    
    .features-bento .bento-card:nth-child(3) {
        grid-column: span 4;
    }
    
    .features-bento .bento-card.bento-sm {
        grid-column: span 2;
    }
    
    /* ============================================================
       PIPELINE
       ============================================================ */
    .pipeline-section {
        background: linear-gradient(180deg, transparent, rgba(13, 21, 36, 0.6) 15%, rgba(13, 21, 36, 0.6) 85%, transparent);
    }
    
    .pipeline-track {
        display: flex;
        flex-direction: column;
        gap: 0;
        position: relative;
        max-width: 740px;
        margin: 0 auto;
    }
    
    .pipeline-step {
        display: grid;
        grid-template-columns: 80px 1fr;
        gap: 0 1.5rem;
        align-items: start;
        position: relative;
    }
    
    .step-index {
        font-size: 3.5rem;
        font-weight: 900;
        letter-spacing: -0.06em;
        line-height: 1;
        background: var(--grad-brand);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        opacity: 0.18;
        padding-top: 1.75rem;
        text-align: right;
        transition: opacity var(--t-base);
        user-select: none;
    }
    
    .pipeline-step:hover .step-index {
        opacity: 0.5;
    }
    
    .step-card {
        background: var(--dark-card);
        border: 1px solid var(--glass-border);
        border-radius: var(--r-xl);
        padding: 2rem 2.25rem;
        margin-bottom: 0;
        transition:
            transform var(--t-base) var(--ease-spring),
            border-color var(--t-base),
            box-shadow var(--t-base);
        position: relative;
        overflow: hidden;
    }
    
    .step-card::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 3px;
        background: var(--grad-brand);
        transform: scaleY(0);
        transform-origin: bottom;
        transition: transform var(--t-base) var(--ease);
        border-radius: 0 0 0 0;
    }
    
    .pipeline-step:hover .step-card {
        transform: translateX(4px);
        border-color: var(--glass-border-h);
        box-shadow: var(--shadow-md), var(--shadow-glow);
    }
    
    .pipeline-step:hover .step-card::before {
        transform: scaleY(1);
    }
    
    .step-icon-wrap {
        width: 44px;
        height: 44px;
        background: rgba(99, 102, 241, 0.12);
        border: 1px solid rgba(99, 102, 241, 0.2);
        border-radius: var(--r-md);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.1rem;
        color: var(--primary-light);
        margin-bottom: 1.1rem;
        transition: transform var(--t-base) var(--ease-spring);
    }
    
    .pipeline-step:hover .step-icon-wrap {
        transform: scale(1.1) rotate(5deg);
    }
    
    .step-card h3 {
        font-size: 1.1rem;
        font-weight: 700;
        margin-bottom: 0.6rem;
    }
    
    .step-card p {
        font-size: 0.88rem;
        color: var(--muted);
        line-height: 1.75;
        margin-bottom: 1rem;
    }
    
    .step-model {
        display: inline-flex;
        align-items: center;
        gap: 0.4rem;
        font-size: 0.76rem;
        font-weight: 600;
        color: var(--muted-mid);
        background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--glass-border);
    padding: 0.3rem 0.75rem;
        border-radius: 99px;
    }
    
    .step-model i {
        font-size: 0.72rem;
        color: var(--primary-light);
    }
    
    .step-model.success {
        color: var(--emerald);
        border-color: rgba(16, 185, 129, 0.2);
        background: rgba(16, 185, 129, 0.08);
    }
    
    .step-model.success i {
        color: var(--emerald);
    }
    
    .step-card--final {
        border-color: rgba(99, 102, 241, 0.25);
        background: rgba(99, 102, 241, 0.05);
}

.pipeline-arrow {
    grid-column: 2;
    text-align: center;
    padding: 0.6rem 0;
    color: var(--muted-mid);
    font-size: 0.85rem;
}

/* Pipeline summary */
.pipeline-summary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 4rem;
    padding: 1.5rem 2rem;
    background: var(--dark-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--r-2xl);
}

.summary-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--muted);
}
.summary-item i {
    font-size: 0.85rem;
    color: var(--primary-light);
}

.summary-item.highlight {
    color: var(--light);
    background: rgba(99, 102, 241, 0.12);
    border: 1px solid rgba(99, 102, 241, 0.22);
    padding: 0.35rem 0.9rem;
    border-radius: 99px;
}

.summary-item.highlight i {
    color: var(--primary-light);
}

.summary-arrow {
    color: var(--muted-mid);
    font-size: 0.9rem;
    font-weight: 700;
}

/* ============================================================
   SHOWCASE
   ============================================================ */
.showcase-stack {
    display: flex;
    flex-direction: column;
    gap: 8rem;
}

.showcase-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.showcase-item--flip {
    direction: rtl;
}
.showcase-item--flip .showcase-info,
.showcase-item--flip .showcase-media {
    direction: ltr;
}

/* Media wrapper */
.showcase-media {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

/* Split view */
.showcase-split-view {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    border-radius: var(--r-xl);
    overflow: hidden;
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-lg);
    aspect-ratio: 16 / 9;
    background: var(--dark-card);
    transition: box-shadow var(--t-base), border-color var(--t-base);
}

.showcase-split-view:hover {
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    border-color: var(--glass-border-h);
}

.split-pane {
    position: relative;
    overflow: hidden;
    height: 100%;
}

.split-pane img,
.split-pane video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s var(--ease);
}

.split-pane:hover img,
.split-pane:hover video {
    transform: scale(1.03);
}

/* Vertical split divider */
.split-divider {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    width: 36px;
    background: var(--dark);
    z-index: 2;
    flex-shrink: 0;
}

.divider-line {
    flex: 1;
    width: 1px;
    background: linear-gradient(to bottom, transparent, var(--glass-border-h), transparent);
}

.divider-icon {
    width: 30px;
    height: 30px;
    background: var(--grad-brand);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 0 16px rgba(99, 102, 241, 0.5);
}

/* Pane labels */
.pane-label {
    position: absolute;
    top: 0.7rem;
    left: 0.7rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.7rem;
    background: rgba(7, 11, 18, 0.78);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 99px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--muted);
    z-index: 5;
    text-transform: uppercase;
}

.source-lbl {
    border-color: var(--glass-border);
}

/* Live badge — replaces the RESULT label on video -->  */
.live-badge {
    position: absolute;
    top: 0.7rem;
    left: 0.7rem;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.3rem 0.75rem;
    background: rgba(7, 11, 18, 0.82);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 99px;
    font-size: 0.68rem;
    font-weight: 700;
    color: #f87171;
    z-index: 5;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.live-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ef4444;
    box-shadow: 0 0 6px #ef4444;
    animation: blink 1.5s ease-in-out infinite;
}

/* Unmute button */
.unmute-btn {
    position: absolute;
    bottom: 0.7rem;
    left: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.4rem 1rem;
    background: rgba(7, 11, 18, 0.82);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 99px;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--muted);
    z-index: 5;
    cursor: pointer;
    transition: color var(--t-fast), border-color var(--t-fast), background var(--t-fast);
    white-space: nowrap;
}

.unmute-btn:hover {
    color: var(--light);
    border-color: var(--glass-border-h);
}

.unmute-btn.hidden {
    display: none;
}

/* Single view */
.showcase-single-view {
    position: relative;
    border-radius: var(--r-xl);
    overflow: hidden;
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-lg);
    aspect-ratio: 16 / 10;
    background: var(--dark-card);
    transition: box-shadow var(--t-base), border-color var(--t-base);
}

.showcase-single-view:hover {
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    border-color: var(--glass-border-h);
}

.showcase-single-view img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}

.showcase-single-view:hover img {
    transform: scale(1.03);
}

/* Media footer */
.media-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.pipeline-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    font-size: 0.74rem;
    font-weight: 600;
    color: var(--muted);
}

.pipeline-badge i {
    font-size: 0.6rem;
    color: var(--muted-mid);
}

.badge-step {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    padding: 0.2rem 0.6rem;
    border-radius: 99px;
}

.badge-step.accent {
    background: rgba(99, 102, 241, 0.12);
    border-color: rgba(99, 102, 241, 0.25);
    color: var(--primary-light);
}

.generated-by {
    font-size: 0.76rem;
    font-weight: 500;
    color: var(--muted-mid);
}

.brand-name {
    background: var(--grad-brand);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

/* Showcase text */
.showcase-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    color: var(--primary-light);
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.32rem 0.85rem;
    border-radius: 99px;
    margin-bottom: 1.2rem;
}

.showcase-info h3 {
    font-size: clamp(1.85rem, 3.5vw, 2.6rem);
    margin-bottom: 1.1rem;
}

.showcase-info p {
    font-size: 0.97rem;
    color: var(--muted);
    line-height: 1.82;
    margin-bottom: 1.1rem;
}

.showcase-chips {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
    margin-top: 1.75rem;
}

.info-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    padding: 0.45rem 0.9rem;
    border-radius: 99px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--muted);
    transition: color var(--t-fast), border-color var(--t-fast), background var(--t-fast);
    cursor: default;
}

.info-chip i {
    font-size: 0.72rem;
    color: var(--primary-light);
}

.info-chip:hover {
    color: var(--light);
    border-color: var(--glass-border-h);
    background: var(--glass-hover);
}

/* ============================================================
   AUDIENCE
   ============================================================ */
.audience-section {
    background: linear-gradient(180deg, transparent, rgba(13, 21, 36, 0.5) 15%, rgba(13, 21, 36, 0.5) 85%, transparent);
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    align-items: stretch;
}

.audience-card {
    background: var(--dark-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--r-xl);
    padding: 2.25rem;
    position: relative;
    overflow: hidden;
    transition:
            transform var(--t-base) var(--ease-spring),
            border-color var(--t-base),
            box-shadow var(--t-base);
    }
    
    .audience-card:hover {
        transform: translateY(-6px);
        border-color: var(--glass-border-h);
        box-shadow: var(--shadow-md), var(--shadow-glow);
}

.audience-card--featured {
    border-color: rgba(99, 102, 241, 0.3);
    background: linear-gradient(160deg, rgba(99, 102, 241, 0.06), var(--dark-card));
}

.audience-card--featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--grad-brand);
}

.featured-badge {
    position: absolute;
    top: 1.1rem;
        right: 1.1rem;
        background: var(--grad-brand);
        color: white;
        font-size: 0.68rem;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 0.06em;
        padding: 0.25rem 0.65rem;
        border-radius: 99px;
    }
    
    .audience-icon {
        width: 52px;
        height: 52px;
        background: rgba(99, 102, 241, 0.12);
        border: 1px solid rgba(99, 102, 241, 0.2);
        border-radius: var(--r-md);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.3rem;
        color: var(--primary-light);
        margin-bottom: 1.4rem;
        transition: transform var(--t-base) var(--ease-spring);
    }
    
    .audience-card:hover .audience-icon {
        transform: scale(1.1) rotate(5deg);
    }
    
    .audience-card h3 {
        font-size: 1.2rem;
        font-weight: 700;
        margin-bottom: 0.75rem;
    }
    
    .audience-card p {
        font-size: 0.88rem;
        color: var(--muted);
        line-height: 1.75;
        margin-bottom: 1.4rem;
    }
    
    .audience-list {
        list-style: none;
        display: flex;
        flex-direction: column;
        gap: 0.55rem;
    }
    
    .audience-list li {
        display: flex;
        align-items: center;
        gap: 0.55rem;
        font-size: 0.84rem;
        font-weight: 500;
        color: var(--muted);
    }
    
    .audience-list li i {
        font-size: 0.65rem;
        color: var(--primary-light);
        flex-shrink: 0;
        transition: transform var(--t-fast);
    }
    
    .audience-list li:hover {
        color: var(--light);
    }
    
    .audience-list li:hover i {
        transform: translateX(3px);
    }
    
    /* ============================================================
       METRICS
       ============================================================ */
    .metrics-section {
        padding: 6rem 0;
    }
    
    .metrics-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 1.25rem;
    }
    
    .metric-card {
        background: var(--dark-card);
        border: 1px solid var(--glass-border);
        border-radius: var(--r-xl);
        padding: 2.25rem 1.75rem;
        text-align: center;
        transition:
            transform var(--t-base) var(--ease-spring),
            border-color var(--t-base),
            box-shadow var(--t-base);
        position: relative;
        overflow: hidden;
    }
    
    .metric-card::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 15%;
        right: 15%;
        height: 2px;
        background: var(--grad-brand);
        transform: scaleX(0);
        transition: transform var(--t-base);
        border-radius: 99px;
    }
    
    .metric-card:hover {
        transform: translateY(-5px);
        border-color: var(--glass-border-h);
        box-shadow: var(--shadow-md), var(--shadow-glow);
    }
    
    .metric-card:hover::after {
        transform: scaleX(1);
    }
    
    .metric-icon {
        width: 44px;
        height: 44px;
        background: rgba(99, 102, 241, 0.12);
        border: 1px solid rgba(99, 102, 241, 0.2);
        border-radius: var(--r-md);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.1rem;
        color: var(--primary-light);
        margin: 0 auto 1.25rem;
        transition: transform var(--t-base) var(--ease-spring);
    }
    
    .metric-card:hover .metric-icon {
        transform: scale(1.1) rotate(-5deg);
    }
    
    .metric-value {
        font-size: 2.75rem;
        font-weight: 900;
        letter-spacing: -0.06em;
        line-height: 1;
        background: var(--grad-brand);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        margin-bottom: 0.6rem;
    }
    
    .metric-unit {
        font-size: 1.5rem;
        -webkit-text-fill-color: transparent;
    }
    
    .metric-label {
        font-size: 0.9rem;
        font-weight: 700;
        color: var(--light);
        margin-bottom: 0.3rem;
    }
    
    .metric-sub {
        font-size: 0.76rem;
        color: var(--muted);
    }
    
    /* ============================================================
       CTA
       ============================================================ */
    .cta-section {
        padding: 8rem 0;
    }
    
    .cta-card {
        background: var(--dark-card);
        border: 1px solid var(--glass-border);
        border-radius: var(--r-2xl);
        padding: 7rem 4rem;
        text-align: center;
        position: relative;
        overflow: hidden;
    }
    
    .cta-glow {
        position: absolute;
        inset: 0;
        background: radial-gradient(ellipse 70% 70% at 50% 50%, rgba(99, 102, 241, 0.1), transparent 70%);
        pointer-events: none;
    }
    
    .cta-body {
        position: relative;
        z-index: 1;
    }
    
    .cta-card h2 {
        font-size: clamp(2.5rem, 5vw, 4.25rem);
        margin-bottom: 1.25rem;
    }
    
    .cta-card p {
        font-size: 1.05rem;
        color: var(--muted);
        max-width: 480px;
        margin: 0 auto 2.75rem;
        line-height: 1.8;
    }
    
    .cta-card .cta-group {
        justify-content: center;
    }
    
    /* ============================================================
       FOOTER
       ============================================================ */
    footer {
        padding: 2.75rem 0;
        border-top: 1px solid var(--glass-border);
        position: relative;
        z-index: 1;
    }
    
    .footer-inner {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
        gap: 2rem;
    }
    
    .footer-brand .logo {
        font-size: 1.15rem;
        margin-bottom: 0.35rem;
    }
    
    .footer-brand p {
        font-size: 0.8rem;
        color: var(--muted);
    }
    
    .footer-nav {
        display: flex;
        gap: 1.5rem;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
    }
    
    .footer-nav a {
        text-decoration: none;
        font-size: 0.84rem;
        font-weight: 500;
        color: var(--muted);
        transition: color var(--t-fast);
        display: flex;
        align-items: center;
        gap: 0.35rem;
    }
    
    .footer-nav a:hover {
        color: var(--light);
    }
    
    .footer-copy {
        text-align: right;
        font-size: 0.75rem;
        color: var(--muted-mid);
        line-height: 1.6;
    }
    
    .footer-copy strong {
        color: var(--primary-light);
        font-weight: 600;
    }
    
    /* ============================================================
       SCROLL REVEAL
       ============================================================ */
    .reveal {
        opacity: 0;
        transform: translateY(28px);
        transition:
            opacity var(--t-slow) var(--ease),
            transform var(--t-slow) var(--ease);
    }
    
    .reveal.visible {
        opacity: 1;
        transform: translateY(0);
    }
    
    /* ============================================================
       RESPONSIVE
       ============================================================ */
    @media (max-width: 1100px) {
        .hero-inner {
            gap: 3.5rem;
        }
    
        .features-bento .bento-large {
            grid-column: span 6;
        }
    
        .features-bento .bento-card:nth-child(2),
        .features-bento .bento-card:nth-child(3) {
            grid-column: span 3;
        }
}

@media (max-width: 960px) {
    .hero-inner {
        grid-template-columns: 1fr;
        padding-top: 6rem;
    }

    .hero-visual {
        display: none;
    }

    .hero-sub {
        max-width: 100%;
    }

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

    .features-bento .bento-large {
        grid-column: span 2;
        grid-template-columns: 1fr;
    }

    .features-bento .bento-large .bento-body {
        grid-column: 1;
        grid-row: auto;
    }

    .features-bento .bento-large .bento-decoration {
        grid-column: 1;
    }

    .features-bento .bento-card,
    .features-bento .bento-card:nth-child(2),
    .features-bento .bento-card:nth-child(3),
    .features-bento .bento-card.bento-sm {
        grid-column: span 1;
    }

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

    .audience-card:last-child {
        grid-column: span 2;
    }

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

    .showcase-item,
    .showcase-item--flip {
        grid-template-columns: 1fr;
        direction: ltr;
        gap: 2.5rem;
    }

        .pipeline-track {
            max-width: 100%;
        }
    
        .footer-inner {
            grid-template-columns: 1fr 1fr;
            grid-template-rows: auto auto;
        }
    
        .footer-copy {
            text-align: left;
            grid-column: span 2;
        }
}

@media (max-width: 720px) {
    section {
        padding: 6rem 0;
    }

    .container {
        padding: 0 1.25rem;
    }

    nav {
        padding: 1.1rem 0;
    }

    .nav-links {
        display: none;
    }

    .hero {
        min-height: auto;
        padding: 6rem 0 4rem;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 1.25rem;
        row-gap: 0.75rem;
    }

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

    .features-bento .bento-card,
    .features-bento .bento-large {
        grid-column: span 1;
    }

    .bento-large {
        display: flex;
        flex-direction: column;
    }

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

    .audience-card:last-child {
        grid-column: span 1;
    }

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

    .pipeline-step {
        grid-template-columns: 50px 1fr;
        gap: 0 1rem;
    }

    .step-index {
        font-size: 2.5rem;
        padding-top: 1.5rem;
    }

    .showcase-split-view {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr auto 1fr;
        aspect-ratio: auto;
    }

    .split-divider {
        flex-direction: row;
        width: 100%;
        height: 32px;
    }

    .divider-line {
        width: auto;
        height: 1px;
        flex: 1;
    }

    .pipeline-summary {
        flex-direction: column;
        gap: 0.5rem;
    }

    .summary-arrow {
        transform: rotate(90deg);
    }

    .cta-card {
        padding: 4rem 1.5rem;
    }

    .cta-card h2 {
        font-size: 2.5rem;
    }

    .cta-group {
        flex-direction: column;
    }

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

    .footer-inner {
        grid-template-columns: 1fr;
    }

    .footer-copy {
        grid-column: 1;
    }

    .footer-nav {
        flex-wrap: wrap;
        justify-content: flex-start;
    }
}

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

    .hero-content h1 {
        font-size: 2.4rem;
    }

    .tech-pills {
        gap: 0.4rem;
    }

    .tech-pill .pill-tag {
        display: none;
    }
}