/* ===================================
   MyArtWay Website Styles
   Design System: Warm Minimalism + Polish
   =================================== */

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

/* CSS Custom Properties - Design System with Dark Mode */
:root {
    /* Light Theme Colors */
    --primary-50: #fdf7f0;   /* Lightest warm white */
    --primary-100: #f7e6d3;  /* Warm off-white */
    --primary-200: #e8c5a0;  /* Light warm beige */
    --primary-300: #d4a574;  /* Warm tan */
    --primary-400: #c08552;  /* Medium warm brown */
    --primary-500: #a86f42;  /* Primary warm brown */
    --primary-600: #8b5a35;  /* Dark warm brown */
    
    /* Accent Colors */
    --accent-blue: #6b8caf;    /* Soft, muted blue */
    --accent-green: #7a9b76;   /* Sage green */
    --accent-coral: #d4806a;   /* Warm coral */
    
    /* Light Theme Neutrals */
    --neutral-0: #ffffff;      /* Pure white */
    --neutral-50: #fafaf9;     /* Warm white */
    --neutral-100: #f5f5f4;    /* Light gray */
    --neutral-200: #e7e5e4;    /* Light warm gray */
    --neutral-300: #d6d3d1;    /* Medium light gray */
    --neutral-400: #a8a29e;    /* Medium gray */
    --neutral-500: #78716c;    /* Medium dark gray */
    --neutral-600: #57534e;    /* Dark gray */
    --neutral-700: #44403c;    /* Very dark gray */
    --neutral-800: #292524;    /* Near black */
    
    /* Semantic Colors */
    --success: #10b981;        /* Green */
    --warning: #f59e0b;        /* Amber */
    --error: #ef4444;          /* Red */
    
    /* Animation Variables */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    --bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
    
    /* Typography */
    --font-family-sans: 'Inter', 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-family-display: 'Poppins', 'Inter', 'SF Pro Display', sans-serif;
    
    /* Font Sizes */
    --text-xs: 0.75rem;    /* 12px */
    --text-sm: 0.875rem;   /* 14px */
    --text-base: 1rem;     /* 16px - body text */
    --text-lg: 1.125rem;   /* 18px */
    --text-xl: 1.25rem;    /* 20px */
    --text-2xl: 1.5rem;    /* 24px */
    --text-3xl: 1.875rem;  /* 30px */
    --text-4xl: 2.25rem;   /* 36px */
    --text-5xl: 3rem;      /* 48px - large headings */
    --text-6xl: 3.75rem;   /* 60px - hero titles */
    
    /* Spacing Scale (8px base) */
    --space-1: 0.25rem;   /* 4px */
    --space-2: 0.5rem;    /* 8px */
    --space-3: 0.75rem;   /* 12px */
    --space-4: 1rem;      /* 16px */
    --space-5: 1.25rem;   /* 20px */
    --space-6: 1.5rem;    /* 24px */
    --space-8: 2rem;      /* 32px */
    --space-10: 2.5rem;   /* 40px */
    --space-12: 3rem;     /* 48px */
    --space-16: 4rem;     /* 64px */
    --space-20: 5rem;     /* 80px */
    --space-24: 6rem;     /* 96px */
    
    /* Header height for scroll offset */
    --header-height: 80px;
}

/* Dark Theme Colors */
[data-theme="dark"] {
    /* Dark Theme Neutrals */
    --neutral-0: #1a1a1a;      /* Dark background */
    --neutral-50: #2a2a2a;     /* Slightly lighter dark */
    --neutral-100: #3a3a3a;    /* Dark gray */
    --neutral-200: #4a4a4a;    /* Medium dark gray */
    --neutral-300: #5a5a5a;    /* Medium gray */
    --neutral-400: #6a6a6a;    /* Light gray */
    --neutral-500: #8a8a8a;    /* Lighter gray */
    --neutral-600: #b0b0b0;    /* Light text */
    --neutral-700: #d0d0d0;    /* Lighter text */
    --neutral-800: #f0f0f0;    /* Near white */
    
    /* Adjust primary colors for dark mode */
    --primary-100: #4a3729;    /* Darker warm */
    --primary-200: #5d442f;    /* Darker warm beige */
    --primary-300: #705136;    /* Darker warm tan */
    
    /* Accent adjustments */
    --accent-blue: #8bb4d4;    /* Brighter blue for contrast */
    --accent-green: #9bc197;   /* Brighter green */
    --accent-coral: #e29b82;   /* Brighter coral */
}

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@300;400;500;600;700&display=swap');

/* ===================================
   DARK/LIGHT MODE TOGGLE
   =================================== */

.theme-toggle-container {
    display: flex;
    align-items: center;
    margin-left: var(--space-8); /* Increased spacing */
    flex-shrink: 0; /* Prevent shrinking */
}

.theme-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-1); /* Reduced padding to shrink clickable area */
    border-radius: 50px;
    transition: all var(--transition-normal);
    position: relative;
    /* Add visual separation */
    border-left: 1px solid var(--neutral-200);
    padding-left: var(--space-3); /* Add padding to left only */
    margin-left: var(--space-2); /* Small margin for extra separation */
}

.theme-toggle:hover {
    background: var(--neutral-100);
    transform: scale(1.05);
}

[data-theme="dark"] .theme-toggle {
    border-left-color: var(--neutral-600); /* Darker border for dark mode */
}

[data-theme="dark"] .theme-toggle:hover {
    background: var(--neutral-800);
}

.toggle-track {
    width: 60px;
    height: 30px;
    background: var(--neutral-200);
    border-radius: 15px;
    position: relative;
    transition: all var(--transition-normal);
    border: 2px solid var(--neutral-300);
}

[data-theme="dark"] .toggle-track {
    background: var(--neutral-600);
    border-color: var(--neutral-500);
}

