/* ========================================
   SIMPLIFAQ LAUNCH PAGE - MODERN DESIGN
   Ultra-modern, gradient-rich design
   ======================================== */

/* ========================================
   CSS VARIABLES & THEME
   ======================================== */
:root {
    /* Brand Colors */
    --brand-primary: #6366F1;
    --brand-secondary: #8B5CF6;
    --brand-accent: #EC4899;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #6366F1 0%, #8B5CF6 100%);
    --gradient-secondary: linear-gradient(135deg, #EC4899 0%, #F59E0B 100%);
    --gradient-blue: linear-gradient(135deg, #3B82F6 0%, #6366F1 100%);
    --gradient-purple: linear-gradient(135deg, #8B5CF6 0%, #A855F7 100%);
    --gradient-green: linear-gradient(135deg, #10B981 0%, #059669 100%);
    --gradient-orange: linear-gradient(135deg, #F59E0B 0%, #EF4444 100%);
    --gradient-pink: linear-gradient(135deg, #EC4899 0%, #F472B6 100%);
    --gradient-cyan: linear-gradient(135deg, #06B6D4 0%, #3B82F6 100%);
    
    /* Neutral Colors */
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-700: #374151;
    --gray-800: #1F2937;
    --gray-900: #111827;
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Space Grotesk', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.3);
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========================================
   RESET & 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);
    color: var(--gray-900);
    background: var(--gray-50);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ========================================
   ANIMATED BACKGROUND
   ======================================== */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: float 20s infinite ease-in-out;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: var(--gradient-primary);
    top: -200px;
    right: -200px;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: var(--gradient-pink);
    bottom: -150px;
    left: -150px;
    animation-delay: 7s;
}

.orb-3 {
    width: 600px;
    height: 600px;
    background: var(--gradient-cyan);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 14s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(100px, -50px) scale(1.1); }
    66% { transform: translate(-50px, 100px) scale(0.9); }
}

/* ========================================
   GLASSMORPHISM HEADER
   ======================================== */
.glass-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-img {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
}

.logo-highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.location-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-700);
}

.location-icon {
    width: 18px;
    height: 18px;
    color: var(--brand-primary);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.blog-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: transparent;
    color: #4b5563;
    text-decoration: none;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 500;
    transition: all var(--transition-base);
    position: relative;
}

.blog-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: all var(--transition-base);
    transform: translateX(-50%);
}

.blog-link:hover {
    color: #6366f1;
    background: rgba(99, 102, 241, 0.05);
}

.blog-link:hover::after {
    width: 80%;
}

.blog-link svg {
    width: 18px;
    height: 18px;
    color: inherit;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: #4b5563;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    max-width: 85%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    box-shadow: -4px 0 30px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 5rem 2rem 2rem;
    transition: right 0.3s ease;
    overflow-y: auto;
}

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

.mobile-menu .blog-link {
    display: flex;
    width: 100%;
    padding: 1rem;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    border-radius: 0.5rem;
}

.mobile-menu .blog-link::after {
    display: none;
}

.mobile-menu .location-badge {
    margin-top: 2rem;
    justify-content: center;
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .mobile-menu,
    .mobile-menu-overlay {
        display: block;
    }
    
    .nav-right {
        display: none;
    }
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 8rem 2rem 4rem;
    position: relative;
}

.hero-content {
    max-width: 900px;
    text-align: center;
}

/* Status Badge */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--brand-primary);
    box-shadow: var(--shadow-lg);
    margin-bottom: 2rem;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--brand-primary);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

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

/* Hero Title */
.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--gray-900);
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

/* Hero Subtitle */
.hero-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    line-height: 1.6;
    color: var(--gray-700);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ========================================
   COUNTDOWN
   ======================================== */
.countdown-wrapper {
    margin: 3rem 0;
}

.countdown-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Note: Countdown styles in countdown.css will be updated separately */

/* ========================================
   CTA BUTTON
   ======================================== */
