/* === BASE === */
:root {
  --bg: #0D0F14;
  --bg-alt: #131620;
  --bg-card: #181b26;
  --fg: #F0F0F0;
  --fg-muted: #8B8FA3;
  --accent: #F59E0B;
  --accent-dim: rgba(245, 158, 11, 0.12);
  --border: rgba(255,255,255,0.07);
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --max-w: 1100px;
  --section-pad: 96px;
}

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

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

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

/* === TYPOGRAPHY === */
h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; }

/* === NAV === */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0 24px;
  background: rgba(13, 15, 20, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  height: 60px;
  display: flex;
  align-items: center;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--fg);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.02em;
}

/* === HERO === */
.hero {
  padding: 80px 24px var(--section-pad);
  max-width: var(--max-w);
  margin: 0 auto;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}
.eyebrow-dot {
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 50%;
  animation: blink 2s ease-in-out infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
.hero-headline {
  font-size: clamp(42px, 5vw, 64px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin-bottom: 24px;
  color: var(--fg);
}
.hero-headline em {
  font-style: normal;
  color: var(--accent);
}
.hero-sub {
  font-size: 17px;
  line-height: 1.7;
  color: var(--fg-muted);
  max-width: 480px;
  margin-bottom: 48px;
}
.hero-proof {
  display: flex;
  align-items: center;
  gap: 32px;
}
.proof-item { display: flex; flex-direction: column; gap: 2px; }
.proof-num {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  color: var(--fg);
  line-height: 1;
}
.proof-label {
  font-size: 12px;
  color: var(--fg-muted);
  line-height: 1.3;
}
.proof-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}
/* Neural visual */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.neural-container {
  width: 100%;
  max-width: 400px;
}
.neural-svg {
  width: 100%;
  height: auto;
}
@keyframes pulse-out {
  0% { r: 14; opacity: 0.6; }
  100% { r: 40; opacity: 0; }
}
.pulse {
  animation: pulse-out 2.5s ease-out infinite;
}
.pulse.delay-1 { animation-delay: 0.8s; }
.pulse.delay-2 { animation-delay: 1.6s; }

/* === MANIFESTO === */
.manifesto {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: var(--section-pad) 24px;
}
.manifesto-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}
.manifesto-label {
  font-size: 11px;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 32px;
}
.manifesto-quote {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 500;
  line-height: 1.4;
  color: var(--fg);
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}
.manifesto-body {
  font-size: 16px;
  line-height: 1.75;
  color: var(--fg-muted);
}

/* === FEATURES === */
.features {
  padding: var(--section-pad) 24px;
}
.features-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.section-headline {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 56px;
  color: var(--fg);
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.feature-card {
  background: var(--bg);
  padding: 40px 36px;
  transition: background 0.2s;
}
.feature-card:hover { background: var(--bg-alt); }
.feature-icon {
  width: 44px;
  height: 44px;
  background: var(--accent-dim);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.feature-card h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--fg);
  font-family: var(--font-display);
}
.feature-card p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--fg-muted);
}

/* === HOW IT WORKS === */
.how-it-works {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: var(--section-pad) 24px;
}
.how-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.steps {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-top: 56px;
}
.step {
  flex: 1;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 32px 28px;
}
.step-num {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--accent);
  margin-bottom: 16px;
}
.step h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--fg);
}
.step p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--fg-muted);
}
.step-arrow {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

/* === METRICS PANEL === */
.metrics-panel {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 40px 24px;
}
.metrics-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.metrics-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}
.metrics-live-dot {
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 50%;
  animation: blink 2s ease-in-out infinite;
}
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}
.metric-card {
  background: var(--bg-card);
  padding: 28px 24px;
  text-align: center;
}
.metric-value {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 8px;
}
.metric-label {
  font-size: 12px;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-family: var(--font-display);
  font-weight: 500;
}
.metric-label span { opacity: 0.6; }
.metrics-updated {
  font-size: 11px;
  color: var(--fg-muted);
  margin-top: 12px;
  text-align: right;
  opacity: 0.6;
}

/* === CLOSER === */
.closer {
  padding: 120px 24px var(--section-pad);
  text-align: center;
}
.closer-inner {
  max-width: 600px;
  margin: 0 auto;
}
.closer-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(245,158,11,0.25);
  border-radius: 20px;
  padding: 6px 14px;
  margin-bottom: 36px;
}
.badge-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}
.closer-headline {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--fg);
  margin-bottom: 24px;
}
.closer-sub {
  font-size: 17px;
  line-height: 1.7;
  color: var(--fg-muted);
}

/* === FOOTER === */
.footer {
  border-top: 1px solid var(--border);
  padding: 40px 24px;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  color: var(--fg);
  margin-bottom: 4px;
}
.footer-tagline {
  font-size: 13px;
  color: var(--fg-muted);
}
.footer-copy {
  font-size: 12px;
  color: rgba(139,143,163,0.5);
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { display: none; }
  .feature-grid { grid-template-columns: 1fr; }
  .steps { flex-direction: column; }
  .step-arrow { transform: rotate(90deg); }
  .hero-proof { gap: 20px; }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .metrics-grid { grid-template-columns: 1fr 1fr; }
  .metric-value { font-size: 28px; }
  .metric-card { padding: 20px 16px; }
}

@media (max-width: 600px) {
  :root { --section-pad: 64px; }
  .hero { padding-top: 56px; }
  .hero-proof { flex-wrap: wrap; gap: 16px; }
}

/* === LEAD FORM === */
.lead-form {
  margin-top: 40px;
}
.lead-form-row {
  display: flex;
  gap: 10px;
  align-items: stretch;
  max-width: 440px;
}
.lead-email-input {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 15px;
  padding: 13px 16px;
  outline: none;
  transition: border-color 0.15s;
}
.lead-email-input::placeholder { color: var(--fg-muted); opacity: 0.6; }
.lead-email-input:focus { border-color: rgba(245,158,11,0.5); }
.lead-submit-btn {
  background: var(--accent);
  color: #0D0F14;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  padding: 13px 22px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, transform 0.15s;
  box-shadow: 0 4px 16px rgba(245,158,11,0.25);
}
.lead-submit-btn:hover { background: #f7ae2e; transform: translateY(-1px); }
.lead-submit-btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.lead-form-msg {
  font-size: 13px;
  margin-top: 10px;
  min-height: 18px;
  font-family: var(--font-display);
}
.lead-form-msg.success { color: #34d399; }
.lead-form-msg.error { color: #f87171; }
.lead-form-msg.duplicate { color: var(--fg-muted); }

/* === SCROLLBAR === */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #2a2d3a; border-radius: 3px; }

/* === SELECTION === */
::selection { background: rgba(245,158,11,0.25); color: var(--fg); }

/* === CTA BUTTONS === */
.closer-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #0D0F14;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
  box-shadow: 0 4px 20px rgba(245,158,11,0.3);
}
.cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(245,158,11,0.4);
  background: #f7ae2e;
}
.cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--fg);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  padding: 13px 28px;
  border-radius: 8px;
  border: 1px solid var(--border);
  text-decoration: none;
  transition: border-color 0.15s, transform 0.15s;
}
.cta-secondary:hover {
  border-color: rgba(245,158,11,0.4);
  transform: translateY(-2px);
}
