:root {
    --bg: #0a0a0c;
    --bg-elev: #121218;
    --panel: #16161d;
    --text: #e8e8ea;
    --muted: #9a9aa5;
    --gold: #ffd21f;
    --gold-dim: #c9a400;
    --border: #26262f;
    --max-width: 1080px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
    background: radial-gradient(1200px 600px at 70% -10%, #1a1a12 0%, var(--bg) 55%);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

.grid-overlay {
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 210, 31, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 210, 31, 0.035) 1px, transparent 1px);
    background-size: 44px 44px;
    pointer-events: none;
    z-index: 0;
    -webkit-mask-image: radial-gradient(circle at 50% 0%, #000 0%, transparent 75%);
            mask-image: radial-gradient(circle at 50% 0%, #000 0%, transparent 75%);
}

.site-header,
main,
.site-footer {
    position: relative;
    z-index: 1;
}

/* Header */
.site-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 2.5rem 1.5rem 1.5rem;
}

.brand {
    display: block;
    width: 100%;
    text-align: center;
}

.brand img {
    width: min(560px, 85vw);
    height: auto;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 0 40px rgba(255, 210, 31, 0.25));
}

.nav {
    display: flex;
    justify-content: center;
    gap: 1.75rem;
}

.nav a {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    transition: color 0.2s ease;
}

.nav a:hover {
    color: var(--gold);
}

/* Hero */
.hero {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 2.5rem 1.5rem 4rem;
    text-align: center;
}

.badge {
    display: inline-block;
    font-family: "Consolas", "SF Mono", monospace;
    font-size: 0.8rem;
    color: var(--gold);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 0.3rem 0.9rem;
    margin-bottom: 1.5rem;
    background: rgba(255, 210, 31, 0.06);
}

.hero h1 {
    font-size: clamp(2.75rem, 8vw, 5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.05;
}

.accent {
    color: var(--gold);
    text-shadow: 0 0 32px rgba(255, 210, 31, 0.35);
}

.tagline {
    max-width: 620px;
    margin: 1.5rem auto 0;
    color: var(--muted);
    font-size: 1.15rem;
}

.cta-row {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2.5rem;
}

.btn {
    display: inline-block;
    text-decoration: none;
    font-weight: 600;
    padding: 0.8rem 1.6rem;
    border-radius: 10px;
    transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary {
    background: linear-gradient(180deg, var(--gold), var(--gold-dim));
    color: #17140a;
    box-shadow: 0 8px 24px rgba(255, 210, 31, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(255, 210, 31, 0.32);
}

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

.btn-ghost:hover {
    border-color: var(--gold-dim);
    transform: translateY(-2px);
}

/* Sections */
.section {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 3.5rem 1.5rem;
}

.section h2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    position: relative;
    padding-left: 0.9rem;
}

.section h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.15em;
    bottom: 0.15em;
    width: 4px;
    border-radius: 4px;
    background: var(--gold);
}

.section p {
    color: var(--muted);
    max-width: 720px;
}

.section a {
    color: var(--gold);
}

/* Cards */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
    margin-top: 1.75rem;
}

.card {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1.5rem;
    transition: transform 0.15s ease, border-color 0.2s ease;
}

.card:hover {
    transform: translateY(-4px);
    border-color: var(--gold-dim);
}

.card h3 {
    color: var(--gold);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.card p {
    color: var(--muted);
    font-size: 0.95rem;
}

/* Footer */
.site-footer {
    max-width: var(--max-width);
    margin: 2rem auto 0;
    padding: 2rem 1.5rem 3rem;
    border-top: 1px solid var(--border);
    text-align: center;
    color: var(--muted);
    font-size: 0.9rem;
}

@media (max-width: 560px) {
    .nav {
        gap: 1.1rem;
    }
}