.cta-container {
    margin-top: 3rem;
}

.notify-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: var(--radius-full);
    font-size: 1.125rem;
    font-weight: 600;
    font-family: var(--font-primary);
    cursor: pointer;
    box-shadow: var(--shadow-xl), var(--shadow-glow);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.notify-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left var(--transition-slow);
}

.notify-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 25px 35px -10px rgba(99, 102, 241, 0.4);
}

.notify-button:hover::before {
    left: 100%;
}

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

.arrow-icon {
    width: 20px;
    height: 20px;
    transition: transform var(--transition-base);
}

.notify-button:hover .arrow-icon {
    transform: translateX(4px);
}

.cta-note {
    margin-top: 1rem;
    font-size: 0.875rem;
    color: var(--gray-700);
}

/* ========================================
   SCROLL INDICATOR
   ======================================== */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-700);
    font-size: 0.875rem;
    animation: bounce 2s infinite;
}

.mouse {
    width: 24px;
    height: 36px;
    border: 2px solid var(--gray-700);
    border-radius: var(--radius-full);
    position: relative;
}

.wheel {
    width: 3px;
    height: 8px;
    background: var(--gray-700);
    border-radius: var(--radius-full);
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

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

/* ========================================
   FEATURES SECTION
   ======================================== */
.features-section {
    padding: 6rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--gradient-primary);
    color: white;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--gray-700);
    max-width: 600px;
    margin: 0 auto;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Center last card if alone */
.features-grid > .feature-card:last-child:nth-child(3n+1) {
    grid-column: 1 / -1;
    max-width: 400px;
    margin: 0 auto;
}

.feature-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(99, 102, 241, 0.3);
}

.feature-card:hover::before {
    opacity: 1;
}

/* Feature Icon */
.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-md);
}

.feature-icon svg {
    width: 32px;
    height: 32px;
    color: white;
}

.gradient-blue { background: var(--gradient-blue); }
.gradient-purple { background: var(--gradient-purple); }
.gradient-green { background: var(--gradient-green); }
.gradient-orange { background: var(--gradient-orange); }
.gradient-pink { background: var(--gradient-pink); }
.gradient-cyan { background: var(--gradient-cyan); }

/* Feature Content */
.feature-card h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: var(--gray-700);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.feature-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--gray-100);
    color: var(--gray-700);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.feature-tag.new {
    background: var(--gradient-secondary);
    color: white;
}

/* ========================================
   FEATURE FLAGS PANEL (Hidden by default)
   ======================================== */
.feature-flags-panel {
    margin-top: 4rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.9);
    border: 2px dashed var(--brand-primary);
    border-radius: var(--radius-lg);
    display: none; /* Hidden by default, toggle with ?debug=true */
}

.feature-flags-panel.active {
    display: block;
}

.feature-flags-panel h4 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--brand-primary);
}

