:root {
    --bg: #0a0a0a;
    --surface: #151515;
    --border: #2a2a2a;
    --text: #e8e8e8;
    --muted: #888;
    --accent: #9e15ae;
    --accent-light: #e151f0;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

body > header {
    text-align: center;
    padding: 4rem 2rem 3rem;
    max-width: 700px;
}

body > header img {
    width: 200px;
    height: auto;
    margin-bottom: 1.5rem;
}

body > header h1 {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

body > header h1 span {
    color: var(--accent);
}

body > header p.tagline {
    color: var(--muted);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.stats-row {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.stat-box {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem 2.5rem;
    text-align: center;
}

.stat-box .value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
}

.stat-box .label {
    color: var(--muted);
    font-size: 0.85rem;
    margin-top: 0.2rem;
}

.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 800px;
    padding: 0 2rem;
    margin-bottom: 3rem;
}

.feature {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
}

.feature .icon {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.feature h3 {
    font-size: 0.95rem;
    margin-bottom: 0.3rem;
}

.feature p {
    color: var(--muted);
    font-size: 0.8rem;
    line-height: 1.4;
}

.cta {
    margin-bottom: 3rem;
}

.cta a {
    display: inline-block;
    padding: 0.7rem 2rem;
    background: var(--accent);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: opacity 0.2s;
}

.cta a:hover {
    opacity: 0.85;
}

.api-hint {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem 2rem;
    max-width: 600px;
    margin: 0 2rem 3rem;
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-size: 0.8rem;
    color: var(--muted);
    line-height: 1.8;
    overflow-x: auto;
}

.api-hint .method {
    color: var(--accent-light);
    font-weight: 600;
}

.api-hint .path {
    color: var(--text);
}

.api-hint .comment {
    color: #555;
}

body > footer {
    margin-top: auto;
    padding: 1.5rem;
    color: var(--muted);
    font-size: 0.75rem;
    text-align: center;
}

body > footer a {
    color: var(--accent-light);
    text-decoration: none;
}

@media (max-width: 640px) {
    body > header h1 { font-size: 1.8rem; }
    .stats-row { gap: 1rem; align-items: center; }
    .features { grid-template-columns: 1fr; }
}
