:root {
    --bg: #0F1222;
    --card: #141A33;
    --text: #F7F8FC;
    --muted: rgba(247,248,252,.75);
    --line: rgba(255,255,255,.10);
    --p: #5B2EFF;
    --c: #00E5FF;
    --shadow: 0 20px 60px rgba(0,0,0,.45);
    --radius: 18px;
}

* {
    box-sizing: border-box
}

html, body {
    height: 100%
}

body {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    background: radial-gradient(1200px 600px at 10% 0%, rgba(91,46,255,.25), transparent 55%), radial-gradient(900px 500px at 95% 25%, rgba(0,229,255,.18), transparent 55%), var(--bg);
    color: var(--text);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px
}

.nav {
    position: sticky;
    top: 0;
    backdrop-filter: blur(10px);
    background: rgba(15,18,34,.70);
    border-bottom: 1px solid var(--line);
    z-index: 20;
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    text-decoration: none;
    font-weight: 700;
    letter-spacing: .3px
}

.logo {
    width: 34px;
    height: 34px;
    object-fit: contain;
    border-radius: 10px;
    background: rgba(255,255,255,.06);
    padding: 6px
}

.nav-links {
    display: flex;
    gap: 18px;
    align-items: center
}

    .nav-links a {
        color: var(--muted);
        text-decoration: none;
        font-weight: 600;
        font-size: 14px;
    }

        .nav-links a:hover {
            color: var(--text)
        }

.main {
    min-height: calc(100vh - 160px);
}

.footer {
    border-top: 1px solid var(--line);
    background: rgba(15,18,34,.55)
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 26px 0;
    align-items: center
}

.footer-sub {
    color: var(--muted);
    font-size: 13px;
    margin-top: 6px
}

.footer-right {
    display: flex;
    gap: 16px;
    flex-wrap: wrap
}

    .footer-right a {
        color: var(--muted);
        text-decoration: none;
        font-size: 13px
    }

        .footer-right a:hover {
            color: var(--text)
        }

.h1 {
    font-size: 56px;
    line-height: 1.05;
    margin: 0 0 10px
}

.h2 {
    font-size: 26px;
    margin: 0 0 10px
}

.h3 {
    font-size: 18px;
    margin: 0 0 10px
}

.lead {
    color: var(--muted);
    font-size: 18px;
    line-height: 1.6;
    margin: 0
}

.p {
    color: var(--muted);
    line-height: 1.65;
    margin: 0 0 12px
}

.hero {
    padding: 54px 0 26px
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 24px;
    align-items: stretch
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,.05);
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 14px;
}

.cta-row {
    display: flex;
    gap: 12px;
    margin: 18px 0 18px;
    flex-wrap: wrap
}

.btn {
    background: linear-gradient(90deg, var(--p), rgba(0,229,255,.65));
    border: none;
    color: white;
    padding: 12px 16px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 800;
    letter-spacing: .2px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
}

    .btn:hover {
        filter: brightness(1.05)
    }

.btn-ghost {
    background: transparent;
    border: 1px solid var(--line);
    box-shadow: none;
}

.btn-sm {
    padding: 9px 12px;
    border-radius: 12px;
    font-size: 13px
}

.meta-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 18px
}

.meta-card {
    border: 1px solid var(--line);
    background: rgba(255,255,255,.04);
    border-radius: var(--radius);
    padding: 14px;
}

.meta-title {
    font-weight: 900;
    margin-bottom: 6px
}

.meta-text {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.5
}

.hero-card {
    border: 1px solid var(--line);
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
    box-shadow: var(--shadow);
}

.hero-card-inner {
    padding: 18px
}

.hero-kicker {
    color: var(--c);
    font-weight: 800;
    letter-spacing: .2px;
    margin-bottom: 8px
}

.app-badges {
    display: flex;
    gap: 12px;
    margin: 14px 0 10px;
    flex-wrap: wrap
}

.store-badge {
    border: 1px solid var(--line);
    background: rgba(15,18,34,.40);
    border-radius: 16px;
    padding: 12px 14px;
    min-width: 160px;
}

.store-top {
    font-size: 12px;
    color: var(--muted);
    font-weight: 700
}

.store-bottom {
    font-size: 15px;
    font-weight: 900;
    margin-top: 3px
}

.small-note {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.5;
    margin-top: 10px
}

.section {
    padding: 18px 0 46px
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px
}

.card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255,255,255,.04);
    padding: 18px;
}

.page-hero {
    padding: 44px 0 10px
}

.link {
    color: var(--c);
    text-decoration: none;
    font-weight: 800
}

    .link:hover {
        text-decoration: underline
    }

.list {
    margin: 10px 0 0 18px;
    color: var(--muted);
    line-height: 1.7
}

    .list b {
        color: var(--text)
    }

.form {
    margin-top: 12px
}

.field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 12px
}

label {
    font-size: 13px;
    color: var(--muted);
    font-weight: 700
}

input, textarea {
    background: rgba(255,255,255,.06);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 12px 12px;
    color: var(--text);
    outline: none;
}

    input:focus, textarea:focus {
        border-color: rgba(0,229,255,.45)
    }

.err {
    color: #ff90a8;
    font-size: 12px
}

.alert {
    border-radius: 14px;
    padding: 10px 12px;
    border: 1px solid var(--line);
    margin-bottom: 12px;
    font-weight: 700;
}

    .alert.success {
        background: rgba(0,229,255,.10);
    }

@media (max-width: 940px) {
    .hero-grid {
        grid-template-columns: 1fr
    }

    .h1 {
        font-size: 44px
    }

    .grid-2 {
        grid-template-columns: 1fr
    }

    .meta-row {
        grid-template-columns: 1fr
    }
}


/* Header shadow on scroll */
.nav-scrolled {
    box-shadow: 0 12px 30px rgba(0,0,0,.45);
}

/* Mobile nav */
.nav-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--text);
    font-size: 22px;
    cursor: pointer;
}

@media (max-width: 940px) {
    .nav-toggle {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 64px;
        right: 20px;
        background: rgba(15,18,34,.95);
        border: 1px solid var(--line);
        border-radius: 16px;
        padding: 14px;
        display: none;
        flex-direction: column;
        gap: 12px;
        box-shadow: var(--shadow);
    }

        .nav-links.open {
            display: flex;
        }
}
