/**
 * PAXWAY — Cinematic Scrollytelling CSS
 * Pinned split-screen + deep glassmorphism + premium typography
 */

/* ===== DESIGN TOKENS ===== */
:root {
    --bg-deep: #03070E;
    --bg-card: rgba(10, 15, 25, 0.4);
    --text-primary: #ffffff;
    --text-secondary: #8a95a8;
    --text-dim: rgba(255, 255, 255, 0.2);
    --accent-cyan: #00F2FE;
    --accent-mint: #00E5A0;
    --accent-blue: #007BFF;
    --accent-danger: #ff3366;
    --glass-border: rgba(0, 242, 254, 0.15);
    --glass-blur: blur(20px);
    --glass-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    --radius-card: 24px;
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-deep);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===== LIVE 3D CANVAS ===== */
#matrix-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
}

/* ===== APP SHELL ===== */
.app-shell {
    position: relative;
    z-index: 1;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ===== GLASSMORPHISM ===== */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: var(--radius-card);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 242, 254, 0.4), transparent);
    opacity: 0.6;
}

/* ===== HEADER ===== */
.header {
    padding: 28px 48px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: transparent;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.header.header-hidden {
    opacity: 0;
    transform: translateY(-20px);
    pointer-events: none;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-mark {
    width: 80px;
    height: 80px;
    object-fit: contain;
    filter: drop-shadow(0 0 12px rgba(0, 242, 254, 0.5));
    flex-shrink: 0;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 6px;
    color: var(--text-primary);
    text-transform: uppercase;
    text-shadow: 0 0 20px rgba(0, 242, 254, 0.3);
}

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

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

.nav-link:hover {
    color: var(--accent-cyan);
}

/* ===== HERO SECTION ===== */
.hero-section {
    padding: 140px 24px 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: 100vh;
    justify-content: center;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border-radius: 50px;
    background: rgba(0, 242, 254, 0.06);
    border: 1px solid rgba(0, 242, 254, 0.2);
    font-size: 13px;
    font-weight: 500;
    color: var(--accent-cyan);
    margin-bottom: 32px;
    letter-spacing: 0.3px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-cyan);
    box-shadow: 0 0 12px var(--accent-cyan);
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {

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

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

.headline {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 700;
    line-height: 1.05;
    margin-bottom: 24px;
    letter-spacing: -2px;
}

.gradient-text {
    background: linear-gradient(135deg, #00F2FE, #00E5A0, #007BFF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sub-headline {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 580px;
    margin: 0 auto 40px;
    font-weight: 300;
}

.highlight {
    color: var(--text-primary);
    font-weight: 600;
    display: block;
    margin-top: 12px;
}

/* ===== WAITLIST FORM ===== */
.waitlist-card {
    width: 100%;
    max-width: 640px;
    padding: 40px;
    margin: 0 auto 48px;
}

.pill-group-container {
    margin-bottom: 28px;
}

.pill-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.pill {
    position: relative;
    cursor: pointer;
}

.pill input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.pill-text {
    display: inline-block;
    padding: 10px 22px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

.pill input[type="radio"]:checked+.pill-text {
    background: rgba(0, 242, 254, 0.1);
    color: var(--accent-cyan);
    border-color: var(--accent-cyan);
    box-shadow: 0 0 20px rgba(0, 242, 254, 0.25), inset 0 0 15px rgba(0, 242, 254, 0.05);
}

.pill:hover .pill-text {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.15);
}

.input-row {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.input-group {
    flex: 1;
}

.input-group input {
    width: 100%;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 16px 20px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 15px;
    outline: none;
    transition: all 0.3s ease;
}

.input-group input::placeholder {
    color: rgba(255, 255, 255, 0.25);
}

.input-group input:focus {
    border-color: var(--accent-cyan);
    background: rgba(0, 0, 0, 0.6);
    box-shadow: 0 0 0 3px rgba(0, 242, 254, 0.1);
}

.cta-button {
    width: 100%;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
    color: #fff;
    border: none;
    border-radius: 14px;
    padding: 18px 24px;
    font-size: 15px;
    font-weight: 700;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 40px rgba(0, 123, 255, 0.35);
    position: relative;
    overflow: hidden;
}

.cta-button::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left 0.6s ease;
}

.cta-button:hover::after {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 50px rgba(0, 242, 254, 0.45);
}

.btn-icon {
    width: 20px;
    height: 20px;
}

.hidden {
    display: none !important;
}

.waitlist-success {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 20px;
    border-radius: 12px;
    background: rgba(0, 229, 160, 0.1);
    border: 1px solid rgba(0, 229, 160, 0.3);
    color: #00E5A0;
    font-size: 0.95rem;
    margin-top: 16px;
}

.waitlist-success .success-icon {
    width: auto;
    height: auto;
    margin: 0;
    font-size: 1.4rem;
}

.waitlist-error {
    padding: 16px 20px;
    border-radius: 12px;
    background: rgba(255, 77, 106, 0.1);
    border: 1px solid rgba(255, 77, 106, 0.3);
    color: #FF4D6A;
    font-size: 0.9rem;
    margin-top: 16px;
}

.success-message {
    text-align: center;
    padding: 32px 0;
}

.success-icon-wrap {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 242, 254, 0.1);
    border: 2px solid var(--accent-cyan);
    box-shadow: 0 0 30px rgba(0, 242, 254, 0.3);
}

.success-icon {
    color: var(--accent-cyan);
    width: 32px;
    height: 32px;
}

.success-title {
    font-family: var(--font-heading);
    font-size: 24px;
    margin-bottom: 8px;
}

.success-text {
    color: var(--accent-cyan);
    font-weight: 500;
}

/* Feature Pills */
.feature-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

.feature-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 50px;
    background: rgba(10, 15, 25, 0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 242, 254, 0.12);
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.feature-pill:hover {
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
}

.feature-pill svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}


/* ====================================================
   SCROLLYTELLING: THE PINNED SPLIT-SCREEN SECTION
   ==================================================== */

.scrollytelling-wrapper {
    position: relative;
    width: 100%;
}

.scrolly-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 1440px;
    margin: 0 auto;
    position: relative;
}

/* --- LEFT COLUMN: Active Narrative Track --- */
.scrolly-narrative {
    padding: 0 60px 0 80px;
    position: relative;
}

/* --- Vertical Progress Track --- */
.progress-track {
    position: absolute;
    top: 0;
    left: 32px;
    bottom: 0;
    width: 2px;
    z-index: 2;
    pointer-events: none;
}

.progress-track-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 1px;
    height: 100%;
    background: rgba(255, 255, 255, 0.07);
}

