/* ========================================
   CODING ROADMAP - DESIGN SYSTEM
   Premium Journey Map Experience
   ======================================== */

/* CSS Custom Properties */
:root {
    /* Color Palette - Dark Luxury Theme */
    --color-bg-primary: #050508;
    --color-bg-secondary: #0a0a12;
    --color-bg-tertiary: #12121c;
    --color-bg-card: rgba(18, 18, 28, 0.8);

    /* Accent Colors */
    --color-accent-primary: #6366f1;
    --color-accent-secondary: #8b5cf6;
    --color-accent-tertiary: #c084fc;
    --color-accent-warm: #f59e0b;
    --color-accent-cool: #22d3ee;
    --color-accent-success: #10b981;

    /* Text Colors */
    --color-text-primary: #f8fafc;
    --color-text-secondary: rgba(248, 250, 252, 0.85);
    --color-text-tertiary: rgba(248, 250, 252, 0.65);
    --color-text-muted: rgba(248, 250, 252, 0.45);

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #c084fc 100%);
    --gradient-secondary: linear-gradient(135deg, #ec4899 0%, #f43f5e 100%);
    --gradient-warm: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
    --gradient-cool: linear-gradient(135deg, #22d3ee 0%, #6366f1 100%);
    --gradient-aurora: linear-gradient(135deg, #6366f1 0%, #8b5cf6 33%, #c084fc 66%, #f0abfc 100%);
    --gradient-mesh: radial-gradient(at 40% 20%, hsla(250, 89%, 60%, 0.15) 0px, transparent 50%),
        radial-gradient(at 80% 0%, hsla(280, 89%, 60%, 0.1) 0px, transparent 50%),
        radial-gradient(at 0% 50%, hsla(220, 89%, 60%, 0.1) 0px, transparent 50%);

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    --space-5xl: 8rem;

    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 60px rgba(99, 102, 241, 0.25);
    --shadow-glow-strong: 0 0 80px rgba(99, 102, 241, 0.4);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 300ms ease;
    --transition-slow: 500ms ease;
    --transition-smooth: 700ms cubic-bezier(0.23, 1, 0.32, 1);
}

/* Reset and Base Styles */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

/* Progress Bar */
.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--gradient-primary);
    z-index: 1000;
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.6);
}

/* Hidden SVG */
.hidden-svg {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

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

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: var(--space-xl);
}

.hero-background {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.5;
}

.orb-1 {
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.4) 0%, transparent 70%);
    top: -300px;
    right: -200px;
    animation: orb-float-1 25s ease-in-out infinite;
}

.orb-2 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.35) 0%, transparent 70%);
    bottom: -200px;
    left: -200px;
    animation: orb-float-2 30s ease-in-out infinite;
}

.orb-3 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(192, 132, 252, 0.3) 0%, transparent 70%);
    top: 40%;
    left: 40%;
    transform: translate(-50%, -50%);
    animation: orb-pulse 10s ease-in-out infinite;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 1000px;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-lg);
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.25);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-accent-primary);
    margin-bottom: var(--space-xl);
    backdrop-filter: blur(10px);
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3.5rem, 10vw, 7.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--space-xl);
    background: linear-gradient(135deg, #fff 0%, #e0e7ff 30%, #a78bfa 60%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.03em;
    text-shadow: 0 0 40px rgba(139, 92, 246, 0.4);
    position: relative;
    z-index: 2;
    animation: title-glow 4s ease-in-out infinite alternate;
}

@keyframes title-glow {
    from {
        text-shadow: 0 0 30px rgba(139, 92, 246, 0.3);
    }

    to {
        text-shadow: 0 0 60px rgba(139, 92, 246, 0.6), 0 0 20px rgba(255, 255, 255, 0.4);
    }
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    color: var(--color-text-secondary);
    max-width: 750px;
    margin: 0 auto var(--space-3xl);
    line-height: 1.8;
    font-weight: 400;
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
    color: var(--color-text-muted);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.scroll-line {
    width: 2px;
    height: 80px;
    background: linear-gradient(to bottom, var(--color-accent-primary), transparent);
    border-radius: var(--radius-full);
    position: relative;
    overflow: hidden;
}

.scroll-line::before {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to bottom, transparent, #fff, transparent);
    animation: scroll-beam 2s ease-in-out infinite;
}

/* ========================================
   ROADMAP CONTAINER - JOURNEY MAP STYLE
   ======================================== */

.roadmap-container {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--space-5xl) var(--space-xl);
}

