/* === RESET & BASE === */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --navy: #000080;
    --blue: #0033A0;
    --blue-light: #e8eeff;
    --text: #1a1a2e;
    --text-muted: #6b7280;
    --bg: #ffffff;
    --bg-alt: #f8f9fc;
    --radius: 12px;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

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

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

/* === NAVBAR === */
.navbar {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid #eee;
    z-index: 100;
    padding: 0.75rem 0;
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--navy);
    text-decoration: none;
}

.nav-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--navy);
    color: white;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
}

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

.nav-links a {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--navy);
}

.btn {
    display: inline-block;
    padding: 0.6rem 1.4rem;
    background: var(--navy);
    color: white !important;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background 0.2s;
}

.btn:hover {
    background: var(--blue);
}

.btn-sm {
    padding: 0.45rem 1rem;
    font-size: 0.85rem;
}

/* === HERO === */
.hero {
    padding: 5rem 0 4rem;
    background: linear-gradient(180deg, var(--bg) 0%, var(--blue-light) 100%);
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.15;
    color: var(--navy);
    margin-bottom: 1.2rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 480px;
}

.hero-cta {
    margin-bottom: 0.75rem;
}

.app-store-badge img {
    height: 54px;
    transition: opacity 0.2s;
}

.app-store-badge:hover img {
    opacity: 0.85;
}

.hero-note {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.hero-image {
    flex-shrink: 0;
}

.phone-frame {
    position: relative;
    width: 280px;
}

.phone-frame img {
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
}

/* === FEATURES === */
.features {
    padding: 5rem 0;
    background: var(--bg);
}

.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 3rem;
    font-size: 1rem;
}

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

.feature-card {
    background: var(--bg-alt);
    padding: 2rem;
    border-radius: var(--radius);
    border: 1px solid #eee;
    transition: box-shadow 0.2s, transform 0.2s;
}

.feature-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

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

.feature-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--navy);
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* === SCREENSHOTS === */
.screenshots {
    padding: 5rem 0;
    background: var(--bg-alt);
    overflow: hidden;
}

.screenshots-scroll {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.screenshot-item {
    text-align: center;
    flex-shrink: 0;
}

.screenshot-item img {
    width: 220px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s;
}

.screenshot-item img:hover {
    transform: scale(1.03);
}

.screenshot-item p {
    margin-top: 0.75rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
}

/* === HOW IT WORKS === */
.how-it-works {
    padding: 5rem 0;
    background: var(--bg-alt);
}

.steps {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
    justify-content: center;
}

.step {
    text-align: center;
    flex: 1;
    max-width: 280px;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--navy);
    color: white;
    border-radius: 50%;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.step h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--navy);
}

.step p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* === LANGUAGES === */
.languages {
    padding: 4rem 0;
    background: var(--bg);
    text-align: center;
}

.languages .section-subtitle {
    margin-bottom: 0;
    line-height: 1.8;
}

/* === CTA === */
.cta {
    padding: 5rem 0;
    background: var(--navy);
    text-align: center;
}

.cta-content h2 {
    color: white;
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* === FOOTER === */
.footer {
    padding: 2rem 0;
    background: #0a0a2a;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    color: white;
    font-size: 1.1rem;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    transition: color 0.2s;
}

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

.footer-copy {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.8rem;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 2.5rem;
    }

    .hero-text h1 {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

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

    .screenshots-scroll {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        padding: 0 1rem 1rem;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
    }

    .screenshot-item {
        scroll-snap-align: center;
    }

    .screenshot-item img {
        width: 180px;
    }

    .nav-links a:not(.btn) {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .phone-frame {
        width: 220px;
    }
}