.toggle-thumb {
    width: 24px;
    height: 24px;
    background: var(--neutral-0);
    border-radius: 50%;
    position: absolute;
    top: 1px;
    left: 1px;
    transition: all var(--transition-normal) var(--bounce);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .toggle-thumb {
    transform: translateX(30px);
    background: var(--neutral-100);
}

.toggle-icon {
    font-size: 12px;
    position: absolute;
    transition: all var(--transition-fast);
}

.sun-icon {
    opacity: 1;
}

.moon-icon {
    opacity: 0;
}

[data-theme="dark"] .sun-icon {
    opacity: 0;
}

[data-theme="dark"] .moon-icon {
    opacity: 1;
}

/* Header Layout Fix */
.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
    gap: var(--space-4);
}

.nav {
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: center;
}

/* ===================================
   ENHANCED BUTTONS & MICRO-INTERACTIONS
   =================================== */

.button-enhanced {
    position: relative;
    overflow: hidden;
    transform: translateZ(0); /* GPU acceleration */
    will-change: transform;
}

.button-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: var(--space-2);
    transition: all var(--transition-normal);
}

.button-ripple {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    overflow: hidden;
    border-radius: inherit;
}

.button-enhanced:hover .button-content {
    transform: translateY(-1px);
}

.button-enhanced:active .button-content {
    transform: translateY(0);
}

/* Ripple Effect */
.ripple-effect {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transform: scale(0);
    animation: ripple 0.6s ease-out;
    pointer-events: none;
}

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

/* Enhanced Social Buttons */
.discord-button,
.instagram-button {
    position: relative;
    overflow: hidden;
    transition: all var(--transition-normal);
}

.discord-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(88, 101, 242, 0.4);
}

.instagram-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(228, 64, 95, 0.4);
}

/* ===================================
   ENHANCED CURSOR INTERACTIONS
   =================================== */

/* Custom cursor for interactive elements */
.dev-stop,
.launch-stop,
.button-enhanced,
.nav-link,
.theme-toggle {
    cursor: pointer;
    transition: all var(--transition-normal);
}

.dev-stop:hover,
.launch-stop:hover {
    transform: translateY(-6px) scale(1.05);
    filter: brightness(1.1);
}

.nav-link {
    position: relative;
    transition: all var(--transition-normal);
}

.nav-link:hover {
    color: var(--primary-500);
    transform: translateY(-1px);
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-500);
    transition: all var(--transition-normal);
    transform: translateX(-50%);
}

.nav-link:hover::before {
    width: 100%;
}

/* Feature cards hover effects */
.feature-item {
    transition: all var(--transition-normal);
}

.feature-item:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

/* Content cards */
.content-card {
    transition: all var(--transition-normal);
}

.content-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

/* ===================================
   LOADING & SUCCESS ANIMATIONS
   =================================== */

.form-submit {
    position: relative;
    overflow: hidden;
    transition: all var(--transition-normal);
}

.form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(168, 111, 66, 0.4);
}

.form-submit:active {
    transform: translateY(0);
}

/* Loading spinner */
.loading-spinner {
    display: inline-block;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Success animation */
.form-success {
    animation: slideInUp 0.5s ease-out;
}

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

/* Success checkmark animation */
.success-checkmark {
    display: inline-block;
    animation: bounceIn 0.6s ease-out;
}

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

/* ===================================
   ENHANCED TRANSITIONS & ANIMATIONS
   =================================== */

/* Page load animations - optimized for performance */
.fade-in {
    animation: fadeInUp 0.4s ease-out forwards;
    will-change: opacity, transform; /* Optimize for animations */
}

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

/* Staggered animations */
.hero-content > * {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

.hero-content > *:nth-child(1) { animation-delay: 0.1s; }
.hero-content > *:nth-child(2) { animation-delay: 0.2s; }
.hero-content > *:nth-child(3) { animation-delay: 0.3s; }
.hero-content > *:nth-child(4) { animation-delay: 0.4s; }
.hero-content > *:nth-child(5) { animation-delay: 0.5s; }

/* Theme transition */
html {
    transition: background-color var(--transition-slow), color var(--transition-slow);
}

* {
    transition: background-color var(--transition-normal), 
                color var(--transition-normal), 
                border-color var(--transition-normal),
                box-shadow var(--transition-normal);
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ===================================
   BASE HTML & BODY STYLES
   =================================== */

/* Base HTML and Body */
html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    font-family: var(--font-family-sans);
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--neutral-600);
    background-color: var(--neutral-0);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family-display);
    font-weight: 600;
    line-height: 1.2;
    color: var(--neutral-800);
    margin-bottom: var(--space-4);
}

h1 {
    font-size: var(--text-5xl);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

h2 {
    font-size: var(--text-3xl);
    color: var(--neutral-700);
    margin-bottom: var(--space-6);
}

h3 {
    font-size: var(--text-xl);
    font-weight: 500;
    line-height: 1.3;
    color: var(--neutral-700);
}

p {
    font-size: var(--text-lg);
    line-height: 1.7;
    color: var(--neutral-600);
    margin-bottom: var(--space-6);
}

/* Links */
a {
    color: var(--primary-500);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--primary-600);
}

/* Skip Link for Accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--neutral-800);
    color: var(--neutral-0);
    padding: var(--space-2) var(--space-4);
    text-decoration: none;
    border-radius: 4px;
    z-index: 9999;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 6px;
}

/* Layout Components */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.section {
    padding: var(--space-20) 0;
}

.section:nth-child(even) {
    background: var(--neutral-50);
}

.section-title {
    text-align: center;
    margin-bottom: var(--space-12);
}

/* ===================================
   HEADER & NAVIGATION
   =================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--neutral-200);
    z-index: 1000;
    height: var(--header-height);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
}

/* ===================================
   LOGO ARTISTIC STYLING
   =================================== */

.logo-artistic {
    position: relative;
    display: inline-block;
}

.logo-text {
    font-family: var(--font-family-display);
    font-size: var(--text-2xl);
    font-weight: 600;
    margin: 0;
    position: relative;
    z-index: 2;
}

