:root {
    --bg: #0b0f1a;
    --bg-alt: #10152580;
    --surface: #131a2b;
    --surface-2: #1a2338;
    --border: #26304a;
    --text: #eef1f8;
    --text-dim: #9aa4bf;
    --accent: #6c5ce7;
    --accent-2: #00d4ff;
    --accent-3: #ffb020;
    --radius: 16px;
    --font-heading: "Sora", "Inter", system-ui, sans-serif;
    --font-body: "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3 { font-family: var(--font-heading); margin: 0; line-height: 1.15; }

p { margin: 0; color: var(--text-dim); }

a { color: inherit; text-decoration: none; }

.container {
    width: 100%;
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Background decoration */
.bg-decor {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
}
.glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.35;
}
.glow-1 {
    width: 520px; height: 520px;
    background: var(--accent);
    top: -180px; left: -120px;
}
.glow-2 {
    width: 480px; height: 480px;
    background: var(--accent-2);
    top: 260px; right: -160px;
    opacity: 0.2;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(14px);
    background: rgba(11, 15, 26, 0.7);
    border-bottom: 1px solid var(--border);
}
.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.15rem;
}
.brand-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px; height: 34px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #fff;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    font-size: 0.95rem;
    font-weight: 500;
}
.nav-links a { color: var(--text-dim); transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}
.nav-toggle span {
    width: 22px; height: 2px;
    background: var(--text);
    border-radius: 2px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
    white-space: nowrap;
}
.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #fff;
    box-shadow: 0 10px 30px -10px rgba(108, 92, 231, 0.6);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 34px -8px rgba(108, 92, 231, 0.75); }
.btn-outline {
    border: 1px solid var(--border);
    color: var(--text);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent-2); }
.btn-ghost {
    padding: 10px 18px;
    border: 1px solid var(--border);
}
.btn-ghost:hover { border-color: var(--accent); }

/* Hero */
.hero {
    padding: 120px 24px 80px;
    text-align: center;
    max-width: 860px;
}
.eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent-2);
    margin-bottom: 16px;
}
.hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    font-weight: 800;
    letter-spacing: -0.02em;
}
.text-gradient {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero-subtitle {
    margin: 24px auto 0;
    font-size: 1.1rem;
    max-width: 620px;
}
.hero-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-top: 36px;
    flex-wrap: wrap;
}

.stats {
    margin-top: 64px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    padding: 28px;
    border-radius: var(--radius);
    background: var(--surface);
    border: 1px solid var(--border);
}
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-value {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--text);
}
.stat-label {
    font-size: 0.85rem;
    color: var(--text-dim);
}

/* Sections */
.section { padding: 96px 0; }
.section-alt { background: linear-gradient(180deg, transparent, var(--bg-alt), transparent); }
.section-title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700;
    max-width: 560px;
    margin-top: 12px;
}
.section-lead {
    margin-top: 14px;
    max-width: 560px;
    font-size: 1.05rem;
}

.grid { display: grid; gap: 20px; margin-top: 48px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.card:hover { transform: translateY(-4px); border-color: var(--accent); background: var(--surface-2); }
.card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.card p { font-size: 0.95rem; }
.card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px; height: 44px;
    border-radius: 12px;
    margin-bottom: 16px;
    background: linear-gradient(135deg, rgba(108,92,231,0.18), rgba(0,212,255,0.18));
    color: var(--accent-2);
}
.card-link { position: relative; display: block; }
.card-arrow {
    position: absolute;
    top: 28px; right: 28px;
    color: var(--accent-2);
    font-size: 1.2rem;
    transition: transform 0.2s ease;
}
.card-link:hover .card-arrow { transform: translateX(4px); }

/* Timeline */
.timeline {
    margin-top: 48px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.step {
    padding: 24px;
    border-left: 2px solid var(--border);
    position: relative;
}
.step-number {
    display: block;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.6rem;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 10px;
}
.step h3 { font-size: 1.05rem; margin-bottom: 8px; }
.step p { font-size: 0.92rem; }

/* Stack */
.stack-grid {
    margin-top: 40px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.stack-pill {
    padding: 10px 18px;
    border-radius: 999px;
    background: var(--surface);
    border: 1px solid var(--border);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dim);
}

/* CTA */
.cta { padding: 40px 24px 120px; }
.cta-box {
    text-align: center;
    padding: 56px 32px;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(108,92,231,0.18), rgba(0,212,255,0.12));
    border: 1px solid var(--border);
}
.cta-box h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
.cta-box p { margin: 14px auto 28px; max-width: 480px; }

/* Footer */
.site-footer {
    border-top: 1px solid var(--border);
    padding: 40px 0;
}
.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}
.footer-tagline { margin-top: 6px; font-size: 0.85rem; }
.footer-copy { font-size: 0.85rem; }

/* Reveal animation */
.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 900px) {
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .timeline { grid-template-columns: repeat(2, 1fr); }
    .stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .nav-links {
        position: absolute;
        top: 72px; left: 0; right: 0;
        background: var(--bg);
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        align-items: flex-start;
        padding: 20px 24px 28px;
        gap: 18px;
        display: none;
    }
    .nav-links.is-open { display: flex; }
    .nav-toggle { display: flex; }
    .grid-3 { grid-template-columns: 1fr; }
    .timeline { grid-template-columns: 1fr; }
    .stats { grid-template-columns: repeat(2, 1fr); }
    .hero { padding: 96px 20px 56px; }
    .footer-inner { flex-direction: column; align-items: flex-start; }
}
