:root {
    --bg: #0b1020;
    --bg-elev: #121a30;
    --text: #e8ecf5;
    --muted: #9aa6c4;
    --accent: #6366f1;
    --accent-2: #5eead4;
    --border: rgba(255, 255, 255, 0.08);
    --radius: 16px;
    --maxw: 1080px;
    font-synthesis: none;
}

* { box-sizing: border-box; }

html, body { height: 100%; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

.bg-grid {
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(var(--border) 1px, transparent 1px),
        linear-gradient(90deg, var(--border) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
    z-index: 0;
}

.bg-glow {
    position: fixed;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 70vw;
    height: 60vh;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.28), transparent 60%);
    filter: blur(30px);
    z-index: 0;
    pointer-events: none;
}

.site-header,
.hero,
.site-footer { position: relative; z-index: 1; }

.site-header {
    width: 100%;
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 24px 24px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text);
}

.brand-name {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.hero {
    flex: 1;
    width: 100%;
    max-width: var(--maxw);
    margin: 0 auto;
    padding: clamp(48px, 10vw, 120px) 24px 64px;
    text-align: center;
}

.eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent-2);
    padding: 6px 14px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: rgba(94, 234, 212, 0.06);
}

.headline {
    margin: 24px 0 16px;
    font-size: clamp(2.4rem, 6vw, 4.2rem);
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.accent {
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.subhead {
    max-width: 620px;
    margin: 0 auto;
    color: var(--muted);
    font-size: clamp(1rem, 2vw, 1.18rem);
}

.cta-row {
    margin-top: 36px;
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.98rem;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
    border: 1px solid transparent;
}

.btn-primary {
    color: #0b1020;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.35);
}

.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 38px rgba(99, 102, 241, 0.45); }

.btn-ghost {
    color: var(--text);
    border-color: var(--border);
    background: rgba(255, 255, 255, 0.03);
}

.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.25); background: rgba(255, 255, 255, 0.06); }

.features {
    margin-top: clamp(56px, 9vw, 96px);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    text-align: left;
}

.feature-card {
    background: var(--bg-elev);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    transition: transform 0.15s ease, border-color 0.15s ease;
}

.feature-card:hover { transform: translateY(-3px); border-color: rgba(99, 102, 241, 0.5); }

.feature-icon { font-size: 1.6rem; margin-bottom: 10px; }

.feature-card h2 { margin: 0 0 8px; font-size: 1.12rem; font-weight: 700; }

.feature-card p { margin: 0; color: var(--muted); font-size: 0.96rem; }

.site-footer {
    width: 100%;
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 28px 24px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--muted);
    font-size: 0.9rem;
    border-top: 1px solid var(--border);
}

.footer-link { color: var(--accent-2); text-decoration: none; font-weight: 600; }
.footer-link:hover { text-decoration: underline; }

@media (max-width: 720px) {
    .features { grid-template-columns: 1fr; }
    .site-footer { flex-direction: column; gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
    .btn, .feature-card { transition: none; }
}