.logo-part {
    display: inline-block;
    transition: all var(--transition-normal);
}

.logo-part.my {
    color: var(--primary-500);
}

.logo-part.art {
    color: var(--accent-coral);
    font-weight: 700;
}

.logo-part.way {
    color: var(--primary-600);
}

.logo-flourish {
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 20px;
    color: var(--primary-400);
    opacity: 0.7;
    transition: all var(--transition-normal);
}

.logo-artistic:hover .logo-flourish {
    opacity: 1;
    transform: translateY(-2px);
}

.logo-artistic:hover .logo-part.my {
    color: var(--primary-600);
    transform: translateY(-1px);
}

.logo-artistic:hover .logo-part.art {
    color: var(--accent-coral);
    transform: translateY(-2px);
}

.logo-artistic:hover .logo-part.way {
    color: var(--primary-500);
    transform: translateY(-1px);
}

[data-theme="dark"] .logo-part.my {
    color: var(--primary-300);
}

[data-theme="dark"] .logo-part.art {
    color: var(--accent-coral);
}

[data-theme="dark"] .logo-part.way {
    color: var(--primary-200);
}

[data-theme="dark"] .logo-flourish {
    color: var(--primary-300);
}

/* ===================================
   HERO TITLE ARTISTIC STYLING  
   =================================== */

.hero-title-container {
    position: relative;
    display: inline-block;
    margin-bottom: var(--space-8);
}

.hero-title {
    font-family: 'Roboto Slab', serif; /* Updated to Roboto Slab */
    font-size: var(--text-6xl);
    font-weight: 500;
    line-height: 1.05;
    margin: 0;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: var(--space-4);
    height: 120px; /* Match test-9 height */
}

.hero-word {
    display: inline-block;
    transition: all var(--transition-normal);
    animation: fadeInUp 1s ease-out forwards;
    opacity: 0;
    transform: translateY(30px);
    position: relative; /* Added for z-index layering */
}

.hero-word.my-word {
    font-size: 3.2rem; /* From test-9 */
    color: var(--neutral-700);
    font-weight: 400;
    font-style: italic;
    z-index: 2;
    opacity: 0.85;
    animation-delay: 0.2s;
}

.hero-word.art-word {
    font-size: 4rem; /* From test-9 - largest */
    color: var(--accent-coral);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    z-index: 3;
    background: linear-gradient(135deg, var(--accent-coral), #ff6b4a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 4px 8px rgba(226, 155, 130, 0.3));
    animation-delay: 0.4s;
}

.hero-word.way-word {
    font-size: 2.4rem; /* From test-9 - smallest */
    color: var(--primary-600);
    font-weight: 300;
    z-index: 1;
    opacity: 0.6;
    transform: translateY(30px) translateY(3px); /* Initial + final positioning */
    margin-left: calc(var(--space-4) * -0.5); /* Brought 50% closer */
    animation-delay: 0.6s;
}

.hero-title-container:hover .hero-word.my-word {
    transform: translateY(-3px);
    color: var(--primary-500);
}

.hero-title-container:hover .hero-word.art-word {
    transform: translateY(-5px);
    color: var(--accent-coral);
}

.hero-title-container:hover .hero-word.way-word {
    transform: translateY(-3px) translateY(3px); /* Maintain relative positioning */
    color: var(--primary-500);
}

[data-theme="dark"] .hero-word.my-word {
    color: var(--neutral-200);
}

[data-theme="dark"] .hero-word.art-word {
    color: var(--accent-coral);
}

[data-theme="dark"] .hero-word.way-word {
    color: var(--primary-300);
}

[data-theme="dark"] .hero-title-container:hover .hero-word.my-word {
    color: var(--primary-200);
}

[data-theme="dark"] .hero-title-container:hover .hero-word.way-word {
    color: var(--primary-200);
}

@keyframes brushStroke {
    0% {
        opacity: 0;
        transform: translateX(-50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ===================================
   ORIGINAL HEADER/HERO STYLES (Updated)
   =================================== */

.nav-list {
    display: flex;
    list-style: none;
    gap: var(--space-8);
    align-items: center;
}

.nav-link {
    font-weight: 500;
    color: var(--neutral-600);
    transition: color 0.2s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-500);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-500);
    transition: width 0.2s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-2);
}

.hamburger-line {
    width: 24px;
    height: 2px;
    background: var(--neutral-600);
    transition: all 0.3s ease;
}

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

.hero-section {
    background: linear-gradient(135deg, var(--neutral-0), var(--neutral-50));
    padding: calc(var(--header-height) + var(--space-24)) 0 var(--space-24) 0;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-subtitle {
    font-size: var(--text-2xl);
    font-weight: 400;
    color: var(--neutral-500);
    line-height: 1.4;
    margin-bottom: var(--space-4);
}

.hero-description {
    font-size: var(--text-xl);
    color: var(--neutral-600);
    margin-bottom: var(--space-3);
}

.hero-secondary {
    font-size: var(--text-lg);
    color: var(--neutral-500);
    margin-bottom: var(--space-10);
}

/* ===================================
   SOCIAL MEDIA BUTTONS
   =================================== */

.social-buttons {
    display: flex;
    gap: var(--space-4);
    justify-content: center;
    margin: var(--space-8) 0;
    flex-wrap: wrap;
}

.discord-button {
    background: linear-gradient(135deg, #5865F2, #7289DA);
    color: white;
    padding: var(--space-3) var(--space-6);
    border-radius: 12px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    font-size: var(--text-base);
}

.discord-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(88, 101, 242, 0.3);
    color: white;
}

.instagram-button {
    background: linear-gradient(135deg, #E4405F, #C13584, #833AB4);
    color: white;
    padding: var(--space-3) var(--space-6);
    border-radius: 12px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    font-size: var(--text-base);
}

.instagram-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(228, 64, 95, 0.3);
    color: white;
}

.social-icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
    flex-shrink: 0;
}

/* ===================================
   INTERACTIVE ROADMAPS
   =================================== */

/* Development Roadmap - Progress Bar Style */
.dev-roadmap-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: var(--space-8) 0;
}

