* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2DD4BF;
    --secondary-color: #0A1628;
    --accent-color: #F5E6C8;
    --mid-blue: #1B3A5C;
    --text-color: #1f2937;
    --light-bg: #f4f7fa;
    --white: #ffffff;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--white);
    letter-spacing: 0.5px;
}

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

.nav-links a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.85;
    transition: opacity 0.2s;
}

.nav-links a:hover {
    opacity: 1;
}

.language-selector {
    position: relative;
    cursor: pointer;
    color: var(--white);
    padding: 0.5rem 1rem;
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 6px;
}

.language-selector .dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--white);
    border-radius: 6px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    min-width: 150px;
    z-index: 1000;
    margin-top: 4px;
}

.language-selector:hover .dropdown {
    display: block;
}

.language-selector .dropdown a {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--text-color);
    text-decoration: none;
    border-bottom: 1px solid #eee;
}

.language-selector .dropdown a:last-child {
    border-bottom: none;
}

.language-selector .dropdown a:hover {
    background: var(--light-bg);
}

/* Hero Section */
.hero {
    background: linear-gradient(180deg, #0A1628 0%, #1B3A5C 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 2rem;
}

.hero-content {
    max-width: 980px;
    padding-top: 3rem;
}

.hero-image {
    width: auto;
    max-width: 100%;
    height: auto;
    border-radius: 24px;
    margin-bottom: 2.5rem;
    box-shadow: 0 24px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(45,212,191,0.15);
}

.hero h1 {
    font-size: 4.5rem;
    margin-bottom: 0.4rem;
    color: var(--white);
    letter-spacing: -1px;
}

.tagline {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1.25rem;
    font-weight: 500;
}

.subtitle {
    font-size: 1.1rem;
    opacity: 0.8;
    max-width: 720px;
    margin: 0 auto 2rem;
}

.app-store-badge img {
    height: 50px;
    transition: transform 0.2s;
}

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

/* Features Section */
.features {
    padding: 5rem 2rem;
    background: var(--white);
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--secondary-color);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid transparent;
}

.feature:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(10,22,40,0.08);
    border-color: rgba(45,212,191,0.2);
}

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

.feature h3 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

/* Data Sources Section */
.data-sources {
    padding: 5rem 2rem;
    background: var(--light-bg);
}

.data-sources h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--secondary-color);
}

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

.source {
    background: var(--white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(10,22,40,0.04);
}

.source h3 {
    color: var(--mid-blue);
    margin-bottom: 0.5rem;
}

/* Requirements Section */
.requirements {
    padding: 4rem 2rem;
    background: var(--white);
    text-align: center;
}

.requirements h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--secondary-color);
}

.requirements ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.requirements li {
    background: var(--light-bg);
    padding: 1rem 2rem;
    border-radius: 10px;
    font-weight: 500;
}

/* Footer */
footer {
    background: var(--secondary-color);
    color: var(--white);
    padding: 3rem 2rem;
    text-align: center;
}

.footer-links {
    margin-bottom: 1rem;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    margin: 0 1rem;
    opacity: 0.75;
}

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

.disclaimer {
    font-size: 0.85rem;
    opacity: 0.65;
    max-width: 640px;
    margin: 1rem auto 0;
}

/* Legal Pages */
.legal-page {
    max-width: 820px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.legal-page h1 {
    color: var(--secondary-color);
    margin-bottom: 2rem;
}

.legal-page h2 {
    color: var(--secondary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.legal-page h3 {
    color: var(--mid-blue);
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.legal-page p, .legal-page ul {
    margin-bottom: 1rem;
}

.legal-page ul {
    padding-left: 2rem;
}

.legal-page a {
    color: var(--mid-blue);
}

.back-link {
    display: inline-block;
    margin-bottom: 2rem;
    color: var(--mid-blue);
    text-decoration: none;
    font-weight: 500;
}

.back-link:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.8rem;
    }

    .tagline {
        font-size: 1.2rem;
    }

    .hero-image {
        max-width: 95%;
    }

    nav {
        padding: 1rem;
    }

    .nav-links {
        gap: 1rem;
    }

    .requirements ul {
        flex-direction: column;
        align-items: center;
    }
}
