/* HELM V31: FLIGHT DECK + IRIDESCENCE (REFINED) */
:root {
    /* FLIGHT DECK PALETTE */
    --bg-void: #121212;
    --color-rail: #3f3f46;
    --color-core: #f97316;
    --color-core-dim: rgba(249, 115, 22, 0.2);
    --font-ui: 'Inter', system-ui, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

body {
    margin: 0;
    background: var(--bg-void);
    color: #e2e8f0;
    font-family: var(--font-ui);
    overflow-x: hidden;
    overflow-y: scroll;
    height: 1200vh;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
}

/* --- COMMAND BAR (Top Sticky Nav) --- */
.command-bar {
    position: fixed;
    top: -80px;
    /* Hidden by default */
    left: 0;
    width: 100%;
    height: 64px;
    background: rgba(18, 18, 18, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 12vw;
    /* Increased to match page padding */
    transition: top 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
    /* Fix width overflow due to padding */
}

.command-bar.visible {
    top: 0;
}

.cmd-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cmd-status-dot {
    width: 6px;
    height: 6px;
    background: var(--color-core);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--color-core);
    animation: pulseStatus 2s infinite;
}

@keyframes pulseStatus {
    0% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.4;
        transform: scale(0.9);
    }

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

.cmd-title {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: #fff;
    letter-spacing: 0.1em;
    font-weight: 500;
    opacity: 0.9;
}

.cmd-right {
    display: flex;
    align-items: center;
}

.cmd-link {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--color-core);
    border: 1px solid var(--color-core-dim);
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    background: rgba(249, 115, 22, 0.05);
    font-weight: 500;
}

.cmd-link:hover {
    background: var(--color-core);
    color: #fff;
    box-shadow: 0 0 20px rgba(249, 115, 22, 0.3);
    border-color: var(--color-core);
}


.grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    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;
    pointer-events: none;
    z-index: 0;
}

#master {
    position: relative;
    width: 100%;
    height: auto;
    overflow: visible;
    will-change: transform;
}

.section {
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    scroll-snap-align: center;
    scroll-snap-stop: always;
    box-sizing: border-box;
    /* Ensure padding doesn't break width */
}

/* Allow auto height for content-heavy sections */
.section-auto {
    height: auto;
    padding-top: 120px;
    padding-bottom: 120px;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    z-index: 10;
    position: absolute;
    top: 45%;
    /* Moved slightly UP to center with dashboard below */
    left: 50.5%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 900px;
    padding: 0 24px;
    pointer-events: none;
}

/* Re-enable pointer events for text blocking */
.hero-content h1,
.hero-content p,
.hero-content .hero-tagline {
    pointer-events: auto;
}

h1 {
    font-size: 6rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    letter-spacing: -0.04em;
    line-height: 1;
    background: linear-gradient(180deg, #ffffff 0%, #a1a1aa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

h2 {
    font-size: 2.5rem;
    color: #fff;
    margin: 0;
    letter-spacing: -0.02em;
}

p {
    font-size: 1.1rem;
    color: #a1a1aa;
    line-height: 1.6;
    margin-top: 16px;
}


/* HERO TEXT */
.hero-tagline {
    font-family: var(--font-mono);
    color: var(--color-core);
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 24px;
    border: 1px solid var(--color-core-dim);
    padding: 6px 12px;
    border-radius: 4px;
    background: rgba(249, 115, 22, 0.05);
}

.hero-slogan {
    font-size: 1.5rem;
    color: #a1a1aa;
    font-weight: 400;
    max-width: 600px;
    line-height: 1.4;
    margin-top: 24px;
}


/* --- RAIL CONTAINER --- */
.spine-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
    -webkit-mask-image: linear-gradient(to bottom, transparent 10%, black 40%);
    mask-image: linear-gradient(to bottom, transparent 10%, black 40%);
}

.spine-rail {
    fill: none;
    stroke: var(--color-rail);
    stroke-width: 1.5px;
    vector-effect: non-scaling-stroke;
    stroke-linecap: square;
}

/* GHOST PATHS */
.ghost-path {
    fill: none;
    stroke: #ef4444;
    stroke-width: 1.5px;
    vector-effect: non-scaling-stroke;
    stroke-dasharray: 4 4;
    opacity: 0.4;
}

stroke-dasharray: 4 4;
opacity: 0.4;
}

.ghost-labels-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.html-ghost-label {
    position: absolute;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: #ef4444;
    opacity: 0.7;
    letter-spacing: 0.1em;
    font-weight: 500;
    white-space: nowrap;
    text-shadow: 0 0 10px rgba(239, 68, 68, 0.4);
}

/* ACTIVE STREAM + IRIDESCENCE */
.spine-active {
    fill: none;
    stroke: #fff;
    stroke-width: 2px;
    vector-effect: non-scaling-stroke;
    stroke-linecap: square;
    stroke-dasharray: 4 4;
    stroke-dashoffset: 1;
    stroke: var(--color-core);
}


/* --- PAYLOAD: FROSTED MATTE --- */
#payload {
    position: fixed;
    top: 80%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    z-index: 999;
    pointer-events: auto;
    /* Enable interaction */
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: rgba(30, 30, 35, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    border-bottom: 1px solid rgba(0, 0, 0, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

#payload i {
    position: absolute;
    font-size: 26px;
    color: var(--color-core);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0;
    transform: scale(0.8) translateY(10px);
}

#payload i.active {
    opacity: 1;
    transform: scale(1) translateY(0);
}


