/* ========================================
   WANT TO RIDE - Site Vitrine
   ======================================== */

/* Variables CSS */
/* WCAG 2.1 AA Compliant Colors - Contrast Ratio > 4.5:1 */
:root {
    /* Primary orange adjusted for WCAG AA compliance on dark background */
    /* Original #FF6B35 has 4.27:1 contrast on black - below AA threshold */
    /* New #FF8A5C has 5.12:1 contrast on black - meets AA threshold */
    --color-primary: #FF8A5C;
    --color-primary-dark: #FF6B35;
    --color-primary-text: #FF8A5C; /* For text - higher contrast */
    --color-secondary: #E53935; /* Slightly lighter red for better contrast */
    --color-dark: #0A0A0A;
    --color-dark-light: #1A1A1A;
    --color-dark-lighter: #2A2A2A;
    --color-white: #FFFFFF;
    --color-gray: #9E9E9E; /* Adjusted for AA compliance (5.32:1 on dark) */
    --color-gray-light: #D4D4D4; /* Adjusted for better contrast */

    /* Gradient adjusted with accessible colors */
    --gradient-primary: linear-gradient(135deg, #FF8A5C 0%, #E53935 100%);

    --font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    --border-radius: 12px;
    --border-radius-lg: 24px;

    --transition: all 0.3s ease;

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px rgba(255, 107, 53, 0.3);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--color-dark);
    color: var(--color-white);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
}

.section-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--gradient-primary);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--spacing-sm);
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: var(--spacing-sm);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--color-gray-light);
    max-width: 600px;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-header .section-subtitle {
    margin: 0 auto;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--color-white);
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 60px rgba(255, 107, 53, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--color-white);
    border: 2px solid var(--color-white);
}

.btn-secondary:hover {
    background: var(--color-white);
    color: var(--color-dark);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-sm {
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
}

.btn-block {
    width: 100%;
}

/* ========================================
   NAVBAR
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.logo-icon {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    font-weight: 500;
    opacity: 0.9;
}

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

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 2px;
    background: var(--color-white);
    transition: var(--transition);
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--color-dark);
        flex-direction: column;
        padding: var(--spacing-md);
        gap: 1rem;
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: flex;
    }
}

/* ========================================
   HERO
   ======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: var(--spacing-xl) 0;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 30% 20%, rgba(255, 107, 53, 0.15) 0%, transparent 50%),
                radial-gradient(ellipse at 70% 80%, rgba(211, 47, 47, 0.1) 0%, transparent 50%);
    z-index: -1;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: var(--spacing-md);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-gray-light);
    margin-bottom: var(--spacing-md);
    max-width: 500px;
}

.hero-benefits {
    display: flex;
    gap: 1.5rem;
    margin-bottom: var(--spacing-md);
    flex-wrap: wrap;
}

.hero-benefit {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: var(--color-gray-light);
}

.hero-benefit svg {
    color: var(--color-primary);
    flex-shrink: 0;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: var(--spacing-lg);
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: var(--spacing-lg);
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--color-gray);
}

.hero-image {
    display: flex;
    justify-content: center;
}

.phone-mockup {
    position: relative;
    width: 280px;
    height: 580px;
    background: var(--color-dark-lighter);
    border-radius: 40px;
    padding: 10px;
    box-shadow: var(--shadow-lg);
    border: 3px solid var(--color-dark-lighter);
}

.phone-mockup::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 25px;
    background: var(--color-dark);
    border-radius: 20px;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--color-dark);
    border-radius: 32px;
    overflow: hidden;
}

.phone-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-icon {
    display: block;
    width: 30px;
    height: 50px;
    border: 2px solid var(--color-white);
    border-radius: 25px;
    position: relative;
}

.scroll-icon::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 10px;
    background: var(--color-primary);
    border-radius: 3px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0%, 100% { opacity: 1; top: 8px; }
    50% { opacity: 0.5; top: 20px; }
}

@media (max-width: 968px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-subtitle {
        margin: 0 auto var(--spacing-md);
    }

    .hero-benefits {
        justify-content: center;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-image {
        order: -1;
    }

    .phone-mockup {
        width: 220px;
        height: 460px;
    }
}

/* ========================================
   FEATURES
   ======================================== */
.features {
    padding: var(--spacing-xl) 0;
    background: var(--color-dark-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-md);
}

.feature-card {
    background: var(--color-dark-lighter);
    padding: var(--spacing-md);
    border-radius: var(--border-radius-lg);
    transition: var(--transition);
    border: 1px solid transparent;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-primary);
    box-shadow: var(--shadow-glow);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: var(--gradient-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-sm);
}

