/* ── Variables ─────────────────────────────────────────── */
:root {
    --bg:           #0d0d0d;
    --bg-2:         #141414;
    --bg-3:         #1c1c1c;
    --border:       #272727;
    --text:         #ffffff;
    --text-muted:   #888888;
    --text-dim:     #555555;
    --accent:       #8fa8e8;
    --accent-hover: #7a96d8;
    --radius:       10px;
    --max-width:    1080px;
}

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

html { scroll-behavior: smooth; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* ── Buttons ───────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: var(--radius);
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
    border: 1.5px solid transparent;
    white-space: nowrap;
}

.btn-primary {
    background: var(--accent);
    color: #0d0d0d;
    border-color: var(--accent);
}
.btn-primary:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
}

.btn-ghost {
    background: transparent;
    color: var(--text);
    border-color: #444;
}
.btn-ghost:hover {
    border-color: #888;
}

.btn-sm { padding: 7px 16px; font-size: 14px; }
.btn-lg { padding: 14px 28px; font-size: 16px; }

/* ── Nav ───────────────────────────────────────────────── */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(13, 13, 13, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.nav-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 32px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.3px;
    color: var(--text);
}

/* ── Hero ──────────────────────────────────────────────── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('assets/hero.jpg') center center / cover no-repeat;
    background-color: #050505;
    text-align: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
}

.hero-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 220px;
    background: linear-gradient(to bottom, transparent, var(--bg));
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 120px 32px 80px;
    max-width: 760px;
}

.hero-content h1 {
    font-size: clamp(42px, 7vw, 76px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -1.5px;
    margin-bottom: 20px;
}

.hero-sub {
    font-size: clamp(16px, 2.5vw, 20px);
    color: rgba(255, 255, 255, 0.72);
    margin-bottom: 36px;
    font-weight: 300;
    line-height: 1.5;
}

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

/* ── Section base ──────────────────────────────────────── */
.section-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 32px;
}

section h2 {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    letter-spacing: -0.8px;
    margin-bottom: 48px;
    text-align: center;
}

/* ── Pitch ─────────────────────────────────────────────── */
.pitch {
    background: var(--bg);
    padding: 80px 32px;
    text-align: center;
}

.pitch p {
    max-width: 680px;
    margin: 0 auto;
    font-size: clamp(18px, 2.5vw, 24px);
    font-weight: 300;
    color: rgba(255,255,255,0.82);
    line-height: 1.55;
    letter-spacing: -0.2px;
}

/* ── How It Works ──────────────────────────────────────── */
.how-it-works {
    background: var(--bg-2);
    padding: 96px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

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

.step {
    text-align: center;
    padding: 0 8px;
}

.step-number {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: transparent;
    border: 1.5px solid var(--accent);
    color: var(--accent);
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.step h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    letter-spacing: -0.2px;
}

.step p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.65;
}

/* ── Features ──────────────────────────────────────────── */
.features {
    background: var(--bg);
    padding: 96px 0;
}

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

.feature-card {
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    transition: border-color 0.2s;
}

.feature-card:hover {
    border-color: #3a3a3a;
}

.feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(143, 168, 232, 0.12);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: -0.1px;
}

.feature-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.65;
}

/* ── Licensing ─────────────────────────────────────────── */
.licensing {
    background: var(--bg-2);
    padding: 96px 32px;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    text-align: center;
}

.licensing-inner {
    max-width: 600px;
    margin: 0 auto;
}

.licensing-accent {
    width: 40px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
    margin: 0 auto 36px;
}

.licensing h2 {
    margin-bottom: 20px;
}

.licensing p {
    font-size: 18px;
    color: rgba(255,255,255,0.75);
    line-height: 1.65;
    margin-bottom: 28px;
    font-weight: 300;
}

.licensing p strong {
    color: var(--text);
    font-weight: 600;
}

.licensing-features {
    display: flex;
    justify-content: center;
    gap: 28px;
    margin-bottom: 36px;
    flex-wrap: wrap;
}

.licensing-features span {
    font-size: 14px;
    color: var(--text-muted);
}

/* ── Compatibility ─────────────────────────────────────── */
.compatibility {
    background: var(--bg);
    padding: 32px;
    text-align: center;
}

.compatibility p {
    font-size: 14px;
    color: var(--text-dim);
}

/* ── Download ──────────────────────────────────────────── */
.download {
    background: var(--bg);
    padding: 96px 32px;
    border-top: 1px solid var(--border);
}

.download-card {
    max-width: 420px;
    margin: 0 auto;
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 48px 40px;
    text-align: center;
}

.app-icon {
    width: 80px;
    height: 80px;
    border-radius: 18px;
    margin-bottom: 20px;
}

.download-card h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 6px;
    letter-spacing: -0.4px;
}

.version {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 28px;
}

.release-notes-link {
    display: block;
    margin-top: 16px;
    font-size: 13px;
    color: var(--text-muted);
    text-decoration: none;
}

.release-notes-link:hover {
    color: var(--text);
}

/* ── Footer ────────────────────────────────────────────── */
footer {
    background: var(--bg);
    border-top: 1px solid var(--border);
    padding: 40px 32px;
}

.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
}

.footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.footer-logo {
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
}

.footer-nav {
    display: flex;
    gap: 28px;
}

.footer-nav a {
    font-size: 14px;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.15s;
}

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

.copyright {
    font-size: 13px;
    color: var(--text-dim);
}

/* ── Responsive ────────────────────────────────────────── */
@media (max-width: 768px) {
    .steps {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .licensing-features {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }

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

@media (max-width: 1024px) and (min-width: 769px) {
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