/* Central Journey Timeline - Hidden on Desktop */
@media (min-width: 960px) {
    .timeline-line {
        display: none;
    }
}

@media (max-width: 959px) {

    /* Keep existing mobile timeline styles */
    .timeline-line {
        position: absolute;
        left: 50%;
        top: 0;
        bottom: 0;
        width: 6px;
        background: linear-gradient(to bottom,
                transparent 0%,
                rgba(99, 102, 241, 0.4) 5%,
                rgba(139, 92, 246, 0.6) 25%,
                rgba(192, 132, 252, 0.6) 50%,
                rgba(59, 130, 246, 0.6) 75%,
                rgba(236, 72, 153, 0.4) 95%,
                transparent 100%);
        transform: translateX(-50%);
        border-radius: var(--radius-full);
        box-shadow: 0 0 20px rgba(99, 102, 241, 0.3),
            0 0 40px rgba(139, 92, 246, 0.2);
    }
}

/* ========================================
   ROADMAP STAGES - JOURNEY NODES
   ======================================== */

.roadmap-stage {
    position: relative;
    margin-bottom: var(--space-5xl);
    opacity: 0;
    transform: translateY(80px);
}

.roadmap-stage.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Desktop Zigzag Layout */
@media (min-width: 960px) {
    .roadmap-stage:nth-child(odd) .stage-content {
        margin-left: 50px;
        margin-right: auto;
    }

    .roadmap-stage:nth-child(even) .stage-content {
        margin-left: auto;
        margin-right: 50px;
    }

    /* Stage Connector SVG - Visible on Desktop */
    .stage-connector {
        display: block;
        position: absolute;
        width: calc(100% - 100px);
        height: 200px;
        z-index: 1;
        pointer-events: none;
        overflow: visible;
    }

    .connector-svg {
        width: 100%;
        height: 100%;
        overflow: visible;
    }

    /* Base Line (Solid, Faint) */
    .connector-path-base {
        fill: none;
        stroke: var(--color-accent-primary);
        stroke-width: 3;
        stroke-linecap: round;
        opacity: 0.15;
    }

    /* Moving Beam (Bright, Dashed/Gradient) */
    .connector-path-beam {
        fill: none;
        stroke: url(#gradient1);
        stroke-width: 3;
        stroke-linecap: round;
        stroke-dasharray: 15 30;
        animation: flowBeam 2.5s linear infinite;
        opacity: 0.8;
        filter: drop-shadow(0 0 8px var(--color-accent-primary));
    }

    @keyframes flowBeam {
        from {
            stroke-dashoffset: 45;
        }

        to {
            stroke-dashoffset: 0;
        }
    }

    /* Connector Positioning - Odd stages (Left card -> Next Right card) */
    .roadmap-stage:nth-child(odd) .stage-connector {
        bottom: -100px;
        left: 50px;
        right: auto;
    }

    /* Connector Positioning - Even stages (Right card -> Next Left card) */
    .roadmap-stage:nth-child(even) .stage-connector {
        bottom: -100px;
        right: 50px;
        left: auto;
        transform: scaleX(-1);
    }

    /* Hide connector on the last stage */
    .roadmap-stage.final-stage .stage-connector {
        display: none;
    }
}

/* Mobile Layout Preservation */
@media (max-width: 959px) {
    .roadmap-stage:nth-child(odd) .stage-content {
        margin-left: auto;
        margin-right: calc(50% + 80px);
    }

    .roadmap-stage:nth-child(even) .stage-content {
        margin-left: calc(50% + 80px);
        margin-right: auto;
    }

    .stage-connector {
        display: none;
    }
}

/* Journey Node Marker - Mobile Only */
@media (max-width: 959px) {
    .roadmap-stage::before {
        content: '';
        position: absolute;
        left: 50%;
        top: 40px;
        width: 24px;
        height: 24px;
        background: var(--color-bg-primary);
        border: 3px solid var(--color-accent-primary);
        border-radius: 50%;
        transform: translateX(-50%) scale(0);
        z-index: 10;
        transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
        box-shadow: 0 0 0 6px rgba(99, 102, 241, 0.15),
            0 0 30px rgba(99, 102, 241, 0.3);
    }

    .roadmap-stage.visible::before {
        transform: translateX(-50%) scale(1);
    }

    /* Connector Line to Central Timeline */
    .roadmap-stage::after {
        content: '';
        position: absolute;
        top: 52px;
        height: 2px;
        background: linear-gradient(90deg,
                var(--color-accent-primary) 0%,
                transparent 100%);
        width: 0;
        transition: width 0.8s cubic-bezier(0.23, 1, 0.32, 1) 0.3s;
    }

    .roadmap-stage:nth-child(odd)::after {
        right: 50%;
        margin-right: 12px;
        background: linear-gradient(90deg,
                transparent 0%,
                var(--color-accent-primary) 100%);
    }

    .roadmap-stage:nth-child(even)::after {
        left: 50%;
        margin-left: 12px;
    }

    .roadmap-stage.visible::after {
        width: 60px;
    }
}

@media (min-width: 960px) {

    /* Hide the central markers on desktop */
    .roadmap-stage::before,
    .roadmap-stage::after {
        display: none;
    }
}

/* Stage Content Card */
.stage-content {
    position: relative;
    z-index: 5;
    background: linear-gradient(135deg,
            rgba(18, 18, 28, 0.95) 0%,
            rgba(26, 26, 40, 0.9) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    max-width: 520px;
    transition: all var(--transition-smooth);
    overflow: hidden;
}

.stage-content::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-xl);
    padding: 1px;
    background: linear-gradient(135deg,
            rgba(99, 102, 241, 0.3) 0%,
            transparent 40%,
            transparent 60%,
            rgba(192, 132, 252, 0.2) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.stage-content:hover::before {
    opacity: 1;
}

/* Glow Effect on Hover */
.stage-content::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 60%);
    opacity: 0;
    transition: opacity var(--transition-slow);
    pointer-events: none;
}

