/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1f2937;
    background: linear-gradient(to bottom, #ffffff, #f9fafb);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
}

.header.scrolled {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
}

.nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: #6b7280;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #1f2937;
}

/* Hero Section */
.hero {
    padding: 8rem 0 4rem;
    margin-top: 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-align: center;
}

.highlight {
    color: #2563eb;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #6b7280;
    margin-bottom: 2rem;
    text-align: center;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.download-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    margin-bottom: 2rem;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: #000;
    color: white;
    text-decoration: none;
    padding: 1rem 1.5rem;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    min-width: 200px;
}

.download-btn:hover {
    background: #374151;
    transform: translateY(-2px);
}

.download-text {
    text-align: left;
}

.download-small {
    font-size: 0.75rem;
    opacity: 0.8;
}

.download-large {
    font-size: 0.875rem;
    font-weight: 600;
}

.hero-image {
    display: flex;
    justify-content: center;
}

.phone-mockup {
    max-width: 300px;
    height: auto;
    border-radius: 1.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Features Section */
.features {
    padding: 4rem 0;
    background: white;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.25rem;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.feature-icon.blue {
    background: #dbeafe;
    color: #2563eb;
}

.feature-icon.green {
    background: #dcfce7;
    color: #16a34a;
}

.feature-icon.purple {
    background: #f3e8ff;
    color: #9333ea;
}

.feature-icon.orange {
    background: #fed7aa;
    color: #ea580c;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.feature-description {
    color: #6b7280;
}

/* Drivers Section */
.drivers {
    background: #1f2937;
    color: white;
    padding: 4rem 0;
}

.drivers-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.drivers-title {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.drivers-subtitle {
    font-size: 1.25rem;
    color: #d1d5db;
    margin-bottom: 2rem;
}

.drivers-features {
    margin-bottom: 2rem;
}

.driver-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.driver-icon {
    width: 2rem;
    height: 2rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.driver-icon.blue {
    background: #2563eb;
}

.driver-icon.green {
    background: #16a34a;
}

.driver-icon.purple {
    background: #9333ea;
}

.driver-feature-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.driver-feature-description {
    color: #d1d5db;
}

.driver-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    color: #1f2937;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.driver-cta:hover {
    background: #f9fafb;
    transform: translateY(-2px);
}

/* How it Works Section */
.how-it-works {
    padding: 4rem 0;
    background: white;
}

.steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.step {
    text-align: center;
}

.step-icon {
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.step-icon.blue {
    background: #dbeafe;
    color: #2563eb;
}

.step-icon.green {
    background: #dcfce7;
    color: #16a34a;
}

.step-icon.purple {
    background: #f3e8ff;
    color: #9333ea;
}

.step-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.step-description {
    color: #6b7280;
}

/* Footer */
.footer {
    background: #f9fafb;
    border-top: 1px solid #e5e7eb;
    padding: 3rem 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-description {
    color: #6b7280;
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 2.5rem;
    height: 2.5rem;
    background: #e5e7eb;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #d1d5db;
    color: #1f2937;
}

.footer-title {
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-link {
    color: #6b7280;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #1f2937;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.copyright {
    color: #6b7280;
    font-size: 0.875rem;
}

.legal-links {
    display: flex;
    gap: 1.5rem;
}

.legal-link {
    color: #6b7280;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.legal-link:hover {
    color: #1f2937;
}

/* Responsive Design */
@media (min-width: 640px) {
    .download-buttons {
        flex-direction: row;
        justify-content: center;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

@media (min-width: 768px) {
    .nav {
        display: flex;
    }

    .hero-title {
        font-size: 3rem;
        text-align: left;
    }

    .hero-subtitle {
        text-align: left;
        margin-left: 0;
        margin-right: 0;
    }

    .download-buttons {
        justify-content: flex-start;
    }

    .footer-content {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr 1fr;
    }

    .hero-title {
        font-size: 3.75rem;
    }

    .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .drivers-content {
        grid-template-columns: 1fr 1fr;
    }
}

/* Mobile Navigation */
@media (max-width: 767px) {
    .nav {
        display: none;
    }

    .hero {
        padding: 6rem 0 2rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.875rem;
    }

    .drivers-title {
        font-size: 1.875rem;
    }
}

/* Smooth animations */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/* Language Switcher Integration */
.nav .language-switcher {
    margin-left: 1rem;
}

.nav .language-switcher .dropdown-btn {
    border-color: #6b7280;
    color: #6b7280;
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
    font-weight: 500;
}

.nav .language-switcher .dropdown-btn:hover {
    border-color: #1f2937;
    background: #1f2937;
    color: white;
}

.nav .language-switcher .dropdown-menu {
    right: 0;
    left: auto;
    min-width: 140px;
}

.nav .language-switcher .dropdown-item {
    font-size: 0.875rem;
    padding: 0.75rem 1rem;
}

/* Mobile responsive adjustments */
@media (max-width: 767px) {
    .nav {
        position: fixed;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .nav.show {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav .language-switcher {
        margin-left: 0;
        margin-top: 1rem;
        align-self: flex-start;
    }
    
    .header-content {
        position: relative;
    }
    
    .mobile-menu-toggle {
        display: block;
        background: none;
        border: none;
        font-size: 1.5rem;
        cursor: pointer;
        color: #1f2937;
    }
}

@media (min-width: 768px) {
    .mobile-menu-toggle {
        display: none;
    }
    
    .nav {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        background: transparent;
        flex-direction: row;
        padding: 0;
        box-shadow: none;
    }
}
