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

:root {
    --bg: #0f1117;
    --surface: #1a1d27;
    --surface2: #22263a;
    --border: #2a2f42;
    --text: #e1e4ed;
    --text-muted: #8b90a0;
    --primary: #6366f1;
    --primary-hover: #818cf8;
    --success: #22c55e;
    --radius: 12px;
    --radius-sm: 8px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 720px;
    margin: 0 auto;
    padding: 40px 20px 60px;
}

.header {
    text-align: center;
    margin-bottom: 40px;
}

.header h1 {
    font-size: 32px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    color: var(--text-muted);
    margin-top: 6px;
    font-size: 15px;
}

/* ─── Hero ─────────────────────────── */
.hero {
    background: linear-gradient(135deg, var(--surface), #1e1b4b);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px;
    text-align: center;
    margin-bottom: 32px;
}

.hero h2 {
    font-size: 22px;
    margin-bottom: 8px;
}

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

.download-group {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    padding: 16px 28px;
    border-radius: var(--radius);
    text-decoration: none;
    font-size: 16px;
    transition: background 0.2s, transform 0.1s;
    min-width: 220px;
}

.download-btn:hover {
    transform: translateY(-1px);
}

.download-btn.mac {
    background: var(--primary);
}
.download-btn.mac:hover {
    background: var(--primary-hover);
}

.download-btn.windows {
    background: #0078d4;
}
.download-btn.windows:hover {
    background: #0086ef;
}

.download-btn .btn-icon { font-size: 28px; }

.download-btn .btn-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.download-btn .btn-text strong { font-size: 18px; }

.download-btn .btn-text small {
    font-size: 12px;
    opacity: 0.8;
    margin-top: 2px;
}

/* ─── How to ──────────────────────────── */
.how-to, .features, .requirements {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    margin-bottom: 20px;
}

h3 {
    font-size: 18px;
    margin-bottom: 20px;
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.step {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.step-num {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
}

.step-body h4 {
    font-size: 15px;
    margin-bottom: 4px;
}

.step-body p {
    color: var(--text-muted);
    font-size: 14px;
}

.note {
    margin-top: 6px;
    font-size: 12px;
    color: #f59e0b;
    background: #f59e0b10;
    padding: 4px 10px;
    border-radius: 4px;
    display: inline-block;
}

/* ─── Features ──────────────────────── */
.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.feature {
    background: var(--surface2);
    padding: 16px;
    border-radius: var(--radius-sm);
}

.feature-icon { font-size: 24px; }

.feature h4 {
    font-size: 14px;
    margin: 8px 0 4px;
}

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

/* ─── Requirements ──────────────────── */
.requirements ul {
    list-style: none;
}

.requirements li {
    padding: 6px 0;
    font-size: 14px;
    color: var(--text-muted);
}

.requirements li::before {
    content: "• ";
    color: var(--primary);
}

.requirements a {
    color: var(--primary);
    text-decoration: none;
}

.requirements code {
    background: var(--surface2);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 13px;
}

/* ─── Footer ────────────────────────── */
.footer {
    text-align: center;
    padding: 32px 0;
    font-size: 13px;
    color: var(--text-muted);
}

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

/* ─── Responsive ────────────────────── */
@media (max-width: 640px) {
    .container { padding: 24px 16px; }
    .hero { padding: 28px 20px; }
    .features-grid { grid-template-columns: 1fr; }
}