.progress-track {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin: var(--space-12) 0;
    padding: 0 var(--space-4);
}

.progress-line {
    position: absolute;
    top: 32px;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--neutral-200);
    border-radius: 2px;
    z-index: 1;
}

.progress-fill {
    position: absolute;
    top: 32px;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, #22c55e, #4ade80);
    border-radius: 2px;
    z-index: 2;
    transition: width 0.8s ease;
    width: 0%;
}

.dev-stop {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    z-index: 3;
    transition: all 0.3s ease;
}

.dev-stop:hover {
    transform: translateY(-4px);
}

.stop-node {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-2xl);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    margin-bottom: var(--space-2);
}

.dev-stop.completed .stop-node {
    background: linear-gradient(135deg, var(--success), #22c55e);
    color: white;
}

.dev-stop.current .stop-node {
    background: linear-gradient(135deg, var(--warning), #f59e0b);
    color: white;
    animation: pulse-glow 2s infinite;
}

.dev-stop.upcoming .stop-node {
    background: var(--neutral-100);
    color: var(--neutral-500);
    border: 2px solid var(--neutral-300);
}

.dev-stop.selected .stop-node {
    transform: scale(1.1);
    box-shadow: 0 8px 24px rgba(168, 111, 66, 0.3);
    border: 3px solid var(--primary-400);
}

.stop-label {
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--neutral-700);
    text-align: center;
    max-width: 100px;
    line-height: 1.3;
    margin-top: var(--space-2);
    background: rgba(255, 255, 255, 0.9);
    padding: var(--space-1) var(--space-2);
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Remove background for completed and current dev stops in dark mode */
[data-theme="dark"] .dev-stop.completed .stop-label,
[data-theme="dark"] .dev-stop.current .stop-label {
    background: transparent;
    color: var(--neutral-800);
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    box-shadow: none;
}

/* Keep background for upcoming stops in dark mode */
[data-theme="dark"] .dev-stop.upcoming .stop-label {
    background: rgba(26, 26, 26, 0.9);
    color: var(--neutral-200);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.dev-content-display {
    margin-top: var(--space-16);
}

/* Launch Roadmap - Journey Path Style */
.launch-roadmap-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
    max-width: 1200px;
    margin: 0 auto;
    min-height: 600px;
}

.journey-path {
    position: relative;
    background: linear-gradient(135deg, var(--neutral-50), var(--neutral-100));
    border-radius: 20px;
    padding: var(--space-6);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--neutral-200);
}

.path-svg {
    width: 100%;
    height: 100%;
    min-height: 500px;
}

.road-path {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.road-center-line {
    opacity: 0.7;
}

.launch-stop {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    transform: translate(-50%, -50%);
}

.launch-stop:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.stop-marker {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-xl);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    margin-bottom: var(--space-2);
}

.launch-stop.completed .stop-marker {
    background: linear-gradient(135deg, var(--success), #22c55e);
    color: white;
}

.launch-stop.current .stop-marker {
    background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
    color: white;
    animation: pulse-glow 2s infinite;
}

.launch-stop.upcoming .stop-marker {
    background: var(--neutral-0);
    color: var(--neutral-500);
    border: 2px solid var(--neutral-300);
}

.launch-stop.selected .stop-marker {
    transform: scale(1.2);
    box-shadow: 0 8px 24px rgba(168, 111, 66, 0.4);
    border: 3px solid var(--primary-400);
}

.stop-title {
    font-size: var(--text-xs);
    font-weight: 600;
    color: var(--neutral-700);
    text-align: center;
    max-width: 80px;
    line-height: 1.2;
    background: rgba(255, 255, 255, 0.95);
    padding: var(--space-1) var(--space-2);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.8);
}

[data-theme="dark"] .stop-title {
    background: rgba(26, 26, 26, 0.95);
    color: var(--neutral-200);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(74, 74, 74, 0.8);
}

.launch-content-display {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Content Cards */
.content-card {
    background: var(--neutral-0);
    border-radius: 20px;
    padding: var(--space-10);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--neutral-200);
    transition: all 0.3s ease;
}

.content-card h3 {
    color: var(--primary-600);
    margin-bottom: var(--space-6);
    font-size: var(--text-2xl);
    font-weight: 600;
}

.content-card p {
    color: var(--neutral-600);
    line-height: 1.7;
    margin-bottom: var(--space-4);
}

.content-card ul {
    margin: var(--space-4) 0;
    padding-left: var(--space-6);
    color: var(--neutral-600);
}

.content-card li {
    margin-bottom: var(--space-2);
    line-height: 1.6;
}

/* Animations */
@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    }
    50% {
        box-shadow: 0 6px 20px rgba(168, 111, 66, 0.4), 0 0 20px rgba(168, 111, 66, 0.2);
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .header-content {
        gap: var(--space-2);
    }
    
    .nav-list {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: var(--space-6);
        border-top: 1px solid var(--neutral-200);
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
        z-index: 1000;
    }
    
    .nav-list.mobile-open {
        display: flex;
    }
    
    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        gap: 4px;
        background: none;
        border: none;
        cursor: pointer;
        padding: var(--space-2);
    }
    
    .theme-toggle-container {
        margin-left: var(--space-4); /* Adjusted margin for mobile */
    }
    
    .theme-toggle {
        padding-left: var(--space-2); /* Smaller padding on mobile */
        margin-left: var(--space-1); /* Smaller margin on mobile */
    }
    
    .dev-roadmap-container {
        padding: var(--space-4) 0;
    }
    
    .progress-track {
        flex-direction: column;
        align-items: center;
        gap: var(--space-8);
    }
    
    .progress-line,
    .progress-fill {
        display: none;
    }
    
    .stop-node {
        width: 56px;
        height: 56px;
        font-size: var(--text-lg);
    }
    
    .launch-roadmap-container {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }
    
    .journey-path {
        height: 400px;
    }
    
    .stop-marker {
        width: 48px;
        height: 48px;
        font-size: var(--text-base);
    }
    
    .stop-title {
        font-size: var(--text-xs);
    }
}

