:root {
    --bg:           #0a1620;
    --bg-elevated:  #0f1d2b;
    --bg-section:   #0c1923;
    --border:       #1c2e3f;
    --text:         #e8eef5;
    --text-muted:   #9fb3c8;
    --accent:       #4dd0e1;
    --accent-warm:  #ff6b3d;
    --accent-warm-hover: #ff7e54;

    --maxw: 1100px;
    --radius: 10px;
    --shadow: 0 18px 48px rgba(0,0,0,0.45);
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

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

.container {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 32px;
    background: rgba(10, 22, 32, 0.85);
    backdrop-filter: saturate(140%) blur(10px);
    -webkit-backdrop-filter: saturate(140%) blur(10px);
    border-bottom: 1px solid var(--border);
}

.brand {
    color: var(--text);
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 0.18em;
    text-decoration: none;
}

.nav {
    display: flex;
    gap: 28px;
    align-items: center;
}

.nav a {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.04em;
}

.nav a:hover { color: var(--text); text-decoration: none; }

.nav-cta {
    color: var(--bg) !important;
    background: var(--accent);
    padding: 8px 18px;
    border-radius: 999px;
    font-weight: 600;
}

.nav-cta:hover { background: #6de2f0; text-decoration: none; }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 78vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    isolation: isolate;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(180deg, rgba(10,22,32,0.55) 0%, rgba(10,22,32,0.85) 80%, var(--bg) 100%),
        url('assets/logo.png');
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.hero-inner {
    text-align: center;
    padding: 80px 24px;
    max-width: 760px;
}

.hero-title {
    font-size: clamp(48px, 9vw, 96px);
    line-height: 1;
    letter-spacing: 0.06em;
    margin: 0 0 18px;
    font-weight: 800;
    color: #fff;
    text-shadow: 0 4px 24px rgba(0,0,0,0.55);
}

.hero-tagline {
    font-size: clamp(18px, 2.2vw, 22px);
    letter-spacing: 0.08em;
    color: var(--accent);
    margin: 0 0 40px;
    text-transform: uppercase;
}

.hero-ctas {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.02em;
    transition: transform 0.12s ease, background 0.15s ease, border-color 0.15s ease;
    text-decoration: none;
}

.btn:hover { text-decoration: none; transform: translateY(-1px); }

.btn-primary {
    background: var(--accent-warm);
    color: #fff;
}

.btn-primary:hover { background: var(--accent-warm-hover); }

.btn-ghost {
    background: transparent;
    color: var(--text);
    border: 1px solid rgba(232, 238, 245, 0.25);
}

.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

.btn-lg {
    padding: 16px 30px;
    font-size: 16px;
}

.btn-icon {
    display: inline-block;
    transform: translateY(1px);
    font-size: 12px;
}

/* ---------- Sections ---------- */
.section {
    padding: 96px 0;
}

.section-download {
    background: var(--bg-section);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    text-align: center;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--accent);
    font-size: 13px;
    font-weight: 600;
    margin: 0 0 12px;
}

h2 {
    font-size: clamp(28px, 4vw, 40px);
    line-height: 1.15;
    margin: 0 0 20px;
    color: #fff;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.lede {
    color: var(--text-muted);
    font-size: 17px;
    line-height: 1.7;
    margin: 0 0 18px;
}

/* ---------- How it works ---------- */
.how-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.how-shot img {
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

/* ---------- Download ---------- */
.download-title {
    margin-bottom: 8px;
}

.download-sub {
    color: var(--text-muted);
    margin: 0 0 36px;
    font-size: 17px;
}

.download-row {
    display: flex;
    gap: 18px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.store-badge img {
    height: 56px;
    width: auto;
    transition: transform 0.12s ease;
}

.store-badge:hover img { transform: translateY(-1px); }

/* ---------- Footer ---------- */
.site-footer {
    padding: 36px 0;
    border-top: 1px solid var(--border);
    background: var(--bg);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-brand {
    margin: 0;
    font-weight: 700;
    letter-spacing: 0.18em;
    font-size: 14px;
    color: var(--text);
}

.footer-contact, .footer-copy {
    margin: 0;
    color: var(--text-muted);
    font-size: 14px;
}

.footer-contact a { color: var(--text-muted); }
.footer-contact a:hover { color: var(--accent); }

/* ---------- Responsive ---------- */
@media (max-width: 800px) {
    .site-header { padding: 14px 20px; }
    .nav { gap: 16px; }
    .section { padding: 64px 0; }
    .how-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .how-shot { order: -1; }
    .footer-inner { justify-content: center; text-align: center; }
}

@media (max-width: 480px) {
    .nav a:not(.nav-cta) { display: none; }
    .hero-ctas { flex-direction: column; align-items: stretch; }
    .btn { justify-content: center; }
}
