/* ── Fonts ──────────────────────────────────────────────────────────────────── */
@font-face{font-family:'Plus Jakarta Sans';font-style:normal;font-weight:300;font-display:swap;src:url('fonts/plus-jakarta-sans-300.woff2') format('woff2')}
@font-face{font-family:'Plus Jakarta Sans';font-style:normal;font-weight:400;font-display:swap;src:url('fonts/plus-jakarta-sans-400.woff2') format('woff2')}
@font-face{font-family:'Plus Jakarta Sans';font-style:normal;font-weight:500;font-display:swap;src:url('fonts/plus-jakarta-sans-500.woff2') format('woff2')}
@font-face{font-family:'Plus Jakarta Sans';font-style:normal;font-weight:600;font-display:swap;src:url('fonts/plus-jakarta-sans-600.woff2') format('woff2')}
@font-face{font-family:'Plus Jakarta Sans';font-style:normal;font-weight:700;font-display:swap;src:url('fonts/plus-jakarta-sans-700.woff2') format('woff2')}
@font-face{font-family:'Plus Jakarta Sans';font-style:normal;font-weight:800;font-display:swap;src:url('fonts/plus-jakarta-sans-800.woff2') format('woff2')}

/* ── Tokens ─────────────────────────────────────────────────────────────────── */
:root {
  --bg:       #030712;
  --bg-2:     #0a0f1e;
  --fg:       #e2e8f0;
  --muted:    #b0bdd0;
  --muted-2:  #64748b;
  --card:     #0f172a;
  --border:   rgba(255,255,255,.08);
  --border-2: rgba(255,255,255,.13);
  --indigo:   #6366f1;
  --indigo-2: #4f46e5;
  --indigo-3: #3730a3;
  --emerald:  #34d399;
  --emerald-2:#10b981;
  --amber:    #f59e0b;
  --red:      #f87171;
  --grad:     linear-gradient(135deg,#6366f1,#34d399);
  --grad-r:   linear-gradient(135deg,#34d399,#6366f1);
  --radius:   14px;
  --radius-lg:24px;
  --radius-xl:32px;
}

/* ── Reset ──────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: 'Plus Jakarta Sans','Inter',ui-sans-serif,system-ui,sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1,h2,h3,h4 { letter-spacing: -.02em; font-weight: 700; margin: 0; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
::selection { background: rgba(99,102,241,.3); }

/* ── Layout ─────────────────────────────────────────────────────────────────── */
.container { max-width: 1152px; margin: 0 auto; padding: 0 24px; }

/* ── Typography helpers ─────────────────────────────────────────────────────── */
.gradient-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ── Buttons ────────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  font-family: inherit;
  transition: all .2s;
  cursor: pointer;
  border: 0;
  white-space: nowrap;
}
.btn-primary {
  background: var(--indigo-2);
  color: #fff;
  box-shadow: 0 20px 60px -20px rgba(99,102,241,.55);
  will-change: transform;
}
.btn-primary:hover { background: var(--indigo); transform: translateY(-2px); box-shadow: 0 24px 64px -16px rgba(99,102,241,.65); }
.btn-ghost {
  background: rgba(255,255,255,.05);
  color: #fff;
  border: 1px solid var(--border);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: rgba(255,255,255,.1); border-color: var(--border-2); }
.btn-white { background: #fff; color: #000; }
.btn-white:hover { background: #e2e8f0; transform: translateY(-1px); }

/* ── Badge / Pill ───────────────────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid rgba(99,102,241,.25);
  background: rgba(99,102,241,.06);
  color: #a5b4fc;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.badge .pulse {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--emerald);
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.35} }

/* ── Nav ────────────────────────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
  background: rgba(3,7,18,.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: .04em;
}
.brand-logo {
  height: 38px;
  width: auto;
  display: block;
  flex-shrink: 0;
  /* SVG contains drop shadow — give it breathing room */
  overflow: visible;
}
.nav-links {
  display: none;
  gap: 28px;
  font-size: 14px;
  color: var(--muted);
}
.nav-links a {
  transition: color .2s;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: color .2s, border-color .2s;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] { color: #fff; border-bottom-color: rgba(255,255,255,.25); }
.nav-right { display: flex; align-items: center; gap: 12px; }
.nav-cta {
  padding: 9px 20px;
  border-radius: 999px;
  background: #fff;
  color: #000;
  font-size: 13px;
  font-weight: 700;
  transition: transform .2s, box-shadow .2s;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 8px 24px -8px rgba(255,255,255,.2); }
@media(min-width:900px) { .nav-links { display: flex; } }

/* ── Footer ─────────────────────────────────────────────────────────────────── */
.footer { border-top: 1px solid var(--border); padding: 72px 0 0; }
.footer-grid {
  display: grid;
  gap: 48px;
  grid-template-columns: 1fr;
}
@media(min-width:900px) { .footer-grid { grid-template-columns: 1.2fr 2fr; } }
.footer .cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.footer h3 {
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin: 0 0 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; font-size: 14px; color: var(--muted); }
.footer ul a { transition: color .2s; }
.footer ul a:hover { color: #a5b4fc; }
.footer-desc { margin-top: 20px; color: var(--muted); font-size: 14px; max-width: 260px; line-height: 1.7; }
.footer-bottom {
  margin-top: 56px;
  padding: 24px 0;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  color: var(--muted);
}
.footer-bottom a:hover { color: #fff; }
.footer-bottom-links { display: flex; gap: 24px; }

/* ── Lead Popup ─────────────────────────────────────────────────────────────── */
.lead-overlay {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,.75);
  backdrop-filter: blur(10px);
  opacity: 0; transition: opacity .3s ease;
}
.lead-overlay.active { opacity: 1; }
.lead-modal {
  position: relative;
  width: 90%; max-width: 420px;
  background: linear-gradient(160deg,#0f172a 0%,#1e1b4b 100%);
  border: 1px solid rgba(99,102,241,.3);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  box-shadow: 0 40px 100px -20px rgba(99,102,241,.3), 0 0 60px -10px rgba(99,102,241,.15);
  transform: scale(.92) translateY(20px);
  transition: transform .3s ease;
}
.lead-overlay.active .lead-modal { transform: scale(1) translateY(0); }
.lead-glow {
  position: absolute; top: -1px; left: 50%; transform: translateX(-50%);
  width: 60%; height: 2px;
  background: var(--grad);
  border-radius: 999px;
  box-shadow: 0 0 20px rgba(99,102,241,.6);
}
.lead-close {
  position: absolute; top: 16px; right: 16px;
  background: none; border: none; color: var(--muted);
  font-size: 28px; cursor: pointer; line-height: 1;
  padding: 4px 8px; border-radius: 8px;
  transition: color .2s, background .2s;
}
.lead-close:hover { color: #fff; background: rgba(255,255,255,.1); }
.lead-header { text-align: center; margin-bottom: 24px; }
.lead-icon { font-size: 32px; display: block; margin-bottom: 12px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead-header h2, .lead-title { color: #fff; font-size: 24px; font-weight: 800; margin: 0; }
.lead-header p { color: var(--muted); font-size: 14px; margin-top: 8px; line-height: 1.5; }
.lead-field { margin-bottom: 12px; }
.lead-field input, .lead-field select {
  width: 100%; padding: 13px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.04);
  color: #fff; font-size: 14px; font-family: inherit;
  outline: none; transition: border-color .2s, box-shadow .2s;
}
.lead-field input::placeholder { color: #64748b; }
.lead-field select { color: #64748b; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%2364748b' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.lead-field select option { background: #1e293b; color: #fff; }
.lead-field input:focus, .lead-field select:focus { border-color: var(--indigo); box-shadow: 0 0 0 3px rgba(99,102,241,.15); }
.lead-submit {
  width: 100%; padding: 15px; border: none; border-radius: 12px;
  background: var(--grad); color: #fff; font-size: 15px; font-weight: 700;
  font-family: inherit; cursor: pointer;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 8px 30px -8px rgba(99,102,241,.5);
}
.lead-submit:hover { transform: translateY(-2px); box-shadow: 0 12px 40px -8px rgba(99,102,241,.6); }
.lead-submit span { transition: transform .2s; display: inline-block; }
.lead-submit:hover span { transform: translateX(4px); }
.lead-note { text-align: center; color: var(--muted); font-size: 11px; margin-top: 14px; }
.lead-social-proof-text { text-align: center; color: var(--muted); font-size: 12px; margin: 0 0 16px; }
.lead-error { color: #f87171; font-size: 12px; text-align: center; margin-top: 8px; }
.lead-success { text-align: center; padding: 24px 0; }
.lead-success span { font-size: 40px; display: block; margin-bottom: 12px; }
.lead-success p { color: var(--muted); font-size: 14px; line-height: 1.6; }

/* ── Scroll reveal ──────────────────────────────────────────────────────────── */
.reveal { opacity: 0; transition: opacity .65s cubic-bezier(.22,1,.36,1); }
.reveal.visible { opacity: 1; }
