:root {
    --bg: #0a0e17;
    --surface: #111827;
    --surface-2: #1a2235;
    --border: #1f2937;
    --text: #e5e7eb;
    --text-muted: #9ca3af;
    --accent: #22d3ee;
    --accent-dim: #0891b2;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: "SF Mono", "Consolas", "Monaco", monospace;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* Navbar */
.navbar {
    background: rgba(10, 14, 23, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 50;
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: var(--accent);
    color: var(--bg);
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.9rem;
}

.nav-links { display: flex; gap: 24px; }

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.15s;
}

.nav-links a:hover { color: var(--accent); }

/* Hero */
.hero {
    padding: 100px 0 80px;
    border-bottom: 1px solid var(--border);
    background:
        radial-gradient(800px 400px at 50% 0%, rgba(34, 211, 238, 0.08), transparent);
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(34, 211, 238, 0.3);
    color: var(--accent);
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    margin-bottom: 28px;
}

.badge::before {
    content: "";
    width: 6px; height: 6px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent);
}

.hero h1 {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
    max-width: 700px;
    margin-bottom: 20px;
}

.lead {
    color: var(--text-muted);
    font-size: 1rem;
    max-width: 620px;
    margin-bottom: 36px;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 64px;
}

.btn {
    display: inline-block;
    padding: 11px 22px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.15s;
    font-family: inherit;
}

.btn-primary {
    background: var(--accent);
    color: var(--bg);
}

.btn-primary:hover { background: #67e8f9; }

.btn-ghost {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
}

.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

.metrics {
    display: flex;
    gap: 56px;
    flex-wrap: wrap;
    border-top: 1px solid var(--border);
    padding-top: 32px;
}

.metrics div { text-align: left; }
.metrics strong {
    display: block;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: -0.02em;
}
.metrics span {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Sections */
.section { padding: 80px 0; }
.section-dark {
    background: var(--surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.section-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.section-sub {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 40px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}

.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 24px 22px;
    transition: all 0.2s;
}

.section-dark .card { background: var(--surface-2); }

.card:hover {
    border-color: var(--accent-dim);
    transform: translateY(-2px);
}

.card h3 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text);
}

.card p {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.6;
}

.registry-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.registry-list span {
    background: var(--surface-2);
    border: 1px solid var(--border);
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.resource {
    display: block;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 24px 22px;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s;
}

.resource:hover {
    border-color: var(--accent);
    box-shadow: 0 8px 24px -8px rgba(34, 211, 238, 0.2);
}

.resource h3 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.resource p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.resource .arrow {
    display: inline-block;
    margin-top: 14px;
    color: var(--accent);
    transition: transform 0.2s;
}

.resource:hover .arrow { transform: translateX(4px); }

/* Footer */
.footer {
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding: 36px 0;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    font-weight: 600;
    font-size: 0.9rem;
}

.footer-copy {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-align: right;
    line-height: 1.8;
}

.footer-meta {
    font-size: 0.7rem;
    color: #4b5563;
}

@media (max-width: 640px) {
    .metrics { gap: 28px; }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .btn { text-align: center; }
}