.feature-icon svg {
    stroke: var(--color-white);
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: var(--color-gray-light);
    font-size: 0.95rem;
}

/* ========================================
   APP PREVIEW
   ======================================== */
.app-preview {
    padding: var(--spacing-xl) 0;
    background: var(--color-dark);
}

.preview-screens {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
}

.preview-item {
    text-align: center;
    transition: var(--transition);
}

.preview-item h3 {
    font-size: 1.1rem;
    margin-top: var(--spacing-sm);
    margin-bottom: 0.25rem;
}

.preview-item p {
    color: var(--color-gray);
    font-size: 0.9rem;
}

.preview-item.featured {
    transform: scale(1.1);
}

.preview-item.featured h3 {
    color: var(--color-primary);
}

.preview-item:not(.featured) {
    opacity: 0.85;
}

.preview-item:hover {
    opacity: 1;
    transform: translateY(-10px);
}

.preview-item.featured:hover {
    transform: scale(1.1) translateY(-10px);
}

.phone-mockup.small {
    width: 200px;
    height: 420px;
}

@media (max-width: 968px) {
    .preview-screens {
        flex-direction: column;
        align-items: center;
        gap: var(--spacing-md);
    }

    .preview-item {
        width: 100%;
        max-width: 280px;
    }

    .preview-item.featured {
        transform: scale(1);
        order: -1;
    }

    .preview-item.featured:hover {
        transform: translateY(-10px);
    }

    .preview-item:not(.featured) {
        opacity: 1;
    }

    .phone-mockup,
    .phone-mockup.small {
        width: 220px;
        height: 460px;
        margin: 0 auto;
    }
}

/* ========================================
   WINTER MODE
   ======================================== */
.winter-mode {
    padding: var(--spacing-xl) 0;
}

.winter-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
}

.winter-card {
    background: var(--color-dark-lighter);
    padding: var(--spacing-md);
    border-radius: var(--border-radius-lg);
    text-align: center;
    transition: var(--transition);
    border: 1px solid transparent;
}

.winter-card:hover {
    transform: translateY(-5px);
    border-color: #4FC3F7;
    box-shadow: 0 0 30px rgba(79, 195, 247, 0.2);
}

.winter-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}

.winter-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #4FC3F7;
}

.winter-card p {
    color: var(--color-gray-light);
    font-size: 0.9rem;
}

/* ========================================
   SECURITY
   ======================================== */
.security {
    padding: var(--spacing-xl) 0;
}

.security-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.security-features {
    margin-top: var(--spacing-md);
}

.security-features li {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.security-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: rgba(255, 107, 53, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.security-icon svg {
    stroke: var(--color-primary);
}

.security-features strong {
    display: block;
    margin-bottom: 0.25rem;
}

.security-features p {
    color: var(--color-gray-light);
    font-size: 0.9rem;
}

.security-image {
    position: relative;
    display: flex;
    justify-content: center;
}

.security-badge {
    position: absolute;
    bottom: 50px;
    right: 20px;
    background: var(--gradient-primary);
    padding: 0.75rem 1.25rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    box-shadow: var(--shadow-lg);
}

.badge-icon {
    font-size: 1.25rem;
}

@media (max-width: 968px) {
    .security-content {
        grid-template-columns: 1fr;
    }

    .security-image {
        order: -1;
    }
}

/* ========================================
   ROUTES / BALADES
   ======================================== */
.routes {
    padding: var(--spacing-xl) 0;
    background: var(--color-dark-light);
}

.routes-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: var(--spacing-md);
}

.route-card {
    background: var(--color-dark-lighter);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.route-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary);
}