.stage-content:hover::after {
    opacity: 1;
}

.stage-content:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-glow-strong);
    border-color: rgba(99, 102, 241, 0.2);
}

/* Stage Icon */
.stage-icon {
    width: 72px;
    height: 72px;
    margin-bottom: var(--space-lg);
    color: var(--color-accent-primary);
    padding: var(--space-md);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.05) 100%);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(99, 102, 241, 0.15);
    transition: all var(--transition-base);
}

.stage-content:hover .stage-icon {
    transform: scale(1.05) rotate(-3deg);
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.2);
}

/* Stage Header */
.stage-header {
    margin-bottom: var(--space-lg);
}

.stage-number {
    display: inline-flex;
    align-items: center;
    padding: var(--space-xs) var(--space-md);
    background: rgba(99, 102, 241, 0.1);
    border-radius: var(--radius-full);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-accent-primary);
    margin-bottom: var(--space-sm);
}

.stage-title {
    font-family: var(--font-display);
    font-size: 1.85rem;
    font-weight: 600;
    margin-bottom: var(--space-xs);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.stage-audience {
    font-size: 0.9rem;
    color: var(--color-text-tertiary);
    font-weight: 500;
}

/* Stage Body */
.stage-body {
    color: var(--color-text-secondary);
}

.stage-philosophy {
    font-size: 0.95rem;
    line-height: 1.75;
    margin-bottom: var(--space-xl);
    color: var(--color-text-tertiary);
    border-left: 2px solid rgba(99, 102, 241, 0.3);
    padding-left: var(--space-md);
}

/* Skills Grid */
.skills-grid {
    display: grid;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.skill-item {
    display: flex;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.skill-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.skill-item:hover {
    background: rgba(99, 102, 241, 0.06);
    border-color: rgba(99, 102, 241, 0.15);
    transform: translateX(4px);
}

.skill-item:hover::before {
    opacity: 1;
}

.skill-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    color: var(--color-accent-primary);
    opacity: 0.9;
}

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

.skill-content h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: var(--space-xs);
}

.skill-content p {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}

/* Stage Outcome */
.stage-outcome {
    position: relative;
    padding: var(--space-lg);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08) 0%, rgba(139, 92, 246, 0.05) 100%);
    border-radius: var(--radius-md);
    border: 1px solid rgba(99, 102, 241, 0.1);
    overflow: hidden;
}