.flag-toggles {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.flag-toggle {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    user-select: none;
}

.flag-toggle input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.flag-toggle span {
    font-weight: 500;
    color: var(--gray-900);
}

/* ========================================
   STATS SECTION - REMOVED
   ======================================== */
/* Stats section removed to avoid speculation
.stats-section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-base);
}

.stat-item:hover {
    transform: translateY(-4px);
}

.stat-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--gray-700);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
*/

/* ========================================
   TRUST SECTION
   ======================================== */
.trust-section {
    padding: 4rem 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.trust-content {
    text-align: center;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

.trust-badge {
    display: inline-flex;
    margin-bottom: 1.5rem;
}

.swiss-flag {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.trust-content h3 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.trust-content p {
    color: var(--gray-700);
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.trust-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.trust-badges .badge {
    padding: 0.5rem 1rem;
    background: var(--gray-100);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-700);
}

/* ========================================
   FOOTER
   ======================================== */
.glass-footer {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    padding: 2.5rem 2rem 1.25rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-bottom: 1.5rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-logo {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    margin-bottom: 0.25rem;
}

.footer-brand p {
    color: var(--gray-600);
    font-size: 0.8125rem;
    line-height: 1.5;
    margin: 0;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-end;
    justify-content: center;
}

.footer-links a {
    color: var(--gray-600);
    text-decoration: none;
    font-size: 0.8125rem;
    transition: color var(--transition-fast);
    opacity: 0.9;
}

.footer-links a:hover {
    color: var(--brand-primary);
    opacity: 1;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(99, 102, 241, 0.1);
    border-radius: var(--radius-md);
    color: var(--brand-primary);
    transition: all var(--transition-base);
}

.footer-social a:hover {
    background: var(--gradient-primary);
    color: white;
    transform: translateY(-2px);
}

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

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    text-align: center;
}

.footer-bottom p {
    color: var(--gray-500);
    font-size: 0.75rem;
    opacity: 0.8;
    margin: 0;
}

/* ========================================
   MODAL
   ======================================== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: var(--radius-xl);
    padding: 3rem;
    max-width: 500px;
    width: 100%;
    box-shadow: var(--shadow-xl);
    position: relative;
    animation: modalSlideIn var(--transition-slow);
}

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

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 32px;
    height: 32px;
    border: none;
    background: var(--gray-100);
    border-radius: var(--radius-md);
    font-size: 1.5rem;
    color: var(--gray-700);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.modal-close:hover {
    background: var(--gray-200);
    transform: rotate(90deg);
}

.modal-content h3 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.modal-content p {
    color: var(--gray-700);
    line-height: 1.6;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 768px) {
    .hero-section {
        padding: 6rem 1rem 3rem;
    }
    
    .nav-container {
        padding: 0 1rem;
    }
    
    .location-badge {
        display: none;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .logo-text {
        font-size: 1.25rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        padding: 2rem;
    }
}

/* ========================================
   UTILITIES
   ======================================== */
.hidden {
    display: none !important;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* ========================================
   NEW SECTIONS - FEATURE FLAGS
   ======================================== */

/* About Extended Section */
.about-section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.about-content {
    text-align: center;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.about-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-base);
    text-align: center;
}

.about-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.about-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.about-card h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}

.about-card p {
    color: var(--gray-700);
    line-height: 1.6;
}

.about-tagline {
    max-width: 700px;
    margin: 2rem auto 0;
    font-size: 1.125rem;
    color: var(--gray-700);
    line-height: 1.6;
}

/* Beta Section */
.beta-section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    background: var(--gray-50);
}

.beta-content {
    max-width: 1000px;
    margin: 0 auto;
}

.beta-alert {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    background: linear-gradient(135deg, #FEF3C7 0%, #FCD34D 100%);
    border-radius: var(--radius-xl);
    margin-bottom: 3rem;
    box-shadow: var(--shadow-md);
}

.beta-alert-icon {
    width: 48px;
    height: 48px;
    background: white;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.beta-alert-icon svg {
    width: 24px;
    height: 24px;
    color: #F59E0B;
}

.beta-alert-content h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.beta-alert-content p {
    color: var(--gray-700);
}

.beta-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.beta-info-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    text-align: center;
}

.beta-info-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: var(--shadow-md);
}

.beta-info-icon svg {
    width: 32px;
    height: 32px;
    color: white;
}

.beta-info-card h4 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}

.beta-info-card p {
    color: var(--gray-700);
    line-height: 1.6;
}

.beta-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.beta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-base);
}

.beta-button.primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-lg);
}

.beta-button.primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.beta-button.secondary {
    background: white;
    color: var(--gray-900);
    border: 2px solid var(--gray-200);
}

.beta-button.secondary:hover {
    border-color: var(--brand-primary);
    background: var(--gray-50);
}

.beta-button svg {
    width: 20px;
    height: 20px;
}

/* FAQ Section */
.faq-section {
    padding: 4rem 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.faq-content {
    text-align: center;
}

.faq-grid {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-base);
}