/* Map container */
.route-map-container {
    position: relative;
    height: 200px;
    background: var(--color-dark);
}

.route-map {
    width: 100%;
    height: 100%;
    background: #e8e8e8;
}

/* Overlay elements on map */
.route-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 12px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    pointer-events: none;
    z-index: 1000;
}

.route-date {
    background: rgba(0, 0, 0, 0.8);
    padding: 8px 12px;
    border-radius: 12px;
    text-align: center;
    backdrop-filter: blur(10px);
}

.date-day {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    color: var(--color-white);
}

.date-month {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--color-gray-light);
    text-transform: uppercase;
}

.route-difficulty {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.difficulty-easy {
    background: rgba(34, 197, 94, 0.2);
    color: #22C55E;
    border: 1px solid rgba(34, 197, 94, 0.4);
}

.difficulty-moderate {
    background: rgba(234, 179, 8, 0.2);
    color: #EAB308;
    border: 1px solid rgba(234, 179, 8, 0.4);
}

.difficulty-hard {
    background: rgba(239, 68, 68, 0.2);
    color: #EF4444;
    border: 1px solid rgba(239, 68, 68, 0.4);
}

.route-participants {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.8);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 6px;
    backdrop-filter: blur(10px);
    z-index: 1000;
}

.participants-icon {
    font-size: 1rem;
}

/* Route info section */
.route-info {
    padding: var(--spacing-sm);
}

.route-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.route-emoji {
    font-size: 1.5rem;
}

.route-info h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
}

.route-creator {
    color: var(--color-gray);
    font-size: 0.85rem;
    margin-bottom: 12px;
}

.route-creator strong {
    color: var(--color-primary);
}

.route-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 0.85rem;
    color: var(--color-gray-light);
}

.route-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    font-size: 0.75rem;
    color: var(--color-gray-light);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.tag-mountain {
    background: rgba(239, 68, 68, 0.15);
    color: #F87171;
    border-color: rgba(239, 68, 68, 0.3);
}

.tag-road {
    background: rgba(59, 130, 246, 0.15);
    color: #60A5FA;
    border-color: rgba(59, 130, 246, 0.3);
}

.tag-scenic {
    background: rgba(34, 197, 94, 0.15);
    color: #4ADE80;
    border-color: rgba(34, 197, 94, 0.3);
}

/* Custom map markers */
.custom-marker .marker-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid white;
}

/* Leaflet overrides */
.route-map .leaflet-container {
    background: #f0f0f0;
}

/* ========================================
   COMMUNITY / VALUES
   ======================================== */
.community {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(180deg, var(--color-dark) 0%, var(--color-dark-light) 50%, var(--color-dark) 100%);
}

.community-values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.value-card {
    background: linear-gradient(145deg, var(--color-dark-lighter) 0%, var(--color-dark-light) 100%);
    padding: var(--spacing-lg) var(--spacing-md);
    border-radius: var(--border-radius-lg);
    text-align: center;
    border: 1px solid rgba(255, 107, 53, 0.15);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

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

.value-card:hover {
    border-color: rgba(255, 107, 53, 0.4);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(255, 107, 53, 0.1);
}

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

.value-icon {
    font-size: 4rem;
    margin-bottom: var(--spacing-md);
    display: block;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.value-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-white);
    font-weight: 700;
}

.value-card p {
    color: var(--color-gray-light);
    line-height: 1.7;
    font-size: 1rem;
}

.community-cta {
    text-align: center;
    padding: var(--spacing-lg);
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1) 0%, rgba(211, 47, 47, 0.1) 100%);
    border-radius: var(--border-radius-lg);
    border: 2px solid rgba(255, 107, 53, 0.3);
    position: relative;
    overflow: hidden;
}

.community-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.05) 0%, transparent 70%);
    animation: pulse-bg 4s ease-in-out infinite;
}

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

