:root {
    /* Colors */
    --bg-color: #ffffff;
    --text-main: #0f172a;
    /* Slate 900 */
    --text-sub: #475569;
    /* Slate 600 */
    --text-light: #94a3b8;
    /* Slate 400 */
    --accent-primary: #111111;
    --accent-glow: #a855f7;
    --danger-red: #ef4444;
    --border-light: #e2e8f0;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #a855f7, #ec4899);

    /* Effects */
    --glass-bg: rgba(255, 255, 255, 0.75);
    --glass-border: rgba(255, 255, 255, 0.8);
    --blur-strength: 12px;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* --- Hero Section (Restored Logic + Premium Skin) --- */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    overflow: hidden;
    /* Ensure orbits don't scroll nicely */
}

/* Orbits - Restored Structure */
.orbit-container {
    position: absolute;
    z-index: -1;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
}

.orbit {
    position: absolute;
    border: 1px solid rgba(0, 0, 0, 0.04);
    /* Subtle premium border */
    border-radius: 50%;
}

.circle-1 {
    width: 400px;
    height: 400px;
}

.circle-2 {
    width: 700px;
    height: 700px;
}

/* .circle-3 if needed */

/* Animation Logic - Restored & Enhanced */
.orbit-track {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    pointer-events: none;
}

.track-1 {
    width: 400px;
    height: 400px;
    animation: orbit-rotate 40s linear infinite;
}

.track-2 {
    width: 700px;
    height: 700px;
    animation: orbit-rotate 60s linear infinite reverse;
}

/* --- Orbital System (Tangential / Engineered) --- */
.orbital-system {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 0;
    overflow: visible;
}

.orbit-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(0, 0, 0, 0.04);
    /* Very subtle base */
    border-radius: 50%;
}

/* active-arc: The "Darker Line" revolving */
.active-arc {
    position: absolute;
    top: -1.5px;
    left: -1.5px;
    right: -1.5px;
    bottom: -1.5px;
    border-radius: 50%;
    border: 2px solid transparent;
    pointer-events: none;
    /* Use Conic Gradient for "Tail" effect */
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    -webkit-mask-composite: xor;
}

/* Dark Slate Gradient Trails (Architectural) */
.arc-purple,
.arc-green,
.arc-orange {
    border: none;
    /* Reset border */
}

/* We simulate the arc using pseudo-elements for perfect control */
.active-arc::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    padding: 2px;
    /* Width of line */
    background: conic-gradient(from 0deg, transparent 20%, #1e293b 100%);
    /* Dark Slate Fade */
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

/* Ring Sizes & Speeds */
.ring-1 {
    width: 580px;
    height: 580px;
    opacity: 0.3;
}

/* Ring 2: Clockwise */
.ring-2 {
    width: 880px;
    height: 880px;
    animation: spin-linear 140s linear infinite;
}

/* Ring 3: Counter-Clockwise */
.ring-3 {
    width: 1280px;
    height: 1280px;
    animation: spin-linear-reverse 180s linear infinite;
}

/* Precision Mounting */
.orbit-mount {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: rotate(var(--mount-angle));
    pointer-events: none;
}

/* Tangential Card (Ferris Wheel Physics) 
   - Position: On the rail (top: -24px center)
   - Rotation: Counter-rotates to stay perfectly horizontal 
*/
.orbit-element {
    position: absolute;
    top: -24px;
    /* Center exactly on line and neutralize mount angle so child stays horizontal */
    left: 50%;
    transform: translateX(-50%) rotate(calc(-1 * var(--mount-angle, 0deg)));
    /* No visual styling here — visual pill moved to .orbit-inner so it can be animated together */
}

/* Inner wrapper handles the counter-rotation animation so outer element can neutralize mount-angle */
.orbit-inner {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    /* Visual pill moved here so background and text rotate in sync */
    background: #ffffff;
    padding: 12px 20px;
    border-radius: 100px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 1px 4px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.06);
    font-size: 0.95rem;
    font-weight: 700;
    color: #1e293b;
    white-space: nowrap;
}

/* 
   Counter-Rotation Logic:
   Ring 2 spins Clockwise (CW). Card must spin Counter-Clockwise (CCW).
   Ring 3 spins Counter-Clockwise (CCW). Card must spin Clockwise (CW).
   Durations MUST match exactly (140s / 180s).
*/
.ring-2 .orbit-inner {
    animation: items-counter-spin-CCW 140s linear infinite;
    transform-origin: center 24px;
}

