/* ── Reset & base ───────────────────────────────────────────────────────────── */

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

:root {
    --bg:        #0d0f14;
    --bg2:       #13161e;
    --border:    #1e2330;
    --text:      #d4d8e8;
    --muted:     #6b7394;
    --accent:    #5b7fff;
    --accent2:   #8b5cf6;
    --green:     #3dd68c;
    --font-mono: "JetBrains Mono", "Fira Code", "Cascadia Code", monospace;
    --font-sans: "Inter", system-ui, sans-serif;
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-sans);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

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

/* ── Nav ────────────────────────────────────────────────────────────────────── */

header {
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    background: rgba(13, 15, 20, 0.9);
    backdrop-filter: blur(12px);
    z-index: 100;
}

nav {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-family: var(--font-mono);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.02em;
}

.logo:hover { text-decoration: none; color: var(--accent); }

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

nav ul a {
    color: var(--muted);
    font-size: 0.95rem;
    transition: color 0.15s;
}

nav ul a:hover { color: var(--text); text-decoration: none; }

.nav-soon {
    color: var(--border);
    font-size: 0.95rem;
    cursor: not-allowed;
    user-select: none;
}

/* ── Hero ───────────────────────────────────────────────────────────────────── */

.hero {
    max-width: 1100px;
    margin: 0 auto;
    padding: 7rem 2rem 5rem;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, var(--text) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.25rem;
}

.hero p {
    font-size: 1.2rem;
    color: var(--muted);
    max-width: 560px;
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    padding: 0.75rem 1.75rem;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    transition: opacity 0.15s, transform 0.1s;
    display: inline-block;
}

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

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

.btn-primary:hover, .btn-secondary:hover {
    opacity: 0.85;
    text-decoration: none;
    transform: translateY(-1px);
}

/* ── Features ───────────────────────────────────────────────────────────────── */

.features {
    max-width: 1100px;
    margin: 0 auto 6rem;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.feature {
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.75rem;
}

.feature h2 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--green);
    margin-bottom: 0.6rem;
    font-family: var(--font-mono);
}

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

/* ── Footer ─────────────────────────────────────────────────────────────────── */

footer {
    margin-top: auto;
    border-top: 1px solid var(--border);
    padding: 1.5rem 2rem;
    text-align: center;
    font-size: 0.875rem;
    color: var(--muted);
}

footer a { color: var(--muted); }
footer a:hover { color: var(--text); }

/* ── Responsive ─────────────────────────────────────────────────────────────── */

@media (max-width: 600px) {
    nav ul { gap: 1.25rem; }
    .hero { padding: 4rem 1.25rem 3rem; }
    .features { padding: 0 1.25rem; }
}