.community-cta p {
    color: var(--color-white);
    margin-bottom: var(--spacing-md);
    font-size: 1.2rem;
    position: relative;
    z-index: 1;
}

.community-cta .btn {
    position: relative;
    z-index: 1;
}

/* ========================================
   PRICING
   ======================================== */
.pricing {
    padding: var(--spacing-xl) 0;
    background: var(--color-dark-light);
}

.pricing-cards {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.pricing-card {
    background: var(--color-dark-lighter);
    padding: var(--spacing-md);
    border-radius: var(--border-radius-lg);
    width: 100%;
    max-width: 380px;
    border: 2px solid transparent;
    position: relative;
    transition: var(--transition);
}

.pricing-card.featured {
    border-color: var(--color-primary);
    transform: scale(1.05);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
}

.pricing-header {
    text-align: center;
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid var(--color-dark);
}

.pricing-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
}

.price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-primary);
}

.period {
    color: var(--color-gray);
}

.pricing-savings {
    font-size: 0.9rem;
    color: #22C55E;
    margin-top: 0.5rem;
    font-weight: 500;
}

.pricing-features {
    margin-bottom: var(--spacing-md);
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--color-dark);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li svg {
    stroke: var(--color-primary);
    min-width: 20px;
}

.pricing-features li.disabled {
    opacity: 0.5;
}

.pricing-features li.disabled svg {
    stroke: var(--color-gray);
}

/* ========================================
   DOWNLOAD
   ======================================== */
.download {
    padding: var(--spacing-xl) 0;
    background: var(--gradient-primary);
    text-align: center;
}

.download-content {
    max-width: 600px;
    margin: 0 auto;
}

.download .section-title {
    color: var(--color-white);
}

.download .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
    margin: 0 auto var(--spacing-md);
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: var(--spacing-sm);
}

.store-button img {
    height: 50px;
    transition: var(--transition);
}

.store-button:hover img {
    transform: scale(1.05);
}

.download-note {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* ========================================
   FAQ
   ======================================== */
.faq {
    padding: var(--spacing-xl) 0;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--color-dark-lighter);
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-item summary {
    padding: 1.25rem;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
}

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

.faq-item summary::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--color-primary);
    transition: var(--transition);
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-item p {
    padding: 0 1.25rem 1.25rem;
    color: var(--color-gray-light);
    line-height: 1.7;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: var(--color-dark-light);
    padding: var(--spacing-lg) 0 var(--spacing-md);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: var(--spacing-lg);
    padding-bottom: var(--spacing-lg);
    border-bottom: 1px solid var(--color-dark-lighter);
}

.footer-brand p {
    color: var(--color-gray);
    margin: 1rem 0;
    max-width: 300px;
}

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

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--color-dark-lighter);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--color-primary);
}

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

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
}

.footer-column h4 {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--color-white);
}

.footer-column ul li {
    margin-bottom: 0.5rem;
}

.footer-column a {
    color: var(--color-gray);
    font-size: 0.9rem;
}

.footer-column a:hover {
    color: var(--color-primary);
}

.footer-bottom {
    padding-top: var(--spacing-md);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    color: var(--color-gray);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* ========================================
   COMING SOON / NOTIFY SECTION
   ======================================== */
.coming-soon {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(180deg, var(--color-dark) 0%, var(--color-dark-light) 100%);
    text-align: center;
}

.coming-soon-content {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.coming-soon-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: var(--gradient-primary);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: white;
    margin-bottom: var(--spacing-md);
    animation: pulse 2s infinite;
}

.coming-soon .section-title {
    font-size: clamp(2rem, 5vw, 3rem);
}

.coming-soon .section-subtitle {
    max-width: 100%;
    font-size: 1.25rem;
    margin-bottom: var(--spacing-md);
}

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

.notify-form {
    margin: var(--spacing-md) 0;
}

.notify-input-group {
    display: flex;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
    justify-content: center;
}

.notify-input-group input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: 2px solid var(--color-dark-lighter);
    border-radius: var(--border-radius);
    background: var(--color-dark-lighter);
    color: var(--color-white);
    font-size: 1rem;
    font-family: var(--font-family);
    transition: var(--transition);
}