.ring-3 .orbit-inner {
    animation: items-counter-spin-CW 180s linear infinite;
    transform-origin: center 24px;
}

/* Status markers - keep color for functional meaning */
.status-marker {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.purple {
    background: #a855f7;
    box-shadow: 0 0 0 2px rgba(168, 85, 247, 0.2);
}

.green {
    background: #10b981;
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
}

.orange {
    background: #f97316;
    box-shadow: 0 0 0 2px rgba(249, 115, 22, 0.2);
}

.icon {
    font-size: 1.1rem;
    opacity: 0.8;
}


/* Animations */
@keyframes spin-linear {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes spin-linear-reverse {
    from {
        transform: translate(-50%, -50%) rotate(360deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(0deg);
    }
}

/* Counter Spins need to account for the translateX(-50%) native state */
@keyframes items-counter-spin-CCW {
    from { transform: rotate(0deg); }
    to { transform: rotate(-360deg); }
}

@keyframes items-counter-spin-CW {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .ring-1 {
        width: 320px;
        height: 320px;
    }

    .ring-2 {
        width: 500px;
        height: 500px;
    }

    .ring-3 {
        width: 750px;
        height: 750px;
    }

    .orbit-element {
        transform: translateX(-50%) scale(0.85);
        padding: 10px 16px;
        top: -20px;
    }
}

/* --- Content Styling --- */
.content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.main-title {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--text-main);
}

.highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    font-size: 1.25rem;
    color: var(--text-sub);
    max-width: 600px;
    margin: 0 auto 48px;
    font-weight: 400;
}

/* --- Form Styles --- */
.cta-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.signup-form {
    display: flex;
    gap: 8px;
    background: rgba(255, 255, 255, 0.8);
    padding: 6px;
    border-radius: 100px;
    box-shadow: var(--shadow-small), 0 0 0 1px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.signup-form:focus-within {
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.1), 0 0 0 2px rgba(168, 85, 247, 0.2);
    transform: translateY(-2px);
}

#email-input {
    padding: 16px 24px;
    border-radius: 100px;
    border: none;
    background: transparent;
    width: 300px;
    font-size: 1rem;
    color: var(--text-main);
    outline: none;
}

#email-input::placeholder {
    color: var(--text-light);
}

#submit-btn {
    padding: 16px 32px;
    border-radius: 100px;
    background: var(--accent-primary);
    color: #fff;
    border: none;
    font-weight: 600;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
}

#submit-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.micro-text {
    font-size: 0.875rem;
    color: var(--text-light);
    font-weight: 500;
    margin-top: 12px;
}


/* --- SECTIONS (Premium Style) --- */

.section {
    padding: 160px 0;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 80px;
    text-align: center;
    color: var(--text-main);
}

.text-red {
    color: var(--danger-red);
    position: relative;
    display: inline-block;
}

.text-red::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(239, 68, 68, 0.2);
    z-index: -1;
    transform: skewX(-10deg);
}

/* --- STORY SECTION (Scroll Driven V2 Cinematic) --- */
.story-section {
    position: relative;
    height: 400vh;
    /* Lengthened for pacing */
    background: #111;
    /* Dark base fallback */
    /* overflow: hidden; REMOVED FOR STICKY FIX */
    z-index: 20;
}

/* --- Global Atmosphere Layers --- */
.story-bg-layer {
    position: absolute;
    /* Changed from fixed to absolute */
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    pointer-events: none;
    z-index: 1;
    transition: opacity 0.8s ease;
}

