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

:root {
  --bg:        #0a0e1a;
  --bg2:       #0f1525;
  --bg3:       #141c30;
  --border:    rgba(255,255,255,.08);
  --text:      #e2e8f0;
  --text-muted:#8896a4;
  --accent:    #3b82f6;
  --accent2:   #6366f1;
  --green:     #10b981;
  --radius:    12px;
}

html { scroll-behavior: smooth; }
body { font-family: 'Inter', system-ui, sans-serif; background: var(--bg); color: var(--text); line-height: 1.6; }

a { color: inherit; text-decoration: none; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* ── NAV ── */
.nav { position: sticky; top: 0; z-index: 100; background: rgba(10,14,26,.85); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.nav-inner { max-width: 1100px; margin: 0 auto; padding: 0 24px; height: 64px; display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 1.1rem; }
.logo-icon { font-size: 1.3rem; }
.logo-text { background: linear-gradient(135deg, var(--accent), var(--accent2)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--text-muted); font-size: .9rem; transition: color .2s; }
.nav-links a:hover { color: var(--text); }

/* ── BUTTONS ── */
.btn { display: inline-flex; align-items: center; gap: 6px; padding: 10px 20px; border-radius: 8px; font-size: .9rem; font-weight: 500; cursor: pointer; transition: all .2s; border: 1px solid transparent; white-space: nowrap; }
.btn-primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-primary:hover { background: #2563eb; border-color: #2563eb; transform: translateY(-1px); }
.btn-ghost { color: var(--text-muted); }
.btn-ghost:hover { color: var(--text); }
.btn-outline { border-color: var(--border); color: var(--text); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-lg { padding: 13px 28px; font-size: 1rem; border-radius: 10px; }

/* ── HERO ── */
.hero { position: relative; padding: 100px 24px 80px; text-align: center; overflow: hidden; }
.hero-glow { position: absolute; top: -100px; left: 50%; transform: translateX(-50%); width: 600px; height: 600px; background: radial-gradient(circle, rgba(59,130,246,.15) 0%, transparent 70%); pointer-events: none; }
.hero-inner { position: relative; max-width: 760px; margin: 0 auto; }
.hero-badge { display: inline-block; padding: 5px 14px; background: rgba(59,130,246,.12); border: 1px solid rgba(59,130,246,.3); border-radius: 20px; font-size: .8rem; color: var(--accent); margin-bottom: 24px; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 800; line-height: 1.15; letter-spacing: -.02em; margin-bottom: 20px; }
.gradient-text { background: linear-gradient(135deg, var(--accent), var(--accent2)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-sub { font-size: 1.15rem; color: var(--text-muted); max-width: 540px; margin: 0 auto 36px; }
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 56px; }
.hero-stats { display: flex; align-items: center; justify-content: center; gap: 0; padding: 20px 32px; background: var(--bg2); border: 1px solid var(--border); border-radius: 14px; display: inline-flex; }
.stat { display: flex; flex-direction: column; align-items: center; padding: 0 28px; }
.stat-num { font-size: 1rem; font-weight: 700; color: var(--text); font-family: monospace; }
.stat-label { font-size: .75rem; color: var(--text-muted); margin-top: 2px; }
.stat-sep { width: 1px; height: 36px; background: var(--border); }

/* ── FEATURES ── */
.features { padding: 80px 0; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; margin-bottom: 12px; }
.section-header p { color: var(--text-muted); font-size: 1.05rem; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.feature-card { background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; transition: border-color .2s, transform .2s; }
.feature-card:hover { border-color: rgba(59,130,246,.35); transform: translateY(-3px); }
.feature-icon { font-size: 2rem; margin-bottom: 14px; }
.feature-card h3 { font-size: 1rem; font-weight: 600; margin-bottom: 8px; }
.feature-card p { font-size: .9rem; color: var(--text-muted); line-height: 1.6; }

/* ── STACK ── */
.stack { padding: 60px 0; background: var(--bg2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.stack-grid { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 40px; }
.stack-item { padding: 8px 20px; background: var(--bg3); border: 1px solid var(--border); border-radius: 20px; font-size: .85rem; font-weight: 500; color: var(--text-muted); transition: color .2s, border-color .2s; }
.stack-item:hover { color: var(--text); border-color: rgba(255,255,255,.2); }

/* ── CTA ── */
.cta-section { padding: 80px 0; }
.cta-card { background: linear-gradient(135deg, rgba(59,130,246,.12), rgba(99,102,241,.12)); border: 1px solid rgba(59,130,246,.25); border-radius: 20px; padding: 60px 40px; text-align: center; }
.cta-card h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; margin-bottom: 12px; }
.cta-card p { color: var(--text-muted); margin-bottom: 32px; font-size: 1.05rem; }
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ── FOOTER ── */
.footer { padding: 32px 0; border-top: 1px solid var(--border); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footer-brand { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: .85rem; color: var(--text-muted); transition: color .2s; }
.footer-links a:hover { color: var(--text); }
.footer-copy { font-size: .8rem; color: var(--text-muted); }

@media (max-width: 640px) {
  .nav-links a:not(.btn) { display: none; }
  .hero { padding: 60px 24px 60px; }
  .hero-stats { flex-direction: column; gap: 12px; padding: 20px; }
  .stat-sep { width: 60px; height: 1px; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
}