.stage-outcome::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background: var(--gradient-primary);
}

.outcome-label {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-accent-primary);
    margin-bottom: var(--space-sm);
}

.outcome-label::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--color-accent-success);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

.stage-outcome p {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    line-height: 1.65;
}

/* Stage Action Button */
.stage-action {
    margin-top: var(--space-lg);
    display: flex;
    justify-content: flex-start;
}

.book-demo-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-sm) var(--space-xl);
    background: var(--gradient-primary);
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--radius-full);
    text-decoration: none;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.02em;
}

.book-demo-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(255, 255, 255, 0.2), transparent);
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.book-demo-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.4);
}

.book-demo-btn:hover::before {
    opacity: 1;
}

.book-demo-btn:active {
    transform: translateY(0);
    box-shadow: var(--shadow-sm);
}

/* ========================================
   PARALLEL TRACK INDICATOR
   ======================================== */

.parallel-indicator {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
    padding: var(--space-sm) var(--space-md);
    background: linear-gradient(135deg, rgba(192, 132, 252, 0.1) 0%, rgba(139, 92, 246, 0.05) 100%);
    border: 1px solid rgba(192, 132, 252, 0.2);
    border-radius: var(--radius-full);
}

.parallel-indicator svg {
    width: 14px;
    height: 14px;
    color: var(--color-accent-tertiary);
}

.parallel-indicator span {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-accent-tertiary);
}

/* ========================================
   STAGE COLOR VARIATIONS
   ======================================== */

.stage-1::before {
    border-color: #8b5cf6;
    box-shadow: 0 0 0 6px rgba(139, 92, 246, 0.15), 0 0 30px rgba(139, 92, 246, 0.3);
}

.stage-1 .stage-icon {
    color: #8b5cf6;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(139, 92, 246, 0.02) 100%);
    border-color: rgba(139, 92, 246, 0.15);
}

