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

:root {
    --bg: #0d0d0d;
    --surface: #1a1a1a;
    --border: #2a2a2a;
    --text: #e0e0e0;
    --muted: #888;
    --accent: #5c7cfa;
    --accent-glow: rgba(92, 124, 250, 0.25);
    --radius: 12px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Hero ─────────────────────────────────────────────────── */

.hero {
    text-align: center;
    padding: 120px 24px 80px;
}

.hero-icon {
    width: 96px;
    height: 96px;
    border-radius: 22px;
    background: linear-gradient(135deg, #4a6cf7, #7c5cf7);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 44px;
    margin-bottom: 32px;
    box-shadow: 0 0 60px var(--accent-glow);
}

.hero h1 {
    font-size: 48px;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 16px;
}

.hero p {
    font-size: 20px;
    color: var(--muted);
    max-width: 540px;
    margin: 0 auto 40px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: var(--radius);
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

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

.btn-primary:hover {
    background: #4a6cf7;
    box-shadow: 0 4px 24px var(--accent-glow);
}

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

.btn-outline:hover {
    border-color: var(--muted);
    background: var(--surface);
}

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

/* ── Screenshots ──────────────────────────────────────────── */

.screenshot {
    display: flex;
    justify-content: center;
    padding: 0 24px 80px;
}

.screenshot img {
    width: 100%;
    max-width: 880px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
}

.screenshots-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.screenshots-grid .screenshot {
    padding: 0;
}

/* ── Features ─────────────────────────────────────────────── */

.features {
    padding: 80px 0;
}

.features h2 {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 48px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.feature {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
}

.feature-icon {
    font-size: 28px;
    margin-bottom: 16px;
}

.feature h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.feature p {
    font-size: 15px;
    color: var(--muted);
}

/* ── Quick start ──────────────────────────────────────────── */

.quickstart {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px;
    margin: 80px auto;
    max-width: 720px;
}

.quickstart h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
}

.quickstart pre {
    background: var(--bg);
    border-radius: 8px;
    padding: 20px 24px;
    overflow-x: auto;
    font-family: "SF Mono", "Fira Code", monospace;
    font-size: 14px;
    line-height: 1.7;
    color: #c9d1d9;
}

/* ── Footer ───────────────────────────────────────────────── */

footer {
    text-align: center;
    padding: 48px 24px;
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: 14px;
}

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

footer a:hover {
    color: var(--accent);
}

/* ── Responsive ───────────────────────────────────────────── */

@media (max-width: 640px) {
    .hero {
        padding: 80px 24px 48px;
    }
    .hero h1 {
        font-size: 36px;
    }
    .hero p {
        font-size: 17px;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
    .screenshots-grid {
        grid-template-columns: 1fr;
    }
}
