/* ========================================
   JAMBVANT INTERACTIVE STORY SECTIONS
   Scroll-driven storytelling experience
   ======================================== */

/* ----------------------------------------
   CSS Custom Properties for Story
   ---------------------------------------- */
:root {
    --story-bg-1: linear-gradient(135deg, #FFF5E1 0%, #FFE4B5 100%);
    --story-bg-2: linear-gradient(135deg, #E8F4FD 0%, #D1E9FF 100%);
    --story-bg-3: linear-gradient(135deg, #F0FDF4 0%, #DCFCE7 100%);
    --story-bg-4: linear-gradient(135deg, #FDF4FF 0%, #F5D0FE 100%);
    --story-bg-5: linear-gradient(135deg, #FFF7ED 0%, #FFEDD5 100%);
    --story-accent: #FF8C00;
    --story-text: #1a1a1a;
    --story-text-muted: #666666;
}

[data-theme="dark"] {
    --story-bg-1: linear-gradient(135deg, #1a1a1a 0%, #2d2a1f 100%);
    --story-bg-2: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    --story-bg-3: linear-gradient(135deg, #1a2e1a 0%, #1e3a1e 100%);
    --story-bg-4: linear-gradient(135deg, #2a1a2e 0%, #3d1f4a 100%);
    --story-bg-5: linear-gradient(135deg, #2e2a1a 0%, #3d3520 100%);
    --story-text: #f0f0f0;
    --story-text-muted: #a0a0a0;
}

/* ----------------------------------------
   Story Container & Scroll Snap
   ---------------------------------------- */
.story-wrapper {
    scroll-snap-type: y proximity;
}

/* ----------------------------------------
   Base Story Section
   ---------------------------------------- */
.story-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    scroll-snap-align: start;
    padding: 60px 20px;
}

.story-section.story-matching { background: var(--story-bg-1); }
.story-section.story-learning { background: var(--story-bg-2); }
.story-section.story-network { background: var(--story-bg-3); }
.story-section.story-twins { background: var(--story-bg-4); }
.story-section.story-coexist { background: var(--story-bg-5); }

/* ----------------------------------------
   Story Container Layout
   ---------------------------------------- */
.story-container {
    max-width: 1200px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 0 40px;
    position: relative;
    z-index: 1;
}

/* Alternate layout for even sections */
.story-section.story-learning .story-container,
.story-section.story-twins .story-container {
    direction: rtl;
}

.story-section.story-learning .story-container > *,
.story-section.story-twins .story-container > * {
    direction: ltr;
}

/* ----------------------------------------
   Story Content (Text Side)
   ---------------------------------------- */
.story-content {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.story-section.visible .story-content {
    opacity: 1;
    transform: translateY(0);
}

.story-chapter {
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--story-accent);
    margin-bottom: 16px;
    padding: 6px 16px;
    background: rgba(255, 140, 0, 0.1);
    border-radius: 20px;
}

.story-content h2 {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    color: var(--story-text);
    margin-bottom: 20px;
}

.story-content h2 .highlight {
    color: var(--story-accent);
    position: relative;
}

.story-content h2 .highlight::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(255, 140, 0, 0.2);
    z-index: -1;
    border-radius: 4px;
}

.story-content p {
    font-size: 20px;
    line-height: 1.7;
    color: var(--story-text-muted);
    margin-bottom: 24px;
}

.story-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
}

.story-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    color: var(--story-text);
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.story-section.visible .story-feature {
    opacity: 1;
    transform: translateX(0);
}

.story-section.visible .story-feature:nth-child(1) { transition-delay: 0.3s; }
.story-section.visible .story-feature:nth-child(2) { transition-delay: 0.5s; }
.story-section.visible .story-feature:nth-child(3) { transition-delay: 0.7s; }

.story-feature-icon {
    width: 32px;
    height: 32px;
    background: var(--story-accent);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    flex-shrink: 0;
}

/* ----------------------------------------
   Story Visual (Animation Side)
   ---------------------------------------- */
.story-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    position: relative;
}

.story-svg {
    width: 100%;
    max-width: 500px;
    height: auto;
    overflow: visible;
}

/* ----------------------------------------
   SVG Animation - Using opacity only
   (transforms conflict with SVG transform attr)
   ---------------------------------------- */

/* All animated SVG groups start hidden */
.story-svg .anim-node {
    opacity: 0;
    transition: opacity 0.6s ease;
}

.story-section.visible .story-svg .anim-node {
    opacity: 1;
}

/* Staggered delays using data attributes */
.story-section.visible .story-svg .anim-node[data-delay="1"] { transition-delay: 0.1s; }
.story-section.visible .story-svg .anim-node[data-delay="2"] { transition-delay: 0.2s; }
.story-section.visible .story-svg .anim-node[data-delay="3"] { transition-delay: 0.3s; }
.story-section.visible .story-svg .anim-node[data-delay="4"] { transition-delay: 0.4s; }
.story-section.visible .story-svg .anim-node[data-delay="5"] { transition-delay: 0.5s; }
.story-section.visible .story-svg .anim-node[data-delay="6"] { transition-delay: 0.6s; }
.story-section.visible .story-svg .anim-node[data-delay="7"] { transition-delay: 0.7s; }
.story-section.visible .story-svg .anim-node[data-delay="8"] { transition-delay: 0.8s; }

/* Line drawing animation */
.story-svg .anim-line {
    stroke-dasharray: 300;
    stroke-dashoffset: 300;
    transition: stroke-dashoffset 1.2s ease;
}

.story-section.visible .story-svg .anim-line {
    stroke-dashoffset: 0;
}

.story-section.visible .story-svg .anim-line[data-delay="1"] { transition-delay: 0.3s; }
.story-section.visible .story-svg .anim-line[data-delay="2"] { transition-delay: 0.5s; }
.story-section.visible .story-svg .anim-line[data-delay="3"] { transition-delay: 0.7s; }
.story-section.visible .story-svg .anim-line[data-delay="4"] { transition-delay: 0.9s; }
.story-section.visible .story-svg .anim-line[data-delay="5"] { transition-delay: 1.1s; }
.story-section.visible .story-svg .anim-line[data-delay="6"] { transition-delay: 1.3s; }
.story-section.visible .story-svg .anim-line[data-delay="7"] { transition-delay: 1.5s; }

/* ----------------------------------------
   Chapter 1: Matching Animation
   ---------------------------------------- */
.story-matching .seeker-group,
.story-matching .provider-group {
    opacity: 0;
    transition: opacity 0.6s ease;
}

.story-matching.visible .seeker-group {
    opacity: 1;
    transition-delay: 0.2s;
}

.story-matching.visible .provider-group {
    opacity: 1;
    transition-delay: 0.4s;
}

/* Float effect using filter instead of transform */
.story-matching.visible .seeker-group > circle:nth-child(2) {
    animation: nodeFloat 3s ease-in-out infinite 0.8s;
}

.story-matching.visible .provider-group > circle:nth-child(2) {
    animation: nodeFloat 3s ease-in-out infinite 1s;
}

.story-matching .ai-brain-group {
    opacity: 0;
    transition: opacity 0.8s ease;
}

.story-matching.visible .ai-brain-group {
    opacity: 1;
    transition-delay: 0.6s;
    animation: pulseGlow 2s ease-in-out infinite 1.2s;
}

@keyframes nodeFloat {
    0%, 100% {
        filter: drop-shadow(0 0 5px rgba(255, 140, 0, 0.3));
    }
    50% {
        filter: drop-shadow(0 0 15px rgba(255, 140, 0, 0.6));
    }
}

@keyframes pulseGlow {
    0%, 100% { filter: drop-shadow(0 0 8px rgba(255, 140, 0, 0.4)); }
    50% { filter: drop-shadow(0 0 25px rgba(255, 140, 0, 0.9)); }
}

/* Particles - visible when section is visible, animated by SVG */
.story-matching .particle-dot {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.story-matching.visible .particle-dot {
    opacity: 1;
    transition-delay: 0.8s;
}

/* Connection lines for Chapter 1 */
.story-matching .anim-line {
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    transition: stroke-dashoffset 1s ease;
}

.story-matching.visible .anim-line {
    stroke-dashoffset: 0;
}

.story-matching.visible .anim-line[data-delay="1"] { transition-delay: 0.5s; }
.story-matching.visible .anim-line[data-delay="2"] { transition-delay: 0.7s; }

/* ----------------------------------------
   Chapter 2: Learning Animation
   ---------------------------------------- */
.story-learning .human-node,
.story-learning .ai-node,
.story-learning .enhanced-node,
.story-learning .feedback-node {
    opacity: 0;
    transition: opacity 0.6s ease;
}

.story-learning.visible .human-node { opacity: 1; transition-delay: 0.2s; }
.story-learning.visible .ai-node { opacity: 1; transition-delay: 0.4s; }
.story-learning.visible .enhanced-node { opacity: 1; transition-delay: 0.6s; }
.story-learning.visible .feedback-node { opacity: 1; transition-delay: 0.8s; }

.story-learning .flow-particle {
    opacity: 0;
}

.story-learning.visible .flow-particle {
    opacity: 1;
}

/* ----------------------------------------
   Chapter 3: Network Growth Animation
   ---------------------------------------- */
.story-network .central-hub {
    opacity: 0;
    transition: opacity 0.6s ease;
}

.story-network.visible .central-hub {
    opacity: 1;
    animation: hubPulse 2s ease-in-out infinite 0.8s;
}

.story-network .satellite-node {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.story-network.visible .satellite-node { opacity: 1; }
/* Inner nodes - nth-of-type starts at 2 because central-hub is first <g> */
.story-network.visible .inner-node:nth-of-type(2) { transition-delay: 0.3s; }
.story-network.visible .inner-node:nth-of-type(3) { transition-delay: 0.4s; }
.story-network.visible .inner-node:nth-of-type(4) { transition-delay: 0.5s; }
.story-network.visible .inner-node:nth-of-type(5) { transition-delay: 0.6s; }
.story-network.visible .inner-node:nth-of-type(6) { transition-delay: 0.7s; }
/* Outer nodes */
.story-network.visible .outer-node:nth-of-type(7) { transition-delay: 0.8s; }
.story-network.visible .outer-node:nth-of-type(8) { transition-delay: 0.9s; }
.story-network.visible .outer-node:nth-of-type(9) { transition-delay: 1.0s; }
.story-network.visible .outer-node:nth-of-type(10) { transition-delay: 1.1s; }

/* Only animate strong-link lines - weak-links have their own SVG animation */
.story-network .strong-link {
    stroke-dasharray: 150;
    stroke-dashoffset: 150;
    transition: stroke-dashoffset 0.8s ease;
}

.story-network.visible .strong-link { stroke-dashoffset: 0; }
.story-network.visible .strong-link:nth-of-type(5) { transition-delay: 0.5s; }
.story-network.visible .strong-link:nth-of-type(6) { transition-delay: 0.6s; }
.story-network.visible .strong-link:nth-of-type(7) { transition-delay: 0.7s; }
.story-network.visible .strong-link:nth-of-type(8) { transition-delay: 0.8s; }
.story-network.visible .strong-link:nth-of-type(9) { transition-delay: 0.9s; }

@keyframes hubPulse {
    0%, 100% { filter: drop-shadow(0 0 5px rgba(255, 140, 0, 0.5)); }
    50% { filter: drop-shadow(0 0 15px rgba(255, 140, 0, 0.9)); }
}

/* Pulse rings - use SVG animate */
.story-network .pulse-ring {
    opacity: 0;
}

.story-network.visible .pulse-ring {
    opacity: 1;
    transition-delay: 1s;
}

/* ----------------------------------------
   Chapter 4: Digital Twin Animation
   ---------------------------------------- */
.story-twins .human-side {
    opacity: 0;
    transition: opacity 0.6s ease;
}

.story-twins .digital-side {
    opacity: 0;
    transition: opacity 0.6s ease;
}

.story-twins.visible .human-side {
    opacity: 1;
    transition-delay: 0.2s;
}

.story-twins.visible .digital-side {
    opacity: 1;
    transition-delay: 0.5s;
}

/* Mirror line */
.story-twins .mirror-line {
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    transition: stroke-dashoffset 0.8s ease;
}

.story-twins.visible .mirror-line {
    stroke-dashoffset: 0;
    transition-delay: 0.3s;
}

/* Knowledge flow particles */
.story-twins .knowledge-flow {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.story-twins.visible .knowledge-flow {
    opacity: 1;
    transition-delay: 0.8s;
}

/* Sync arrow label */
.story-twins .sync-arrow {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.story-twins.visible .sync-arrow {
    opacity: 1;
    transition-delay: 1s;
}

/* ----------------------------------------
   Chapter 5: Coexistence Animation
   ---------------------------------------- */

/* Connection lines */
.story-coexist .connect-line {
    opacity: 0;
    transition: opacity 0.6s ease;
}

.story-coexist.visible .connect-line {
    opacity: 0.4;
    transition-delay: 0.3s;
}

/* AI Agents on connections */
.story-coexist .ai-agent {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.story-coexist.visible .ai-agent {
    opacity: 1;
    transition-delay: 0.5s;
}

/* Human + Digital Twin pairs */
.story-coexist .entity-pair {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.story-coexist.visible .entity-pair {
    opacity: 1;
}

.story-coexist.visible .entity-pair:nth-of-type(5) { transition-delay: 0.4s; }
.story-coexist.visible .entity-pair:nth-of-type(6) { transition-delay: 0.6s; }
.story-coexist.visible .entity-pair:nth-of-type(7) { transition-delay: 0.8s; }
.story-coexist.visible .entity-pair:nth-of-type(8) { transition-delay: 1.0s; }

/* Center Jambvant symbol */
.story-coexist .center-symbol {
    opacity: 0;
    transition: opacity 0.8s ease;
}

.story-coexist.visible .center-symbol {
    opacity: 1;
    transition-delay: 0.2s;
    animation: centerPulse 3s ease-in-out infinite 0.5s;
}

@keyframes centerPulse {
    0%, 100% { filter: drop-shadow(0 0 8px rgba(255, 140, 0, 0.5)); }
    50% { filter: drop-shadow(0 0 20px rgba(255, 140, 0, 0.9)); }
}

/* Intelligence flow particles */
.story-coexist .flow-in,
.story-coexist .flow-out {
    opacity: 0;
}

.story-coexist.visible .flow-in {
    opacity: 1;
    transition: opacity 0.5s ease 1.2s;
}

.story-coexist.visible .flow-out {
    opacity: 1;
    transition: opacity 0.5s ease 1.5s;
}

/* ----------------------------------------
   Story Progress Indicator
   ---------------------------------------- */
.story-progress {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 16px;
    z-index: 100;
}

.story-progress-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 140, 0, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.story-progress-dot::before {
    content: attr(data-label);
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    white-space: nowrap;
    font-size: 12px;
    font-weight: 600;
    color: var(--story-text);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.story-progress-dot:hover::before {
    opacity: 1;
}

.story-progress-dot:hover {
    background: rgba(255, 140, 0, 0.5);
    transform: scale(1.2);
}

.story-progress-dot.active {
    background: var(--story-accent);
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(255, 140, 0, 0.5);
}

/* ----------------------------------------
   Story CTA Button
   ---------------------------------------- */
.story-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: var(--story-accent);
    color: white;
    font-size: 18px;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 24px;
    text-decoration: none;
}

.story-cta:hover {
    background: #e07b00;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 140, 0, 0.3);
}

.story-cta svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.story-cta:hover svg {
    transform: translateX(4px);
}

/* ----------------------------------------
   Responsive Styles
   ---------------------------------------- */
@media (max-width: 968px) {
    .story-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .story-section.story-learning .story-container,
    .story-section.story-twins .story-container {
        direction: ltr;
    }

    .story-visual {
        order: -1;
        min-height: 300px;
    }

    .story-content h2 {
        font-size: 36px;
    }

    .story-content p {
        font-size: 18px;
    }

    .story-features {
        align-items: flex-start;
    }

    .story-progress {
        right: 15px;
    }

    .story-progress-dot {
        width: 10px;
        height: 10px;
    }

    .story-progress-dot::before {
        display: none;
    }
}

@media (max-width: 640px) {
    .story-section {
        padding: 40px 16px;
        min-height: auto;
        padding-top: 100px;
        padding-bottom: 60px;
    }

    .story-container {
        padding: 0 16px;
        gap: 30px;
    }

    .story-content h2 {
        font-size: 28px;
    }

    .story-content p {
        font-size: 16px;
    }

    .story-chapter {
        font-size: 12px;
    }

    .story-svg {
        max-width: 300px;
    }

    .story-visual {
        min-height: 280px;
    }

    .story-cta {
        width: 100%;
        justify-content: center;
        padding: 14px 24px;
        font-size: 16px;
    }

    .story-progress {
        display: none;
    }
}

/* ----------------------------------------
   Reduced Motion Support
   ---------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    .story-content,
    .story-feature,
    .story-svg .anim-node,
    .story-svg .anim-line,
    .seeker-group,
    .provider-group,
    .ai-brain-group,
    .human-node,
    .ai-node,
    .enhanced-node,
    .feedback-node,
    .central-hub,
    .satellite-node,
    .network-line,
    .human-side,
    .digital-side,
    .knowledge-flow,
    .sync-arrow,
    .entity-pair,
    .center-symbol,
    .collective-glow,
    .network-connections {
        transition: none !important;
        animation: none !important;
    }

    .story-section .story-content,
    .story-section .story-feature,
    .story-section .story-svg .anim-node {
        opacity: 1;
        transform: none;
    }

    /* Show Chapter 4 elements immediately */
    .story-twins .human-side,
    .story-twins .digital-side,
    .story-twins .sync-arrow {
        opacity: 1;
    }

    /* Hide flowing particles for reduced motion */
    .story-twins .knowledge-flow {
        display: none;
    }

    /* Show Chapter 5 elements immediately */
    .story-coexist .entity-pair,
    .story-coexist .center-symbol,
    .story-coexist .connect-line {
        opacity: 1;
    }

    /* Hide Chapter 5 flowing particles */
    .story-coexist .flow-in,
    .story-coexist .flow-out {
        display: none;
    }

    .story-svg .anim-line,
    .network-line,
    .strong-link,
    .mirror-line {
        stroke-dasharray: none;
        stroke-dashoffset: 0;
    }
}

/* ----------------------------------------
   Parallax Layer (Optional Enhancement)
   ---------------------------------------- */
.story-parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.parallax-shape {
    position: absolute;
    opacity: 0.08;
    will-change: transform;
}

.parallax-circle-1 {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: var(--story-accent);
    top: -100px;
    left: -100px;
}

.parallax-circle-2 {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: var(--story-accent);
    bottom: -50px;
    right: -50px;
}

/* ----------------------------------------
   How Jambvant Works - 3 Step Clarity
   ---------------------------------------- */
.how-it-works-section {
    padding: 80px 20px;
    background: var(--bg-light, #f8f9fa);
    text-align: center;
}

[data-theme="dark"] .how-it-works-section {
    background: var(--card-bg, #1f2937);
}

.how-it-works-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark, #1a1a1a);
    margin-bottom: 60px;
}

[data-theme="dark"] .how-it-works-title {
    color: var(--text-dark, #f0f0f0);
}

.how-it-works-steps {
    display: flex;
    justify-content: center;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.how-it-works-step {
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    padding: 30px 25px;
    background: var(--bg-white, #ffffff);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

[data-theme="dark"] .how-it-works-step {
    background: var(--bg-dark, #111827);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.how-it-works-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(255, 140, 0, 0.15);
}

.how-it-works-step .step-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.how-it-works-step .step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #FF8C00, #FFB347);
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 10px rgba(255, 140, 0, 0.3);
}

.how-it-works-step .step-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark, #1a1a1a);
    margin-bottom: 12px;
}

[data-theme="dark"] .how-it-works-step .step-title {
    color: var(--text-dark, #f0f0f0);
}

.how-it-works-step .step-description {
    font-size: 1rem;
    color: var(--text-gray, #666);
    line-height: 1.6;
    margin: 0;
}

[data-theme="dark"] .how-it-works-step .step-description {
    color: var(--text-muted, #9ca3af);
}

.how-it-works-step .step-example {
    font-size: 0.9rem;
    color: var(--story-accent, #FF8C00);
    font-style: italic;
    margin-top: 8px;
    margin-bottom: 0;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .how-it-works-section {
        padding: 60px 15px;
    }

    .how-it-works-title {
        font-size: 1.8rem;
        margin-bottom: 40px;
    }

    .how-it-works-steps {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .how-it-works-step {
        min-width: unset;
        width: 100%;
        max-width: 350px;
    }
}

/* ----------------------------------------
   Journey Section - Clean Minimal Design
   ---------------------------------------- */
.journey-section {
    padding: 100px 20px;
    background: #FFFFFF;
}

[data-theme="dark"] .journey-section {
    background: #0f0f0f;
}

.journey-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 80px;
    letter-spacing: -0.02em;
}

[data-theme="dark"] .journey-title {
    color: #f0f0f0;
}

/* Steps Container - Horizontal Layout */
.steps-container {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    max-width: 1100px;
    margin: 0 auto 80px;
}

/* Individual Step */
.step-item {
    flex: 1;
    max-width: 300px;
    text-align: center;
    padding: 0 24px;
}

/* Large Step Number - Override theme.css completely */
.journey-section .step-number {
    width: auto;
    height: auto;
    background: none;
    border-radius: 0;
    display: block;
    font-size: 5rem;
    font-weight: 800;
    color: #FF8C00;
    line-height: 1;
    margin: 0 0 24px 0;
    letter-spacing: -0.04em;
    padding: 0;
}

[data-theme="dark"] .journey-section .step-number {
    color: #FF8C00;
    background: none;
}

/* Step Content */
.step-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 12px 0;
}

[data-theme="dark"] .step-content h3 {
    color: #f0f0f0;
}

/* Time Badge */
.step-time {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: #FF8C00;
    background: rgba(255, 140, 0, 0.1);
    padding: 6px 14px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

[data-theme="dark"] .step-time {
    background: rgba(255, 140, 0, 0.15);
}

/* Step Description */
.step-desc {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

[data-theme="dark"] .step-desc {
    color: #9ca3af;
}

/* Connector Line */
.step-connector {
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, #FF8C00, #FFB347);
    margin-top: 56px;
    flex-shrink: 0;
    border-radius: 1px;
}

[data-theme="dark"] .step-connector {
    background: linear-gradient(90deg, #cc7000, #e89830);
}

/* Journey Continues */
.journey-continues {
    text-align: center;
    padding: 32px 24px;
    background: #f9f9f9;
    border-radius: 16px;
    max-width: 700px;
    margin: 0 auto;
}

[data-theme="dark"] .journey-continues {
    background: #1a1a1a;
}

.journey-continues-label {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 16px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

[data-theme="dark"] .journey-continues-label {
    color: #777;
}

.journey-continues-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a1a;
}

[data-theme="dark"] .journey-continues-steps {
    color: #e0e0e0;
}

.journey-arrow {
    color: #FF8C00;
    font-size: 1.1rem;
}

/* Social Proof Section */
.social-proof-section {
    text-align: center;
    padding: 36px 24px;
    margin-top: 48px;
    background: #1a1a1a;
    border-radius: 16px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

[data-theme="dark"] .social-proof-section {
    background: #1f1f1f;
    border: 1px solid rgba(255, 140, 0, 0.2);
}

.social-proof-intro {
    font-size: 0.85rem;
    color: #FF8C00;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

.social-proof-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.social-proof-stat {
    font-size: 1rem;
    color: #ffffff;
}

.social-proof-stat strong {
    font-weight: 600;
}

.social-proof-divider {
    color: rgba(255, 255, 255, 0.2);
    font-weight: 300;
}

/* Journey Mobile Responsive */
@media (max-width: 900px) {
    .steps-container {
        flex-direction: column;
        align-items: center;
        gap: 48px;
    }

    .step-item {
        max-width: 320px;
    }

    .step-connector {
        width: 2px;
        height: 48px;
        margin: 0;
    }

    .journey-section .step-number {
        font-size: 4rem;
    }
}

@media (max-width: 768px) {
    .journey-section {
        padding: 60px 16px;
    }

    .journey-title {
        font-size: 2rem;
        margin-bottom: 48px;
    }

    .steps-container {
        gap: 32px;
        margin-bottom: 48px;
    }

    .step-item {
        padding: 0 16px;
    }

    .journey-section .step-number {
        font-size: 3.5rem;
        margin-bottom: 16px;
    }

    .journey-section .step-content h3 {
        font-size: 1.25rem;
    }

    .step-time {
        font-size: 0.7rem;
        padding: 5px 12px;
    }

    .step-desc {
        font-size: 0.9rem;
    }

    .step-connector {
        height: 32px;
    }

    .journey-continues {
        padding: 24px 16px;
    }

    .journey-continues-label {
        font-size: 0.8rem;
    }

    .journey-continues-steps {
        font-size: 0.9rem;
        gap: 10px;
    }

    .social-proof-section {
        padding: 28px 16px;
        margin-top: 32px;
    }

    .social-proof-intro {
        font-size: 0.75rem;
    }

    .social-proof-stats {
        flex-direction: column;
        gap: 12px;
    }

    .social-proof-divider {
        display: none;
    }

    .social-proof-stat {
        font-size: 0.95rem;
    }
}

/* ----------------------------------------
   FAQ Section
   ---------------------------------------- */
.faq-section {
    padding: 80px 20px;
    background: #f8f9fa;
}

[data-theme="dark"] .faq-section {
    background: #0a0a0a;
}

.faq-title {
    text-align: center;
    font-size: 2.25rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 48px;
    letter-spacing: -0.02em;
}

[data-theme="dark"] .faq-title {
    color: #f0f0f0;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: #ffffff;
    padding: 24px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

[data-theme="dark"] .faq-item {
    background: #1a1a1a;
    border-color: #2a2a2a;
}

.faq-item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border-color: rgba(255, 140, 0, 0.3);
}

[data-theme="dark"] .faq-item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 140, 0, 0.4);
}

.faq-question {
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 12px 0;
    line-height: 1.4;
}

[data-theme="dark"] .faq-question {
    color: #f0f0f0;
}

.faq-answer {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

[data-theme="dark"] .faq-answer {
    color: #9ca3af;
}

/* FAQ Mobile Responsive */
@media (max-width: 768px) {
    .faq-section {
        padding: 60px 16px;
    }

    .faq-title {
        font-size: 1.75rem;
        margin-bottom: 32px;
    }

    .faq-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .faq-item {
        padding: 20px;
    }

    .faq-question {
        font-size: 0.95rem;
    }

    .faq-answer {
        font-size: 0.85rem;
    }
}
