/* BimmerDrift - Premium Automotive Landing Page */

/* CSS Variables */
:root {
    --black: #000000;
    --deep-navy: #081426;
    --dark-burgundy: #29080D;
    --crimson: #B81A29;
    --hot-red: #BD1721;
    --electric-blue: #2E7FEB;
    --white: #FFFFFF;
    --gray-100: #f5f5f5;
    --gray-200: #e5e5e5;
    --gray-300: #d4d4d4;
    --gray-400: #a3a3a3;
    --gray-500: #737373;
    --gray-600: #525252;
    --gray-700: #404040;
    --gray-800: #262626;
    --gray-900: #171717;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--black);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    text-wrap: balance;
}

h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

p {
    color: var(--gray-300);
    text-wrap: pretty;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    width: 100%;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.header.scrolled {
    padding: 0.75rem 0;
    background: rgba(0, 0, 0, 0.95);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--white);
}

.logo-img {
    height: 40px;
    width: auto;
    border-radius: 6px;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

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

.nav-link {
    color: var(--gray-300);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: var(--white);
}

.nav-cta {
    padding: 0.6rem 1.25rem;
    font-size: 0.875rem;
}

/* Language Selector */
.lang-selector {
    position: relative;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: var(--gray-300);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.lang-btn svg {
    width: 18px;
    height: 18px;
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    min-width: 140px;
    background: var(--gray-900);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    z-index: 100;
}

.lang-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: block;
    width: 100%;
    padding: 0.5rem 1rem;
    background: none;
    border: none;
    color: var(--gray-300);
    font-size: 0.875rem;
    text-align: left;
    cursor: pointer;
    transition: all 0.2s ease;
}

.lang-option:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
}

.lang-option.active {
    color: var(--crimson);
}

/* CTA Button */
.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    background: linear-gradient(135deg, var(--crimson), var(--hot-red));
    color: var(--white);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(184, 26, 41, 0.4);
}

.cta-secondary {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 40px rgba(255, 255, 255, 0.1);
}

.apple-icon {
    width: 18px;
    height: 18px;
}

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

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: all 0.3s ease;
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.98);
    padding: 1.5rem;
    flex-direction: column;
    gap: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.mobile-link {
    color: var(--gray-300);
    text-decoration: none;
    font-size: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.mobile-cta {
    margin-top: 0.5rem;
    justify-content: center;
}

.mobile-lang-selector {
    position: relative;
    display: flex;
    justify-content: center;
    margin-bottom: 0.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-lang-btn {
    width: auto;
}

.mobile-lang-dropdown {
    left: 50%;
    right: auto;
    transform: translateX(-50%) translateY(-10px);
}

.mobile-lang-dropdown.active {
    transform: translateX(-50%) translateY(0);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 8rem 1.5rem 4rem;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 50% at 50% 0%, var(--deep-navy), transparent),
        radial-gradient(ellipse 60% 40% at 80% 100%, var(--dark-burgundy), transparent),
        var(--black);
    z-index: 0;
}

.hero-glow {
    position: absolute;
    top: 30%;
    right: 10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(184, 26, 41, 0.15), transparent 70%);
    filter: blur(60px);
    z-index: 0;
    animation: pulse 4s ease-in-out infinite;
}

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

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-title {
    margin-bottom: 1.5rem;
}

.highlight {
    background: linear-gradient(135deg, var(--crimson), var(--electric-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.125rem;
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    position: relative;
    width: 100%;
    max-width: 560px;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-logo {
    width: 100%;
    height: auto;
    max-width: 500px;
    border-radius: 16px;
}

.hero-car-art {
    border-radius: 0;
    filter: drop-shadow(0 24px 70px rgba(184, 26, 41, 0.22));
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    color: var(--gray-500);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.scroll-indicator {
    width: 24px;
    height: 40px;
    border: 2px solid var(--gray-600);
    border-radius: 12px;
    position: relative;
}

.scroll-indicator::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--crimson);
    border-radius: 2px;
    animation: scroll 2s ease-in-out infinite;
}

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

/* Section Styles */
section {
    padding: 6rem 0;
    position: relative;
}

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

.section-title {
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Features Section */
.features {
    background: linear-gradient(180deg, var(--black), var(--deep-navy));
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(184, 26, 41, 0.3);
    transform: translateY(-5px);
}

.feature-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, rgba(184, 26, 41, 0.2), rgba(46, 127, 235, 0.1));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon svg {
    width: 28px;
    height: 28px;
    color: var(--crimson);
}

.feature-card h3 {
    margin-bottom: 0.75rem;
    color: var(--white);
}

.feature-card p {
    font-size: 0.9rem;
}

/* Vehicles Section */
.vehicles {
    background: var(--deep-navy);
}

.vehicles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.vehicle-card {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.vehicle-card:hover {
    border-color: rgba(184, 26, 41, 0.4);
    transform: translateY(-5px);
}

.vehicle-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--crimson), var(--electric-blue));
}

.vehicle-badge {
    display: inline-block;
    padding: 0.375rem 1rem;
    background: rgba(184, 26, 41, 0.2);
    border: 1px solid rgba(184, 26, 41, 0.3);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--crimson);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.vehicle-card h3 {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
}

.vehicle-card > p {
    margin-bottom: 1.5rem;
}

.vehicle-features {
    list-style: none;
}

.vehicle-features li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--gray-400);
    font-size: 0.9rem;
}

.vehicle-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 6px;
    height: 6px;
    background: var(--electric-blue);
    border-radius: 50%;
}