.progress-track-fill {
    position: absolute;
    top: 0;
    left: -0.5px;
    width: 2px;
    height: 0%;
    background: linear-gradient(180deg, var(--accent-cyan), var(--accent-blue));
    border-radius: 1px;
    box-shadow: 0 0 8px rgba(0, 242, 254, 0.4);
    transition: none;
    /* GSAP controls this */
}

.progress-track-dot {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--accent-cyan);
    box-shadow:
        0 0 12px var(--accent-cyan),
        0 0 30px rgba(0, 242, 254, 0.5),
        0 0 60px rgba(0, 242, 254, 0.2);
    z-index: 3;
    transition: none;
    /* GSAP controls this */
}

.progress-track-dot::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #fff;
}

/* --- Scroll Steps (each section fills one viewport) --- */
.scroll-step {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px 0;
    position: relative;
    /* Default: dim, slightly pushed back */
    opacity: 0.2;
    transform: scale(0.95);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: opacity, transform;
}

.scroll-step-inner {
    max-width: 90%;
}

/* --- Active State (applied via GSAP) --- */
.scroll-step.is-active {
    opacity: 1;
    transform: scale(1);
}

.scroll-step.is-active .step-headline {
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.2), 0 0 60px rgba(0, 242, 254, 0.1);
}

.scroll-step.is-active .step-body-text {
    color: #A0ABC0;
}

