/* ========================================
   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;
    }
}
/* Jambvant - Modal Styles */
/* Glass-Neumorphism Blend for Modern UI */

/* ========================================
   GLASS-NEUMORPHIC MODAL OVERLAYS
   ======================================== */

.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(6px) saturate(120%);
    -webkit-backdrop-filter: blur(6px) saturate(120%);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal-overlay.active {
    display: flex;
}

/* Profile Modal Styles */
.profile-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(6px) saturate(120%);
    -webkit-backdrop-filter: blur(6px) saturate(120%);
    z-index: 2001;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.profile-modal-overlay.active {
    display: flex;
}

/* ========================================
   GLASS-NEUMORPHIC MODAL CONTAINERS
   ======================================== */

.profile-modal-container {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow:
        /* Neumorphic outer shadows */
        12px 12px 36px rgba(0, 0, 0, 0.1),
        -12px -12px 36px rgba(255, 255, 255, 0.9),
        /* Inner glass highlight */
        inset 0 2px 2px rgba(255, 255, 255, 0.9),
        inset 0 -1px 1px rgba(0, 0, 0, 0.02);
    width: 380px;
    max-width: 100%;
    max-height: 90vh;
    position: relative;
    animation: profileModalSlideIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Dark mode modal glass-neumorphism */
[data-theme="dark"] .modal-overlay,
[data-theme="dark"] .profile-modal-overlay {
    background-color: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(8px) saturate(130%);
    -webkit-backdrop-filter: blur(8px) saturate(130%);
}

[data-theme="dark"] .profile-modal-container {
    background: rgba(28, 28, 28, 0.94);
    backdrop-filter: blur(16px) saturate(150%);
    -webkit-backdrop-filter: blur(16px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow:
        /* Dark neumorphic shadows */
        12px 12px 36px rgba(0, 0, 0, 0.45),
        -12px -12px 36px rgba(50, 50, 50, 0.25),
        /* Inner highlight */
        inset 0 2px 2px rgba(255, 255, 255, 0.04),
        inset 0 -1px 1px rgba(0, 0, 0, 0.1);
}

@keyframes profileModalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.profile-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--bg-white);
    border: none;
    font-size: 24px;
    color: var(--text-gray);
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.profile-modal-close:hover {
    background-color: var(--bg-light);
    color: var(--text-dark);
    transform: scale(1.1);
}

.profile-modal-content {
    padding: 30px;
    text-align: center;
    overflow-y: auto;
    overflow-x: hidden;
    flex: 1;
    min-height: 0;
}

.profile-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    font-weight: 700;
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.profile-name {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
    line-height: 1.2;
}

.profile-tier-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 16px;
}