/* ===================================
   FEATURES GRID (For Artists/Enthusiasts)
   =================================== */

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-8);
    max-width: 900px;
    margin: 0 auto;
}

.feature-item {
    background: var(--neutral-0);
    border-radius: 16px;
    padding: var(--space-8);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05), 0 4px 6px rgba(0, 0, 0, 0.02);
    border: 1px solid var(--neutral-100);
    transition: all 0.2s ease;
}

.feature-item:hover {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05), 0 10px 15px rgba(0, 0, 0, 0.03);
    transform: translateY(-1px);
}

.feature-item h3 {
    color: var(--neutral-700);
    margin-bottom: var(--space-4);
    font-size: var(--text-lg);
}

.feature-item p {
    color: var(--neutral-600);
    margin: 0;
    line-height: 1.6;
}

/* ===================================
   ROADMAP CONTAINERS
   =================================== */

.roadmap-container {
    max-width: 800px;
    margin: 0 auto;
}

/* ===================================
   COLLAPSIBLE SECTIONS
   =================================== */

.collapsible-container {
    max-width: 800px;
    margin: 0 auto;
}

.collapsible-item {
    background: var(--neutral-0);
    border-radius: 16px;
    margin-bottom: var(--space-4);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05), 0 4px 6px rgba(0, 0, 0, 0.02);
    border: 1px solid var(--neutral-100);
    transition: all 0.2s ease;
    overflow: hidden;
}

.collapsible-item:hover {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05), 0 10px 15px rgba(0, 0, 0, 0.03);
    transform: translateY(-1px);
}

.collapsible-header {
    width: 100%;
    background: none;
    border: none;
    padding: var(--space-6);
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.2s ease;
}

.collapsible-header:hover {
    background: var(--neutral-50);
}

.collapsible-header h3 {
    margin: 0;
    color: var(--neutral-700);
    font-size: var(--text-lg);
}

.collapsible-icon {
    font-size: var(--text-2xl);
    font-weight: 300;
    color: var(--primary-500);
    transition: transform 0.2s ease;
    line-height: 1;
    width: 24px;
    text-align: center;
}

.collapsible-header[aria-expanded="true"] .collapsible-icon {
    transform: rotate(45deg);
}

.collapsible-content {
    padding: 0 var(--space-6) var(--space-6) var(--space-6);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.collapsible-content.expanded {
    max-height: 500px;
    padding: 0 var(--space-6) var(--space-6) var(--space-6);
}

.collapsible-content p {
    margin: 0;
    color: var(--neutral-600);
    line-height: 1.6;
    margin-bottom: var(--space-4);
}

.collapsible-content p:last-child {
    margin-bottom: 0;
}

.collapsible-content ul {
    margin: var(--space-4) 0;
    padding-left: var(--space-6);
    color: var(--neutral-600);
}

.collapsible-content li {
    margin-bottom: var(--space-2);
    line-height: 1.6;
}

/* ===================================
   PROGRESS SECTIONS
   =================================== */

.progress-timeline {
    position: relative;
    padding: var(--space-8) 0;
    max-width: 800px;
    margin: 0 auto;
}

.progress-timeline::before {
    content: '';
    position: absolute;
    left: 2rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--success) 75%, var(--neutral-300) 75%);
}

.progress-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: var(--space-8);
    position: relative;
}

.progress-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-xl);
    margin-right: var(--space-6);
    z-index: 2;
    flex-shrink: 0;
}

.progress-item.completed .progress-icon {
    background: var(--success);
    color: white;
}

.progress-item.in-progress .progress-icon {
    background: var(--warning);
    color: white;
}

.progress-item.upcoming .progress-icon {
    background: var(--neutral-100);
    color: var(--neutral-500);
    border: 2px solid var(--neutral-300);
}

.progress-content h3 {
    color: var(--neutral-700);
    margin-bottom: var(--space-2);
    font-size: var(--text-lg);
}

.progress-content p {
    color: var(--neutral-600);
    margin-bottom: var(--space-2);
    font-size: var(--text-base);
}

.progress-date {
    font-size: var(--text-sm);
    color: var(--neutral-500);
    font-weight: 500;
}

/* Overall Progress Bar */
.overall-progress {
    margin-top: var(--space-12);
    text-align: center;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: var(--neutral-200);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: var(--space-3);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--success), var(--accent-green));
    transition: width 0.8s ease;
    width: 0%;
}

.progress-text {
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--neutral-700);
}

/* Community CTA */
.community-cta {
    text-align: center;
    margin-top: var(--space-12);
    padding: var(--space-8);
    background: var(--neutral-50);
    border-radius: 16px;
}

.community-cta p {
    font-size: var(--text-lg);
    color: var(--neutral-600);
    margin-bottom: var(--space-6);
}

/* ===================================
   LAUNCH TIMELINE
   =================================== */

.launch-timeline {
    max-width: 900px;
    margin: 0 auto;
}

.launch-phase {
    background: var(--neutral-0);
    border-radius: 16px;
    padding: var(--space-8);
    margin-bottom: var(--space-6);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05), 0 4px 6px rgba(0, 0, 0, 0.02);
    border: 1px solid var(--neutral-100);
    transition: all 0.2s ease;
}

.launch-phase:hover {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05), 0 10px 15px rgba(0, 0, 0, 0.03);
    transform: translateY(-1px);
}

.phase-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-4);
}

.phase-header h3 {
    margin: 0;
    color: var(--neutral-700);
}

.phase-status {
    padding: var(--space-1) var(--space-3);
    border-radius: 20px;
    font-size: var(--text-sm);
    font-weight: 500;
}