.bg-gradient {
    background: linear-gradient(180deg, #1e1e24 0%, #121212 100%);
    z-index: 1;
}

.bg-noise {
    z-index: 2;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

.bg-bloom {
    z-index: 3;
    opacity: 0;
    background: radial-gradient(circle at 50% 50%, rgba(168, 85, 247, 0.15), transparent 60%);
    transition: opacity 1s ease, transform 2s ease;
}

.bg-fog {
    z-index: 4;
    opacity: 0;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='fogFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.01' numOctaves='5' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23fogFilter)' opacity='0.4'/%3E%3C/svg%3E");
    mask-image: radial-gradient(circle, transparent 30%, black 100%);
    /* Vignette style fog */
    -webkit-mask-image: radial-gradient(circle, transparent 30%, black 100%);
    filter: blur(20px);
}

.bg-grid {
    z-index: 2;
    background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.05;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

/* --- Vertical Indicator --- */
.story-indicator {
    position: fixed;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0;
    /* Hidden initially, show via JS */
    transition: opacity 0.5s;
}

.ind-dot {
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: all 0.3s;
    position: relative;
}

.ind-dot.active {
    background: #fff;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    transform: scale(1.5);
}

/* Tooltip label */
.ind-dot::after {
    content: attr(data-label);
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.7rem;
    color: #fff;
    opacity: 0;
    white-space: nowrap;
    letter-spacing: 1px;
    transition: opacity 0.3s;
}

.ind-dot.active::after {
    opacity: 1;
}

.ind-line {
    width: 1px;
    height: 30px;
    background: rgba(255, 255, 255, 0.1);
}

/* --- Sticky Wrapper & Scene Base --- */
/* --- Sticky Wrapper & Scene Base --- */
.sticky-wrapper {
    position: sticky;
    /* Critical for scroll logic */
    top: 0;
    height: 100vh;
    width: 100%;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    /* Ensure content doesn't bleed out of the sticky frame */
}

.story-scene {
    position: absolute;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    /* Ensure vertical stacking for centered content */
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease, transform 0.4s ease;
    /* Faster transition */
    padding: 20px;
    will-change: opacity, transform;
    z-index: 10;
    /* Ensure content is above background layers */
}

.story-scene.active {
    opacity: 1;
    pointer-events: auto;
}

/* Scene content container */
.scene-content {
    max-width: 900px;
    width: 100%;
    padding: 2rem;
}

.center-content {
    text-align: center;
}

/* Force text visibility with premium styling */
.story-heading {
    color: #ffffff !important;
    font-size: clamp(2.5rem, 6vw, 5rem) !important;
    font-weight: 900 !important;
    letter-spacing: -0.04em !important;
    line-height: 1.1 !important;
    margin-bottom: 2rem !important;
    background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    /* Remove for gradient */
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.5));
}

.story-subtext {
    color: #cbd5e1 !important;
    font-size: clamp(1.1rem, 2vw, 1.5rem) !important;
    line-height: 1.8 !important;
    margin-bottom: 1.5rem !important;
    font-weight: 400 !important;
    opacity: 0.9;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.8);
}

/* --- Scene 1: Premium Blur Reveal Effect --- */
.scene-1 .story-heading {
    opacity: 0;
    filter: blur(20px);
    transform: scale(1.1);
}