.profile-tier-badge {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.profile-tier-badge.bronze {
    background: radial-gradient(circle at 30% 30%, #CD7F32, #8B5A3C);
}

.profile-tier-badge.silver {
    background: radial-gradient(circle at 30% 30%, #D3D3D3, #A8A9A9);
}

.profile-tier-badge.gold {
    background: radial-gradient(circle at 30% 30%, #FFD700, #FFC700);
}

.profile-tier-badge.platinum {
    background: radial-gradient(circle at 30% 30%, #E6CCFF, #B997EC);
}

.profile-tier-badge.emerald {
    background: radial-gradient(circle at 30% 30%, #7FD8BE, #50C878);
}

.profile-tier-badge.diamond {
    background: radial-gradient(circle at 30% 30%, #00BFFF, #1E90FF);
}

.profile-tier-text {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
}

.profile-helps {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 20px;
}

.profile-helps-number {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-purple);
    display: block;
    margin-bottom: 4px;
}

.profile-bio {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 16px;
    padding: 0 10px;
}

.profile-location {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.profile-location::before {
    content: '📍';
    font-size: 16px;
}

.profile-connect-btn {
    width: 100%;
    padding: 14px 24px;
    background-color: #FF8C00;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(255, 140, 0, 0.3);
}

.profile-connect-btn:hover {
    background-color: #E07B00;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 140, 0, 0.4);
}

.profile-connect-btn:active {
    transform: translateY(0);
}

.profile-connect-btn.connected {
    background-color: var(--color-success);
}

/* Login/Signup Modal Styles - Glass-Neumorphism Blend */
.modal-container {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow:
        /* Neumorphic outer shadows */
        12px 12px 36px rgba(0, 0, 0, 0.1),
        -12px -12px 36px rgba(255, 255, 255, 0.9),
        /* Inner glass highlight */
        inset 0 2px 2px rgba(255, 255, 255, 0.9),
        inset 0 -1px 1px rgba(0, 0, 0, 0.02);
    width: 400px;
    max-width: 90%;
    max-height: 90vh;
    position: relative;
    animation: modalSlideIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* Dark mode modal container glass-neumorphism */
[data-theme="dark"] .modal-container {
    background: rgba(28, 28, 28, 0.94);
    backdrop-filter: blur(16px) saturate(150%);
    -webkit-backdrop-filter: blur(16px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow:
        /* Dark neumorphic shadows */
        12px 12px 36px rgba(0, 0, 0, 0.45),
        -12px -12px 36px rgba(50, 50, 50, 0.25),
        /* Inner highlight */
        inset 0 2px 2px rgba(255, 255, 255, 0.04),
        inset 0 -1px 1px rgba(0, 0, 0, 0.1);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    padding: 24px 24px 0 24px;
    position: relative;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.modal-title {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 24px;
    font-weight: 700;
    font-style: normal;
    color: var(--text-dark);
    margin-bottom: 24px;
    text-align: center;
    letter-spacing: -0.3px;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--bg-light);
    border: none;
    font-size: 20px;
    font-weight: 400;
    color: var(--text-gray);
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background-color: var(--bg-light);
    color: var(--text-dark);
}

.modal-tabs {
    display: flex;
    border-bottom: 2px solid #e0e0e0;
    margin: 0 24px;
}

.modal-tab {
    flex: 1;
    padding: 12px 16px;
    background: none;
    border: none;
    font-size: 16px;
    font-weight: 600;
    color: #999;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.modal-tab.active {
    color: #FF8C00;
}

.modal-tab.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #FF8C00;
}

.modal-body {
    padding: 24px;
    overflow-y: auto;
    overflow-x: hidden;
    flex: 1;
    min-height: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.form-group {
    margin-bottom: 16px;
}

.form-label {
    display: block;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 14px;
    font-weight: 600;
    font-style: normal;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 14px;
    font-style: normal;
    color: var(--text-dark);
    background-color: var(--bg-white);
    transition: all 0.2s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-purple);
    box-shadow: 0 0 0 3px rgba(255, 140, 0, 0.15);
}

.form-input::placeholder {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-style: normal;
    color: var(--text-gray);
    opacity: 0.7;
}

.btn-modal-primary {
    width: 100%;
    padding: 14px;
    background-color: var(--primary-purple);
    color: white;
    border: none;
    border-radius: 8px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    font-weight: 600;
    font-style: normal;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 8px;
}

.btn-modal-primary:hover:not(:disabled) {
    background-color: var(--primary-purple-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 140, 0, 0.3);
}

.btn-modal-primary:disabled {
    background-color: #CCC;
    cursor: not-allowed;
    opacity: 0.6;
}

.input-with-audio {
    position: relative;
}

/* Modal-specific mic button overrides - inherits from components.css base styles */
.modal-overlay .audio-record-btn,
.modal-container .audio-record-btn {
    position: absolute;
    right: 8px;
    top: 8px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, #FF8C00 0%, #FF6B00 50%, #FF5500 100%);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
    box-shadow: 0 2px 8px rgba(255, 140, 0, 0.4), 0 0 0 0 rgba(255, 140, 0, 0.3);
    animation: mic-glow 3s ease-in-out infinite;
    transform: none;
}

@keyframes mic-glow {
    0%, 100% {
        box-shadow: 0 2px 8px rgba(255, 140, 0, 0.4), 0 0 0 0 rgba(255, 140, 0, 0.3);
    }
    50% {
        box-shadow: 0 4px 12px rgba(255, 140, 0, 0.5), 0 0 0 4px rgba(255, 140, 0, 0.1);
    }
}

.modal-overlay .audio-record-btn:hover,
.modal-container .audio-record-btn:hover {
    background: linear-gradient(135deg, #FF9500 0%, #FF7A00 50%, #FF6600 100%);
    transform: scale(1.15);
    box-shadow: 0 4px 16px rgba(255, 140, 0, 0.6), 0 0 0 6px rgba(255, 140, 0, 0.15);
    animation: none;
}

.modal-overlay .audio-record-btn.recording,
.modal-container .audio-record-btn.recording {
    background: linear-gradient(135deg, #FF4444 0%, #EF4444 50%, #DC2626 100%);
    animation: mic-pulse-modal 1s ease-in-out infinite;
}

@keyframes mic-pulse-modal {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7), 0 2px 8px rgba(239, 68, 68, 0.5);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 0 12px rgba(239, 68, 68, 0), 0 4px 16px rgba(239, 68, 68, 0.6);
        transform: scale(1.05);
    }
}

.modal-overlay .audio-record-btn.processing,
.modal-container .audio-record-btn.processing {
    background: linear-gradient(135deg, #6B7280 0%, #4B5563 100%);
    animation: none;
    cursor: wait;
    opacity: 0.8;
}

.form-input.with-audio {
    padding-right: 45px;
}

textarea.form-input.with-audio {
    padding-right: 50px;
}

.error-message {
    color: #FF4444;
    font-size: 14px;
    margin-top: 4px;
    display: none;
}

.error-message.show {
    display: block;
}

/* Terms Consent Checkbox Styles */
.terms-consent-wrapper {
    margin: 0;
}

.terms-consent-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    gap: 12px;
    line-height: 1.5;
}

.terms-consent-checkbox {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin: 2px 0 0 0;
    cursor: pointer;
    accent-color: #FF8C00;
}

.terms-consent-text {
    font-size: 14px;
    color: var(--text-dark);
    flex: 1;
}

.terms-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.terms-link:hover {
    color: #FF8C00;
    text-decoration: underline;
}

.divider {
    display: flex;
    align-items: center;
    margin: 24px 0;
    color: var(--text-gray);
    font-size: 14px;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background-color: #e0e0e0;
}

.divider::before {
    margin-right: 12px;
}

.divider::after {
    margin-left: 12px;
}

.btn-google {
    width: 100%;
    padding: 12px;
    background-color: white;
    color: #333;
    border: 1px solid #DDD;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.2s ease;
}

.btn-google:hover {
    background-color: var(--bg-light);
    border-color: #999;
}

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

/* Ensure Google button is visible in dark mode */
[data-theme="dark"] .btn-google {
    background-color: white;
    color: #333;
    border-color: #DDD;
}

[data-theme="dark"] .btn-google:hover {
    background-color: #f5f5f5;
    border-color: #999;
}

.btn-linkedin {
    width: 100%;
    padding: 12px;
    background-color: #0077B5;
    color: white;
    border: 1px solid #0077B5;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.2s ease;
    margin-top: 12px;
}

.btn-linkedin:hover {
    background-color: #005582;
    border-color: #005582;
}

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

/* Custom Scrollbar Styles for Modal Bodies */
.modal-body::-webkit-scrollbar,
.profile-modal-content::-webkit-scrollbar {
    width: 8px;
}

.modal-body::-webkit-scrollbar-track,
.profile-modal-content::-webkit-scrollbar-track {
    background: var(--bg-light);
    border-radius: 4px;
}

.modal-body::-webkit-scrollbar-thumb,
.profile-modal-content::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}

.modal-body::-webkit-scrollbar-thumb:hover,
.profile-modal-content::-webkit-scrollbar-thumb:hover {
    background: #999;
}

/* Zoom-aware modal adjustments */
@media screen and (min-resolution: 1.25dppx) {
    .modal-container,
    .profile-modal-container {
        max-height: 85vh;
    }
}

@media screen and (min-resolution: 1.5dppx) {
    .modal-container,
    .profile-modal-container {
        max-height: 80vh;
    }
}

@media screen and (min-resolution: 2dppx) {
    .modal-container,
    .profile-modal-container {
        max-height: 75vh;
    }
}

/* Ensure modal header doesn't shrink when scrolling */
.modal-header {
    flex-shrink: 0;
}

/* Responsive Design */
@media (max-width: 480px) {
    .profile-modal-container {
        width: 100%;
        max-width: 340px;
    }

    .profile-modal-content {
        padding: 24px 20px;
    }

    .profile-avatar {
        width: 80px;
        height: 80px;
        font-size: 30px;
    }

    .profile-name {
        font-size: 20px;
    }

    .profile-helps-number {
        font-size: 24px;
    }

    .modal-container {
        width: 90%;
    }

    .modal-title {
        font-size: 20px;
    }

    .modal-body {
        padding: 20px;
    }
}

/* Password Toggle Styles */
.password-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.password-input-wrapper .password-input {
    width: 100%;
    padding-right: 45px;
}

.password-toggle-btn {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-gray);
    transition: color 0.2s ease;
    z-index: 10;
}

.password-toggle-btn:hover {
    color: var(--text-dark);
}

.password-toggle-btn:focus {
    outline: none;
    color: #FF8C00;
}

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

/* Toggle between eye-open and eye-closed icons */
.password-toggle-btn[data-visible="true"] .eye-open {
    display: none;
}

.password-toggle-btn[data-visible="true"] .eye-closed {
    display: block !important;
}

.password-toggle-btn[data-visible="false"] .eye-open {
    display: block;
}

.password-toggle-btn[data-visible="false"] .eye-closed {
    display: none;
}

/* Help Intent Audio Button Styles */
/* Glass-Neumorphism Audio Button */
.help-audio-btn {
    width: 72px;
    height: 72px;
    border: none;
    border-radius: 50%;
    /* Glass-Neumorphism button */
    background: linear-gradient(145deg, #FFE8D0, #FFF0E0);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        6px 6px 16px rgba(255, 140, 0, 0.15),
        -6px -6px 16px rgba(255, 255, 255, 0.9),
        inset 0 2px 4px rgba(255, 255, 255, 0.8),
        inset 0 -2px 4px rgba(255, 140, 0, 0.1);
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
    margin: 0 8px;
    position: relative;
}
.help-audio-btn.prominent {
    width: 88px;
    height: 88px;
    background: linear-gradient(145deg, #FFE5C8, #FFEED8);
    box-shadow:
        8px 8px 24px rgba(255, 140, 0, 0.2),
        -8px -8px 24px rgba(255, 255, 255, 0.95),
        inset 0 3px 6px rgba(255, 255, 255, 0.9),
        inset 0 -3px 6px rgba(255, 140, 0, 0.12);
}
.help-audio-btn:hover {
    transform: scale(1.05);
    box-shadow:
        8px 8px 24px rgba(255, 140, 0, 0.22),
        -8px -8px 24px rgba(255, 255, 255, 1),
        0 8px 20px rgba(255, 140, 0, 0.2);
}
.help-audio-btn:active, .help-audio-btn:focus {
    transform: scale(0.98);
    box-shadow:
        inset 4px 4px 10px rgba(255, 120, 0, 0.15),
        inset -4px -4px 10px rgba(255, 255, 255, 0.7);
    background: linear-gradient(145deg, #FFDFC0, #FFE8D0);
}
.help-audio-mic {
    display: block;
    width: 38px;
    height: 38px;
    background: none;
    mask: url('data:image/svg+xml;utf8,<svg width="38" height="38" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><rect width="24" height="24" fill="none"/><path d="M12 16c1.66 0 3-1.34 3-3V7c0-1.66-1.34-3-3-3s-3 1.34-3 3v6c0 1.66 1.34 3 3 3zm5-3c0 2.76-2.24 5-5 5s-5-2.24-5-5H5c0 3.07 2.13 5.64 5 6.32V21h2v-1.68c2.87-.68 5-3.25 5-6.32h-2z" fill="orange"/></svg>') center/contain no-repeat;
    -webkit-mask: url('data:image/svg+xml;utf8,<svg width="38" height="38" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><rect width="24" height="24" fill="none"/><path d="M12 16c1.66 0 3-1.34 3-3V7c0-1.66-1.34-3-3-3s-3 1.34-3 3v6c0 1.66 1.34 3 3 3zm5-3c0 2.76-2.24 5-5 5s-5-2.24-5-5H5c0 3.07 2.13 5.64 5 6.32V21h2v-1.68c2.87-.68 5-3.25 5-6.32h-2z" fill="orange"/></svg>') center/contain no-repeat;
    background-color: #FF9800;
}
.help-type-link {
    color: #FF9800;
    font-weight: 600;
    font-size: 16px;
    text-decoration: underline;
    cursor: pointer;
    margin-left: 8px;
    margin-right: 8px;
    background: none;
    border: none;
    outline: none;
    padding: 0;
    transition: color 0.2s;
}
.help-type-link:hover {
    color: #FF8C00;
}
.help-type-textarea {
    min-width: 0;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
}
/* ========================================
   Mobile Responsive Styles
   Optimized for touch and smaller screens
   ======================================== */

@media (max-width: 600px) {
    .wizard-modal-overlay::before {
        display: none; /* Hide click outside hint on mobile */
    }

    .wizard-modal-overlay {
        /* Allow scrolling on the overlay for mobile */
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .wizard-modal-container {
        width: 100%;
        max-width: 100vw;
        /* Use min-height instead of height to allow expansion with larger fonts */
        min-height: 100vh;
        min-height: 100dvh; /* Dynamic viewport height for mobile browsers */
        max-height: none; /* Remove max-height restriction */
        height: auto;
        border-radius: 0;
        animation: wizardModalSlideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        /* Allow content to overflow and scroll */
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
    }

    @keyframes wizardModalSlideUp {
        from {
            opacity: 0;
            transform: translateY(100%);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .wizard-header {
        padding: 20px 20px 16px;
        border-radius: 0;
    }

    .wizard-title {
        font-size: 22px;
    }

    .wizard-subtitle {
        font-size: 14px;
    }

    .wizard-close {
        top: 12px;
        right: 12px;
    }

    .wizard-progress {
        padding: 16px 12px;
        gap: 4px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .wizard-progress-step {
        min-width: 60px;
    }

    .wizard-progress-circle {
        width: 32px;
        height: 32px;
        font-size: 13px;
    }

    .wizard-progress-label {
        font-size: 10px;
    }

    .wizard-body {
        padding: 20px 16px;
        padding-bottom: 160px; /* Space for fixed footer */
        /* Ensure scrolling works on mobile with larger fonts */
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
        /* Allow body to grow with content */
        min-height: 0;
        flex: 1 1 auto;
    }

    .wizard-step h3 {
        font-size: 20px;
    }

    .wizard-step-description {
        font-size: 14px;
    }

    .wizard-footer {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1001;
        background: var(--bg-white);
        padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
        border-radius: 16px 16px 0 0;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }

    .wizard-footer-info {
        width: 100%;
        justify-content: center;
        order: -1;
        margin-bottom: 4px;
    }

    .wizard-btn {
        flex: 1;
        min-height: 52px;
        font-size: 16px;
        border-radius: 12px;
    }

    .wizard-btn-primary {
        font-size: 17px;
        font-weight: 700;
    }

    .wizard-btn-secondary {
        flex: 0 0 auto;
        min-width: 100px;
    }

    .wizard-btn-secondary::before {
        display: none;
    }

    .wizard-btn-primary::after {
        display: none;
    }

    /* Segment cards - 2 column on mobile */
    .wizard-segment-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .wizard-segment-card {
        padding: 16px 12px;
    }

    .wizard-segment-icon {
        font-size: 32px;
        margin-bottom: 8px;
    }

    .wizard-segment-title {
        font-size: 13px;
    }

    .wizard-segment-desc {
        font-size: 11px;
    }

    /* Skills grid - 2 column on mobile */
    .wizard-skills-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .wizard-skill-item {
        padding: 10px 12px;
        font-size: 13px;
    }

    /* Photo upload compact */
    .wizard-photo-upload {
        flex-direction: column;
        text-align: center;
    }

    .wizard-photo-preview {
        width: 72px;
        height: 72px;
    }

    /* Form inputs touch-friendly */
    .wizard-form-input,
    .form-input {
        min-height: 48px;
        font-size: 16px; /* Prevents iOS zoom on focus */
    }

    textarea.wizard-form-input,
    textarea.form-input {
        min-height: 100px;
    }

    /* Summary compact */
    .wizard-summary-item {
        flex-direction: column;
        gap: 4px;
        align-items: flex-start;
    }

    .wizard-summary-value {
        max-width: 100%;
        text-align: left;
    }

    /* Toast position for mobile */
    .wizard-toast {
        left: 16px;
        right: 16px;
        bottom: 100px;
        transform: translateY(100px);
    }

    .wizard-toast.show {
        transform: translateY(0);
    }
}

/* Small phones */
@media (max-width: 380px) {
    .wizard-segment-grid {
        grid-template-columns: 1fr;
    }

    .wizard-skills-grid {
        grid-template-columns: 1fr 1fr;
    }

    .wizard-progress-label {
        display: none;
    }

    .wizard-progress-step:not(:last-child)::after {
        top: 16px;
    }
}

/* Tablet landscape */
@media (min-width: 601px) and (max-width: 900px) {
    .wizard-modal-container {
        width: 90%;
        max-width: 600px;
    }
}

/* Large screens */
@media (min-width: 901px) {
    .wizard-modal-container {
        width: 620px;
    }

    .wizard-segment-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
/* Jambvant - Profile Wizard Styles */
/* Modern UX inspired by LinkedIn, Notion, and top web apps */

.wizard-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Glass-Neumorphism overlay */
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px) saturate(120%);
    -webkit-backdrop-filter: blur(8px) saturate(120%);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.wizard-modal-overlay.active {
    display: flex;
    opacity: 1;
}

/* Clicking outside to close indicator */
.wizard-modal-overlay::before {
    content: 'Click outside to close';
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    opacity: 0;
    transition: opacity 0.3s ease 0.5s;
    pointer-events: none;
}

.wizard-modal-overlay.active::before {
    opacity: 1;
}

.wizard-modal-container {
    /* Glass-Neumorphism wizard container */
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 28px;
    box-shadow:
        14px 14px 40px var(--glass-neu-dark, rgba(0, 0, 0, 0.12)),
        -14px -14px 40px var(--glass-neu-light, rgba(255, 255, 255, 0.95)),
        inset 0 2px 2px rgba(255, 255, 255, 0.95),
        inset 0 -1px 1px rgba(0, 0, 0, 0.02);
    width: 580px;
    max-width: 95%;
    max-height: 90vh;
    position: relative;
    animation: wizardModalSlideIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    /* Changed from hidden to allow scrolling within wizard-body */
    overflow: visible;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

[data-theme="dark"] .wizard-modal-container {
    background: rgba(28, 28, 28, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow:
        14px 14px 40px var(--glass-neu-dark, rgba(0, 0, 0, 0.5)),
        -14px -14px 40px var(--glass-neu-light, rgba(50, 50, 50, 0.3)),
        inset 0 2px 2px rgba(255, 255, 255, 0.04);
}

@keyframes wizardModalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Modal closing animation */
.wizard-modal-overlay.closing .wizard-modal-container {
    animation: wizardModalSlideOut 0.25s cubic-bezier(0.4, 0, 1, 1) forwards;
}

@keyframes wizardModalSlideOut {
    to {
        opacity: 0;
        transform: scale(0.95) translateY(10px);
    }
}

.wizard-header {
    padding: 28px 28px 20px;
    background: linear-gradient(135deg, #FF8C00 0%, #FF6B00 100%);
    color: white;
    text-align: center;
    position: relative;
    flex-shrink: 0;
}

/* Decorative pattern overlay */
.wizard-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.wizard-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    font-size: 20px;
    color: white;
    cursor: pointer;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
    z-index: 10;
}

.wizard-close:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: rotate(90deg);
}

.wizard-close:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.5);
}

.wizard-title {
    margin: 0;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -0.5px;
    position: relative;
    z-index: 1;
}

.wizard-subtitle {
    margin: 10px 0 0 0;
    font-size: 15px;
    opacity: 0.9;
    position: relative;
    z-index: 1;
    font-weight: 400;
}

/* Modern Progress Bar - LinkedIn/Notion style */
.wizard-progress {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 28px;
    background-color: var(--bg-white);
    flex-shrink: 0;
    border-bottom: 1px solid var(--border-color);
    gap: 8px;
}

.wizard-progress-step {
    flex: 1;
    text-align: center;
    position: relative;
    max-width: 120px;
}

.wizard-progress-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 16px;
    left: calc(50% + 20px);
    width: calc(100% - 40px);
    height: 3px;
    background-color: var(--border-color);
    z-index: 0;
    border-radius: 2px;
    transition: background-color 0.4s ease;
}

.wizard-progress-step.completed::after {
    background: linear-gradient(90deg, #FF8C00, #FFB347);
}

.wizard-progress-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--bg-light);
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 6px;
    font-weight: 600;
    font-size: 14px;
    color: var(--text-gray);
    position: relative;
    z-index: 1;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.wizard-progress-step.active .wizard-progress-circle {
    background: linear-gradient(135deg, #FF8C00 0%, #FF6B00 100%);
    border-color: #FF8C00;
    color: white;
    transform: scale(1.15);
    box-shadow: 0 4px 14px rgba(255, 140, 0, 0.4);
}

.wizard-progress-step.completed .wizard-progress-circle {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    border-color: #10B981;
    color: white;
}

/* Checkmark for completed steps */
.wizard-progress-step.completed .wizard-progress-circle::after {
    content: '\2713';
    font-size: 16px;
    font-weight: 700;
}

.wizard-progress-step.completed .wizard-progress-circle span {
    display: none;
}

.wizard-progress-label {
    font-size: 11px;
    color: var(--text-gray);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.wizard-progress-step.active .wizard-progress-label {
    color: #FF8C00;
    font-weight: 700;
}

.wizard-progress-step.completed .wizard-progress-label {
    color: #10B981;
}

.wizard-body {
    padding: 28px;
    overflow-y: auto;
    overflow-x: hidden;
    flex: 1;
    min-height: 0;
    scroll-behavior: smooth;
}

.wizard-step {
    display: none;
}

.wizard-step.active {
    display: block;
    animation: wizardStepFadeIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Direction-aware animations for next/prev navigation */
.wizard-step.active.slide-left {
    animation: wizardStepSlideLeft 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.wizard-step.active.slide-right {
    animation: wizardStepSlideRight 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes wizardStepFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes wizardStepSlideLeft {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes wizardStepSlideRight {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.wizard-step h3 {
    margin: 0 0 8px 0;
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: -0.3px;
}

.wizard-step-description {
    margin: 0 0 24px 0;
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.5;
}

/* Step indicator badge */
.wizard-step-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    background: linear-gradient(135deg, rgba(255, 140, 0, 0.1) 0%, rgba(255, 140, 0, 0.05) 100%);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: #FF8C00;
    margin-bottom: 16px;
}

.wizard-footer {
    padding: 20px 28px;
    background-color: var(--bg-white);
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

/* Footer info text */
.wizard-footer-info {
    font-size: 12px;
    color: var(--text-gray);
    display: flex;
    align-items: center;
    gap: 6px;
}

.wizard-footer-info svg {
    width: 14px;
    height: 14px;
    opacity: 0.6;
}

.wizard-btn {
    padding: 14px 28px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 120px;
}

.wizard-btn-secondary {
    background-color: var(--bg-light);
    color: var(--text-dark);
    border: 1px solid var(--border-color);
}

.wizard-btn-secondary:hover:not(:disabled) {
    background-color: var(--border-color);
    transform: translateX(-2px);
}

.wizard-btn-secondary:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

/* Arrow icon for back button */
.wizard-btn-secondary::before {
    content: '\2190';
    font-size: 18px;
    margin-right: 4px;
}

.wizard-btn-primary {
    background: linear-gradient(135deg, #FF8C00 0%, #FF6B00 100%);
    color: white;
    flex: 1;
    max-width: 200px;
    box-shadow: 0 4px 14px rgba(255, 140, 0, 0.25);
}

.wizard-btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 140, 0, 0.4);
}

.wizard-btn-primary:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 140, 0, 0.4);
}

.wizard-btn-primary:active:not(:disabled) {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(255, 140, 0, 0.3);
}

/* Arrow icon for next button */
.wizard-btn-primary::after {
    content: '\2192';
    font-size: 18px;
    margin-left: 4px;
    transition: transform 0.2s ease;
}

.wizard-btn-primary:hover:not(:disabled)::after {
    transform: translateX(4px);
}

/* Submit button style - different icon */
#wizardSubmitBtn::after {
    content: '\2713';
}

.wizard-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

/* Loading state for buttons */
.wizard-btn.loading {
    pointer-events: none;
    position: relative;
    color: transparent;
}

.wizard-btn.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: wizardBtnSpin 0.8s linear infinite;
}

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

.wizard-skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 10px;
    margin-top: 16px;
}

.wizard-segment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 14px;
    margin-top: 20px;
}

.wizard-segment-card {
    padding: 20px 16px;
    border: 2px solid var(--border-color);
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    background-color: var(--bg-white);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

/* Selection indicator */
.wizard-segment-card::before {
    content: '\2713';
    position: absolute;
    top: 10px;
    right: 10px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #10B981;
    color: white;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.wizard-segment-card:hover {
    border-color: #FF8C00;
    background-color: rgba(255, 140, 0, 0.03);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 140, 0, 0.12);
}

.wizard-segment-card:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 140, 0, 0.3);
}

.wizard-segment-card.selected {
    background: linear-gradient(135deg, #FF8C00 0%, #FF6B00 100%);
    color: white;
    border-color: transparent;
    box-shadow: 0 8px 20px rgba(255, 140, 0, 0.3);
    transform: translateY(-2px);
}

.wizard-segment-card.selected::before {
    opacity: 1;
    transform: scale(1);
    background: white;
    color: #FF8C00;
}

.wizard-segment-card.selected .wizard-segment-title,
.wizard-segment-card.selected .wizard-segment-desc {
    color: white;
}

.wizard-segment-icon {
    font-size: 42px;
    margin-bottom: 12px;
    display: block;
    transition: transform 0.3s ease;
}

.wizard-segment-card:hover .wizard-segment-icon {
    transform: scale(1.1);
}

.wizard-segment-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 6px;
    letter-spacing: -0.2px;
}

.wizard-segment-desc {
    font-size: 12px;
    color: var(--text-gray);
    line-height: 1.4;
}

.wizard-skill-item {
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    background-color: var(--bg-white);
    position: relative;
}

.wizard-skill-item:hover {
    border-color: #FF8C00;
    background-color: rgba(255, 140, 0, 0.05);
    transform: translateY(-2px);
}

.wizard-skill-item:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 140, 0, 0.2);
}

.wizard-skill-item.selected {
    background: linear-gradient(135deg, #FF8C00 0%, #FF6B00 100%);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(255, 140, 0, 0.3);
}

/* Skill item selection animation */
.wizard-skill-item.selected::after {
    content: '\2713';
    position: absolute;
    top: -6px;
    right: -6px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #10B981;
    color: white;
    font-size: 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: skillCheckPop 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes skillCheckPop {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.wizard-toggle-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    background-color: var(--bg-light);
    border-radius: 14px;
    margin-top: 16px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.wizard-toggle-container:hover {
    border-color: rgba(255, 140, 0, 0.3);
}

.wizard-toggle-label {
    flex: 1;
}

.wizard-toggle-title {
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
    font-size: 15px;
}

.wizard-toggle-description {
    font-size: 13px;
    color: var(--text-gray);
    line-height: 1.4;
}

.wizard-toggle-switch {
    position: relative;
    width: 56px;
    height: 30px;
    margin-left: 16px;
    flex-shrink: 0;
}

.wizard-toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.wizard-toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--border-color);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 30px;
}

.wizard-toggle-slider:before {
    position: absolute;
    content: "";
    height: 24px;
    width: 24px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.wizard-toggle-switch input:checked + .wizard-toggle-slider {
    background: linear-gradient(135deg, #FF8C00 0%, #FF6B00 100%);
}

.wizard-toggle-switch input:checked + .wizard-toggle-slider:before {
    transform: translateX(26px);
}

.wizard-toggle-switch input:focus + .wizard-toggle-slider {
    box-shadow: 0 0 0 3px rgba(255, 140, 0, 0.3);
}

/* Review/Summary Section - Card style */
.wizard-summary {
    background-color: var(--bg-white);
    border-radius: 14px;
    padding: 0;
    margin-top: 16px;
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.wizard-summary-header {
    padding: 16px 20px;
    background: linear-gradient(135deg, rgba(255, 140, 0, 0.08) 0%, rgba(255, 140, 0, 0.03) 100%);
    border-bottom: 1px solid var(--border-color);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #FF8C00;
    display: flex;
    align-items: center;
    gap: 8px;
}

.wizard-summary-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 14px 20px;
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.2s ease;
}

.wizard-summary-item:last-child {
    border-bottom: none;
}

.wizard-summary-item:hover {
    background-color: rgba(255, 140, 0, 0.02);
}

.wizard-summary-label {
    font-weight: 500;
    color: var(--text-gray);
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.wizard-summary-label-icon {
    font-size: 16px;
    opacity: 0.7;
}

.wizard-summary-value {
    font-weight: 600;
    color: var(--text-dark);
    text-align: right;
    max-width: 60%;
    font-size: 14px;
    line-height: 1.4;
}

.wizard-summary-value.empty {
    color: var(--text-gray);
    font-style: italic;
    font-weight: 400;
}

/* Edit button in summary */
.wizard-summary-edit {
    margin-left: 8px;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 600;
    color: #FF8C00;
    background: rgba(255, 140, 0, 0.1);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.wizard-summary-edit:hover {
    background: rgba(255, 140, 0, 0.2);
}

.wizard-skills-selected {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
    min-height: 40px;
}

.wizard-skill-tag {
    padding: 8px 14px;
    background: linear-gradient(135deg, #FF8C00 0%, #FF6B00 100%);
    color: white;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    animation: tagPop 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(255, 140, 0, 0.25);
}

@keyframes tagPop {
    0% { transform: scale(0.8); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.wizard-skill-tag-remove {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    color: white;
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
    padding: 0;
    line-height: 1;
}

.wizard-skill-tag-remove:hover {
    background: rgba(255, 255, 255, 0.5);
}

/* Empty state for skills */
.wizard-skills-empty {
    text-align: center;
    padding: 30px 20px;
    color: var(--text-gray);
    font-size: 14px;
}

.wizard-skills-empty-icon {
    font-size: 32px;
    margin-bottom: 8px;
    opacity: 0.5;
}

/* Custom Scrollbar Styles for Wizard Body */
.wizard-body::-webkit-scrollbar {
    width: 6px;
}

.wizard-body::-webkit-scrollbar-track {
    background: transparent;
}

.wizard-body::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.15);
    border-radius: 3px;
}

.wizard-body::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.25);
}

/* Firefox scrollbar */
.wizard-body {
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.15) transparent;
}

/* ========================================
   Enhanced Form Input Styles
   Modern floating label & validation styles
   ======================================== */

.wizard-form-group {
    margin-bottom: 20px;
    position: relative;
}

.wizard-form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    transition: all 0.2s ease;
}

.wizard-form-label.required::after {
    content: '*';
    color: #EF4444;
    margin-left: 4px;
}

.wizard-form-input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 15px;
    color: var(--text-dark);
    background-color: var(--bg-white);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: inherit;
}

.wizard-form-input:hover {
    border-color: rgba(255, 140, 0, 0.4);
}

.wizard-form-input:focus {
    outline: none;
    border-color: #FF8C00;
    box-shadow: 0 0 0 4px rgba(255, 140, 0, 0.12);
}

.wizard-form-input::placeholder {
    color: var(--text-gray);
    opacity: 0.6;
}

/* Textarea specific */
textarea.wizard-form-input {
    resize: vertical;
    min-height: 100px;
}

/* Input with icon */
.wizard-input-icon-wrapper {
    position: relative;
}

.wizard-input-icon-wrapper .wizard-form-input {
    padding-left: 44px;
}

.wizard-input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    color: var(--text-gray);
    pointer-events: none;
    transition: color 0.2s ease;
}

.wizard-input-icon-wrapper:focus-within .wizard-input-icon {
    color: #FF8C00;
}

/* Validation states */
.wizard-form-input.valid {
    border-color: #10B981;
}

.wizard-form-input.valid:focus {
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.12);
}

.wizard-form-input.invalid {
    border-color: #EF4444;
}

.wizard-form-input.invalid:focus {
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.12);
}

.wizard-form-error {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    font-size: 12px;
    color: #EF4444;
    animation: errorShake 0.4s ease;
}

@keyframes errorShake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-4px); }
    40%, 80% { transform: translateX(4px); }
}

.wizard-form-hint {
    margin-top: 6px;
    font-size: 12px;
    color: var(--text-gray);
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Character counter */
.wizard-char-counter {
    position: absolute;
    right: 12px;
    bottom: 10px;
    font-size: 11px;
    color: var(--text-gray);
    background: var(--bg-white);
    padding: 2px 6px;
    border-radius: 4px;
}

.wizard-char-counter.warning {
    color: #F59E0B;
}

.wizard-char-counter.limit {
    color: #EF4444;
}

/* Photo upload enhanced */
.wizard-photo-upload {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 16px;
    background: var(--bg-light);
    border-radius: 12px;
    border: 2px dashed var(--border-color);
    transition: all 0.3s ease;
}

.wizard-photo-upload:hover {
    border-color: rgba(255, 140, 0, 0.5);
    background: rgba(255, 140, 0, 0.03);
}

.wizard-photo-upload.dragover {
    border-color: #FF8C00;
    background: rgba(255, 140, 0, 0.08);
}

.wizard-photo-preview {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--bg-white);
    border: 3px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.wizard-photo-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wizard-photo-preview-placeholder {
    font-size: 32px;
    color: var(--text-gray);
    opacity: 0.5;
}

.wizard-photo-info {
    flex: 1;
}

.wizard-photo-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.2s ease;
}

.wizard-photo-btn:hover {
    background: var(--bg-light);
    border-color: #FF8C00;
    color: #FF8C00;
}

.wizard-photo-hint {
    margin-top: 8px;
    font-size: 12px;
    color: var(--text-gray);
}

/* Success toast notification */
.wizard-toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    padding: 14px 24px;
    background: #10B981;
    color: white;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.3);
    z-index: 1100;
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.wizard-toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.wizard-toast.error {
    background: #EF4444;
}

/* Zoom-aware wizard modal adjustments */
@media screen and (min-resolution: 1.25dppx) {
    .wizard-modal-container {
        max-height: 85vh;
    }
}

@media screen and (min-resolution: 1.5dppx) {
    .wizard-modal-container {
        max-height: 80vh;
    }
}

@media screen and (min-resolution: 2dppx) {
    .wizard-modal-container {
        max-height: 75vh;
    }
}

/* ========================================
   Accessibility Improvements
   ======================================== */

/* Focus visible for keyboard navigation */
.wizard-segment-card:focus-visible,
.wizard-skill-item:focus-visible,
.wizard-btn:focus-visible {
    outline: 3px solid #FF8C00;
    outline-offset: 2px;
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    .wizard-modal-container,
    .wizard-step,
    .wizard-progress-circle,
    .wizard-segment-card,
    .wizard-skill-item,
    .wizard-btn {
        animation: none !important;
        transition-duration: 0.01ms !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .wizard-form-input {
        border-width: 3px;
    }

    .wizard-progress-step.active .wizard-progress-circle {
        border-width: 3px;
    }
}

/* ========================================
   Large Text / Accessibility Font Size Support
   Ensures wizard is scrollable when system font size is increased
   ======================================== */

/* Mobile with large text - ensure scrollability */
@media (max-width: 600px) {
    /* When root font size is large (user has increased text size) */
    .wizard-modal-overlay {
        position: fixed;
        overflow: auto;
        -webkit-overflow-scrolling: touch;
    }

    .wizard-modal-container {
        /* Remove fixed height constraints */
        position: relative;
        height: auto;
        min-height: 100%;
        max-height: none;
        /* Allow vertical scrolling */
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
        /* Prevent touch-action issues on Android */
        touch-action: pan-y;
    }

    .wizard-body {
        /* Ensure body content is scrollable */
        overflow-y: visible;
        overflow-x: hidden;
        /* Allow natural flow */
        height: auto;
        min-height: auto;
        max-height: none;
        /* Touch scrolling */
        -webkit-overflow-scrolling: touch;
        touch-action: pan-y pan-x;
    }

    .wizard-progress {
        /* Allow horizontal scroll for progress steps with larger fonts */
        overflow-x: auto;
        overflow-y: visible;
        -webkit-overflow-scrolling: touch;
        flex-wrap: nowrap;
        /* Ensure touch scrolling works */
        touch-action: pan-x;
    }

    .wizard-footer {
        /* Keep footer accessible but allow page scroll */
        position: sticky;
        bottom: 0;
        z-index: 1001;
    }

    /* Segment grid - single column on large text */
    .wizard-segment-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    /* Skills grid - ensure readable with large text */
    .wizard-skills-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

/* ========================================
   Mobile Swipe-to-Dismiss Handle
   ======================================== */

.wizard-swipe-handle {
    display: none; /* Hidden on desktop */
}

@media (max-width: 600px) {
    .wizard-swipe-handle {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 12px 16px 8px;
        background: linear-gradient(135deg, #FF8C00 0%, #FF6B00 100%);
        cursor: grab;
        touch-action: pan-y;
        user-select: none;
        -webkit-user-select: none;
    }

    .wizard-swipe-handle:active {
        cursor: grabbing;
    }

    .wizard-swipe-indicator {
        width: 40px;
        height: 5px;
        background: rgba(255, 255, 255, 0.5);
        border-radius: 3px;
        margin-bottom: 4px;
    }

    .wizard-swipe-hint {
        font-size: 11px;
        color: rgba(255, 255, 255, 0.8);
        font-weight: 500;
    }

    /* Animate when being dragged */
    .wizard-modal-container.dragging {
        transition: none !important;
    }

    .wizard-modal-container.dismissing {
        transition: transform 0.3s ease-out, opacity 0.3s ease-out !important;
    }
}

/* Extra small screens or very large text */
@media (max-width: 380px) {
    .wizard-modal-container {
        /* Full viewport on tiny screens */
        width: 100%;
        max-width: 100%;
        margin: 0;
        border-radius: 0;
    }

    .wizard-header {
        padding: 16px;
    }

    .wizard-title {
        font-size: 18px;
    }

    .wizard-subtitle {
        font-size: 13px;
    }

    .wizard-body {
        padding: 16px 12px;
        padding-bottom: 140px;
    }

    .wizard-footer {
        padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    }

    .wizard-btn {
        min-height: 48px;
        font-size: 14px;
        padding: 12px 16px;
    }
}
/**
 * index-enhancements.css
 * Enhanced visual improvements for the Jambvant landing page
 * Extracted from inline styles in index.html
 */

/* ========================================
   ALPHA TAG STYLES
   ======================================== */

/* Alpha tag - fixed corner badge with high contrast */
.alpha-tag {
    position: fixed;
    bottom: 16px;
    left: 16px;
    background: #1a1a1a;
    color: #ffffff;
    padding: 6px 14px;
    font-weight: 600;
    font-size: 11px;
    border-radius: 6px;
    text-align: center;
    z-index: 9999;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    border: 1px solid #333;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.alpha-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

/* Dark mode variant - white outline for visibility */
.alpha-tag.alpha-tag--dark {
    background: #2a2a2a;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

@media (max-width: 480px) {
    .alpha-tag {
        font-size: 10px;
        padding: 5px 10px;
        bottom: 12px;
        left: 12px;
    }
}

/* ========================================
   READING PROGRESS BAR
   ======================================== */

.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #FF8C00, #FFA500);
    width: 0%;
    z-index: 10000;
    transition: width 0.1s ease;
}

/* ========================================
   ENHANCED TYPOGRAPHY
   ======================================== */

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.2;
    letter-spacing: -0.02em;
    font-weight: 800;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

p {
    line-height: 1.7;
}

/* ========================================
   ENHANCED BUTTON STYLING
   ======================================== */

.btn-primary {
    background: linear-gradient(135deg, #FF8C00 0%, #FFA500 100%);
    box-shadow: 0 8px 20px rgba(255, 140, 0, 0.3);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(255, 140, 0, 0.4);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:active {
    transform: translateY(0);
}

/* ========================================
   CARD HOVER EFFECTS
   ======================================== */

.for-you-card,
.use-case-card,
.feature-card,
.step-item,
.testimonial-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.for-you-card:hover,
.use-case-card:hover,
.feature-card:hover,
.testimonial-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 40px rgba(255, 140, 0, 0.2);
}

.step-item:hover {
    transform: translateY(-5px);
}

/* ========================================
   ENHANCED CARD STYLING
   ======================================== */

.for-you-card,
.use-case-card,
.feature-card,
.testimonial-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 140, 0, 0.1);
}

/* ========================================
   SECTION BACKGROUNDS
   ======================================== */

section:nth-child(even) {
    background: linear-gradient(180deg, #FFF5E1 0%, #ffffff 50%, #FFF5E1 100%);
}

/* ========================================
   HERO SECTION ENHANCEMENTS
   ======================================== */

.hero {
    background: linear-gradient(135deg, #FFF5E1 0%, #FFE4B5 50%, #FFF5E1 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(255, 140, 0, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 165, 0, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

/* ========================================
   BADGE ANIMATION
   ======================================== */

.hero-badge-animated {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* ========================================
   STEP NUMBER ANIMATION
   ======================================== */

.step-number {
    background: linear-gradient(135deg, #FF8C00, #FFA500);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.5rem;
    font-family: 'Segoe UI', Roboto, -apple-system, BlinkMacSystemFont, system-ui, Arial, sans-serif;
    font-variant-numeric: lining-nums tabular-nums;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    box-shadow: 0 4px 15px rgba(255, 140, 0, 0.3);
    transition: transform 0.5s ease;
}

.step-item:hover .step-number {
    transform: rotate(360deg) scale(1.1);
}

/* ========================================
   SECTION DIVIDERS
   ======================================== */

.section-divider {
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, transparent, #FF8C00, transparent);
    margin: 40px auto;
    border-radius: 2px;
}

/* ========================================
   GLASSMORPHISM + NEUMORPHISM BLEND
   Modern UI with frosted glass & soft shadows
   ======================================== */

/* CSS Variables for Neumorphic shadows */
:root {
    --neu-light: rgba(255, 255, 255, 0.8);
    --neu-dark: rgba(0, 0, 0, 0.08);
    --neu-dark-strong: rgba(0, 0, 0, 0.12);
    --neu-inset-light: rgba(255, 255, 255, 0.5);
    --neu-inset-dark: rgba(0, 0, 0, 0.05);
    --neu-orange-glow: rgba(255, 140, 0, 0.15);
}

/* Base glass-neu card */
.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 20px;
    box-shadow:
        /* Neumorphic outer shadows */
        8px 8px 24px var(--neu-dark),
        -8px -8px 24px var(--neu-light),
        /* Glass inner highlight */
        inset 0 1px 1px rgba(255, 255, 255, 0.8),
        inset 0 -1px 1px rgba(0, 0, 0, 0.03);
}

/* Glass-Neu cards - main content cards */
.for-you-card,
.use-case-card,
.feature-card,
.testimonial-card {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(10px) saturate(150%);
    -webkit-backdrop-filter: blur(10px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 20px;
    box-shadow:
        /* Neumorphic soft shadows */
        6px 6px 20px var(--neu-dark),
        -6px -6px 20px var(--neu-light),
        /* Inner glass highlight */
        inset 0 2px 2px rgba(255, 255, 255, 0.9),
        inset 0 -1px 1px rgba(0, 0, 0, 0.02);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hover state - lifted & glowing */
.for-you-card:hover,
.use-case-card:hover,
.feature-card:hover,
.testimonial-card:hover {
    background: rgba(255, 255, 255, 0.85);
    border-color: rgba(255, 140, 0, 0.15);
    transform: translateY(-4px);
    box-shadow:
        /* Enhanced neumorphic lift */
        10px 10px 30px var(--neu-dark-strong),
        -10px -10px 30px var(--neu-light),
        /* Orange accent glow */
        0 8px 32px var(--neu-orange-glow),
        /* Inner highlight */
        inset 0 2px 2px rgba(255, 255, 255, 1),
        inset 0 -1px 1px rgba(0, 0, 0, 0.02);
}

/* Active/pressed state - inset neumorphism */
.for-you-card:active,
.use-case-card:active,
.feature-card:active,
.testimonial-card:active {
    transform: translateY(0);
    box-shadow:
        /* Inset pressed effect */
        inset 4px 4px 12px var(--neu-inset-dark),
        inset -4px -4px 12px var(--neu-inset-light),
        /* Subtle outer shadow */
        2px 2px 8px var(--neu-dark);
}

/* Glass-Neu hero badge */
.hero-badge-animated,
.badge {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(8px) saturate(150%);
    -webkit-backdrop-filter: blur(8px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50px;
    box-shadow:
        4px 4px 12px var(--neu-dark),
        -4px -4px 12px var(--neu-light),
        inset 0 1px 1px rgba(255, 255, 255, 0.8);
}

/* Glass-Neu step items */
.step-item {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(8px) saturate(140%);
    -webkit-backdrop-filter: blur(8px) saturate(140%);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    padding: 24px;
    box-shadow:
        6px 6px 18px var(--neu-dark),
        -6px -6px 18px var(--neu-light),
        inset 0 1px 1px rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.step-item:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: translateY(-3px);
    box-shadow:
        8px 8px 24px var(--neu-dark),
        -8px -8px 24px var(--neu-light),
        0 6px 20px var(--neu-orange-glow),
        inset 0 1px 1px rgba(255, 255, 255, 0.9);
}

/* Glass-Neu journey continues */
.journey-continues {
    background: rgba(255, 245, 225, 0.6);
    backdrop-filter: blur(8px) saturate(120%);
    -webkit-backdrop-filter: blur(8px) saturate(120%);
    border: 2px dashed rgba(255, 140, 0, 0.3);
    border-radius: 16px;
    box-shadow:
        inset 3px 3px 8px rgba(255, 140, 0, 0.05),
        inset -3px -3px 8px rgba(255, 255, 255, 0.5),
        4px 4px 12px var(--neu-dark),
        -4px -4px 12px var(--neu-light);
}

/* Glass-Neu FAQ items */
.faq-item {
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(6px) saturate(130%);
    -webkit-backdrop-filter: blur(6px) saturate(130%);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 14px;
    box-shadow:
        4px 4px 12px var(--neu-dark),
        -4px -4px 12px var(--neu-light),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.faq-item:hover {
    background: rgba(255, 245, 225, 0.7);
    border-color: rgba(255, 140, 0, 0.2);
    box-shadow:
        6px 6px 16px var(--neu-dark),
        -6px -6px 16px var(--neu-light),
        0 4px 16px var(--neu-orange-glow);
}

/* Glass-Neu story features */
.story-feature {
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 14px;
    padding: 12px 16px;
    box-shadow:
        3px 3px 10px var(--neu-dark),
        -3px -3px 10px var(--neu-light),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    transition: all 0.2s ease;
}

.story-feature:hover {
    background: rgba(255, 255, 255, 0.75);
    transform: translateX(4px);
    box-shadow:
        5px 5px 14px var(--neu-dark),
        -5px -5px 14px var(--neu-light),
        0 4px 12px var(--neu-orange-glow);
}

/* Glass-Neu alpha tag */
.alpha-tag {
    background: rgba(26, 26, 26, 0.9);
    backdrop-filter: blur(10px) saturate(150%);
    -webkit-backdrop-filter: blur(10px) saturate(150%);
    border-radius: 8px;
    box-shadow:
        4px 4px 12px rgba(0, 0, 0, 0.3),
        -2px -2px 8px rgba(60, 60, 60, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* ----------------------------------------
   NEUMORPHIC BUTTONS
   ---------------------------------------- */

.btn-primary {
    background: linear-gradient(145deg, #FF9500, #FF8000);
    border: none;
    border-radius: 14px;
    box-shadow:
        4px 4px 12px rgba(200, 100, 0, 0.3),
        -4px -4px 12px rgba(255, 180, 80, 0.4),
        inset 0 2px 2px rgba(255, 255, 255, 0.3),
        inset 0 -2px 2px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
}

.btn-primary:hover {
    background: linear-gradient(145deg, #FFA020, #FF8C00);
    transform: translateY(-2px);
    box-shadow:
        6px 6px 18px rgba(200, 100, 0, 0.35),
        -6px -6px 18px rgba(255, 180, 80, 0.5),
        0 8px 24px rgba(255, 140, 0, 0.3),
        inset 0 2px 2px rgba(255, 255, 255, 0.4);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow:
        inset 3px 3px 8px rgba(180, 80, 0, 0.3),
        inset -3px -3px 8px rgba(255, 160, 60, 0.2),
        2px 2px 6px rgba(200, 100, 0, 0.2);
}

/* Secondary/outline buttons */
.btn-secondary,
.btn-outline {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 140, 0, 0.2);
    border-radius: 14px;
    box-shadow:
        4px 4px 12px var(--neu-dark),
        -4px -4px 12px var(--neu-light),
        inset 0 1px 1px rgba(255, 255, 255, 0.8);
    transition: all 0.2s ease;
}

.btn-secondary:hover,
.btn-outline:hover {
    background: rgba(255, 245, 225, 0.85);
    border-color: rgba(255, 140, 0, 0.35);
    box-shadow:
        6px 6px 16px var(--neu-dark),
        -6px -6px 16px var(--neu-light),
        0 4px 16px var(--neu-orange-glow);
}

/* ----------------------------------------
   NEUMORPHIC STEP NUMBERS
   ---------------------------------------- */

.step-number {
    background: linear-gradient(145deg, #FF9500, #FF7800);
    box-shadow:
        4px 4px 12px rgba(200, 100, 0, 0.25),
        -4px -4px 12px rgba(255, 180, 80, 0.35),
        inset 0 2px 3px rgba(255, 255, 255, 0.4),
        inset 0 -2px 3px rgba(0, 0, 0, 0.1);
}

.step-item:hover .step-number {
    box-shadow:
        6px 6px 16px rgba(200, 100, 0, 0.3),
        -6px -6px 16px rgba(255, 180, 80, 0.4),
        0 6px 20px rgba(255, 140, 0, 0.35),
        inset 0 2px 3px rgba(255, 255, 255, 0.5);
}

/* ----------------------------------------
   NEUMORPHIC FORM INPUTS
   ---------------------------------------- */

input[type="text"],
input[type="email"],
input[type="password"],
textarea,
select {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    box-shadow:
        inset 3px 3px 8px var(--neu-inset-dark),
        inset -3px -3px 8px var(--neu-inset-light);
    transition: all 0.2s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus {
    background: rgba(255, 255, 255, 0.85);
    border-color: rgba(255, 140, 0, 0.3);
    box-shadow:
        inset 2px 2px 6px var(--neu-inset-dark),
        inset -2px -2px 6px var(--neu-inset-light),
        0 0 0 3px rgba(255, 140, 0, 0.1);
    outline: none;
}

/* ----------------------------------------
   DARK MODE GLASS-NEUMORPHISM BLEND
   ---------------------------------------- */

/* Dark mode neumorphic variables */
[data-theme="dark"] {
    --neu-light: rgba(50, 50, 50, 0.5);
    --neu-dark: rgba(0, 0, 0, 0.4);
    --neu-dark-strong: rgba(0, 0, 0, 0.5);
    --neu-inset-light: rgba(60, 60, 60, 0.4);
    --neu-inset-dark: rgba(0, 0, 0, 0.3);
    --neu-orange-glow: rgba(255, 140, 0, 0.2);
}

[data-theme="dark"] .glass-card {
    background: rgba(30, 30, 30, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow:
        6px 6px 20px var(--neu-dark),
        -6px -6px 20px var(--neu-light),
        inset 0 1px 1px rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .for-you-card,
[data-theme="dark"] .use-case-card,
[data-theme="dark"] .feature-card,
[data-theme="dark"] .testimonial-card {
    background: rgba(30, 30, 30, 0.8);
    backdrop-filter: blur(12px) saturate(150%);
    -webkit-backdrop-filter: blur(12px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow:
        6px 6px 20px var(--neu-dark),
        -6px -6px 20px var(--neu-light),
        inset 0 1px 1px rgba(255, 255, 255, 0.04);
}

[data-theme="dark"] .for-you-card:hover,
[data-theme="dark"] .use-case-card:hover,
[data-theme="dark"] .feature-card:hover,
[data-theme="dark"] .testimonial-card:hover {
    background: rgba(40, 40, 40, 0.9);
    border-color: rgba(255, 140, 0, 0.2);
    transform: translateY(-4px);
    box-shadow:
        8px 8px 28px var(--neu-dark-strong),
        -8px -8px 28px var(--neu-light),
        0 8px 24px var(--neu-orange-glow),
        inset 0 1px 1px rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .for-you-card:active,
[data-theme="dark"] .use-case-card:active,
[data-theme="dark"] .feature-card:active,
[data-theme="dark"] .testimonial-card:active {
    transform: translateY(0);
    box-shadow:
        inset 4px 4px 12px var(--neu-inset-dark),
        inset -4px -4px 12px var(--neu-inset-light);
}

[data-theme="dark"] .hero-badge-animated,
[data-theme="dark"] .badge {
    background: rgba(35, 35, 35, 0.8);
    border: 1px solid rgba(255, 140, 0, 0.15);
    box-shadow:
        4px 4px 12px var(--neu-dark),
        -4px -4px 12px var(--neu-light),
        inset 0 1px 1px rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .step-item {
    background: rgba(30, 30, 30, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.04);
    box-shadow:
        6px 6px 18px var(--neu-dark),
        -6px -6px 18px var(--neu-light),
        inset 0 1px 1px rgba(255, 255, 255, 0.03);
}

[data-theme="dark"] .step-item:hover {
    background: rgba(38, 38, 38, 0.85);
    transform: translateY(-3px);
    box-shadow:
        8px 8px 24px var(--neu-dark),
        -8px -8px 24px var(--neu-light),
        0 6px 20px var(--neu-orange-glow),
        inset 0 1px 1px rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .journey-continues {
    background: rgba(40, 35, 25, 0.5);
    border-color: rgba(255, 140, 0, 0.25);
    box-shadow:
        inset 3px 3px 8px rgba(0, 0, 0, 0.2),
        inset -3px -3px 8px rgba(60, 55, 45, 0.3),
        4px 4px 12px var(--neu-dark),
        -4px -4px 12px var(--neu-light);
}

[data-theme="dark"] .faq-item {
    background: rgba(28, 28, 28, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.04);
    box-shadow:
        4px 4px 12px var(--neu-dark),
        -4px -4px 12px var(--neu-light),
        inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

[data-theme="dark"] .faq-item:hover {
    background: rgba(45, 40, 30, 0.7);
    border-color: rgba(255, 140, 0, 0.15);
    box-shadow:
        6px 6px 16px var(--neu-dark),
        -6px -6px 16px var(--neu-light),
        0 4px 16px var(--neu-orange-glow);
}

[data-theme="dark"] .story-feature {
    background: rgba(28, 28, 28, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.04);
    box-shadow:
        3px 3px 10px var(--neu-dark),
        -3px -3px 10px var(--neu-light),
        inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

[data-theme="dark"] .story-feature:hover {
    background: rgba(40, 40, 40, 0.75);
    box-shadow:
        5px 5px 14px var(--neu-dark),
        -5px -5px 14px var(--neu-light),
        0 4px 12px var(--neu-orange-glow);
}

[data-theme="dark"] .alpha-tag {
    background: rgba(35, 35, 35, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        4px 4px 12px rgba(0, 0, 0, 0.4),
        -2px -2px 8px rgba(50, 50, 50, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* Dark mode buttons */
[data-theme="dark"] .btn-primary {
    background: linear-gradient(145deg, #FF9500, #E07B00);
    box-shadow:
        4px 4px 12px rgba(0, 0, 0, 0.4),
        -4px -4px 12px rgba(80, 50, 20, 0.3),
        inset 0 2px 2px rgba(255, 255, 255, 0.2),
        inset 0 -2px 2px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .btn-primary:hover {
    background: linear-gradient(145deg, #FFB347, #FF8C00);
    box-shadow:
        6px 6px 18px rgba(0, 0, 0, 0.45),
        -6px -6px 18px rgba(80, 50, 20, 0.35),
        0 8px 24px rgba(255, 140, 0, 0.35),
        inset 0 2px 2px rgba(255, 255, 255, 0.25);
}

[data-theme="dark"] .btn-secondary,
[data-theme="dark"] .btn-outline {
    background: rgba(35, 35, 35, 0.8);
    border: 1px solid rgba(255, 140, 0, 0.2);
    color: rgba(255, 255, 255, 0.9);
    box-shadow:
        4px 4px 12px var(--neu-dark),
        -4px -4px 12px var(--neu-light),
        inset 0 1px 1px rgba(255, 255, 255, 0.05);
}

/* Force dark mode styles on modal buttons to ensure visibility */
.modal-overlay .btn-outline {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 140, 0, 0.2);
    color: var(--text-dark, #1F2937);
}

/* Dark mode for ALL modal buttons - comprehensive coverage */
[data-theme="dark"] .modal-overlay .btn-outline,
[data-theme="dark"] .modal-container .btn-outline,
[data-theme="dark"] .modal-overlay .btn.btn-outline,
[data-theme="dark"] .modal-container .btn.btn-outline,
[data-theme="dark"] button.btn-outline,
.modal-overlay.ai-suggestion-modal-overlay .btn-outline,
.modal-overlay.content-blocked-modal-overlay .btn-outline,
.modal-overlay.pending-review-modal-overlay .btn-outline,
.modal-overlay.confirm-modal-overlay .btn-outline,
.modal-overlay.editor-modal-overlay .btn-outline,
.modal-overlay .modal-footer .btn-outline,
.modal-container .modal-footer .btn-outline {
    background: rgba(45, 45, 45, 0.95) !important;
    background-color: rgba(45, 45, 45, 0.95) !important;
    border: 1px solid rgba(255, 140, 0, 0.3) !important;
    color: rgba(255, 255, 255, 0.95) !important;
}

/* Ensure visibility even when dynamically added */
.btn.btn-outline[data-action="cancel"] {
    color: inherit;
}

/* Also respect system dark mode preference */
@media (prefers-color-scheme: dark) {
    .modal-overlay .btn-outline,
    .modal-container .btn-outline {
        background: rgba(45, 45, 45, 0.95) !important;
        border: 1px solid rgba(255, 140, 0, 0.3) !important;
        color: rgba(255, 255, 255, 0.95) !important;
    }

    .modal-overlay .btn-outline:hover,
    .modal-container .btn-outline:hover {
        background: rgba(55, 50, 40, 0.95) !important;
        border-color: rgba(255, 140, 0, 0.45) !important;
    }
}

/* Catch-all for any modal button that might be missed */
body[data-theme="dark"] .btn-outline,
html[data-theme="dark"] .btn-outline,
body[data-theme="dark"] button.btn-outline,
html[data-theme="dark"] button.btn-outline {
    background: rgba(45, 45, 45, 0.95) !important;
    background-color: rgba(45, 45, 45, 0.95) !important;
    border: 1px solid rgba(255, 140, 0, 0.3) !important;
    color: rgba(255, 255, 255, 0.95) !important;
}

[data-theme="dark"] .btn-secondary:hover,
[data-theme="dark"] .btn-outline:hover {
    background: rgba(45, 40, 30, 0.85);
    border-color: rgba(255, 140, 0, 0.35);
    box-shadow:
        6px 6px 16px var(--neu-dark),
        -6px -6px 16px var(--neu-light),
        0 4px 16px var(--neu-orange-glow);
}

/* Ultra-specific rule for modal buttons in dark mode - highest priority */
[data-theme="dark"] .modal-overlay button.btn.btn-outline,
[data-theme="dark"] .modal-container button.btn.btn-outline,
[data-theme="dark"] div.modal-overlay button.btn-outline,
[data-theme="dark"] div.modal-container button.btn-outline,
[data-theme="dark"] button[data-action="cancel"].btn-outline,
[data-theme="dark"] .modal-footer button[data-action="cancel"] {
    background: rgba(45, 45, 45, 0.95) !important;
    background-color: rgba(45, 45, 45, 0.95) !important;
    border: 1px solid rgba(255, 140, 0, 0.3) !important;
    border-color: rgba(255, 140, 0, 0.3) !important;
    color: rgba(255, 255, 255, 0.95) !important;
}

/* Absolute nuclear option - force all outline buttons in modals to dark in dark mode */
.ai-suggestion-modal-overlay .btn-outline[data-action="cancel"],
.modal-overlay[style*="z-index: 10001"] .btn-outline,
div[class*="modal"] button.btn-outline {
    background: inherit;
}

[data-theme="dark"] .ai-suggestion-modal-overlay .btn-outline[data-action="cancel"],
[data-theme="dark"] .modal-overlay[style*="z-index"] .btn-outline,
[data-theme="dark"] div[class*="modal"] button.btn-outline {
    background: rgba(45, 45, 45, 0.95) !important;
    background-color: rgba(45, 45, 45, 0.95) !important;
}

[data-theme="dark"] .modal-overlay .btn-outline:hover,
.modal-overlay.ai-suggestion-modal-overlay .btn-outline:hover {
    background: rgba(55, 50, 40, 0.95) !important;
    border-color: rgba(255, 140, 0, 0.45) !important;
    box-shadow:
        6px 6px 16px var(--neu-dark),
        -6px -6px 16px var(--neu-light),
        0 4px 16px var(--neu-orange-glow);
}

/* Dark mode form inputs */
[data-theme="dark"] input[type="text"],
[data-theme="dark"] input[type="email"],
[data-theme="dark"] input[type="password"],
[data-theme="dark"] textarea,
[data-theme="dark"] select {
    background: rgba(25, 25, 25, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow:
        inset 3px 3px 8px var(--neu-inset-dark),
        inset -3px -3px 8px var(--neu-inset-light);
    color: var(--text-dark);
}

[data-theme="dark"] input[type="text"]:focus,
[data-theme="dark"] input[type="email"]:focus,
[data-theme="dark"] input[type="password"]:focus,
[data-theme="dark"] textarea:focus,
[data-theme="dark"] select:focus {
    background: rgba(30, 30, 30, 0.85);
    border-color: rgba(255, 140, 0, 0.3);
    box-shadow:
        inset 2px 2px 6px var(--neu-inset-dark),
        inset -2px -2px 6px var(--neu-inset-light),
        0 0 0 3px rgba(255, 140, 0, 0.15);
}

/* ----------------------------------------
   REDUCED MOTION SUPPORT
   ---------------------------------------- */

@media (prefers-reduced-motion: reduce) {
    .for-you-card,
    .use-case-card,
    .feature-card,
    .testimonial-card,
    .step-item,
    .faq-item,
    .story-feature {
        transition: none;
    }
}

/* ----------------------------------------
   GLASS-NEUMORPHISM HEADER
   ---------------------------------------- */

/* Glass-Neu header - frosted with soft shadows */
.site-header {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow:
        0 4px 20px var(--neu-dark),
        0 1px 3px rgba(0, 0, 0, 0.03),
        inset 0 -1px 0 rgba(255, 140, 0, 0.08);
}

/* Header when scrolled - elevated neumorphic effect */
.site-header.scrolled {
    background: rgba(255, 255, 255, 0.94);
    box-shadow:
        0 6px 28px var(--neu-dark-strong),
        0 2px 6px rgba(0, 0, 0, 0.04),
        inset 0 -1px 0 rgba(255, 140, 0, 0.12);
}

/* Mobile menu glass-neu effect */
.header-right {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
}

@media (max-width: 768px) {
    .header-right {
        border-top: 1px solid rgba(255, 255, 255, 0.5);
        box-shadow:
            0 8px 24px var(--neu-dark),
            inset 0 1px 0 rgba(255, 255, 255, 0.8);
    }
}

/* Dark mode header glass-neu */
[data-theme="dark"] .site-header {
    background: rgba(20, 20, 20, 0.9);
    backdrop-filter: blur(12px) saturate(150%);
    -webkit-backdrop-filter: blur(12px) saturate(150%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    box-shadow:
        0 4px 20px var(--neu-dark),
        0 1px 3px rgba(0, 0, 0, 0.2),
        inset 0 -1px 0 rgba(255, 140, 0, 0.1);
}

[data-theme="dark"] .site-header.scrolled {
    background: rgba(20, 20, 20, 0.96);
    box-shadow:
        0 6px 28px var(--neu-dark-strong),
        0 2px 6px rgba(0, 0, 0, 0.25),
        inset 0 -1px 0 rgba(255, 140, 0, 0.15);
}

[data-theme="dark"] .header-right {
    background: rgba(28, 28, 28, 0.95);
}

@media (max-width: 768px) {
    [data-theme="dark"] .header-right {
        border-top: 1px solid rgba(255, 255, 255, 0.05);
        box-shadow:
            0 8px 24px var(--neu-dark),
            inset 0 1px 0 rgba(255, 255, 255, 0.03);
    }
}

/* ========================================
   SMOOTH THEME TRANSITIONS
   ======================================== */

* {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

/* ========================================
   SCROLL REVEAL ANIMATION
   ======================================== */

.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   ENHANCED FAQ ITEMS
   ======================================== */

.faq-item {
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
}

.faq-item:hover {
    background: rgba(255, 140, 0, 0.05);
    transform: translateX(5px);
}

/* ========================================
   FLOATING SHAPES
   ======================================== */

.floating-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    width: 200px;
    height: 200px;
    background: #FF8C00;
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.shape-2 {
    width: 150px;
    height: 150px;
    background: #FFA500;
    bottom: 10%;
    right: 10%;
    animation-delay: 5s;
}

.shape-3 {
    width: 100px;
    height: 100px;
    background: #FF8C00;
    top: 60%;
    right: 5%;
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0) scale(1);
    }
    33% {
        transform: translateY(-30px) translateX(20px) scale(1.1);
    }
    66% {
        transform: translateY(20px) translateX(-20px) scale(0.9);
    }
}

/* ========================================
   ENHANCED ICON STYLING
   ======================================== */

.for-you-icon,
.use-case-icon,
.feature-icon {
    font-size: 2.5rem;
    display: inline-block;
    transition: transform 0.3s ease;
}

.for-you-card:hover .for-you-icon,
.use-case-card:hover .use-case-icon,
.feature-card:hover .feature-icon {
    transform: scale(1.2) rotate(5deg);
}

/* ========================================
   JOURNEY CONTINUES ENHANCEMENT
   ======================================== */

.journey-continues {
    margin-top: 40px;
    padding: 30px;
    background: linear-gradient(135deg, rgba(255, 140, 0, 0.1), rgba(255, 165, 0, 0.1));
    border-radius: 16px;
    border: 2px dashed rgba(255, 140, 0, 0.3);
}

/* ========================================
   TESTIMONIAL CARD POLISH
   ======================================== */

.testimonial-card {
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 6rem;
    color: rgba(255, 140, 0, 0.1);
    font-family: Georgia, serif;
}

/* ========================================
   CTA SECTION ENHANCEMENT
   ======================================== */

.final-cta {
    background: linear-gradient(135deg, #FFA940 0%, #FFB860 100%);
    color: white;
    text-align: center;
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
}

.final-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="white" opacity="0.1"/></svg>');
    background-size: 50px 50px;
}

.final-cta h2,
.final-cta p {
    position: relative;
    z-index: 1;
    color: white;
}

.final-cta .btn {
    position: relative;
    z-index: 10;
    background: white !important;
    color: #FF8C00 !important;
    cursor: pointer;
}

.final-cta .btn:hover {
    background: rgba(255, 255, 255, 0.95) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.final-cta .cta-note {
    position: relative;
    z-index: 1;
    color: rgba(255, 255, 255, 0.9);
}

/* ========================================
   RESPONSIVE IMPROVEMENTS
   ======================================== */

@media (max-width: 768px) {
    section {
        padding: 50px 20px;
    }

    .for-you-card:hover,
    .use-case-card:hover,
    .feature-card:hover,
    .testimonial-card:hover {
        transform: translateY(-5px);
    }

    /* Disable rotation on mobile - hover doesn't work well on touch devices */
    .step-item:hover .step-number {
        transform: none;
    }
}

/* ========================================
   DARK MODE ENHANCEMENTS
   ======================================== */

[data-theme="dark"] .for-you-card,
[data-theme="dark"] .use-case-card,
[data-theme="dark"] .feature-card,
[data-theme="dark"] .testimonial-card {
    background: var(--card-bg);
    border-color: rgba(255, 140, 0, 0.2);
}

[data-theme="dark"] .hero {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 50%, #1a1a1a 100%);
}

[data-theme="dark"] section:nth-child(even) {
    background: linear-gradient(180deg, #1a1a1a 0%, #121212 50%, #1a1a1a 100%);
}

/* ========================================
   RIPPLE ANIMATION (for FAQ clicks)
   ======================================== */

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* ========================================
   HERO PROFILE PREVIEW (Logged In State)
   ======================================== */

.hero-profile-preview {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    animation: fadeInUp 0.5s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-profile-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FF8C00 0%, #FFB347 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: white;
    font-weight: 600;
    box-shadow: 0 4px 20px rgba(255, 140, 0, 0.3);
    border: 3px solid white;
    overflow: hidden;
}

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

.hero-profile-name {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark, #1F2937);
}

[data-theme="dark"] .hero-profile-name {
    color: var(--text-light, #F9FAFB);
}

@media (max-width: 768px) {
    .hero-profile-avatar {
        width: 64px;
        height: 64px;
        font-size: 24px;
    }

    .hero-profile-name {
        font-size: 18px;
    }
}

/* ========================================
   VALUE LADDER SECTION
   Shows value at every stage of user journey
   ======================================== */

.value-ladder-section {
    padding: 60px 20px;
    background: linear-gradient(180deg, #fff 0%, #f8f9fa 100%);
}

.value-ladder-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 32px;
    color: var(--text-dark);
}

.value-ladder-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.value-card {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(10px) saturate(150%);
    -webkit-backdrop-filter: blur(10px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 20px;
    padding: 28px;
    box-shadow:
        6px 6px 20px var(--neu-dark),
        -6px -6px 20px var(--neu-light),
        inset 0 2px 2px rgba(255, 255, 255, 0.9),
        inset 0 -1px 1px rgba(0, 0, 0, 0.02);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.value-card:hover {
    background: rgba(255, 255, 255, 0.85);
    border-color: rgba(255, 140, 0, 0.15);
    transform: translateY(-4px);
    box-shadow:
        10px 10px 30px var(--neu-dark-strong),
        -10px -10px 30px var(--neu-light),
        0 8px 32px var(--neu-orange-glow),
        inset 0 2px 2px rgba(255, 255, 255, 1),
        inset 0 -1px 1px rgba(0, 0, 0, 0.02);
}

.value-card.featured {
    border: 2px solid #FF8C00;
    background: linear-gradient(135deg, #fff9f0 0%, #fff 100%);
}

.value-card.featured:hover {
    border-color: #FF8C00;
    box-shadow:
        10px 10px 30px var(--neu-dark-strong),
        -10px -10px 30px var(--neu-light),
        0 12px 40px rgba(255, 140, 0, 0.25),
        inset 0 2px 2px rgba(255, 255, 255, 1);
}

.value-card h3 {
    margin: 12px 0 8px;
    font-size: 18px;
    color: var(--text-dark);
    font-weight: 600;
}

.value-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.value-timeline {
    font-size: 12px;
    font-weight: 700;
    color: #FF8C00;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.value-icon {
    font-size: 32px;
    margin-top: 8px;
    color: var(--primary-purple);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Dark mode Value Ladder */
[data-theme="dark"] .value-ladder-section {
    background: linear-gradient(180deg, #1a1a1a 0%, #121212 100%);
}

[data-theme="dark"] .value-ladder-title {
    color: var(--text-light, #F9FAFB);
}

[data-theme="dark"] .value-card {
    background: rgba(30, 30, 30, 0.8);
    backdrop-filter: blur(12px) saturate(150%);
    -webkit-backdrop-filter: blur(12px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow:
        6px 6px 20px var(--neu-dark),
        -6px -6px 20px var(--neu-light),
        inset 0 1px 1px rgba(255, 255, 255, 0.04);
}

[data-theme="dark"] .value-card:hover {
    background: rgba(40, 40, 40, 0.9);
    border-color: rgba(255, 140, 0, 0.2);
    box-shadow:
        8px 8px 28px var(--neu-dark-strong),
        -8px -8px 28px var(--neu-light),
        0 8px 24px var(--neu-orange-glow),
        inset 0 1px 1px rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .value-card.featured {
    background: rgba(40, 35, 25, 0.85);
    border-color: rgba(255, 140, 0, 0.4);
}

[data-theme="dark"] .value-card h3 {
    color: var(--text-light, #F9FAFB);
}

[data-theme="dark"] .value-card p {
    color: #a0a0a0;
}

/* Responsive Value Ladder */
@media (max-width: 768px) {
    .value-ladder-section {
        padding: 50px 20px;
    }

    .value-ladder-title {
        font-size: 26px;
        margin-bottom: 30px;
    }

    .value-ladder-grid {
        gap: 16px;
    }

    .value-card {
        padding: 22px;
    }

    .value-card h3 {
        font-size: 16px;
    }

    .value-card p {
        font-size: 13px;
    }

    .value-icon {
        font-size: 28px;
    }
}