/* --- Step Body Text (single paragraph per slide) --- */
.step-body-text {
    font-size: 1.25rem;
    line-height: 1.8;
    color: rgba(160, 171, 192, 0.5);
    font-family: var(--font-body);
    max-width: 90%;
    transition: color 0.5s ease;
}

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

.step-tag {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 24px;
    padding: 8px 18px;
    border-radius: 50px;
    width: fit-content;
}

.step-tag.tag-danger {
    color: var(--accent-danger);
    background: rgba(255, 51, 102, 0.08);
    border: 1px solid rgba(255, 51, 102, 0.25);
    box-shadow: 0 0 20px rgba(255, 51, 102, 0.1);
}

.step-tag.tag-cyan {
    color: var(--accent-cyan);
    background: rgba(0, 242, 254, 0.08);
    border: 1px solid rgba(0, 242, 254, 0.25);
    box-shadow: 0 0 20px rgba(0, 242, 254, 0.1);
}

.step-tag.tag-blue {
    color: var(--accent-blue);
    background: rgba(0, 123, 255, 0.08);
    border: 1px solid rgba(0, 123, 255, 0.25);
    box-shadow: 0 0 20px rgba(0, 123, 255, 0.1);
}

.step-tag.tag-amber {
    color: #FFB347;
    background: rgba(255, 179, 71, 0.08);
    border: 1px solid rgba(255, 179, 71, 0.25);
    box-shadow: 0 0 20px rgba(255, 179, 71, 0.1);
}

/* --- Step Headline (massive typography) --- */
.step-headline {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 4vw, 4rem);
    font-weight: 700;
    line-height: 1.08;
    margin-bottom: 36px;
    letter-spacing: -1px;
    /* Remove the gradient - use full white for punch */
    color: var(--text-primary);
    -webkit-text-fill-color: unset;
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
    transition: text-shadow 0.5s ease;
}

/* Colored spans inside headlines keep their gradients */
.step-headline .text-danger,
.step-headline .text-cyan,
.step-headline .text-blue,
.step-headline .text-amber {
    -webkit-text-fill-color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
}

