:root {
    --bg: #06080f;
    --bg-elevated: #0c1020;
    --bg-card: #12182c;
    --text: #e8ecf4;
    --text-muted: #8b95ad;
    --cyan: #00e8ff;
    --cyan-dim: rgba(0, 232, 255, 0.15);
    --green: #39ff14;
    --green-dim: rgba(57, 255, 20, 0.12);
    --border: rgba(255, 255, 255, 0.08);
    --radius: 16px;
    --radius-lg: 24px;
    --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --max: 1120px;
}

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

html {
    scroll-behavior: smooth;
}

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

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(0, 232, 255, 0.06) 1px, transparent 0);
    background-size: 28px 28px;
    pointer-events: none;
    z-index: 0;
}

.bg-glow {
    position: fixed;
    width: 60vw;
    height: 60vw;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.25;
    pointer-events: none;
    z-index: 0;
}

.bg-glow--left {
    top: -20%;
    left: -15%;
    background: radial-gradient(circle, #1a0a3e 0%, transparent 70%);
}

.bg-glow--right {
    bottom: -25%;
    right: -15%;
    background: radial-gradient(circle, #003d4d 0%, transparent 70%);
}

.container {
    width: min(100% - 40px, var(--max));
    margin-inline: auto;
    position: relative;
    z-index: 1;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(16px);
    background: rgba(6, 8, 15, 0.85);
    border-bottom: 1px solid var(--border);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text);
}

.brand__logo {
    border-radius: 12px;
    box-shadow: 0 0 20px var(--green-dim);
}

.brand__name {
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn--primary {
    background: linear-gradient(135deg, var(--cyan) 0%, #0099cc 100%);
    color: #06080f;
    box-shadow: 0 0 24px var(--cyan-dim);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 32px rgba(0, 232, 255, 0.35);
}

.btn--lg {
    padding: 14px 28px;
    font-size: 1rem;
}

.store-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: stretch;
}

.store-btns--center {
    justify-content: center;
}

.store-btns--lg {
    gap: 18px;
}

.store-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 11px 20px 11px 16px;
    border-radius: 12px;
    text-decoration: none;
    color: #fff;
    transition: transform 0.2s, box-shadow 0.2s;
    min-width: 188px;
}

.store-badge--apple {
    background: linear-gradient(145deg, #2a2a2e 0%, #000 100%);
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 6px 28px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.store-badge--apple:hover {
    box-shadow: 0 10px 36px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.12);
}

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

.store-badge__icon {
    flex-shrink: 0;
    display: block;
}

.store-badge__copy {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.store-badge__label {
    font-size: 0.62rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    opacity: 0.88;
}

.store-badge__name {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.store-btns--lg .store-badge {
    padding: 14px 26px 14px 20px;
    min-width: 210px;
    border-radius: 14px;
}

.store-btns--lg .store-badge__label {
    font-size: 0.7rem;
}

.store-btns--lg .store-badge__name {
    font-size: 1.4rem;
}

.store-btns--compact .store-badge {
    padding: 8px 14px 8px 12px;
    min-width: 0;
    gap: 10px;
}

.store-btns--compact .store-badge__label {
    font-size: 0.55rem;
}

.store-btns--compact .store-badge__name {
    font-size: 1rem;
}

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

.hero__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.eyebrow {
    margin: 0 0 8px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--cyan);
}

.hero h1 {
    margin: 0 0 12px;
    font-size: clamp(2.25rem, 5vw, 3.25rem);
    font-weight: 800;
    line-height: 1.1;
    background: linear-gradient(180deg, #fff 0%, var(--cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__tagline {
    margin: 0 0 20px;
    font-size: 1.15rem;
    color: var(--cyan);
    font-weight: 500;
}

.hero__desc {
    margin: 0 0 28px;
    color: var(--text-muted);
    max-width: 480px;
}

.hero__visual {
    display: flex;
    justify-content: center;
}

.hero__img {
    width: 100%;
    max-width: 320px;
    height: auto;
    border-radius: var(--radius-lg);
    filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.5));
}

.features {
    padding: 64px 0;
}

.section-title {
    margin: 0 0 8px;
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 700;
    text-align: center;
}

.section-sub {
    margin: 0 0 40px;
    text-align: center;
    color: var(--text-muted);
}

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

.feature-card {
    margin: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border);
    transition: transform 0.25s, box-shadow 0.25s;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 232, 255, 0.12);
}