.launch-phase.completed .phase-status {
    background: var(--success);
    color: white;
}

.launch-phase.in-progress .phase-status {
    background: var(--warning);
    color: white;
}

.launch-phase.upcoming .phase-status {
    background: var(--neutral-200);
    color: var(--neutral-600);
}

.phase-items {
    list-style: none;
    padding: 0;
}

.phase-items li {
    padding: var(--space-1) 0;
    font-size: var(--text-base);
    color: var(--neutral-600);
}

/* Instagram CTA */
.instagram-cta {
    text-align: center;
    margin-top: var(--space-12);
    padding: var(--space-8);
    background: var(--neutral-50);
    border-radius: 16px;
}

.instagram-cta p {
    font-size: var(--text-lg);
    color: var(--neutral-600);
    margin-bottom: var(--space-6);
}

/* ===================================
   WAITLIST FORM
   =================================== */

.waitlist-section {
    background: var(--neutral-0);
}

.waitlist-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.waitlist-description {
    font-size: var(--text-lg);
    color: var(--neutral-600);
    margin-bottom: var(--space-10);
}

.waitlist-form {
    background: var(--neutral-50);
    padding: var(--space-10);
    border-radius: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05), 0 10px 15px rgba(0, 0, 0, 0.03);
}

.form-group {
    margin-bottom: var(--space-6);
    text-align: left;
}

.form-label {
    display: block;
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--neutral-700);
    margin-bottom: var(--space-2);
}

.form-input,
.form-select {
    width: 100%;
    padding: var(--space-4);
    border: 1px solid var(--neutral-200);
    border-radius: 8px;
    font-size: var(--text-base);
    font-family: var(--font-family-sans);
    background: var(--neutral-0);
    transition: all 0.2s ease;
}

.form-input:focus,
.form-select:focus {
    outline: none;
    border-color: var(--primary-400);
    box-shadow: 0 0 0 3px rgba(168, 111, 66, 0.1);
}

.form-error {
    display: block;
    font-size: var(--text-sm);
    color: var(--error);
    margin-top: var(--space-1);
    min-height: 20px;
}

.form-submit {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
    color: white;
    padding: var(--space-4) var(--space-6);
    border: none;
    border-radius: 12px;
    font-size: var(--text-lg);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    margin-bottom: var(--space-6);
}

.form-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(168, 111, 66, 0.3);
}

.form-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.loading-spinner {
    font-size: var(--text-lg);
}

.hidden {
    display: none;
}

.form-success {
    background: var(--neutral-0);
    padding: var(--space-8);
    border-radius: 16px;
    border: 2px solid var(--success);
    text-align: center;
}

.form-success h3 {
    color: var(--success);
    margin-bottom: var(--space-4);
}

.form-success p {
    color: var(--neutral-600);
    margin-bottom: var(--space-6);
}

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

.footer {
    background: var(--neutral-800);
    color: var(--neutral-300);
    padding: var(--space-16) 0 var(--space-8) 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-8);
}

.footer-brand h3 {
    color: var(--neutral-0);
    margin-bottom: var(--space-2);
}

.footer-brand p {
    color: var(--neutral-400);
    margin: 0;
    font-size: var(--text-base);
}

.footer-social {
    display: flex;
    gap: var(--space-6);
}

.social-icon-link {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, background-color 0.2s ease;
    color: var(--neutral-400);
}

.social-icon-link:hover {
    transform: scale(1.1);
}

.social-icon-link.discord:hover {
    background: #5865F2;
    color: white;
}