.stage-1 .stage-title {
    background: linear-gradient(135deg, #8b5cf6, #a78bfa);
    -webkit-background-clip: text;
    background-clip: text;
}

.stage-1 .stage-number {
    color: #a78bfa;
    background: rgba(139, 92, 246, 0.1);
}

.stage-2::before {
    border-color: #f97316;
    box-shadow: 0 0 0 6px rgba(249, 115, 22, 0.15), 0 0 30px rgba(249, 115, 22, 0.3);
}

.stage-2 .stage-icon {
    color: #f97316;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.1) 0%, rgba(249, 115, 22, 0.02) 100%);
    border-color: rgba(249, 115, 22, 0.15);
}

.stage-2 .stage-title {
    background: linear-gradient(135deg, #f97316, #fb923c);
    -webkit-background-clip: text;
    background-clip: text;
}

.stage-2 .stage-number {
    color: #fb923c;
    background: rgba(249, 115, 22, 0.1);
}

.stage-3::before {
    border-color: #eab308;
    box-shadow: 0 0 0 6px rgba(234, 179, 8, 0.15), 0 0 30px rgba(234, 179, 8, 0.3);
}

.stage-3 .stage-icon {
    color: #eab308;
    background: linear-gradient(135deg, rgba(234, 179, 8, 0.1) 0%, rgba(234, 179, 8, 0.02) 100%);
    border-color: rgba(234, 179, 8, 0.15);
}

.stage-3 .stage-title {
    background: linear-gradient(135deg, #eab308, #facc15);
    -webkit-background-clip: text;
    background-clip: text;
}

.stage-3 .stage-number {
    color: #facc15;
    background: rgba(234, 179, 8, 0.1);
}

.stage-4::before {
    border-color: #22c55e;
    box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.15), 0 0 30px rgba(34, 197, 94, 0.3);
}

.stage-4 .stage-icon {
    color: #22c55e;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, rgba(34, 197, 94, 0.02) 100%);
    border-color: rgba(34, 197, 94, 0.15);
}

.stage-4 .stage-title {
    background: linear-gradient(135deg, #22c55e, #4ade80);
    -webkit-background-clip: text;
    background-clip: text;
}

.stage-4 .stage-number {
    color: #4ade80;
    background: rgba(34, 197, 94, 0.1);
}

.stage-5::before {
    border-color: #06b6d4;
    box-shadow: 0 0 0 6px rgba(6, 182, 212, 0.15), 0 0 30px rgba(6, 182, 212, 0.3);
}

.stage-5 .stage-icon {
    color: #06b6d4;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.1) 0%, rgba(6, 182, 212, 0.02) 100%);
    border-color: rgba(6, 182, 212, 0.15);
}

.stage-5 .stage-title {
    background: linear-gradient(135deg, #06b6d4, #22d3ee);
    -webkit-background-clip: text;
    background-clip: text;
}

.stage-5 .stage-number {
    color: #22d3ee;
    background: rgba(6, 182, 212, 0.1);
}

.stage-6::before {
    border-color: #3b82f6;
    box-shadow: 0 0 0 6px rgba(59, 130, 246, 0.15), 0 0 30px rgba(59, 130, 246, 0.3);
}

.stage-6 .stage-icon {
    color: #3b82f6;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(59, 130, 246, 0.02) 100%);
    border-color: rgba(59, 130, 246, 0.15);
}

.stage-6 .stage-title {
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    -webkit-background-clip: text;
    background-clip: text;
}

.stage-6 .stage-number {
    color: #60a5fa;
    background: rgba(59, 130, 246, 0.1);
}

.stage-7::before {
    border-color: #ec4899;
    box-shadow: 0 0 0 6px rgba(236, 72, 153, 0.15), 0 0 30px rgba(236, 72, 153, 0.3);
}

.stage-7 .stage-icon {
    color: #ec4899;
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.1) 0%, rgba(236, 72, 153, 0.02) 100%);
    border-color: rgba(236, 72, 153, 0.15);
}

.stage-7 .stage-title {
    background: linear-gradient(135deg, #ec4899, #f472b6);
    -webkit-background-clip: text;
    background-clip: text;
}

.stage-7 .stage-number {
    color: #f472b6;
    background: rgba(236, 72, 153, 0.1);
}

.stage-8::before {
    border-color: #f43f5e;
    box-shadow: 0 0 0 6px rgba(244, 63, 94, 0.15), 0 0 30px rgba(244, 63, 94, 0.3);
}

.stage-8 .stage-icon {
    color: #f43f5e;
    background: linear-gradient(135deg, rgba(244, 63, 94, 0.1) 0%, rgba(244, 63, 94, 0.02) 100%);
    border-color: rgba(244, 63, 94, 0.15);
}

.stage-8 .stage-title {
    background: linear-gradient(135deg, #f43f5e, #fb7185);
    -webkit-background-clip: text;
    background-clip: text;
}

.stage-8 .stage-number {
    color: #fb7185;
    background: rgba(244, 63, 94, 0.1);
}

/* ========================================
   COMPLETION SECTION
   ======================================== */

.completion-section {
    padding: var(--space-5xl) var(--space-xl);
    text-align: center;
    margin-top: var(--space-4xl);
    position: relative;
}

.completion-section::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.2) 0%, transparent 70%);
    filter: blur(40px);
}

.completion-content {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}

.completion-icon {
    width: 140px;
    height: 140px;
    margin: 0 auto var(--space-xl);
    color: var(--color-accent-primary);
    opacity: 0;
    transform: scale(0.7);
    padding: var(--space-lg);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.05) 100%);
    border-radius: 50%;
    border: 2px solid rgba(99, 102, 241, 0.2);
}

.completion-section.visible .completion-icon {
    opacity: 1;
    transform: scale(1);
}

.completion-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 600;
    margin-bottom: var(--space-lg);
    background: var(--gradient-aurora);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;
}

.completion-text {
    font-size: 1.15rem;
    color: var(--color-text-tertiary);
    line-height: 1.9;
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
    padding: var(--space-3xl) var(--space-xl);
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    margin-top: var(--space-4xl);
    background: linear-gradient(to top, rgba(10, 10, 18, 0.8), transparent);
}

.footer-text {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    font-weight: 400;
    letter-spacing: 0.02em;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 1024px) {
    .timeline-line {
        left: 30px;
    }

    .roadmap-stage::before {
        left: 30px;
        transform: translateX(-50%) scale(0);
    }

    .roadmap-stage.visible::before {
        transform: translateX(-50%) scale(1);
    }

    .roadmap-stage::after {
        display: none;
    }

    .roadmap-stage:nth-child(odd) .stage-content,
    .roadmap-stage:nth-child(even) .stage-content {
        margin-left: 80px;
        margin-right: var(--space-md);
        max-width: none;
    }
}

