:root {
    --bg: #0b1220;
    --bg-soft: #121b2e;
    --panel: #172338;
    --panel-2: #1d2b45;
    --text: #ecf2ff;
    --muted: #a9b7d0;
    --brand: #5aa7ff;
    --brand-2: #7fd1ff;
    --border: rgba(255, 255, 255, 0.08);
    --success: #83e6ae;
    --shadow: 0 18px 60px rgba(0, 0, 0, 0.35);
    --radius: 20px;
    --max: 1120px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

/* Anchor targets */
section[id],
h1[id],
h2[id],
h3[id] {
    scroll-margin-top: 90px;
}

body {
    margin: 0;
    font-family: Inter, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
    background:
        radial-gradient(circle at top, rgba(90, 167, 255, 0.16), transparent 30%),
        linear-gradient(180deg, #09101d 0%, #0b1220 100%);
    color: var(--text);
    line-height: 1.6;
}

body.lightbox-open {
    overflow: hidden;
}

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

a:hover {
    text-decoration: underline;
}

button {
    font: inherit;
}

.container {
    width: min(var(--max), calc(100% - 32px));
    margin: 0 auto;
}

.hero {
    padding: 72px 0 48px;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1.3fr 0.9fr;
    gap: 28px;
    align-items: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(127, 209, 255, 0.08);
    border: 1px solid rgba(127, 209, 255, 0.2);
    color: var(--brand-2);
    font-size: 0.9rem;
    font-weight: 600;
}

h1,
h2,
h3 {
    line-height: 1.15;
    margin: 0 0 14px;
}

h1 {
    font-size: clamp(2.2rem, 5vw, 4.3rem);
    letter-spacing: -0.03em;
}

h2 {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    letter-spacing: -0.02em;
}

h3 {
    font-size: 1.15rem;
}

.lead {
    color: var(--muted);
    font-size: 1.08rem;
    max-width: 60ch;
    margin-bottom: 28px;
}

.cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 18px;
    border-radius: 14px;
    border: 1px solid var(--border);
    font-weight: 700;
    transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
    cursor: pointer;
}

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

.btn-primary {
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    color: #07101b;
    border: none;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text);
}

.hero-card,
.panel {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.hero-card {
    padding: 22px;
}

.mini-list {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.mini-list li {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 14px 16px;
}

.mini-list strong {
    display: block;
    margin-bottom: 4px;
    color: var(--success);
}

nav {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(14px);
    background: rgba(9, 16, 29, 0.72);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 14px 0;
}

.brand {
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.nav-links a {
    color: var(--muted);
    font-weight: 600;
    font-size: 0.95rem;
}

section {
    padding: 34px 0;
}

.grid-3,
.grid-2 {
    display: grid;
    gap: 20px;
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.card {
    padding: 22px;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 18px;
}

.card p,
.panel p,
.muted {
    color: var(--muted);
}

.steps {
    counter-reset: item;
    display: grid;
    gap: 14px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.steps li {
    counter-increment: item;
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 14px;
    align-items: start;
    padding: 16px;
    background: var(--panel);
    border-radius: 16px;
    border: 1px solid var(--border);
}

.steps li::before {
    content: counter(item);
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    font-weight: 800;
    color: #07101b;
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
}

.option-list {
    display: grid;
    gap: 16px;
}

.option-item {
    padding: 18px;
    border-radius: 16px;
    background: var(--panel);
    border: 1px solid var(--border);
}

.option-item code {
    display: inline-block;
    margin-top: 8px;
    padding: 4px 8px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--brand-2);
}

.screenshot-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.shot {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 18px;
    overflow: hidden;
}

.shot-media {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border: 0;
    border-bottom: 1px solid var(--border);
    background: #0d1525;
    padding: 0;
    width: 100%;
    cursor: zoom-in;
}

.shot-media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: top center;
}

.shot-body {
    padding: 16px;
}

.store-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.store-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.store-logo {
    height: 48px;
    width: auto;
    object-fit: contain;
}

/* Optional: tighten spacing inside cards */
.store-card {
    display: flex;
    align-items: center;
}

.store-card {
    padding: 24px;
    background: linear-gradient(180deg, var(--panel), var(--panel-2));
    border: 1px solid var(--border);
    border-radius: 20px;
}


.footer {
    padding: 42px 0 70px;
    color: var(--muted);
    font-size: 0.95rem;
}

.note {
    margin-top: 14px;
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(127, 209, 255, 0.08);
    border: 1px solid rgba(127, 209, 255, 0.18);
    color: var(--text);
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 28px;
    background: rgba(3, 8, 18, 0.88);
    backdrop-filter: blur(8px);
}

.lightbox.is-open {
    display: flex;
}

.lightbox-dialog {
    position: relative;
    width: min(1400px, 100%);
    max-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-image {
    display: block;
    max-width: 100%;
    max-height: calc(100vh - 100px);
    width: auto;
    height: auto;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
    background: #08101d;
    cursor: zoom-in;
    transition: transform 0.2s ease;
}

.lightbox-close {
    position: absolute;
    top: -12px;
    right: -12px;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(12, 18, 32, 0.95);
    color: var(--text);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    display: grid;
    place-items: center;
}

.lightbox-caption {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 20px;
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(12, 18, 32, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text);
    text-align: center;
}

.lightbox-image.is-zoomed {
    transform: scale(1.5);
    cursor: zoom-out;
}

@media (max-width: 920px) {

    .hero-inner,
    .grid-3,
    .grid-2,
    .screenshot-grid,
    .store-grid {
        grid-template-columns: 1fr;
    }

    .nav-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 640px) {
    .hero {
        padding-top: 44px;
    }

    .container {
        width: min(var(--max), calc(100% - 20px));
    }

    .steps li {
        grid-template-columns: 1fr;
    }

    .lightbox {
        padding: 16px;
    }

    .lightbox-close {
        top: 12px;
        right: 12px;
    }

    .lightbox-caption {
        left: 12px;
        right: 12px;
        bottom: 12px;
    }
}