.scene-1.active .story-heading {
    animation: blurReveal 1.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.scene-1 .story-subtext {
    opacity: 0;
    filter: blur(15px);
}

.scene-1.active .story-subtext:nth-of-type(1) {
    animation: blurReveal 1.5s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}

.scene-1.active .story-subtext:nth-of-type(2) {
    animation: blurReveal 1.5s cubic-bezier(0.16, 1, 0.3, 1) 0.5s forwards;
}

/* Scene 1 Check items - Enhanced blur reveal */
.scene-1 .check-item-v2 {
    opacity: 0;
    filter: blur(12px);
    transform: translateY(30px) scale(0.9);
}

.scene-1 .check-item-v2.visible {
    animation: blurRevealCheck 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Blur Reveal Keyframes */
@keyframes blurReveal {
    0% {
        opacity: 0;
        filter: blur(20px);
        transform: scale(1.05) translateY(10px);
    }

    50% {
        opacity: 0.5;
        filter: blur(8px);
    }

    100% {
        opacity: 1;
        filter: blur(0px);
        transform: scale(1) translateY(0);
    }
}

@keyframes blurRevealCheck {
    0% {
        opacity: 0;
        filter: blur(12px);
        transform: translateY(30px) scale(0.9);
    }

    40% {
        filter: blur(6px);
    }

    70% {
        transform: translateY(-3px) scale(1.02);
    }

    100% {
        opacity: 1;
        filter: blur(0px);
        transform: translateY(0) scale(1);
    }
}

.check-item-v2 {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    color: #cbd5e1;
    margin: 1.5rem 0;
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.check-item-v2::before {
    content: "✓";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(5, 150, 105, 0.3));
    border: 2px solid rgba(16, 185, 129, 0.5);
    border-radius: 50%;
    color: #10b981;
    font-weight: 700;
    font-size: 0.9rem;
}

.check-item-v2.visible {
    animation: materialize 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes materialize {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.9);
        filter: blur(8px);
    }

    60% {
        transform: translateY(-5px) scale(1.02);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

/* --- Scene 2: Tension Builds --- */
.offset-content {
    max-width: 600px;
    margin-left: 10vw;
    /* Offset look */
    text-align: left;
}

.friction-group-v2 {
    margin-top: 40px;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    padding-left: 30px;
}

.friction-item-v2 {
    font-size: 1.25rem;
    color: #94a3b8;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateX(-30px);
}

.friction-item-v2.visible {
    animation: diagSlide 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.compress-trigger.visible {
    animation: diagSlide 0.6s forwards, subtleCompress 2s infinite ease-in-out 1s;
    color: var(--danger-red);
}

@keyframes diagSlide {
    from {
        opacity: 0;
        transform: translate(-30px, 20px);
    }

    to {
        opacity: 1;
        transform: translate(0, 0);
    }
}

@keyframes subtleCompress {

    0%,
    100% {
        letter-spacing: normal;
        opacity: 1;
    }

    50% {
        letter-spacing: -0.5px;
        opacity: 0.8;
    }
}

/* --- Scene 3: Confusion (Parallax Chaos) --- */
.parallax-container {
    perspective: 1000px;
    width: 100%;
    height: 100%;
    position: relative;
    max-width: 1200px;
}

.floating-panel {
    position: absolute;
    background: rgba(30, 41, 59, 0.7);
    /* Dark slate glass */
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #e2e8f0;
    padding: 24px 40px;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: 500;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    opacity: 0;
}

/* Initial styling, updated via JS transform for parallax */
.panel-1 {
    top: 20%;
    left: 15%;
    z-index: 1;
}

.panel-2 {
    top: 35%;
    right: 15%;
    z-index: 2;
    background: rgba(30, 41, 59, 0.85);
}

.panel-3 {
    bottom: 25%;
    left: 25%;
    z-index: 3;
    filter: blur(1px);
}

.panel-4 {
    bottom: 35%;
    right: 25%;
    z-index: 0;
    filter: blur(2px);
    opacity: 0.6;
}

.scene-3.active .floating-panel {
    opacity: 1;
    transition: opacity 1s ease;
}

/* --- Scene 4: Break (Hard Focus) --- */
.hard-focus {
    z-index: 10;
    position: relative;
    text-shadow: 0 0 40px rgba(255, 255, 255, 0.4);
    /* Bloom effect for high contrast */
}

.story-big-statement {
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    font-size: clamp(3rem, 8vw, 7rem);
    color: #fff;
    letter-spacing: -0.05em;
    line-height: 0.95;
    opacity: 0;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    text-shadow: 0 4px 40px rgba(0, 0, 0, 0.8);
}

.story-big-statement.visible {
    animation: dramaticEntry 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes dramaticEntry {
    0% {
        opacity: 0;
        transform: scale(0.85) translateY(40px);
    }

    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.delayed-snap.visible {
    animation: snapIn 0.15s cubic-bezier(1, 0, 0, 1) forwards;
    animation-delay: 0.5s;
    color: var(--danger-red);
    text-shadow: 0 0 60px rgba(239, 68, 68, 0.8), 0 0 30px rgba(239, 68, 68, 0.5);
}

@keyframes fadeInQuick {
    to {
        opacity: 1;
    }
}

@keyframes snapIn {
    to {
        opacity: 1;
    }
}

/* --- Scene 5: Resolution --- */
.grounded-content {
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    padding: 60px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.checklist-group-final-v2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 40px 0;
    text-align: left;
}

.check-item-final {
    color: #f1f5f9;
    padding: 1.25rem 1.5rem;
    border-left: 3px solid rgba(168, 85, 247, 0.3);
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    opacity: 0;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.check-item-final:hover {
    background: rgba(255, 255, 255, 0.05);
    border-left-color: rgba(168, 85, 247, 0.6);
    transform: translateX(4px);
}

.check-item-final.visible {
    animation: snapPlace 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes snapPlace {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.9) rotateX(-10deg);
    }

    60% {
        transform: translateY(-5px) scale(1.02);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1) rotateX(0);
    }
}

/* --- Content Styling Adjustments for Dark Mode --- */
.story-section .story-heading {
    color: #ffffff;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    /* Lift off background */
}

.story-section .story-subtext {
    color: #cbd5e1;
    /* Slate 300 - Light gray */
    font-size: 1.3rem;
    font-weight: 400;
}

/* Scene 2 Specifics */
.friction-item-v2 {
    font-size: 1.25rem;
    color: #94a3b8;
    /* Slate 400 - Readable on dark */
    margin-bottom: 20px;
    opacity: 0;
    transform: translateX(-30px);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.friction-item-v2.visible {
    animation: diagSlide 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* Scene 5 Specifics */
.story-footer-v2 {
    margin-top: 40px;
    font-size: 1rem;
    color: #94a3b8;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* --- Media Queries --- */
@media (max-width: 768px) {

    .card-4 {
        bottom: 10%;
        right: 5%;
    }
}

/* Outcome Cards */
.outcome-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.outcome-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: 48px 40px;
    border-radius: 24px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.outcome-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(0, 0, 0, 0.1);
}

.outcome-card h3 {
    font-size: 1.25rem;
    margin-bottom: 16px;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.outcome-card p {
    color: var(--text-sub);
    font-size: 1rem;
}

.trust-line {
    text-align: center;
    margin-top: 80px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-light);
}

/* ================================================
   CONTROL SECTION - "AXONIC gives control where it matters"
   ================================================ */

.control-section {
    position: relative;
    padding: 120px 0;
    background: radial-gradient(circle at 50% 0%, #f7f7f5 0%, #f0f0ed 100%);
    overflow: hidden;
}

/* Subtle paper texture overlay */
.control-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='200' height='200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence baseFrequency='0.9' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 1;
}

.control-section .container {
    position: relative;
    z-index: 2;
}

/* ================================================
   OPENING STATEMENT
   ================================================ */

.opening-statement {
    text-align: center;
    margin-bottom: 80px;
    opacity: 0;
    animation: gentleFadeIn 600ms ease-out forwards;
}

.control-headline {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.3;
    color: #1e293b;
    margin-bottom: 24px;
}

.control-subline {
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.6;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

@keyframes gentleFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* ================================================
   OUTCOME CARDS GRID V2
   ================================================ */

.outcome-grid-v2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-bottom: 100px;
}

.outcome-card-v2 {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    padding: 40px 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: all 400ms cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(20px);
    position: relative;
    overflow: hidden;
}

/* Gradient overlay on hover */
.outcome-card-v2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.03), rgba(236, 72, 153, 0.03));
    opacity: 0;
    transition: opacity 400ms ease;
    pointer-events: none;
}

.outcome-card-v2:hover::before {
    opacity: 1;
}

/* Staggered fade-up animation */
.outcome-card-v2:nth-child(1) {
    animation: cardFadeUp 400ms ease-out 100ms forwards;
}

.outcome-card-v2:nth-child(2) {
    animation: cardFadeUp 400ms ease-out 200ms forwards;
}

.outcome-card-v2:nth-child(3) {
    animation: cardFadeUp 400ms ease-out 300ms forwards;
}

.outcome-card-v2:nth-child(4) {
    animation: cardFadeUp 400ms ease-out 400ms forwards;
}

@keyframes cardFadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Enhanced hover effect */
.outcome-card-v2:hover {
    transform: translateY(-4px) scale(1.02);
    border-color: rgba(168, 85, 247, 0.3);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(168, 85, 247, 0.1);
}

/* Card Icon */
.card-icon {
    font-size: 2rem;
    margin-bottom: 20px;
    line-height: 1;
    opacity: 0.9;
    transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
}

.outcome-card-v2:hover .card-icon {
    transform: scale(1.15) rotate(5deg);
}

/* Card Title */
.outcome-card-v2 h3 {
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: #0f172a;
    margin-bottom: 12px;
    line-height: 1.4;
}

/* Card Body */
.outcome-card-v2 p {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.7;
    color: #475569;
    margin: 0;
}

/* ================================================
   CLOSING TRUST LINE V2
   ================================================ */

.trust-line-v2 {
    text-align: center;
    font-size: 0.95rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #64748b;
    margin: 0;
    opacity: 0;
    animation: gentleFadeIn 400ms ease-out 600ms forwards;
}

/* ================================================
   CONTROL SECTION RESPONSIVE
   ================================================ */

@media (max-width: 768px) {
    .control-section {
        padding: 80px 0;
    }

    .opening-statement {
        margin-bottom: 60px;
    }

    .outcome-grid-v2 {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-bottom: 80px;
    }

    .outcome-card-v2 {
        padding: 32px 24px;
    }

    .control-headline {
        font-size: 1.75rem;
    }

    .control-subline {
        font-size: 1.1rem;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .outcome-grid-v2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ================================================
   QUALIFICATION SECTION - "Built specifically for"
   ================================================ */

.qualification-section {
    position: relative;
    padding: 140px 0;
    background: radial-gradient(circle at 50% 0%, #f7f7f5 0%, #f0f0ed 100%);
    overflow: hidden;
}

.qualification-section .container {
    position: relative;
    z-index: 2;
}

/* ================================================
   EDITORIAL DRIFT - Background Texture
   ================================================ */

.editorial-drift {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

.drift-track {
    display: flex;
    gap: 4rem;
    align-items: center;
    width: max-content;
    animation: editorialDrift 28s linear infinite;
    will-change: transform;
}

/* Drift animation - slow left to right */
@keyframes editorialDrift {
    from {
        transform: translate3d(0, 0, 0);
    }

    to {
        transform: translate3d(-50%, 0, 0);
    }
}

.drift-item {
    font-size: clamp(4rem, 10vw, 8rem);
    color: #8b8680;
    /* Warm gray */
    opacity: 0.35;
    white-space: nowrap;
    letter-spacing: 0.15em;
    font-family: 'Inter', sans-serif;
    line-height: 1;
}

/* Alternating weights for rhythm */
.drift-item.weight-bold {
    font-weight: 700;
}

.drift-item.weight-light {
    font-weight: 300;
}

/* Drift Separator Dots */
.drift-separator {
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: #8b8680;
    opacity: 0.35;
    line-height: 1;
    display: inline-flex;
    align-items: center;
}

/* Duplicate track for seamless loop */
.drift-track::after {
    content: '•        INTERIOR DESIGNERS        •        ARCHITECTURE STUDIOS        •        DESIGN FIRMS & AGENCIES        •        CLARITY-DRIVEN TEAMS        •';
    font-size: clamp(4rem, 10vw, 8rem);
    color: #8b8680;
    opacity: 0.35;
    letter-spacing: 0.15em;
    white-space: nowrap;
    font-weight: 700;
    margin-left: 4rem;
}

/* ================================================
   AUTHORITY CONTENT - Static Foreground
   ================================================ */

.authority-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 100px;
    opacity: 0;
    animation: authorityFadeIn 600ms ease-out forwards;
}

.authority-heading {
    font-size: clamp(2.25rem, 4.5vw, 3rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.25;
    color: #1e293b;
    margin-bottom: 20px;
}

.authority-subline {
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.6;
    color: #64748b;
    margin: 0;
    opacity: 0;
    animation: authorityFadeIn 600ms ease-out 200ms forwards;
}

@keyframes authorityFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* ================================================
   GROUNDING CLOSE
   ================================================ */

.grounding-close {
    text-align: center;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #64748b;
    margin: 0;
    opacity: 0;
    animation: authorityFadeIn 400ms ease-out 800ms forwards;
}

/* ================================================
   ACCESSIBILITY - Reduced Motion
   ================================================ */

@media (prefers-reduced-motion: reduce) {
    .drift-track {
        animation: none;
    }

    .editorial-drift {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 40px 20px;
    }

    .drift-track {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .drift-item {
        font-size: clamp(1.5rem, 4vw, 2.5rem);
        opacity: 0.5;
        font-weight: 500;
    }

    .drift-track::after {
        display: none;
    }
}

/* ================================================
   QUALIFICATION SECTION RESPONSIVE
   ================================================ */

@media (max-width: 768px) {
    .qualification-section {
        padding: 100px 0;
    }

    .authority-heading {
        font-size: 1.75rem;
    }

    .authority-subline {
        font-size: 1rem;
    }

    /* Slow down drift on mobile */
    .drift-track {
        animation-duration: 40s;
    }

    .drift-item {
        font-size: clamp(3rem, 12vw, 5rem);
        letter-spacing: 0.1em;
    }

    .drift-track::after {
        font-size: clamp(3rem, 12vw, 5rem);
    }
}

/* Mobile improvements: center and stack final checklist for better readability */
@media (max-width: 768px) {
    .grounded-content {
        padding: 20px;
        border-radius: 16px;
        margin: 0 12px;
    }

    .checklist-group-final-v2 {
        grid-template-columns: 1fr;
        gap: 12px;
        margin: 20px 0;
        text-align: center;
    }

    .check-item-final {
        font-size: 1rem;
        padding: 12px 14px;
        border-left: none;
        border-radius: 12px;
        background: rgba(255,255,255,0.04);
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .story-big-statement {
        font-size: clamp(2rem, 6vw, 3.5rem);
    }

    .scene-content {
        padding: 1rem;
    }
}


/* ================================================
   EARLY ACCESS SECTION - "Handoff Document"
   ================================================ */

.early-access-section {
    padding: 120px 0;
    background: #ffffff;
    /* Clean white finish */
    position: relative;
    border-top: 1px solid rgba(0, 0, 0, 0.04);
}

.access-card {
    max-width: 540px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

/* Icon */
.access-icon {
    color: #cbd5e1;
    /* Muted gray */
    margin-bottom: 24px;
    display: inline-block;
}

.sparkle-icon {
    animation: gentleSparkle 4s ease-in-out infinite;
}

@keyframes gentleSparkle {

    0%,
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.1) rotate(5deg);
        opacity: 1;
    }
}

/* Typography */
.access-heading {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.access-subtext {
    font-size: 1.1rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 32px;
}

/* Form Styles */
.early-access-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.access-input {
    width: 100%;
    padding: 16px 20px;
    font-size: 1rem;
    color: #1e293b;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    /* Refined radius */
    outline: none;
    transition: all 0.3s ease;
}

.access-input:focus {
    background: #fff;
    border-color: #a855f7;
    /* Brand purple */
    box-shadow: 0 0 0 4px rgba(168, 85, 247, 0.1);
}

.access-input::placeholder {
    color: #94a3b8;
}

/* CTA Button */
.access-button {
    width: 100%;
    padding: 18px;
    border: none;
    border-radius: 12px;
    background: #1e293b;
    /* Dark Slate */
    color: #fff;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(30, 41, 59, 0.2);
}

.access-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(30, 41, 59, 0.3);
    background: #0f172a;
}

/* Pulse Animation */
.pulse-idle {
    animation: buttonPulse 4s infinite cubic-bezier(0.66, 0, 0, 1);
}

@keyframes buttonPulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(168, 85, 247, 0);
    }

    50% {
        box-shadow: 0 0 0 8px rgba(168, 85, 247, 0.1);
    }
}

/* Note */
.access-note {
    font-size: 0.85rem;
    color: #94a3b8;
    margin-top: 8px;
}

/* Limited Availability */
.limited-spots {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #64748b;
    font-style: italic;
    margin-top: 16px;
    padding: 8px 16px;
    background: #f8fafc;
    border-radius: 20px;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    /* Green */
    border-radius: 50%;
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
    animation: flashGreen 2s infinite;
}

@keyframes flashGreen {

    0%,
    100% {
        opacity: 0.6;
    }

    50% {
        opacity: 1;
        box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1);
    }
}

.dark-section::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    max-width: 800px;
    margin: 0 auto;
}

.tag {
    padding: 16px 32px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: default;
}

.tag:hover {
    background: #fff;
    color: #000;
    transform: scale(1.05);
}

/* Final CTA */
.final-cta {
    background: #fff;
    text-align: center;
    padding-bottom: 120px;
}

.final-cta p {
    font-size: 1.25rem;
    color: var(--text-sub);
    max-width: 600px;
    margin: 0 auto 48px;
}

.button-large {
    display: inline-block;
    background: var(--accent-primary);
    color: #fff;
    padding: 24px 64px;
    font-size: 1.125rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 100px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-lg);
}

.button-large:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 25px 30px -10px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .signup-form {
        flex-direction: column;
        width: 100%;
        border-radius: 24px;
        padding: 16px;
    }

    #email-input {
        width: 100%;
        text-align: center;
    }

    #submit-btn {
        width: 100%;
    }

    .orbit-container {
        opacity: 0.6;
    }

    .circle-1 {
        width: 300px;
        height: 300px;
    }

    .circle-2 {
        width: 500px;
        height: 500px;
    }
}