:root {
    --bg: #0A0A0B;
    --text: #F5F5F5;
    --text-dim: #888;
    --text-muted: #555;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --max-width: 860px;
    --radius: 16px;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font);
    color: var(--text);
    background: var(--bg);
    line-height: 1.5;
    overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }

/* ---- Hero ---- */
.hero {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 140px 24px 0;
    text-align: center;
}

.hero-icon {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    margin: 0 auto 32px;
}

.hero-title {
    font-size: clamp(2.8rem, 7vw, 4.5rem);
    font-weight: 300;
    letter-spacing: -0.04em;
    line-height: 1.08;
    margin-bottom: 24px;
}

.hero-sub {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: var(--text-dim);
    line-height: 1.7;
    max-width: 500px;
    margin: 0 auto 40px;
    font-weight: 400;
}

.btn {
    display: inline-block;
    font-family: var(--font);
    font-size: 0.925rem;
    font-weight: 500;
    color: var(--bg);
    background: var(--text);
    padding: 14px 32px;
    border-radius: 980px;
    transition: opacity 0.2s, transform 0.2s;
}

.btn:hover {
    opacity: 0.85;
    transform: scale(1.03);
}

/* ---- Phones ---- */
.phones {
    margin: 80px auto 0;
    padding: 0 24px;
    overflow: hidden;
}

.phones-track {
    display: flex;
    justify-content: center;
    gap: 16px;
    max-width: 860px;
    margin: 0 auto;
}

.phone {
    flex: 0 0 auto;
    width: 200px;
    background: #3A3A3A;
    border-radius: 28px;
    padding: 5px;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.phone img {
    width: 100%;
    border-radius: 23px;
}

/* ---- Download ---- */
.download {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 120px 24px 0;
    text-align: center;
}

.download-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 300;
    letter-spacing: -0.03em;
    margin-bottom: 10px;
}

.download-sub {
    font-size: 1rem;
    color: var(--text-dim);
    margin-bottom: 36px;
}

.download-badges {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transition: opacity 0.2s;
}

.badge:hover {
    opacity: 0.75;
}

.badge-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 400;
}

.download-note {
    margin-top: 28px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ---- Footer ---- */
.footer {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 100px 24px 40px;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 24px;
}

.footer-copy {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    font-size: 0.8rem;
    color: var(--text-muted);
    transition: color 0.2s;
}

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

/* ---- Animations ---- */
.hero-icon,
.hero-title,
.hero-sub,
.hero .btn,
.phones,
.download {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero-icon.in   { opacity: 1; transform: none; }
.hero-title.in  { opacity: 1; transform: none; transition-delay: 0.06s; }
.hero-sub.in    { opacity: 1; transform: none; transition-delay: 0.12s; }
.hero .btn.in   { opacity: 1; transform: none; transition-delay: 0.18s; }
.phones.in      { opacity: 1; transform: none; }
.download.in    { opacity: 1; transform: none; }

/* ---- Responsive ---- */
@media (max-width: 640px) {
    .hero {
        padding-top: 140px;
    }

    .phones {
        margin-top: 56px;
    }

    .phone {
        width: 150px;
        border-radius: 22px;
        padding: 4px;
        scroll-snap-align: center;
    }

    .phone img {
        border-radius: 18px;
    }

    .phones-track {
        gap: 10px;
        justify-content: flex-start;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding: 0 24px;
    }

    .phones-track::-webkit-scrollbar {
        display: none;
    }

    .download {
        padding-top: 80px;
    }

    .footer {
        padding-top: 64px;
    }

    .footer-inner {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .hide-mobile {
        display: none;
    }
}

/* ---- Light Mode ---- */
@media (prefers-color-scheme: light) {
    :root {
        --bg: #FFFFFF;
        --text: #1A1A1A;
        --text-dim: #666;
        --text-muted: #999;
    }

    .phone {
        background: #000;
        box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
    }

    .footer-inner {
        border-top-color: rgba(0, 0, 0, 0.08);
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
}