.social-icon-link.instagram:hover {
    background: linear-gradient(135deg, #E4405F, #C13584);
    color: white;
}

.social-icon-link .social-icon {
    width: 24px;
    height: 24px;
}

.footer-bottom {
    text-align: center;
    padding-top: var(--space-8);
    border-top: 1px solid var(--neutral-700);
}

.footer-bottom p {
    color: var(--neutral-500);
    font-size: var(--text-sm);
    margin: 0;
}

/* ===================================
   BACK TO TOP BUTTON
   =================================== */

.back-to-top {
    position: fixed;
    bottom: var(--space-8);
    right: var(--space-8);
    width: 48px;
    height: 48px;
    background: var(--primary-500);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.2s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-600);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.back-to-top svg {
    width: 20px;
    height: 20px;
}

/* Mobile Collapsible Features for Artists/Enthusiasts Sections */
@media (max-width: 768px) {
    .features-grid {
        display: block; /* Stack items vertically on mobile */
    }
    
    .mobile-collapsible {
        border-bottom: 1px solid var(--neutral-200);
        margin-bottom: 0;
    }
    
    .mobile-collapsible .feature-title {
        cursor: pointer;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: var(--space-4) var(--space-2);
        margin: 0;
        font-size: var(--text-lg);
        font-weight: 600;
        color: var(--neutral-700);
        transition: color 0.2s ease;
        background: var(--neutral-50);
        border-radius: 8px;
        margin-bottom: var(--space-2);
    }
    
    .mobile-collapsible .feature-title:hover,
    .mobile-collapsible .feature-title:active {
        color: var(--primary-500);
        background: var(--primary-50);
    }
    
    .mobile-toggle {
        font-size: var(--text-xl);
        font-weight: 300;
        color: var(--primary-500);
        transition: transform 0.2s ease;
        min-width: 24px;
        text-align: center;
    }
    
    .mobile-collapsible.active .mobile-toggle {
        transform: rotate(45deg);
    }
    
    .mobile-collapsible .feature-content {
        max-height: 0;
        overflow: hidden;
        transition: all 0.25s ease-out; /* Faster, snappier animation */
        background: var(--neutral-0);
        border-radius: 8px;
        margin-bottom: var(--space-4);
        padding: 0 var(--space-4);
        border: 1px solid transparent;
        opacity: 0;
    }
    
    .mobile-collapsible.active .feature-content {
        max-height: 300px;
        padding: var(--space-4);
        border: 1px solid var(--neutral-200);
        opacity: 1;
        transition: all 0.25s ease-out; /* Same fast speed for both directions */
    }
    
    .mobile-collapsible .feature-content p {
        margin: 0;
        color: var(--neutral-600);
        line-height: 1.6;
        font-size: var(--text-base);
    }
}

/* Keep desktop layout unchanged */
@media (min-width: 769px) {
    .mobile-toggle {
        display: none;
    }
    
    .feature-title {
        margin-bottom: var(--space-3);
    }
    
    .feature-content {
        display: block !important;
        max-height: none !important;
    }
}

/* Hero Title Mobile Fix - Keep Horizontal Layout EXACTLY like desktop */
@media (max-width: 768px) {
    .hero-title-container {
        margin-bottom: var(--space-8);
        text-align: center;
    }
    
    .hero-title {
        font-family: 'Roboto Slab', serif; /* Match desktop */
        display: flex;
        align-items: baseline;
        justify-content: center;
        gap: var(--space-3); /* Slightly smaller gap for mobile */
        height: 90px; /* Smaller height for mobile */
        flex-wrap: nowrap; /* Keep horizontal */
        line-height: 1.05; /* Match desktop */
        margin: 0;
        position: relative;
        z-index: 2;
    }
    
    /* Match desktop classes and proportions exactly, just scaled down */
    .hero-word.my-word {
        font-size: 2.4rem; /* Scaled down from 3.2rem */
        color: var(--neutral-700);
        font-weight: 400;
        font-style: italic;
        z-index: 2;
        opacity: 0.85;
    }
    
    .hero-word.art-word {
        font-size: 3rem; /* Scaled down from 4rem */
        color: var(--accent-coral);
        font-weight: 900;
        text-transform: uppercase;
        letter-spacing: 0.1em;
        z-index: 3;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    }
    
    .hero-word.way-word {
        font-size: 1.8rem; /* Scaled down from 2.4rem */
        color: var(--primary-500);
        font-weight: 300;
        font-style: italic;
        transform: translateY(3px); /* Match desktop positioning */
        margin-left: calc(var(--space-3) * -0.5); /* Adjusted for smaller gap */
        z-index: 1;
        opacity: 0.9;
    }
}

/* Mobile Roadmap Layouts - Redesigned for Better Fit */
@media (max-width: 768px) {
    /* Development Roadmap Mobile Layout */
    .dev-roadmap-container {
        display: block; /* Stack vertically instead of side-by-side */
        padding: var(--space-4) 0;
    }
    
    .progress-track {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: repeat(2, 1fr);
        gap: var(--space-3);
        padding: 50px var(--space-4) var(--space-4) var(--space-4); /* Extra top padding for labels above */
        margin-bottom: var(--space-4);
        background: var(--neutral-50);
        border-radius: 12px;
        position: relative;
        align-items: center;
        justify-items: center;
    }
    
    .progress-line {
        display: none; /* Hide connecting line for grid layout */
    }
    
    .progress-fill {
        display: none; /* Hide progress fill for grid layout */
    }
    
    .dev-stop {
        position: relative;
        flex-shrink: 0;
        cursor: pointer;
        z-index: 2;
    }
    
    .stop-node {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 16px;
        font-weight: 600;
        border: 3px solid var(--neutral-200);
        background: var(--neutral-0);
        color: var(--neutral-500);
        transition: all 0.3s ease;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }
    
    .dev-stop.completed .stop-node {
        background: #22c55e;
        border-color: #16a34a;
        color: white;
    }
    
    .dev-stop.current .stop-node {
        background: #f59e0b;
        border-color: #d97706;
        color: white;
        box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.2);
    }
    
    .stop-label {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        background: var(--neutral-0);
        padding: var(--space-1) var(--space-2);
        border-radius: 4px;
        font-size: 9px;
        font-weight: 500;
        color: var(--neutral-600);
        white-space: nowrap;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
        border: 1px solid var(--neutral-200);
        max-width: 85px; /* Expanded for longer text */
        text-align: center;
        line-height: 1.1;
        word-wrap: break-word;
        hyphens: auto;
    }
    
    /* Top row (first 4 items) - text above icons */
    .dev-stop[data-stop="basic-functionality"] .stop-label,
    .dev-stop[data-stop="side-quest"] .stop-label,
    .dev-stop[data-stop="search-tagging"] .stop-label,
    .dev-stop[data-stop="page-rank"] .stop-label {
        top: -35px; /* Above the icon */
    }
    
    /* Bottom row (last 4 items) - text below icons */
    .dev-stop[data-stop="app-store"] .stop-label,
    .dev-stop[data-stop="admin-tools"] .stop-label,
    .dev-stop[data-stop="security-audit"] .stop-label,
    .dev-stop[data-stop="migration"] .stop-label {
        top: 50px; /* Below the icon */
    }
    
    /* Special handling for longer text labels */
    .dev-stop[data-stop="search-tagging"] .stop-label,
    .dev-stop[data-stop="page-rank"] .stop-label {
        max-width: 95px; /* Even wider for these longer labels */
        padding: var(--space-1) var(--space-1); /* Tighter horizontal padding */
        font-size: 8px; /* Slightly smaller font */
    }
    
    /* Content area for roadmap details - now below the track */
    .content-card {
        background: var(--neutral-0);
        border: 1px solid var(--neutral-200);
        border-radius: 12px;
        padding: var(--space-4);
        margin-top: var(--space-4);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    }
    
    .content-card h3 {
        margin: 0 0 var(--space-3) 0;
        color: var(--neutral-800);
        font-size: var(--text-lg);
    }
    
    .content-card p {
        margin: 0;
        color: var(--neutral-600);
        line-height: 1.6;
    }
    
    /* Launch Roadmap Mobile Layout - Shrink to fit */
    .launch-roadmap-container {
        display: block;
        padding: var(--space-4) 0;
        transform: scale(0.85); /* Shrink the entire roadmap */
        transform-origin: center top;
    }
    
    .journey-path {
        position: relative;
        width: 100%;
        height: 300px; /* Smaller height */
        margin-bottom: var(--space-4);
        background: var(--neutral-50);
        border-radius: 12px;
        padding: var(--space-4);
    }
    
    .path-svg {
        width: 100%;
        height: 100%;
    }
    
    .road-path {
        fill: none;
        stroke: var(--neutral-300);
        stroke-width: 4; /* Thinner stroke */
    }
    
    .road-center-line {
        fill: none;
        stroke: var(--neutral-0);
        stroke-width: 2;
        stroke-dasharray: 6, 3; /* Smaller dashes */
    }
    
    .launch-stop {
        position: absolute;
        cursor: pointer;
        z-index: 2;
        transition: transform 0.2s ease;
    }
    
    .launch-stop:hover {
        transform: scale(1.1);
    }
    
    .stop-marker {
        width: 32px; /* Smaller markers */
        height: 32px;
        border-radius: 50%;
        background: var(--primary-500);
        color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 12px;
        font-weight: 600;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
        border: 2px solid var(--neutral-0);
        transition: all 0.3s ease;
    }
    
    .launch-stop.completed .stop-marker {
        background: #22c55e;
    }
    
    .launch-stop.current .stop-marker {
        background: #f59e0b;
        box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2);
    }
    
    .stop-title {
        position: absolute;
        top: 40px;
        left: 50%;
        transform: translateX(-50%);
        background: var(--neutral-0);
        padding: 3px 8px;
        border-radius: 4px;
        font-size: 8px;
        font-weight: 500;
        color: var(--neutral-600);
        white-space: nowrap;
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
        border: 1px solid var(--neutral-200);
        max-width: 110px; /* Further increased to handle longest titles like "Friends and Family Beta" */
        min-width: 60px; /* Ensure minimum backing for shorter titles */
        text-align: center;
        line-height: 1.1;
        word-wrap: break-word;
        hyphens: auto;
    }
    
    /* Position the launch stops along the path - adjusted for smaller size */
    .launch-stop:nth-child(1) { top: 12%; left: 12%; }
    .launch-stop:nth-child(2) { top: 28%; left: 20%; }
    .launch-stop:nth-child(3) { top: 45%; left: 15%; }
    .launch-stop:nth-child(4) { top: 62%; left: 25%; }
    .launch-stop:nth-child(5) { top: 78%; left: 20%; }
}

