/* === Variables === */
:root {
    --bg: #0a1628;
    --bg-card: #141e30;
    --bg-card-hover: #1a2740;
    --text: #f5f5f7;
    --text-secondary: #a1a1a6;
    --accent: #007AFF;
    --accent-hover: #0a84ff;
    --border: #2a3444;
    --radius: 16px;
    --radius-sm: 10px;
    --green: #30d158;
    --orange: #ff9f0a;
}

@media (prefers-color-scheme: light) {
    :root {
        --bg: #f5f5f7;
        --bg-card: #ffffff;
        --bg-card-hover: #fafafa;
        --text: #1d1d1f;
        --text-secondary: #6e6e73;
        --border: #d2d2d7;
        --green: #248a3d;
        --orange: #c93400;
    }
}

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

/* === Base === */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* === Navigation === */
nav {
    padding: 20px 24px;
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
}

nav a {
    color: var(--accent);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
}

nav a:hover {
    text-decoration: underline;
}

/* === Container === */
.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px 80px;
    flex: 1;
}

/* === Buttons === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 980px;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

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

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

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

.btn-secondary:hover {
    border-color: var(--accent);
}

/* === Badges === */
.badge {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 4px 10px;
    border-radius: 6px;
}

.badge-live {
    background: rgba(48, 209, 88, 0.15);
    color: var(--green);
}

.badge-beta {
    background: rgba(255, 159, 10, 0.15);
    color: var(--orange);
}

.badge-dev {
    background: rgba(0, 122, 255, 0.1);
    color: var(--accent);
}

.badge-soon {
    background: rgba(175, 82, 222, 0.15);
    color: #bf5af2;
}

@media (prefers-color-scheme: light) {
    .badge-soon {
        background: rgba(175, 82, 222, 0.12);
        color: #8944ab;
    }
}

/* === Section Headers === */
.section-header {
    margin-bottom: 24px;
    margin-top: 56px;
}

.section-header h2 {
    font-size: 1.6rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin-bottom: 8px;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* === Cards / Grids (shared pattern) === */
.card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 48px;
}

@media (min-width: 640px) {
    .card-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.info-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 24px;
}

.info-card .card-icon {
    font-size: 1.6rem;
    margin-bottom: 12px;
}

.info-card h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.info-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* === Callout (accent-bordered box) === */
.callout {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-left: 4px solid var(--accent);
    border-radius: var(--radius-sm);
    padding: 24px 28px;
    margin: 48px 0;
    text-align: center;
}

/* === Bottom CTA === */
.bottom-cta {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px 32px;
    text-align: center;
    margin-top: 56px;
}

.bottom-cta h2 {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.bottom-cta p {
    color: var(--text-secondary);
    font-size: 1rem;
    max-width: 520px;
    margin: 0 auto 24px;
}

.bottom-cta .cta-row {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* === Footer === */
footer {
    text-align: center;
    padding: 32px 24px;
    border-top: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 0.85rem;
}

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

footer a:hover {
    text-decoration: underline;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 8px;
}