/* How It Works */
.how-it-works {
    background: linear-gradient(180deg, var(--deep-navy), var(--black));
}

.steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    max-width: 1000px;
    margin: 0 auto;
}

.step {
    flex: 1;
    text-align: center;
    padding: 0 1.5rem;
}

.step-number {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--crimson), var(--hot-red));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    position: relative;
}

.step-line {
    flex: 0 0 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--crimson), var(--electric-blue));
    margin-top: 30px;
    opacity: 0.3;
}

.step-content h3 {
    margin-bottom: 0.5rem;
    color: var(--white);
}

.step-content p {
    font-size: 0.9rem;
}

/* Video Section */
.video-section {
    background: var(--black);
}

.video-placeholder {
    max-width: 900px;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, var(--deep-navy), var(--dark-burgundy));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.video-placeholder iframe {
    position: absolute;
    inset: 0;
    display: block;
    width: 100% !important;
    height: 100% !important;
    min-width: 100%;
    min-height: 100%;
    border: 0;
}

/* Why Section */
.why-section {
    background: linear-gradient(180deg, var(--black), var(--deep-navy));
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.why-card {
    text-align: center;
    padding: 2rem 1.5rem;
}

.why-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    background: rgba(46, 127, 235, 0.1);
    border: 1px solid rgba(46, 127, 235, 0.2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.why-icon svg {
    width: 28px;
    height: 28px;
    color: var(--electric-blue);
}

.why-card h3 {
    margin-bottom: 0.75rem;
    color: var(--white);
}

.why-card p {
    font-size: 0.9rem;
}

/* FAQ Section */
.faq-section {
    background: linear-gradient(180deg, var(--deep-navy), var(--black));
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.faq-item {
    padding: 1.75rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
}

.faq-item h3 {
    margin-bottom: 0.75rem;
    color: var(--white);
    font-size: 1.1rem;
}

.faq-item p {
    font-size: 0.95rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(180deg, var(--deep-navy), var(--dark-burgundy));
    padding: 8rem 0;
}

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

.cta-content h2 {
    margin-bottom: 1.5rem;
}

.cta-content > p {
    font-size: 1.125rem;
    margin-bottom: 2.5rem;
}

.app-store-badge {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2rem;
    background: var(--white);
    color: var(--black);
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.app-store-badge:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 60px rgba(255, 255, 255, 0.2);
}

.apple-icon-large {
    width: 36px;
    height: 36px;
}

.badge-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.badge-small {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--gray-600);
}

.badge-large {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
}

/* Footer */
.footer {
    background: var(--black);
    padding: 3rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-logo {
    height: 32px;
    width: auto;
    border-radius: 6px;
}

.footer-name {
    font-weight: 700;
    font-size: 1.125rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--gray-400);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-bottom {
    text-align: center;
}

.footer-bottom p {
    font-size: 0.875rem;
    color: var(--gray-600);
}

/* Responsive */
@media (max-width: 1024px) {
    .features-grid,
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    
    .hero-text {
        align-items: center;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-ctas {
        justify-content: center;
    }
    
    .steps {
        flex-direction: column;
        gap: 2rem;
    }
    
    .step-line {
        display: none;
    }
    
    .hero-logo {
        max-width: 430px;
    }
    
    .phone-mockup {
        max-width: 470px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .vehicles-grid {
        grid-template-columns: 1fr;
    }

    .faq-list {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem 2rem;
    }
    
    section {
        padding: 4rem 0;
    }
    
    .hero {
        padding: 6rem 1.5rem 3rem;
        min-height: auto;
    }
    
    .hero-scroll {
        display: none;
    }
    
    .hero-logo {
        max-width: 340px;
        margin: 0 auto;
    }
    
    .phone-mockup {
        max-width: 360px;
        margin: 0 auto;
    }
    
    .hero-visual {
        width: 100%;
    }
    
    h1 { font-size: clamp(2rem, 8vw, 3rem); }
    h2 { font-size: clamp(1.5rem, 6vw, 2.25rem); }
    
    .section-header {
        margin-bottom: 2.5rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        padding: 0 0.5rem;
    }
    
    .video-placeholder {
        border-radius: 12px;
        margin: 0 1rem;
    }
    
    .app-store-badge {
        padding: 0.875rem 1.5rem;
    }
    
    .badge-large {
        font-size: 1.25rem;
    }
    
    .step {
        text-align: center;
        width: 100%;
    }
    
    .step-content {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .features-grid,
    .why-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .hero {
        padding: 5rem 1rem 2rem;
    }
    
    .hero-content {
        gap: 2rem;
    }
    
    .hero-ctas {
        flex-direction: column;
        width: 100%;
        align-items: center;
    }
    
    .cta-button {
        width: 100%;
        max-width: 280px;
        justify-content: center;
        padding: 0.75rem 1.5rem;
    }
    
    .feature-card,
    .vehicle-card {
        padding: 1.5rem;
    }
    
    .hero-logo {
        max-width: 300px;
    }
    
    .phone-mockup {
        max-width: 320px;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .step {
        padding: 0 1rem;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .why-card {
        padding: 1.5rem 1rem;
    }
    
    .cta-section {
        padding: 4rem 0;
    }
    
    .logo-text {
        font-size: 1rem;
    }
    
    .logo-img {
        height: 32px;
    }
    
    .section-header {
        padding: 0 0.5rem;
    }
    
    .cta-content {
        padding: 0 1rem;
    }
    
    .cta-content h2 {
        font-size: 1.75rem;
    }
    
    .mobile-menu {
        padding: 1rem;
    }
}