.text-danger {
    background: linear-gradient(135deg, #ff3366, #ff6b6b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-cyan {
    background: linear-gradient(135deg, #00F2FE, #00E5A0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-blue {
    background: linear-gradient(135deg, #007BFF, #00F2FE);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-amber {
    background: linear-gradient(135deg, #FFB347, #FF8C00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- RIGHT COLUMN: Visuals (Sticky) --- */
.scrolly-visuals {
    position: relative;
    height: auto;
}

.visuals-stage {
    position: sticky;
    top: 15vh;
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 48px 0 20px;
}

.visual-panel {
    position: absolute;
    top: 0;
    left: 20px;
    right: 48px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(30px);
    transition: none;
    /* GSAP controls transitions */
    pointer-events: none;
    visibility: hidden;
    z-index: 0;
}

.visual-panel.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    visibility: visible;
    z-index: 2;
}

.visual-card {
    width: 100%;
    max-width: 520px;
    padding: 36px;
}

/* Visual Card Headers */
.visual-card-header {
    margin-bottom: 28px;
}

.visual-tag {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 50px;
    margin-bottom: 12px;
}

.tag-danger {
    color: var(--accent-danger);
    background: rgba(255, 51, 102, 0.1);
    border: 1px solid rgba(255, 51, 102, 0.2);
}

.tag-cyan {
    color: var(--accent-cyan);
    background: rgba(0, 242, 254, 0.1);
    border: 1px solid rgba(0, 242, 254, 0.2);
}

.tag-blue {
    color: var(--accent-blue);
    background: rgba(0, 123, 255, 0.1);
    border: 1px solid rgba(0, 123, 255, 0.2);
}

.tag-amber {
    color: #FFB347;
    background: rgba(255, 179, 71, 0.1);
    border: 1px solid rgba(255, 179, 71, 0.2);
}

/* ── Us vs. Them Split Card ── */
.vs-split {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-radius: 12px;
    overflow: hidden;
    margin-top: 16px;
}

.vs-half {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    transition: all 0.4s ease;
}

.vs-half-them {
    background: rgba(255, 51, 102, 0.06);
    border: 1px solid rgba(255, 51, 102, 0.15);
    border-radius: 12px 12px 0 0;
    color: rgba(255, 107, 107, 0.9);
}

.vs-half-us {
    background: rgba(0, 242, 254, 0.06);
    border: 1px solid rgba(0, 242, 254, 0.25);
    border-radius: 0 0 12px 12px;
    color: #00F2FE;
    animation: pulseGlowCyan 3s ease-in-out infinite;
}

@keyframes pulseGlowCyan {

    0%,
    100% {
        box-shadow: 0 0 15px rgba(0, 242, 254, 0.1);
    }

    50% {
        box-shadow: 0 0 30px rgba(0, 242, 254, 0.25), 0 0 60px rgba(0, 242, 254, 0.08);
    }
}

.vs-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    position: relative;
    height: 1px;
    background: rgba(255, 255, 255, 0.06);
}

.vs-vs {
    position: absolute;
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.35);
    background: var(--bg-primary);
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 2;
}

.vs-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    padding: 10px;
}

.vs-half-them .vs-icon {
    background: rgba(255, 51, 102, 0.08);
    border: 1px solid rgba(255, 51, 102, 0.2);
}

.vs-half-us .vs-icon {
    background: rgba(0, 242, 254, 0.08);
    border: 1px solid rgba(0, 242, 254, 0.2);
}

.vs-icon svg {
    width: 100%;
    height: 100%;
}

.vs-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.vs-label {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: inherit;
}

.vs-sublabel {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.4;
}

.visual-title {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 4px;
}

.visual-subtitle {
    font-size: 13px;
    color: var(--text-secondary);
}

/* Chart Container */
.chart-container {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 24px;
}

/* Stats Row */
.stat-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.stat-item {
    text-align: center;
    padding: 16px 8px;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.stat-value {
    display: block;
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 4px;
}

.stat-value.text-danger {
    color: var(--accent-danger);
}

.stat-value.text-cyan {
    color: var(--accent-cyan);
}

.stat-label {
    font-size: 11px;
    color: var(--text-secondary);
    letter-spacing: 0.3px;
}

/* ===== FLOWCHART (Vertical) ===== */
.flowchart-vertical {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin-bottom: 24px;
}

.flow-node {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 16px;
    border: 1px solid rgba(0, 242, 254, 0.1);
    transition: all 0.3s ease;
}

.flow-node:hover {
    border-color: rgba(0, 242, 254, 0.35);
    box-shadow: 0 0 20px rgba(0, 242, 254, 0.1);
}

.flow-node-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(0, 242, 254, 0.06);
    border: 1px solid rgba(0, 242, 254, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.flow-node-icon svg {
    width: 24px;
    height: 24px;
    filter: drop-shadow(0 0 6px rgba(0, 242, 254, 0.5));
}

.flow-node-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.flow-node-text strong {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.flow-node-text span {
    font-size: 12px;
    color: var(--text-secondary);
}

/* Connector with traveling pulse */
.flow-connector {
    display: flex;
    justify-content: center;
    padding: 0 0 0 44px;
    height: 32px;
    position: relative;
}

.connector-line {
    width: 2px;
    height: 100%;
    background: rgba(0, 242, 254, 0.15);
    position: relative;
}

.connector-pulse {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-cyan);
    box-shadow: 0 0 12px var(--accent-cyan), 0 0 24px rgba(0, 242, 254, 0.4);
    left: 50%;
    transform: translateX(-50%);
    animation: travelPulse 2s ease-in-out infinite;
}

@keyframes travelPulse {
    0% {
        top: 0;
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    80% {
        opacity: 1;
    }

    100% {
        top: 100%;
        opacity: 0;
    }
}

.flow-result {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: rgba(0, 229, 160, 0.06);
    border: 1px solid rgba(0, 229, 160, 0.2);
    border-radius: 14px;
    font-size: 14px;
    color: var(--accent-mint);
}

.flow-result strong {
    color: var(--text-primary);
}

/* ===== REEFER VISUALS ===== */
.reefer-visuals {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.thermo-container {
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 24px;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 20px;
    border: 1px solid rgba(0, 242, 254, 0.08);
}

.thermo-icon {
    position: relative;
    width: 64px;
    flex-shrink: 0;
}

.thermo-icon svg {
    width: 64px;
    height: 120px;
    filter: drop-shadow(0 0 8px rgba(0, 242, 254, 0.3));
}

.thermo-fill {
    animation: thermoRise 2s ease-out forwards;
    transform-origin: bottom center;
}

@keyframes thermoRise {
    0% {
        transform: scaleY(0.1);
        opacity: 0.3;
    }

    100% {
        transform: scaleY(1);
        opacity: 1;
    }
}

.thermo-glow {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 242, 254, 0.2) 0%, transparent 70%);
    animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {

    0%,
    100% {
        transform: translateX(-50%) scale(1);
        opacity: 0.5;
    }

    50% {
        transform: translateX(-50%) scale(1.3);
        opacity: 0.8;
    }
}

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

.thermo-stat {
    display: flex;
    flex-direction: column;
}

.thermo-stat-val {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
}

.thermo-stat-val.text-cyan {
    color: var(--accent-cyan);
}

.thermo-stat-val.text-danger {
    color: var(--accent-danger);
}

.thermo-stat-lbl {
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 4px;
}

/* Donut Section */
.donut-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.donut-wrap {
    position: relative;
    width: 200px;
    height: 200px;
}

.donut-wrap canvas {
    width: 100% !important;
    height: 100% !important;
}

.donut-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    pointer-events: none;
}

.donut-center-val {
    display: block;
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 700;
    color: var(--accent-cyan);
    line-height: 1;
}

.donut-center-lbl {
    font-size: 11px;
    color: var(--text-secondary);
    margin-top: 4px;
}

.donut-caption {
    font-size: 13px;
    color: var(--text-secondary);
    text-align: center;
}

.donut-caption strong {
    color: var(--text-primary);
}

/* ===== FOOTER ===== */
.footer {
    padding: 40px 32px;
    text-align: center;
    color: rgba(255, 255, 255, 0.2);
    font-size: 13px;
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

/* ===== ROADMAP SECTION ===== */
.roadmap-section {
    position: relative;
    background: transparent;
    padding: 140px 0 160px;
    overflow: hidden;
}

.roadmap-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px;
}

/* --- Roadmap Header --- */
.roadmap-header {
    text-align: center;
    margin-bottom: 100px;
}

.roadmap-tag {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--accent-cyan);
    border: 1px solid rgba(0, 242, 254, 0.3);
    padding: 6px 20px;
    border-radius: 100px;
    margin-bottom: 24px;
    text-transform: uppercase;
}

.roadmap-headline {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.roadmap-sub {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
    font-family: var(--font-body);
}

/* --- Timeline Wrapper --- */
.roadmap-timeline {
    position: relative;
    min-height: 1000px;
}

.roadmap-svg {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.roadmap-svg-mobile {
    display: none;
}

/* --- Roadmap Nodes Container --- */
.roadmap-nodes {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 80px;
    padding-top: 40px;
}

/* --- Individual Node --- */
.roadmap-node {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    width: 48%;
    opacity: 0.2;
    transform: scale(0.92);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.roadmap-node.node-left {
    align-self: flex-start;
    flex-direction: row;
}

.roadmap-node.node-right {
    align-self: flex-end;
    flex-direction: row-reverse;
    text-align: right;
}

.roadmap-node.node-right .node-status {
    justify-content: flex-end;
}

.roadmap-node.is-visible {
    opacity: 1;
    transform: scale(1);
}

.roadmap-node.is-visible .node-card {
    border-color: rgba(0, 242, 254, 0.5);
    box-shadow:
        0 0 20px rgba(0, 242, 254, 0.1),
        0 0 60px rgba(0, 242, 254, 0.05),
        inset 0 0 20px rgba(0, 242, 254, 0.03);
}

/* --- Node Number --- */
.node-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
    color: rgba(0, 242, 254, 0.1);
    min-width: 60px;
    padding-top: 16px;
    transition: color 0.5s ease;
}

.roadmap-node.is-visible .node-number {
    color: rgba(0, 242, 254, 0.35);
}

/* --- Node Card (Glassmorphic) --- */
.node-card {
    padding: 32px;
    border-radius: var(--radius-card);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: border-color 0.5s ease, box-shadow 0.5s ease;
    flex: 1;
}

/* --- Node Phase Tag --- */
.node-phase-tag {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 2px;
    padding: 4px 14px;
    border-radius: 100px;
    margin-bottom: 14px;
    text-transform: uppercase;
}

.tag-mint {
    color: var(--accent-mint);
    border: 1px solid rgba(0, 229, 160, 0.4);
}

/* --- Node Title --- */
.node-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    line-height: 1.2;
}

/* --- Node Body --- */
.node-body {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    font-family: var(--font-body);
    margin-bottom: 16px;
}

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

/* --- Node Status --- */
.node-status {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.status-dot.active {
    background: var(--accent-cyan);
    box-shadow: 0 0 10px var(--accent-cyan);
    animation: statusPulse 2s ease-in-out infinite;
}

.status-dot.upcoming {
    background: var(--accent-mint);
    opacity: 0.6;
}

.status-dot.future {
    background: var(--accent-blue);
    opacity: 0.4;
}

@keyframes statusPulse {

    0%,
    100% {
        opacity: 1;
        box-shadow: 0 0 10px var(--accent-cyan);
    }

    50% {
        opacity: 0.5;
        box-shadow: 0 0 4px var(--accent-cyan);
    }
}

.status-text {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
}

/* ============================
   RESPONSIVE
   ============================ */
@media (max-width: 1024px) {
    .scrolly-split {
        grid-template-columns: 1fr;
    }

    /* Hide progress track on mobile — it crosses the text */
    .progress-track {
        display: none;
    }

    .scrolly-visuals {
        position: relative;
        height: auto !important;
        top: auto !important;
        padding: 40px 24px;
    }

    .visuals-stage {
        position: relative !important;
        top: auto !important;
        height: auto !important;
        display: flex;
        flex-direction: column;
        gap: 32px;
        padding: 0;
    }

    .visual-panel {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        height: auto !important;
        min-height: 280px;
        opacity: 1 !important;
        transform: none !important;
        visibility: visible !important;
        pointer-events: auto !important;
        display: flex !important;
    }

    .visual-card {
        width: 100%;
    }

    .scrolly-narrative {
        padding: 0 24px;
    }

    .narrative-slide {
        min-height: auto;
        padding: 60px 0;
    }

    .header {
        padding: 16px 20px;
    }

    .logo-mark {
        width: 60px;
        height: 60px;
    }

    .nav-links {
        display: none;
    }

    .roadmap-node {
        width: 60%;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 120px 20px 60px;
    }

    .input-row {
        flex-direction: column;
    }

    .pill-group {
        gap: 8px;
    }

    .pill-text {
        padding: 8px 16px;
        font-size: 12px;
    }

    .waitlist-card {
        padding: 28px 20px;
    }

    .feature-pills {
        gap: 10px;
    }

    .feature-pill {
        font-size: 12px;
        padding: 10px 18px;
    }

    /* Roadmap Mobile */
    .roadmap-container {
        padding: 0 20px;
    }

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

    .roadmap-svg-desktop {
        display: none;
    }

    .roadmap-svg-mobile {
        display: block;
        left: 0;
        transform: none;
        width: 80px;
    }

    .roadmap-nodes {
        padding-left: 80px;
        gap: 48px;
    }

    .roadmap-node {
        width: 100%;
        flex-direction: row !important;
        align-self: flex-start !important;
        text-align: left !important;
    }

    .roadmap-node.node-right .node-status {
        justify-content: flex-start;
    }

    .node-number {
        font-size: 2rem;
        min-width: 40px;
    }

    .node-card {
        padding: 24px;
    }

    .node-title {
        font-size: 1.25rem;
    }
}