/* LAYOUTS & MOCKS */
/* LAYOUTS & MOCKS */
.layout-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    width: 100%;
    max-width: 100%;
    gap: 160px;
    padding-inline: 0;
    opacity: 0.2;
    filter: blur(4px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    margin: 0 auto;
}

.section.active .layout-grid {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
}

.col-text {
    z-index: 2;
    text-align: right;
    padding-right: 0;
    padding-left: 8rem;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.col-ui {
    z-index: 2;
    display: flex;
    justify-content: flex-start;
    padding-left: 0;
    padding-right: 8rem;
}

.layout-reverse {
    direction: rtl;
}

.layout-reverse .col-text {
    text-align: left;
    padding-right: 8rem;
    padding-left: 0;
    align-items: flex-start;
    direction: ltr;
}

/* LEVERAGE CONTAINER (Unified Dashboard Panel) - REMOVED DUPLICATE */


.layout-reverse .col-ui {
    justify-content: flex-end;
    padding-left: 8rem;
    padding-right: 0;
    direction: ltr;
}

.glass-module {
    background: rgba(30, 30, 35, 0.4);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
    border-radius: 4px;
    width: 450px;
    height: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transition: border-color 0.5s ease, box-shadow 0.5s ease;
}

.glass-module.glow-active {
    border-color: var(--color-core);
    box-shadow: 0 0 30px rgba(249, 115, 22, 0.4), inset 0 0 20px rgba(249, 115, 22, 0.1);
}

.col-ui .glass-module {
    margin-left: 0;
}

.layout-reverse .col-ui .glass-module {
    margin-left: 0;
    margin-right: 0 !important;
}

.glass-module::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 20px;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    animation: scanSurface 6s infinite ease-in-out;
    pointer-events: none;
}

@keyframes scanSurface {
    0% {
        left: -100%;
    }

    20% {
        left: 200%;
    }

    100% {
        left: 200%;
    }
}

/* CLEAN VIDEO CARD (Cropped & Thick Glass) */
.clean-video-card {
    width: 320px;
    max-width: 100%;
    height: auto;

    padding: 0;
    margin: 0;
    margin-inline-start: 180px;
    /* Moved further away from the line */

    /* THICK GLASS EFFECT */
    background: rgba(30, 30, 35, 0.6);
    /* Denser background */
    backdrop-filter: blur(24px);
    /* Heavier blur */
    -webkit-backdrop-filter: blur(24px);
    border: 2px solid rgba(255, 255, 255, 0.1);
    /* Thicker border */
    border-radius: 24px;

    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);

    /* Depth */
    box-shadow:
        0 20px 50px -10px rgba(0, 0, 0, 0.7),
        inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    /* Inner rim */

    align-self: center;
}

/* Reverse Layout specific: Push away from center (Right margin instead of Left) */
.layout-reverse .clean-video-card {
    margin-inline-start: 0;
    margin-right: 180px;
}

.clean-video {
    display: block;
    width: 100%;
    height: auto;
    opacity: 0.95;
    transition: opacity 0.5s ease;

    /* CROPPING TUNED: More off top (-18%), same off bottom */
    margin-top: -18%;
    margin-bottom: -15%;
}

/* Hide Tags as requested */
.clean-video-card .video-tag {
    display: none;
}

/* Hover Effects */
.clean-video-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.8);
    border-color: rgba(255, 255, 255, 0.2);
}

.clean-video-card:hover .clean-video {
    opacity: 1;
}

transform: translateY(-5px);
box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
border-color: rgba(255, 255, 255, 0.25);
/* Slight brighten */
}

.clean-video-card:hover .clean-video {
    opacity: 1;
}

/* Hover: Lift and Brighten, NO ORANGE BORDER */
.video-module:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    border-color: rgba(255, 255, 255, 0.2);
    /* Brighter white edge, not orange */
}

.video-module:hover .mock-video {
    opacity: 1;
}

/* Override any shared glow-active orange border */
.video-module.glow-active {
    border-color: rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6) !important;
}

font-family: var(--font-mono);
font-size: 0.7rem;
color: #71717a;
border: 1px solid #27272a;
padding: 4px 8px;
border-radius: 2px;
text-transform: uppercase;
letter-spacing: 0.1em;
margin-bottom: 12px;
background: #18181b;
}

/* UI MOCKS */
.ui-mock-capture {
    width: 100px;
    height: 180px;
    border: 1px solid #3f3f46;
    border-radius: 8px;
    background: #18181b;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding-bottom: 20px;
}

.mobile-frame {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding-bottom: 20px;
}

.action-btn {
    width: 32px;
    height: 32px;
    background: var(--color-core);
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
}