.feature-card img {
    display: block;
    width: 100%;
    height: auto;
    vertical-align: middle;
}

.benefits {
    padding: 64px 0;
    background: linear-gradient(180deg, transparent 0%, var(--bg-elevated) 50%, transparent 100%);
}

.benefit-list {
    list-style: none;
    margin: 0 0 40px;
    padding: 0;
    display: grid;
    gap: 16px;
}

.benefit-list li {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 20px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.benefit-list__icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

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

.benefit-list p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.closing {
    text-align: center;
    color: var(--text-muted);
    max-width: 640px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.7;
}

.cta {
    padding: 72px 0;
}

.cta__inner {
    text-align: center;
    padding: 48px 32px;
    background: linear-gradient(145deg, var(--bg-card) 0%, rgba(0, 232, 255, 0.06) 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

.cta__logo {
    border-radius: 16px;
    margin-bottom: 20px;
    box-shadow: 0 0 32px var(--green-dim);
}

.cta h2 {
    margin: 0 0 8px;
    font-size: 1.75rem;
}

.cta p {
    margin: 0 0 24px;
    color: var(--text-muted);
}

.site-footer {
    padding: 32px 0;
    border-top: 1px solid var(--border);
    text-align: center;
}

.site-footer__nav {
    margin-bottom: 12px;
}

.site-footer__nav a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.site-footer__nav a:hover {
    color: var(--cyan);
}

.site-footer__nav .sep {
    margin: 0 12px;
    color: var(--border);
}

.site-footer__copy {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-muted);
}

@media (max-width: 960px) {
    .hero__inner {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero__desc {
        margin-inline: auto;
    }
    .store-btns {
        justify-content: center;
    }
    .hero__visual {
        order: -1;
    }
    .hero__img {
        max-width: 260px;
    }
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .feature-grid {
        grid-template-columns: 1fr;
        max-width: 280px;
        margin-inline: auto;
    }
    .site-header .store-btns--compact {
        flex-direction: column;
        align-items: flex-end;
        gap: 8px;
    }
    .store-btns--compact .store-badge__copy {
        display: none;
    }
    .store-btns--compact .store-badge {
        padding: 10px 12px;
        min-width: 0;
        border-radius: 10px;
    }
    .store-btns--compact .store-badge__icon {
        width: 26px !important;
        height: 26px !important;
    }
    .brand__name {
        font-size: 1.1rem;
    }
}

.btn--ghost {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
}

.btn--ghost:hover {
    border-color: var(--cyan);
    color: var(--cyan);
    transform: translateY(-2px);
    box-shadow: none;
}

.legal-page .site-header {
    position: relative;
}

.legal {
    padding: 40px 0 64px;
    position: relative;
    z-index: 1;
}

.legal__inner {
    max-width: 800px;
    padding: 40px 48px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

.legal h2 {
    margin: 0 0 16px;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text);
}

.legal h2 strong,
.legal h3 strong,
.legal h4 strong {
    font-weight: inherit;
    color: inherit;
}

.legal h3 {
    margin: 32px 0 12px;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--cyan);
}

.legal h4 {
    margin: 20px 0 8px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
}

.legal p {
    margin: 0 0 14px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.legal p strong {
    color: var(--text);
}

.legal ul {
    margin: 0 0 16px;
    padding-left: 1.25rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.legal li {
    margin-bottom: 8px;
}

.legal a {
    color: var(--cyan);
    text-decoration: none;
}

.legal a:hover {
    text-decoration: underline;
}

.legal hr {
    border: none;
    border-top: 1px solid var(--border);
    margin: 28px 0;
}

@media (max-width: 560px) {
    .legal__inner {
        padding: 28px 20px;
    }
}