.faq-item:hover {
    border-color: var(--brand-primary);
    box-shadow: var(--shadow-md);
}

.faq-item summary {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 600;
    color: var(--gray-900);
    list-style: none;
    user-select: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-icon {
    width: 20px;
    height: 20px;
    color: var(--gray-500);
    transition: transform var(--transition-base);
    flex-shrink: 0;
}

.faq-item[open] .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    color: var(--gray-700);
    line-height: 1.6;
}

.faq-answer a {
    color: var(--brand-primary);
    text-decoration: underline;
}

/* Newsletter Section */
.newsletter-section {
    padding: 4rem 2rem;
    background: var(--gray-50);
}

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

.newsletter-card {
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.newsletter-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--gradient-primary);
    color: white;
}

.newsletter-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.newsletter-icon svg {
    width: 24px;
    height: 24px;
    color: white;
}

.newsletter-header h3 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.newsletter-header p {
    font-size: 0.875rem;
    opacity: 0.9;
}

.newsletter-body {
    padding: 2rem;
}

.newsletter-text {
    color: var(--gray-700);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.newsletter-form-placeholder {
    background: var(--gray-50);
    border: 2px dashed var(--gray-300);
    border-radius: var(--radius-lg);
    padding: 3rem 2rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

.placeholder-content {
    margin-bottom: 1.5rem;
}

.placeholder-content svg {
    width: 48px;
    height: 48px;
    color: var(--gray-400);
    margin: 0 auto 1rem;
}

.placeholder-content p {
    color: var(--gray-600);
    margin-bottom: 0.5rem;
}

.placeholder-content p.small {
    font-size: 0.875rem;
    color: var(--gray-500);
}

.newsletter-temp-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--gray-900);
    color: white;
    border-radius: var(--radius-full);
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-base);
}

.newsletter-temp-button:hover {
    background: var(--brand-primary);
    transform: translateY(-2px);
}

.newsletter-legal {
    font-size: 0.75rem;
    color: var(--gray-600);
    line-height: 1.5;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.newsletter-legal svg {
    width: 16px;
    height: 16px;
    color: var(--gray-400);
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.newsletter-legal a {
    color: var(--brand-primary);
    text-decoration: underline;
}

/* Flag Category */
.flag-category {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--gray-50);
    border-radius: var(--radius-md);
}

.flag-category strong {
    display: block;
    margin-bottom: 0.75rem;
    color: var(--brand-primary);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Responsive */
@media (max-width: 768px) {
    .about-grid,
    .beta-info-grid {
        grid-template-columns: 1fr;
    }

    .beta-alert {
        flex-direction: column;
        text-align: center;
    }

    .beta-cta {
        flex-direction: column;
    }

    .beta-button {
        width: 100%;
        justify-content: center;
    }

    .newsletter-header {
        flex-direction: column;
        text-align: center;
    }
}

/* ========================================
   STORY / ABOUT PAGE STYLES
   ======================================== */
.story-container {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.97) 100%);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: 1.5rem;
    padding: 3rem;
    border: 1px solid rgba(99, 102, 241, 0.2);
    box-shadow: 0 20px 60px rgba(99, 102, 241, 0.2), 0 8px 16px rgba(0, 0, 0, 0.1);
}

.story-block {
    margin-bottom: 3.5rem;
    padding-bottom: 3.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.story-block:last-child,
.story-last {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.story-label {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.12) 0%, rgba(139, 92, 246, 0.12) 100%);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #6366f1;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 1.25rem;
}

.story-heading {
    font-size: 1.85rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1.75rem;
    font-family: var(--font-display);
    line-height: 1.3;
}

.story-block p {
    font-size: 1.05rem;
    line-height: 1.85;
    color: #475569;
    margin-bottom: 1.25rem;
    text-align: left;
}

.story-block p:last-child {
    margin-bottom: 0;
}

.story-list {
    list-style: none;
    margin: 1.5rem 0;
    padding: 0;
}