@media (max-width: 768px) {
    :root {
        font-size: 15px;
    }

    .hero {
        min-height: 90vh;
        padding: var(--space-lg);
    }

    .orb-1 {
        width: 400px;
        height: 400px;
    }

    .orb-2 {
        width: 300px;
        height: 300px;
    }

    .orb-3 {
        width: 250px;
        height: 250px;
    }

    .roadmap-container {
        padding: var(--space-3xl) var(--space-md);
    }

    /* Mobile timeline adjustments */
    .timeline-line {
        left: 20px;
        width: 4px;
        box-shadow: 0 0 15px rgba(99, 102, 241, 0.3);
    }

    .roadmap-stage::before {
        left: 20px;
        width: 18px;
        height: 18px;
    }

    .roadmap-stage:nth-child(odd) .stage-content,
    .roadmap-stage:nth-child(even) .stage-content {
        margin-left: 56px;
        margin-right: var(--space-sm);
    }

    .stage-content {
        padding: var(--space-lg);
    }

    .stage-icon {
        width: 56px;
        height: 56px;
        padding: var(--space-sm);
    }

    .skills-grid {
        gap: var(--space-sm);
    }

    .skill-item {
        padding: var(--space-sm) var(--space-md);
    }
}

@media (max-width: 480px) {
    :root {
        font-size: 14px;
    }

    .hero-label {
        font-size: 0.65rem;
        padding: var(--space-xs) var(--space-md);
    }

    .stage-content {
        padding: var(--space-md);
        border-radius: var(--radius-lg);
    }

    .stage-outcome {
        padding: var(--space-md);
    }

    .parallel-indicator {
        padding: var(--space-xs) var(--space-sm);
    }

    .parallel-indicator span {
        font-size: 0.6rem;
    }
}

/* ========================================
   SELECTION STYLING
   ======================================== */

::selection {
    background: rgba(99, 102, 241, 0.35);
    color: var(--color-text-primary);
}

::-moz-selection {
    background: rgba(99, 102, 241, 0.35);
    color: var(--color-text-primary);
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--color-bg-primary);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, var(--color-accent-primary), var(--color-accent-secondary));
    border-radius: var(--radius-full);
    border: 2px solid var(--color-bg-primary);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, var(--color-accent-secondary), var(--color-accent-tertiary));
}

/* ========================================
   NAVIGATION BAR
   ======================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    padding: var(--space-md) var(--space-xl);
    background: rgba(5, 5, 8, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all var(--transition-base);
}

.navbar.scrolled {
    padding: var(--space-sm) var(--space-xl);
    background: rgba(5, 5, 8, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.navbar-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    text-decoration: none;
    color: var(--color-text-primary);
    transition: all var(--transition-base);
}

.navbar-logo:hover {
    color: var(--color-accent-primary);
}

.logo-icon {
    width: 36px;
    height: 36px;
    color: var(--color-accent-primary);
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: var(--space-sm);
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1002;
}

.hamburger-line {
    width: 24px;
    height: 2px;
    background: var(--color-text-primary);
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
}

.navbar-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.navbar-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.navbar-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
    list-style: none;
}

.navbar-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-secondary);
    text-decoration: none;
    padding: var(--space-sm) 0;
    position: relative;
    transition: all var(--transition-base);
}

.navbar-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width var(--transition-base);
}

.navbar-link:hover {
    color: var(--color-text-primary);
}

.navbar-link:hover::after {
    width: 100%;
}

.navbar-cta {
    display: inline-flex;
    align-items: center;
    padding: var(--space-sm) var(--space-lg);
    background: var(--gradient-primary);
    color: #fff !important;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.navbar-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(99, 102, 241, 0.5);
}

/* Add padding to body for fixed navbar */
body {
    padding-top: 80px;
}

/* ========================================
   SITE FOOTER
   ======================================== */