.ui-mock-filter {
    width: 80%;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-card {
    height: 50px;
    background: #27272a;
    border: 1px solid #3f3f46;
    border-radius: 4px;
    display: flex;
    align-items: center;
    padding-left: 12px;
}

.tag-row {
    display: flex;
    gap: 6px;
}

.tag-core {
    width: 60px;
    height: 8px;
    background: var(--color-core);
    border-radius: 2px;
}

.tag-dim {
    width: 40px;
    height: 8px;
    background: #3f3f46;
    border-radius: 2px;
}

.ui-mock-ai-split {
    display: flex;
    width: 90%;
    height: 120px;
    gap: 1px;
    background: #3f3f46;
}

.split-l {
    width: 30%;
    background: #18181b;
}

.split-r {
    width: 70%;
    background: #27272a;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.typing-line {
    width: 60%;
    height: 2px;
    background: var(--color-core);
    opacity: 0.5;
    animation: pulseType 1s infinite alternate;
}

.ui-mock-folder {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.folder-icon {
    width: 50px;
    height: 40px;
    border: 1px solid #52525b;
    border-radius: 2px;
    position: relative;
    background: #27272a;
}

.folder-icon::after {
    content: '';
    position: absolute;
    top: -4px;
    left: 0;
    width: 20px;
    height: 4px;
    background: #52525b;
    border-radius: 2px 2px 0 0;
}

.col-text {
    z-index: 2;
    text-align: left;
    padding-right: 4rem;
    padding-left: 12vw;
    /* Increased from 2rem for safer edge */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.col-ui {
    z-index: 2;
    display: flex;
    justify-content: flex-end;
    padding-left: 0;
    padding-right: 12vw;
    /* Balanced reduction */
}

.layout-reverse {
    direction: rtl;
}

.layout-reverse .col-text {
    text-align: right;
    padding-right: 12vw;
    /* Added padding to prevent right edge overflow */
    padding-left: 4rem;
    align-items: flex-end;
    direction: ltr;
    max-width: 700px;
    /* Allow wider text block */
}

/* Ensure Reverse UI has Left Padding */
.layout-reverse .col-ui {
    padding-left: 12vw;
    padding-right: 0;
    justify-content: flex-end;
}

/* Specific Fix for Section 6 Text Column Position - REMOVED per user request */

/* LEVERAGE CONTAINER (Vertical Flow - Tilted Images) */
.lev-container {
    display: block;
    width: 500px;
    height: 580px;
    /* Increased height again */
    position: relative;
    background: transparent;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    margin-right: 50px;
    /* Reduced margin to give text more room */
    z-index: 5;
}

/* Base Image Card Style */
.lev-card {
    display: block;
    height: auto;
    border-radius: 8px;
    transition: all 0.4s ease;
    z-index: 10;
    position: absolute;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

/* CARD 1: TRIGGER BUTTON (Top Left - Tilted) */
.lev-card.lev-1 {
    width: 170px;
    top: 60px;
    left: -40px;
    /* Shifted Left -20px more */
    transform: rotate(-6deg);
    cursor: pointer;
    border: none;
    background: transparent;
    box-shadow: none;
    z-index: 12;
}

.lev-card.lev-1:hover {
    transform: scale(1.05) rotate(-6deg);
    /* No border/shadow on hover as requested */
}

/* CARD 2: DROPDOWN SELECT (Top Right - Tilted) */
.lev-card.lev-2 {
    width: 300px;
    top: 50px;
    left: 140px;
    /* Shifted Left -20px more */
    transform: rotate(3deg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 10;
}

.lev-card.lev-2:hover {
    transform: scale(1.02) rotate(3deg);
}

/* STACK ENGINE (Vertical Animation Underneath) */
.stack-engine {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 20;
}

/* The Connection Line (Vertical Drop) */
.stack-line {
    position: absolute;
    /* Lowered Top to 270px to touch bottom of image */
    top: 270px;
    left: 220px;
    /* Adjusted for shift */
    width: 2px;
    height: 0px;
    background: linear-gradient(180deg, var(--color-core), transparent);
    transform-origin: top;
    transform: none;
    animation: lineConnect 4s infinite cubic-bezier(0.83, 0, 0.17, 1);
    box-shadow: 0 0 10px rgba(249, 115, 22, 0.5);
    z-index: 15;
}

/* The Popping Cards (Vertical Stack) */
.stack-card {
    position: absolute;
    width: 220px;
    height: 38px;
    background: rgba(30, 30, 35, 0.9);
    border: 1px solid var(--color-core);
    border-radius: 6px;
    box-shadow: 0 0 15px rgba(249, 115, 22, 0.2);
    opacity: 0;
    transform-origin: center;
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    padding-left: 16px;
    box-sizing: border-box;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: #fff;

    /* Centered on line */
    left: 110px;
    transform: rotate(2deg);
}

/* Updated Labels */
.sc-1::after {
    content: 'Quote';
    opacity: 0.9;
}

.sc-2::after {
    content: 'Quote';
    opacity: 0.9;
}

.sc-3::after {
    content: 'Quote';
    opacity: 0.9;
}

.sc-4::after {
    content: 'Thread';
    opacity: 0.9;
}

.sc-5::after {
    content: 'Carousel';
    opacity: 0.9;
}


/* Animation Sequence - Lowered Start Points */
.sc-1 {
    top: 300px;
    z-index: 25;
    animation: cardPop 4s infinite cubic-bezier(0.34, 1.56, 0.64, 1) 0.5s;
}

.sc-2 {
    top: 345px;
    z-index: 24;
    animation: cardPop 4s infinite cubic-bezier(0.34, 1.56, 0.64, 1) 0.6s;
    transform: rotate(-1deg);
}

.sc-3 {
    top: 390px;
    z-index: 23;
    animation: cardPop 4s infinite cubic-bezier(0.34, 1.56, 0.64, 1) 0.7s;
    transform: rotate(1deg);
}

.sc-4 {
    top: 435px;
    z-index: 22;
    animation: cardPop 4s infinite cubic-bezier(0.34, 1.56, 0.64, 1) 0.8s;
    border-color: #fff;
}

.sc-5 {
    top: 480px;
    z-index: 21;
    animation: cardPop 4s infinite cubic-bezier(0.34, 1.56, 0.64, 1) 0.9s;
    transform: rotate(-2deg);
}

@keyframes lineConnect {
    0% {
        height: 0;
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    40% {
        height: 250px;
        opacity: 1;
    }

    100% {
        height: 250px;
        opacity: 0;
    }
}

@keyframes cardPop {
    0% {
        opacity: 0;
        margin-top: -30px;
        transform: scale(0.8);
    }

    15% {
        opacity: 1;
        margin-top: 0;
        transform: scale(1);
    }

    80% {
        opacity: 1;
        margin-top: 0;
        transform: scale(1);
    }

    100% {
        opacity: 0;
        margin-top: 20px;
        transform: scale(0.95);
    }
}

/* Top Left */

/* INTELLIGENCE MASONRY (Adjusted: Cleaner, Aligned Right) */
.intel-masonry {
    display: flex;
    flex-direction: column;
    width: 600px;
    max-width: 100%;
    margin-left: 0;
    /* Reset from -60px */
    gap: 32px;
    /* Increased gap */
    padding: 0;
}

/* Specific Fix for Section 7: Move Images to Right Edge */
#sec7 .col-ui {
    padding-right: 6vw;
    /* Adjusted: Closer to middle (was 2vw, global is 12vw) */
    justify-content: flex-end;
    /* Align right */
}

.intel-glass-card {
    padding: 0;
    border: none;
    background: transparent;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    /* Clean shadow, less "glassy" */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Removed ::after sheen to "lose gloss morphism" */

/* ALIGNMENT & SIZING */
.card-top {
    width: 80%;
    /* Reduced from 100% to avoid line overlap */
    align-self: flex-start;
    /* Aligns Left */
    z-index: 2;
}

.card-bottom {
    width: 75%;
    align-self: flex-end;
    /* Aligns Right */
    margin-top: 0;
    z-index: 1;
}

/* Image Styling */
.intel-glass-card img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    opacity: 0.95;
    transition: all 0.4s ease;
}

/* HOVER EFFECT: Lift Only (Cleaner) */
.intel-glass-card:hover {
    z-index: 10;
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.intel-glass-card:hover img {
    opacity: 1;
}


/* --- SECTION: CHAOS (IS THIS YOU?) --- */
.chaos-grid {
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 1200px;
    z-index: 2;
}

.chaos-card {
    background: rgba(255, 50, 50, 0.05);
    border: 1px solid rgba(255, 50, 50, 0.2);
    padding: 32px;
    border-radius: 8px;
    width: 280px;
    backdrop-filter: blur(10px);
    transition: transform 0.4s ease;
    position: relative;
    overflow: hidden;
}

.chaos-card:hover {
    transform: translateY(-10px) rotate(2deg);
    border-color: rgba(255, 50, 50, 0.6);
    background: rgba(255, 50, 50, 0.1);
}

.chaos-icon {
    font-size: 2rem;
    color: #ef4444;
    margin-bottom: 16px;
}

.chaos-title {
    font-size: 1.1rem;
    color: #fff;
    font-weight: 600;
    margin-bottom: 8px;
}

.chaos-text {
    font-size: 0.9rem;
    color: #fda4a4;
    line-height: 1.5;
}


/* --- SECTION: CONTRAST (OLD WAY vs NEW WAY) --- */
.comparison-container {
    display: flex;
    gap: 2px;
    background: #27272a;
    border: 1px solid #3f3f46;
    border-radius: 12px;
    overflow: hidden;
    max-width: 1000px;
    width: 100%;
}

.compare-col {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.col-old {
    background: #18181b;
    position: relative;
}

.col-new {
    background: rgba(249, 115, 22, 0.03);
    position: relative;
}

.col-header {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.compare-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 1rem;
    color: #a1a1aa;
    line-height: 1.5;
}

.compare-item i {
    font-size: 1.2rem;
    margin-top: 2px;
}

.old-x {
    color: #52525b;
}

.new-check {
    color: var(--color-core);
}


/* --- SECTION: OFFER (WHAT YOU GET) --- */
.offer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    max-width: 1000px;
    width: 100%;
}

.offer-card {
    background: #18181b;
    border: 1px solid #27272a;
    padding: 24px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: all 0.3s;
}

.offer-card:hover {
    border-color: var(--color-core);
    transform: translateY(-5px);
}

.offer-head {
    font-weight: 600;
    color: #fff;
    font-size: 1.1rem;
}

.offer-desc {
    font-size: 0.9rem;
    color: #a1a1aa;
    line-height: 1.5;
}


/* --- SECTION: FAQ --- */
.faq-container {
    max-width: 800px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: #18181b;
    border: 1px solid #27272a;
    border-radius: 8px;
    padding: 24px;
}

.faq-q {
    font-weight: 600;
    color: #e4e4e7;
    margin-bottom: 12px;
    font-size: 1.1rem;
}

.faq-a {
    color: #a1a1aa;
    line-height: 1.6;
    font-size: 0.95rem;
}

.sat-1 {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.sat-2 {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.sat-3 {
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.sat-4 {
    top: 50%;
    right: 0;
    transform: translateY(-50%);
}

.link-line {
    position: absolute;
    background: #3f3f46;
    z-index: 1;
}

.link-v {
    width: 1px;
    height: 100%;
    left: 50%;
}

.link-h {
    width: 100%;
    height: 1px;
    top: 50%;
}

.ui-mock-graph {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    height: 100px;
    width: 150px;
    border-bottom: 1px solid #3f3f46;
}

.bar-col {
    width: 30%;
    height: 100%;
    display: flex;
    align-items: flex-end;
}

.bar-h {
    width: 100%;
    background: #3f3f46;
    transition: height 1s;
}

.bar-active {
    background: var(--color-core);
}


/* --- NEW: OPEN ARCHITECTURE (FLOATING NODES) --- */
.open-arch-grid {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    /* Was center - adjusted to align badges */
    justify-content: center;
    width: 100%;
    max-width: 1300px;
    gap: 60px;
    /* Increased from 40px to separate columns */
    padding: 0;
    height: 100%;
    transform: translateX(-50px);
    /* Optical Center */
}

.arch-visual {
    /* flex: 1; <-- REMOVED (Was too wide) */
    width: 500px;
    /* Symmetrical Match with Legend */
    /* Fixed width to prevent pushing legend out */
    flex-shrink: 0;
    height: 600px;
    position: relative;
    /* No Background / No Border */
}

/* Floating Nodes */
.arch-node {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 2rem;
    z-index: 2;
    transition: all 0.5s ease-out;
    cursor: pointer;
    transform: translate(-50%, -30px);
    /* CENTER POINT: Aligned to Circle Center (30px radius) */
}

.arch-node span {
    font-size: 0.7rem;
    color: #a1a1aa;
    font-family: var(--font-mono);
    margin-top: 8px;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.arch-node:hover span {
    opacity: 1;
    color: #fff;
}

.node-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #1c1c21;
    border: 1px solid #3f3f46;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: all 0.3s;
}

/* MAKE LOGOS WHITE (Except Hub which is white background) */
.node-circle svg,
.node-circle svg path {
    fill: #ffffff !important;
}

/* Fix for Notion Hub (White BG -> Black Icon) */
.node-hub .node-circle svg,
.node-hub .node-circle svg path {
    fill: #000000 !important;
}

.arch-node:hover .node-circle {
    border-color: var(--color-core);
    box-shadow: 0 0 20px rgba(249, 115, 22, 0.4);
    transform: scale(1.1);
}


/* POSITIONING: Absolute based on % */
/* (Injected via inline styles on HTML for precision, but defaults here) */
.node-hub {
    top: 50%;
    left: 50%;
    z-index: 10;
}

/* INPUTS (Left Arc) */
.node-in-chatgpt {
    top: 10%;
    left: 15%;
}

.node-in-make {
    top: 30%;
    left: 15%;
}

.node-in-apify {
    top: 50%;
    left: 15%;
}

.node-in-drive {
    top: 70%;
    left: 15%;
}

.node-in-scripts {
    top: 90%;
    left: 15%;
}

/* OUTPUTS (Right Arc) */
.node-out-ig {
    top: 20%;
    left: 85%;
}

.node-out-tiktok {
    top: 40%;
    left: 85%;
}

.node-out-linkedin {
    top: 60%;
    left: 85%;
}

.node-out-youtube {
    top: 80%;
    left: 85%;
}

/* CABLES (SVG) */
.arch-cables {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.cable-path {
    fill: none;
    stroke: #3f3f46;
    stroke-width: 0.05px;
    /* HAIRLINE THIN */
    stroke-dasharray: 4 4;
    stroke-linecap: round;
    opacity: 0.5;
}

.cable-flow {
    animation: flowData 2s linear infinite;
}

@keyframes flowData {
    to {
        stroke-dashoffset: -8;
    }
}


.arch-legend {
    width: 500px;
    /* Increased from 350px to match arch-visual */
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.legend-item {
    border-left: 2px solid #27272a;
    padding-left: 16px;
    transition: all 0.3s;
}

.legend-item:hover {
    border-left-color: var(--color-core);
}

.legend-head {
    font-weight: 600;
    color: #fff;
    margin-bottom: 4px;
    font-size: 0.95rem;
}

.legend-body {
    color: #a1a1aa;
    font-size: 0.9rem;
    line-height: 1.5;
}


/* --- NAVIGATION DOTS (GHOST HUD) --- */
.flight-computer {
    position: fixed;
    right: 8vw;
    /* Responsive spacing */
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 16px;
    z-index: 100;
}

.nav-item {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    text-decoration: none;
    opacity: 0.5;
    transition: all 0.3s;
    height: 20px;
    cursor: pointer;
    /* Ensure cursor pointer */
    padding: 4px 0;
    /* Increase hit area */
}

.nav-item:hover,
.nav-item.active {
    opacity: 1;
}

.nav-label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--color-core);
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s;
    background: #18181b;
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-item:hover .nav-label,
.nav-item.active .nav-label {
    opacity: 1;
    transform: translateX(0);
}

.nav-tick {
    width: 4px;
    height: 4px;
    background: #fff;
    border-radius: 50%;
    transition: all 0.3s;
}

.nav-item.active .nav-tick {
    background: var(--color-core);
    box-shadow: 0 0 10px var(--color-core);
    transform: scale(1.5);
}

/* FOUNDER BLOCK */
.founder-block {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    background: #18181b;
    border: 1px solid #27272a;
    padding: 40px;
    border-radius: 12px;
}

.avatar-circle {
    width: 64px;
    height: 64px;
    background: #27272a;
    border-radius: 50%;
    margin: 0 auto 24px auto;
    overflow: hidden;
}

.avatar-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.founder-quote {
    font-size: 1.1rem;
    color: #e4e4e7;
    margin-bottom: 24px;
    font-style: italic;
    line-height: 1.6;
}

.founder-sig {
    font-family: var(--font-mono);
    color: var(--color-core);
    font-size: 0.8rem;
    margin-top: 24px;
    letter-spacing: 0.1em;
}

.founder-sign {
    font-family: var(--font-mono);
    color: var(--color-core);
    font-size: 0.9rem;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    h1 {
        font-size: 3.5rem;
    }

    /* Stack comparison */
    .comparison-container {
        flex-direction: column;
    }

    .layout-grid {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }

    .col-text,
    .col-ui,
    .layout-reverse .col-text,
    .layout-reverse .col-ui {
        padding: 0;
        align-items: center;
        text-align: center;
        width: 100%;
        justify-content: center;
    }

    .glass-module {
        width: 100%;
        max-width: 350px;
    }

    .flight-computer {
        display: none;
    }

    .open-arch-grid {
        flex-direction: column;
        height: auto;
        padding: 20px;
    }

    .arch-visual {
        width: 100%;
        height: 400px;
        order: 1;
    }

    .arch-legend {
        width: 100%;
        order: 2;
    }

    /* CENTER NODES ON MOBILE */
    .arch-node {
        transform: translate(-50%, -50%) scale(0.6);
    }
}



/* --- MAGNETIC GRID ANIMATION --- */
.magnetic-container {
    width: 500px;
    height: 320px;
    margin-left: auto;
    /* Push to the right */
    position: relative;
    background: radial-gradient(circle at 70% 50%, rgba(20, 20, 25, 1) 0%, rgba(10, 10, 12, 1) 100%);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    display: flex;
}

.chaos-zone {
    width: 40%;
    /* Reduced for 5:4 feel approx */
    height: 100%;
    position: relative;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.chaos-label {
    position: absolute;
    top: 24px;
    left: 24px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: #52525b;
    letter-spacing: 0.1em;
    pointer-events: none;
}

.grid-zone {
    width: 60%;
    /* Increased for better grid fit */
    height: 100%;
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    padding: 24px;
    gap: 10px;
    box-sizing: border-box;
}

.grid-slot {
    border: 1px dashed var(--color-core-dim);
    border-radius: 8px;
    background: rgba(249, 115, 22, 0.02);
    position: relative;
    transition: all 0.3s ease;
}

.grid-slot::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 8px;
    box-shadow: inset 0 0 20px rgba(249, 115, 22, 0);
    transition: box-shadow 0.3s ease;
}

.grid-slot.active {
    border-style: solid;
    border-color: rgba(249, 115, 22, 0.5);
    background: rgba(249, 115, 22, 0.05);
}

.grid-slot.active::after {
    box-shadow: inset 0 0 20px rgba(249, 115, 22, 0.1);
}

.file-icon {
    width: 40px;
    height: 52px;
    background: #27272a;
    border: 1px solid #3f3f46;
    border-radius: 6px;
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 9px;
    color: #a1a1aa;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 10;
    overflow: hidden;
}

.file-icon::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 10px;
    height: 10px;
    background: linear-gradient(225deg, #52525b 50%, #27272a 50%);
    border-bottom-left-radius: 3px;
}

.file-type {
    margin-top: 8px;
}

.file-badge {
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 3px;
    border-radius: 2px;
    background: #52525b;
}

/* Colors for types */
.type-img .file-badge {
    background: #3b82f6;
    box-shadow: 0 0 5px rgba(59, 130, 246, 0.5);
}

.type-doc .file-badge {
    background: #f97316;
    box-shadow: 0 0 5px rgba(249, 115, 22, 0.5);
}

.type-vid .file-badge {
    background: #a855f7;
    box-shadow: 0 0 5px rgba(168, 85, 247, 0.5);
}

.scan-line {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--color-core);
    box-shadow: 0 0 15px var(--color-core);
    opacity: 0;
    z-index: 5;
}

/* --- VOICE FUSION ANIMATION --- */
.fusion-container {
    width: 500px;
    height: 300px;
    background: #18181b;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    position: relative;
    display: flex;
    align-items: center;
    padding: 20px 30px;
    box-sizing: border-box;
    gap: 30px;
    overflow: hidden;
    box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.5);
    margin-right: auto;
    margin-left: 0;
    /* Left align bias */
}



.voice-section {
    width: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    position: relative;
    flex-shrink: 0;
}

.voice-core {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid #3f3f46;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: #27272a;
    transition: all 0.3s;
}

.voice-bars {
    display: flex;
    gap: 4px;
    height: 40px;
    align-items: center;
}

.v-bar {
    width: 4px;
    background: #52525b;
    height: 6px;
    border-radius: 2px;
    transition: all 0.1s;
}

.v-status-tag {
    font-size: 10px;
    color: #71717a;
    letter-spacing: 0.1em;
    background: #27272a;
    padding: 4px 8px;
    border-radius: 4px;
    font-family: var(--font-mono);
}

.connection-beam {
    flex-grow: 1;
    height: 2px;
    background: #3f3f46;
    position: relative;
    overflow: hidden;
}

.beam-pulse {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 40px;
    background: var(--color-core);
    box-shadow: 0 0 10px var(--color-core);
    transform: translateX(-100%);
}

.weave-section {
    width: 200px;
    position: relative;
    flex-shrink: 0;
}

.weave-loom {
    position: relative;
    border-left: 1px solid #3f3f46;
    padding-left: 20px;
    height: 140px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.weave-shuttle {
    width: 12px;
    height: 4px;
    background: var(--color-core);
    box-shadow: 0 0 8px var(--color-core);
    border-radius: 2px;
    position: absolute;
    left: 20px;
    top: 0;
    opacity: 0;
    z-index: 10;
}

.weave-block-ghost {
    height: 8px;
    background: #27272a;
    margin-bottom: 8px;
    border-radius: 2px;
    width: 100%;
    opacity: 0.3;
}

.weave-block-real {
    height: 8px;
    background: rgba(249, 115, 22, 0.4);
    margin-bottom: 8px;
    border-radius: 2px;
    width: 0%;
    position: absolute;
    left: 20px;
    top: 0;
}

.line-wrapper {
    position: relative;
    height: 16px;
    width: 100%;
}

/* --- DATA FLOW / COMPARISON SECTION (MINIMALIST PROFESSIONAL) --- */
.comparison-container {
    display: flex;
    width: 100%;
    max-width: 960px;
    background: #09090b;
    /* Deep dark background */
    border: 1px solid #27272a;
    border-radius: 12px;
    overflow: hidden;
    /* Clean corners */
    margin-top: 20px;
}

.compare-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 40px;
}

.compare-col.col-old {
    border-right: 1px solid #27272a;
    background: rgba(0, 0, 0, 0.3);
    /* Subtle dimming for the 'Before' side */
}

.compare-col.col-new {
    background: transparent;
}

.col-header {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 32px;
    color: #71717a;
    /* Unified muted header color */
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Remove colored headers */
.col-old .col-header,
.col-new .col-header {
    color: #71717a;
    text-shadow: none;
}

.compare-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 0;
    font-size: 0.95rem;
    line-height: 1.6;
    border-bottom: 1px solid #18181b;
    /* Hairline separators */
    transition: all 0.2s ease;
}

.compare-item:first-child {
    padding-top: 0;
}

.compare-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

/* OLD SIDE (Muted) */
.col-old .compare-item {
    color: #52525b;
}

.old-x {
    color: #3f3f46;
    font-size: 1rem;
    margin-top: 4px;
    opacity: 1;
}

/* NEW SIDE (Bright) */
.col-new .compare-item {
    color: #e4e4e7;
}

.new-check {
    color: #10b981;
    /* Sharp Emerald */
    font-size: 1rem;
    margin-top: 4px;
    text-shadow: none;
    filter: none;
}

/* Hover State - Subtle */
.compare-item:hover {
    background: transparent;
    transform: translateX(2px);
}

.col-new .compare-item:hover {
    color: #fff;
}

/* --- SYSTEM SPECS GRID (Compacted Detail) --- */
.specs-container {
    margin-top: 60px;
    width: 100%;
    max-width: 1000px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 40px;
    opacity: 0.8;
}

.spec-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

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

.spec-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.spec-head {
    font-family: var(--font-mono);
    color: var(--color-core);
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
}

.spec-head::before {
    content: '';
    display: block;
    width: 6px;
    height: 6px;
    background: var(--color-core);
    border-radius: 50%;
}

.spec-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.spec-list li {
    font-size: 0.95rem;
    color: #a1a1aa;
    padding-left: 12px;
    border-left: 1px solid #27272a;
    transition: all 0.2s ease;
    line-height: 1.4;
}

.spec-list li:hover {
    color: #fff;
    border-left-color: var(--color-core);
    padding-left: 16px;
}

/* Secondary CTA Button */
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border: 1px solid #3f3f46;
    border-radius: 4px;
    color: #fff;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    margin-top: 24px;
}

.btn-secondary:hover {
    border-color: var(--color-core);
    background: rgba(249, 115, 22, 0.1);
    color: var(--color-core);
}

#sec11 {
    flex-direction: column;
    justify-content: center;
    gap: 40px;
    /* Space between Offer Grid and Specs */
}

/* --- 9. TRANSMUTATION PIPELINE (New Before/After) --- */

.pipeline-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    max-width: 1100px;
}

/* HEADERS */
.pipeline-header {
    display: flex;
    justify-content: space-between;
    padding: 0 24px;
    margin-bottom: 8px;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.8;
}

.ph-chaos {
    color: #71717a;
    /* Muted Grey */
    width: 42%;
}

.ph-spacer {
    width: 16%;
}

.ph-order {
    color: var(--color-core);
    /* Orange */
    width: 42%;
    text-align: right;
}

/* ROWS */
.pipeline-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    /* Optional: Entrance animation could go here */
}

/* NODES */
.pipeline-node {
    width: 42%;
    padding: 24px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 0.95rem;
    line-height: 1.5;
    transition: all 0.3s ease;
}

/* CHAOS NODE (Left) */
.node-chaos {
    background: #18181b;
    /* Dark Zinc */
    border: 1px solid #27272a;
    color: #a1a1aa;
    position: relative;
}

.node-chaos::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -5px;
    /* Tiny nub connector */
    width: 4px;
    height: 4px;
    background: #3f3f46;
    border-radius: 50%;
}

.chaos-icon-sm {
    font-size: 1.5rem;
    color: #52525b;
    /* Dark Grey Icon */
    flex-shrink: 0;
}

.node-chaos:hover {
    border-color: #ef4444;
    /* Red warning border on hover */
    color: #e4e4e7;
}

.node-chaos:hover .chaos-icon-sm {
    color: #ef4444;
}

/* ORDER NODE (Right) */
.node-order {
    background: rgba(249, 115, 22, 0.05);
    /* Slight Orange Tint */
    border: 1px solid rgba(249, 115, 22, 0.2);
    color: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    position: relative;
}

.node-order::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -5px;
    /* Connecting nub */
    width: 4px;
    height: 4px;
    background: var(--color-core);
    border-radius: 50%;
    box-shadow: 0 0 5px var(--color-core);
}

.order-icon-sm {
    font-size: 1.5rem;
    color: var(--color-core);
    flex-shrink: 0;
}

.node-order:hover {
    background: rgba(249, 115, 22, 0.1);
    box-shadow: 0 8px 30px rgba(249, 115, 22, 0.15);
    transform: translateY(-2px);
}

/* CONNECTOR (Middle) */
.pipeline-connector {
    flex: 1;
    /* Fills space between (approx 16%) */
    height: 60px;
    /* Arbitrary, just needs to center content */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.connector-line {
    width: 100%;
    height: 2px;
    background: #27272a;
    position: relative;
    overflow: hidden;
    border-radius: 2px;
}

.connector-dot {
    position: absolute;
    top: 0;
    left: 0;
    width: 20%;
    /* Length of the "beam" */
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--color-core), transparent);
    animation: transferBeam 2s infinite linear;
    opacity: 0.8;
    display: none;
    /* User requested removal */
}

/* Stagger Animations for variety */
.pipeline-row:nth-child(2) .connector-dot {
    animation-delay: 0.2s;
}

.pipeline-row:nth-child(3) .connector-dot {
    animation-delay: 0.5s;
}

.pipeline-row:nth-child(4) .connector-dot {
    animation-delay: 0.8s;
}

.pipeline-row:nth-child(5) .connector-dot {
    animation-delay: 1.1s;
}

.pipeline-row:nth-child(6) .connector-dot {
    animation-delay: 1.4s;
}

@keyframes transferBeam {
    0% {
        left: -20%;
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    80% {
        opacity: 1;
    }

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


/* RESONSIVE MOBILE */
@media (max-width: 768px) {
    .pipeline-header {
        display: none;
        /* Hide headers on mobile */
    }

    .pipeline-row {
        flex-direction: column;
        gap: 8px;
        background: rgba(255, 255, 255, 0.02);
        padding: 16px;
        border-radius: 12px;
        margin-bottom: 24px;
        border: 1px solid #27272a;
    }

    .pipeline-node {
        width: 100%;
        padding: 16px;
        border: none;
        background: transparent;
    }

    .node-chaos {
        color: #71717a;
        font-size: 0.9rem;
        background: none;
    }

    .node-chaos::after {
        display: none;
    }

    .pipeline-connector {
        height: 24px;
        width: 100%;
        transform: rotate(0deg);
        /* Horizontal usually better or hidden, but vertical flow requested */
        /* Actually on mobile stacking, a vertical arrow might be better */
        margin: 0;
    }

    .connector-line {
        width: 2px;
        height: 100%;
        margin: 0 auto;
    }

    .connector-dot {
        width: 100%;
        height: 20%;
        top: 0;
        left: 0;
        background: linear-gradient(180deg, transparent, var(--color-core), transparent);
        animation: transferBeamVertical 2s infinite linear;
    }

    .node-order {
        background: rgba(249, 115, 22, 0.05);
        /* Keep distinct BG for result */
        border: 1px solid rgba(249, 115, 22, 0.2);
    }

    .node-order::before {
        display: none;
    }
}

@keyframes transferBeamVertical {
    0% {
        top: -20%;
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    80% {
        opacity: 1;
    }

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

/* --- HELM FORM STYLES --- */
.helm-form-container {
    background: rgba(30, 30, 35, 0.6);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.7);
    border-radius: 12px;
    padding: 40px;
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
}

.helm-form-group {
    margin-bottom: 24px;
}

.helm-label {
    display: block;
    font-size: 0.85rem;
    color: #a1a1aa;
    margin-bottom: 8px;
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.helm-input,
.helm-select,
.helm-textarea {
    width: 100%;
    background: #18181b;
    border: 1px solid #3f3f46;
    border-radius: 4px;
    padding: 12px 16px;
    font-family: var(--font-ui);
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.helm-input:focus,
.helm-select:focus,
.helm-textarea:focus {
    outline: none;
    border-color: var(--color-core);
    box-shadow: 0 0 0 2px rgba(249, 115, 22, 0.2);
    background: #27272a;
}

.helm-btn {
    width: 100%;
    padding: 16px;
    background: var(--color-core);
    color: white;
    font-weight: 600;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-family: var(--font-mono);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.helm-btn:hover {
    background: #ea580c;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(249, 115, 22, 0.4);
}

.helm-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Success Modal specific for HELM */
.helm-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.helm-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.helm-modal-content {
    background: #18181b;
    border: 1px solid var(--color-core);
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 0 50px rgba(249, 115, 22, 0.2);
}

/* --- FOOTER --- */
.site-footer {
    background: rgba(18, 18, 18, 0.95);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 80px 0;
    margin-top: 0;
    position: relative;
    z-index: 100;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 300px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: -0.02em;
    opacity: 0.9;
    transition: opacity 0.3s;
}

.footer-logo:hover {
    opacity: 1;
}

.footer-logo img {
    height: 32px;
    width: auto;
}

.footer-desc {
    font-size: 0.9rem;
    color: #71717a;
    line-height: 1.6;
}

.footer-links {
    display: flex;
    gap: 40px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-col h4 {
    font-size: 0.8rem;
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0;
    opacity: 0.6;
}

.footer-col a {
    font-size: 0.9rem;
    color: #a1a1aa;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: var(--color-core);
}

.footer-bottom {
    max-width: 1200px;
    margin: 60px auto 0;
    padding: 30px 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: #52525b;
}

@media screen and (max-width: 768px) {
    .site-footer {
        padding: 60px 0;
    }

    .footer-content {
        flex-direction: column;
        padding: 0 24px;
        gap: 60px;
    }

    .footer-links {
        flex-direction: column;
        gap: 40px;
        width: 100%;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
        padding: 30px 24px 0;
        margin-top: 40px;
    }
}