.story-list li {
    font-size: 1.05rem;
    line-height: 1.85;
    color: #475569;
    margin-bottom: 0.9rem;
    padding-left: 2rem;
    position: relative;
}

.story-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: #6366f1;
    font-weight: 600;
    font-size: 1.1rem;
}

.story-emphasis {
    font-style: italic;
    opacity: 0.9;
    padding-left: 1.75rem;
    border-left: 3px solid rgba(99, 102, 241, 0.5);
    margin: 1.5rem 0;
    color: #64748b;
}

.story-highlight {
    font-weight: 600;
    color: #1e293b;
    font-size: 1.12rem;
    line-height: 1.8;
}

.story-vision {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08) 0%, rgba(139, 92, 246, 0.08) 100%);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 1.25rem;
    padding: 2.5rem;
    margin-top: 0.5rem;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.12);
}

/* Responsive for story pages */
@media (max-width: 768px) {
    .story-container {
        padding: 2rem 1.5rem;
    }
    
    .story-heading {
        font-size: 1.5rem;
    }
    
    .story-block {
        margin-bottom: 2rem;
        padding-bottom: 2rem;
    }
    
    .story-block p {
        font-size: 1rem;
    }
}

/* ========================================
   LEGAL PAGES (Privacy, Terms, Mentions)
   ======================================== */
.privacy-policy {
    min-height: 100vh;
    padding: 8rem 2rem 4rem;
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
}

.privacy-policy .container {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(15, 23, 42, 0.85);
    border-radius: 1.5rem;
    padding: 3.5rem;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.privacy-policy h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #f8fafc;
    margin-bottom: 2.5rem;
    text-align: center;
    font-family: var(--font-display);
}

.privacy-content h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #f8fafc;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(99, 102, 241, 0.3);
}

.privacy-content h2:first-child {
    margin-top: 0;
}

.privacy-content p {
    font-size: 1.05rem;
    line-height: 1.9;
    color: #e2e8f0;
    margin-bottom: 1.5rem;
}

.privacy-content a {
    color: #818cf8;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.privacy-content a:hover {
    color: #a5b4fc;
    text-decoration: underline;
}

.back-home {
    margin-top: 3rem;
    text-align: center;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 0.75rem;
    color: #818cf8;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
}

.back-link:hover {
    background: rgba(99, 102, 241, 0.2);
    border-color: rgba(99, 102, 241, 0.5);
    transform: translateY(-2px);
}

/* Responsive for legal pages */
@media (max-width: 768px) {
    .privacy-policy {
        padding: 6rem 1rem 3rem;
    }
    
    .privacy-policy .container {
        padding: 2rem;
    }
    
    .privacy-policy h1 {
        font-size: 2rem;
    }
    
    .privacy-content h2 {
        font-size: 1.3rem;
    }
    
    /* Footer más compacto en móvil */
    .glass-footer {
        padding: 1.75rem 1rem 1rem;
        margin-top: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem 1.5rem;
        margin-bottom: 1.25rem;
    }
    
    .footer-brand {
        grid-column: 1 / -1;
    }
    
    .footer-links {
        grid-column: 1 / -1;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        gap: 0.5rem 1rem;
    }
    
    .footer-links a {
        font-size: 0.75rem;
    }
    
    .footer-brand p {
        font-size: 0.75rem;
    }
    
    .footer-logo {
        width: 36px;
        height: 36px;
    }
    
    .footer-bottom {
        padding-top: 1rem;
    }
    
    .footer-bottom p {
        font-size: 0.6875rem;
    }
    
    /* Fix para inputs en formularios - evitar que se abra el menú móvil */
    .story-container form {
        position: relative;
        z-index: 1;
        touch-action: manipulation;
    }
    
    .story-container form input,
    .story-container form textarea,
    .story-container form button {
        touch-action: manipulation;
    }
    
    /* Asegurar que inputs sean accesibles */
    .story-block input,
    .story-block textarea {
        -webkit-tap-highlight-color: transparent;
    }
}