.site-footer {
    background: linear-gradient(to top, rgba(5, 5, 8, 1) 0%, rgba(10, 10, 18, 0.95) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: var(--space-4xl) var(--space-xl) var(--space-xl);
    margin-top: var(--space-5xl);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: var(--space-2xl);
    margin-bottom: var(--space-3xl);
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-brand {
    padding-right: var(--space-xl);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    text-decoration: none;
    color: var(--color-text-primary);
    margin-bottom: var(--space-md);
    transition: all var(--transition-base);
}

.footer-logo:hover {
    color: var(--color-accent-primary);
}

.footer-logo-icon {
    width: 36px;
    height: 36px;
    color: var(--color-accent-primary);
}

.footer-logo-text {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-tagline {
    color: var(--color-text-tertiary);
    font-size: 0.95rem;
    margin-bottom: var(--space-lg);
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: var(--space-md);
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    color: var(--color-text-secondary);
    transition: all var(--transition-base);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

.social-link:hover {
    background: var(--gradient-primary);
    border-color: transparent;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}

.footer-heading {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-primary);
    margin-bottom: var(--space-lg);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-links a {
    font-size: 0.9rem;
    color: var(--color-text-tertiary);
    text-decoration: none;
    transition: all var(--transition-base);
    padding: var(--space-xs) 0;
}

.footer-links a:hover {
    color: var(--color-accent-primary);
    transform: translateX(4px);
}

.footer-bottom {
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

/* ========================================
   FLOATING CHAT BUTTONS
   ======================================== */

.misti-chat-btn,
.wa-float-btn {
    position: fixed;
    right: 24px;
    z-index: 2000;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.misti-chat-btn {
    bottom: 92px;
}

.wa-float-btn {
    bottom: 24px;
}

.misti-label,
.wa-label {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    font-family: var(--font-primary);
    letter-spacing: 0.3px;
    transition: all var(--transition-base);
}

.misti-label {
    background: linear-gradient(135deg, #a855f7, #8b5cf6);
    color: #fff;
    box-shadow: 0 4px 14px rgba(168, 85, 247, 0.4);
}

.wa-label {
    background: #25D366;
    color: #fff;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
}

.misti-icon,
.wa-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    min-height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
    flex-shrink: 0;
}

.misti-icon {
    background: linear-gradient(135deg, #a855f7, #8b5cf6);
    box-shadow: 0 4px 14px rgba(168, 85, 247, 0.4);
}

.wa-icon {
    background: #25D366;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
}

.misti-chat-btn:hover .misti-icon,
.misti-chat-btn:hover .misti-label {
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(168, 85, 247, 0.5);
}

.wa-float-btn:hover .wa-icon,
.wa-float-btn:hover .wa-label {
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

/* ========================================
   RESPONSIVE - NAVBAR & FOOTER
   ======================================== */

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-brand {
        grid-column: 1 / -1;
        padding-right: 0;
        margin-bottom: var(--space-lg);
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: var(--space-sm) var(--space-md);
    }

    .navbar-toggle {
        display: flex;
    }

    .navbar-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        flex-direction: column;
        align-items: flex-start;
        padding: 100px var(--space-xl) var(--space-xl);
        background: rgba(10, 10, 18, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        gap: var(--space-lg);
        transition: right var(--transition-smooth);
        border-left: 1px solid rgba(255, 255, 255, 0.05);
    }

    .navbar-menu.active {
        right: 0;
    }

    .navbar-link {
        font-size: 1.1rem;
        width: 100%;
    }

    .navbar-cta {
        width: 100%;
        justify-content: center;
        margin-top: var(--space-md);
    }

    body {
        padding-top: 60px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .footer-column {
        text-align: center;
        align-items: center;
    }

    .social-links {
        justify-content: center;
    }

    .footer-links a:hover {
        transform: none;
    }

    /* Hide floating button labels on mobile */
    .misti-label,
    .wa-label {
        display: none;
    }

    .misti-chat-btn {
        bottom: 88px;
        right: 16px;
    }

    .wa-float-btn {
        bottom: 20px;
        right: 16px;
    }
}

/* Logo Images */
.navbar-logo-img {
    height: 55px;
    width: auto;
    object-fit: contain;
    display: block;
    border-radius: 5px;
}

.footer-logo-img {
    height: 70px;
    width: auto;
    object-fit: contain;
    display: block;
    border-radius: 5px;
}

@media (max-width: 480px) {
    .navbar-logo-img {
        height: 45px;
    }
}