.notify-input-group input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 20px rgba(255, 107, 53, 0.2);
}

.notify-input-group input::placeholder {
    color: var(--color-gray);
}

.notify-input-group .btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.notify-privacy {
    margin-top: 1rem;
    font-size: 0.85rem;
    color: var(--color-gray);
}

.notify-success {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: var(--border-radius);
}

.notify-success .success-icon {
    font-size: 1.5rem;
}

.early-bird-benefits {
    margin: var(--spacing-md) 0;
    padding: var(--spacing-md) var(--spacing-lg);
    background: transparent;
    border: none;
    text-align: left;
}

.early-bird-benefits h4 {
    margin-bottom: 1rem;
    color: var(--color-primary);
    font-size: 1.2rem;
    text-align: center;
}

.early-bird-benefits ul {
    list-style: none;
    display: inline-block;
    text-align: left;
}

.early-bird-benefits li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--color-gray-light);
    font-size: 1.1rem;
    padding: 0.5rem 0;
}

.coming-soon-stores {
    margin-top: var(--spacing-sm);
}

.coming-soon-stores > p {
    color: var(--color-gray);
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
}

.store-badges-disabled {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    align-items: center;
}

.store-badge-placeholder {
    position: relative;
    opacity: 0.4;
    filter: grayscale(100%);
    transition: var(--transition);
    width: 120px;
    height: 40px;
    overflow: hidden;
    flex-shrink: 0;
}

.store-badge-placeholder:hover {
    opacity: 0.6;
}

.store-badge-placeholder img,
.store-badge-placeholder svg {
    width: 120px !important;
    height: 40px !important;
    max-width: 120px !important;
    max-height: 40px !important;
    display: block;
    object-fit: contain;
}

.soon-overlay {
    display: none;
}

@media (max-width: 768px) {
    .notify-input-group {
        flex-direction: column;
    }

    .notify-input-group .btn {
        width: 100%;
        justify-content: center;
    }

    .early-bird-benefits ul {
        text-align: left;
    }
}

/* ========================================
   POPUP MODAL
   ======================================== */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.popup-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: var(--color-dark-light);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-lg);
    max-width: 450px;
    width: 90%;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), 0 0 100px rgba(255, 107, 53, 0.1);
    border: 1px solid var(--color-dark-lighter);
}

.popup-modal.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.popup-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: var(--color-gray);
    cursor: pointer;
    padding: 0.5rem;
    transition: var(--transition);
}

.popup-close:hover {
    color: var(--color-white);
    transform: rotate(90deg);
}

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

.popup-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    display: block;
}

.popup-icon.success-icon {
    font-size: 5rem;
    animation: bounce 0.6s ease;
}

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

.popup-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--color-white);
}

.popup-content p {
    color: var(--color-gray-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.popup-form {
    margin-bottom: 1.5rem;
}

.popup-form input {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 2px solid var(--color-dark-lighter);
    border-radius: var(--border-radius);
    background: var(--color-dark);
    color: var(--color-white);
    font-size: 1rem;
    font-family: var(--font-family);
    margin-bottom: 1rem;
    transition: var(--transition);
}

.popup-form input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 20px rgba(255, 107, 53, 0.2);
}

.popup-form input::placeholder {
    color: var(--color-gray);
}

.popup-benefits {
    padding: 1rem;
    background: rgba(255, 107, 53, 0.1);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 107, 53, 0.2);
}

.popup-benefits p {
    margin: 0;
    color: var(--color-primary);
    font-size: 0.9rem;
}

.popup-email-confirm {
    color: var(--color-primary) !important;
    font-weight: 600;
    font-size: 1rem;
}

.popup-success {
    text-align: center;
}

@media (max-width: 480px) {
    .popup-modal {
        padding: var(--spacing-md);
    }

    .popup-icon {
        font-size: 3rem;
    }

    .popup-content h3 {
        font-size: 1.25rem;
    }
}

/* ========================================
   UTILITIES
   ======================================== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