/* Desktop - Keep existing layout */
@media (min-width: 769px) {
    .mobile-roadmap-content {
        display: none;
    }
}

@media (max-width: 768px) {
    /* Navigation */
    .nav-list {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: var(--space-6);
        border-top: 1px solid var(--neutral-200);
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    }
    
    .nav-list.mobile-open {
        display: flex;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    /* Hero Section */
    .hero-title {
        font-size: var(--text-4xl);
        height: 90px; /* Reduced height for mobile */
    }
    
    .hero-word.my-word {
        font-size: 2.4rem; /* Scaled down from 3.2rem */
    }
    
    .hero-word.art-word {
        font-size: 3rem; /* Scaled down from 4rem */
    }
    
    .hero-word.way-word {
        font-size: 1.8rem; /* Scaled down from 2.4rem */
        margin-left: calc(var(--space-3) * -0.5); /* Adjusted for smaller gap */
    }
    
    .logo-text {
        font-size: var(--text-xl); /* Smaller logo on mobile */
    }
    
    .logo-flourish {
        height: 16px; /* Smaller flourish on mobile */
    }
    
    .hero-subtitle {
        font-size: var(--text-xl);
    }
    
    /* Social Buttons */
    .social-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .discord-button,
    .instagram-button {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    /* Progress Timeline */
    .progress-timeline::before {
        left: 1.5rem;
    }
    
    .progress-icon {
        width: 3rem;
        height: 3rem;
        margin-right: var(--space-4);
    }
    
    /* Footer */
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: var(--space-6);
    }
    
    /* Spacing Adjustments */
    .section {
        padding: var(--space-16) 0;
    }
    
    .container {
        padding: 0 var(--space-4);
    }
    
    /* Form */
    .waitlist-form {
        padding: var(--space-6);
    }
}

@media (max-width: 640px) {
    /* Typography - Keep horizontal layout even on very small screens */
    .hero-title {
        height: 70px; /* Further reduced height */
        gap: var(--space-2); /* Smaller gap for very small screens */
        flex-direction: row; /* KEEP horizontal layout */
        flex-wrap: nowrap; /* No wrapping */
    }
    
    .hero-word.my-word {
        font-size: 1.8rem; /* Further scaled down but proportional */
    }
    
    .hero-word.art-word {
        font-size: 2.2rem; /* Further scaled down but proportional */
    }
    
    .hero-word.way-word {
        font-size: 1.3rem; /* Further scaled down but proportional */
        margin-left: calc(var(--space-2) * -0.5); /* Smaller negative margin */
        transform: translateY(2px); /* Maintain relative positioning */
    }
    
    .section-title {
        font-size: var(--text-2xl);
    }
    
    /* Progress */
    .progress-item {
        flex-direction: column;
        text-align: center;
    }
    
    .progress-icon {
        margin-right: 0;
        margin-bottom: var(--space-4);
    }
    
    .progress-timeline::before {
        display: none;
    }
}

/* ===================================
   ANIMATIONS & MICRO-INTERACTIONS
   =================================== */

/* Gentle transitions for all interactive elements */
* {
    transition: all 0.2s ease;
}

/* Loading Animation */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.loading {
    animation: pulse 1.5s ease-in-out infinite;
}

/* Fade in animation for sections */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.4s ease-out forwards;
    will-change: opacity, transform;
}

/* Focus styles for accessibility */
button:focus,
input:focus,
select:focus,
a:focus {
    outline: 2px solid var(--primary-400);
    outline-offset: 2px;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
