:root {
  --bg: #0D1117;
  --bg-card: #161B22;
  --bg-card-hover: #1C2128;
  --border: rgba(255,255,255,0.07);
  --fg: #E6EDF3;
  --fg-muted: #8B949E;
  --accent: #F59E0B;
  --accent-dim: rgba(245,158,11,0.12);
  --accent-glow: rgba(245,158,11,0.2);
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

*, *::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);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── NAV ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0 2rem;
  border-bottom: 1px solid var(--border);
  background: rgba(13,17,23,0.85);
  backdrop-filter: blur(12px);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--fg);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.nav-links {
  display: flex;
  gap: 2rem;
}
.nav-links a {
  font-size: 0.875rem;
  color: var(--fg-muted);
  text-decoration: none;
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--fg); }

/* ── HERO ── */
.hero {
  position: relative;
  padding: 5rem 2rem 4rem;
  overflow: hidden;
}
.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.hero-glow {
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.eyebrow-dot {
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 1.5rem;
  max-width: 700px;
}
.hero-sub {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--fg-muted);
  max-width: 540px;
  margin-bottom: 3rem;
  font-weight: 300;
}
.hero-stats-row {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}
.hero-stat { display: flex; flex-direction: column; gap: 0.25rem; }
.stat-value {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.04em;
  line-height: 1;
}
.stat-label {
  font-size: 0.8rem;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-family: var(--font-display);
  font-weight: 600;
}
.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* ── STATS BAND ── */
.stats-band {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 2rem;
  background: rgba(255,255,255,0.015);
}
.stats-band-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}
.stats-band-item {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  padding: 0 3rem;
}
.stats-band-number {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.02em;
}
.stats-band-text {
  font-size: 0.875rem;
  color: var(--fg-muted);
}
.stats-band-sep {
  width: 1px;
  height: 28px;
  background: var(--border);
}

/* ── FEATURES ── */
.features {
  padding: 5rem 2rem;
}
.features-inner { max-width: 1100px; margin: 0 auto; }
.section-header {
  margin-bottom: 3rem;
}
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-family: var(--font-display);
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.75rem;
  transition: border-color 0.2s, background 0.2s;
}
.feature-card:hover {
  border-color: rgba(245,158,11,0.25);
  background: var(--bg-card-hover);
}
.feature-icon {
  width: 44px;
  height: 44px;
  background: var(--accent-dim);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
}
.feature-card p {
  font-size: 0.875rem;
  color: var(--fg-muted);
  line-height: 1.65;
  font-weight: 300;
}

/* ── HOW ── */
.how {
  padding: 5rem 2rem;
  border-top: 1px solid var(--border);
}
.how-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.how-left .section-label { display: block; }
.how-left h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}
.how-body {
  font-size: 1rem;
  color: var(--fg-muted);
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: 1.75rem;
}
.how-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.how-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--fg-muted);
}
.check-mark {
  width: 20px;
  height: 20px;
  background: var(--accent-dim);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Pipeline Viz */
.pipeline-viz {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.pv-stage {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1rem 1.25rem;
  position: relative;
}
.pv-stage-active {
  border-color: rgba(245,158,11,0.3);
  background: rgba(245,158,11,0.04);
}
.pv-stage-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-muted);
  font-family: var(--font-display);
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.pv-deals { display: flex; flex-direction: column; gap: 0.6rem; }
.pv-deal {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8rem;
}
.deal-name { flex: 1; color: var(--fg); font-weight: 500; }
.deal-val { color: var(--accent); font-family: var(--font-display); font-weight: 700; font-size: 0.85rem; }
.deal-bar {
  width: 60px;
  height: 4px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
}
.ai-bar { background: var(--accent-dim); }
.pv-arrow {
  display: flex;
  justify-content: center;
  padding: 0.25rem 0;
  color: var(--fg-muted);
}
.ai-badge {
  position: absolute;
  top: 0.75rem;
  right: 1rem;
  font-size: 0.65rem;
  background: var(--accent-dim);
  color: var(--accent);
  border: 1px solid rgba(245,158,11,0.2);
  border-radius: 20px;
  padding: 0.15rem 0.6rem;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ── CLOSING ── */
.closing {
  padding: 6rem 2rem;
  border-top: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.closing-inner {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4rem;
  align-items: center;
}
.closing-glow {
  position: absolute;
  bottom: -100px;
  right: 0;
  width: 500px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(245,158,11,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.closing-content h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1.25rem;
}
.closing-content p {
  font-size: 1.0625rem;
  color: var(--fg-muted);
  line-height: 1.7;
  font-weight: 300;
  max-width: 520px;
}
.closing-stat {
  text-align: center;
}
.closing-stat-val {
  display: block;
  font-family: var(--font-display);
  font-size: 4.5rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.05em;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.closing-stat-label {
  font-size: 0.8rem;
  color: var(--fg-muted);
  line-height: 1.5;
  max-width: 160px;
}

/* ── FOOTER ── */
.footer {
  border-top: 1px solid var(--border);
  padding: 2rem;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--fg);
}
.footer-tagline {
  font-size: 0.8rem;
  color: var(--fg-muted);
}

/* ── HERO FORM ── */
.hero-form-wrap {
  margin-bottom: 2.5rem;
}
.signup-form { width: 100%; max-width: 480px; }
.signup-fields {
  display: flex;
  gap: 0.75rem;
  align-items: stretch;
}
.signup-input {
  flex: 1;
  padding: 0.8rem 1.1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.signup-input::placeholder { color: var(--fg-muted); }
.signup-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}
.signup-btn {
  padding: 0.8rem 1.5rem;
  background: var(--accent);
  color: #0D1117;
  border: none;
  border-radius: 8px;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.15s, transform 0.1s;
}
.signup-btn:hover:not(:disabled) { opacity: 0.88; }
.signup-btn:active:not(:disabled) { transform: scale(0.97); }
.signup-btn:disabled { opacity: 0.45; cursor: not-allowed; }
.btn-loading { display: none; }
.signup-btn[hidden] .btn-text { display: none; }
.signup-btn[hidden] .btn-loading { display: inline; }
.signup-fine {
  margin-top: 0.85rem;
  font-size: 0.78rem;
  color: var(--fg-muted);
  letter-spacing: 0.01em;
}
.signup-message {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  font-family: var(--font-display);
  font-weight: 600;
  padding: 0.6rem 1rem;
  border-radius: 7px;
}
.signup-success {
  color: #10b981;
  background: rgba(16,185,129,0.08);
  border: 1px solid rgba(16,185,129,0.2);
}
.signup-error {
  color: #ef4444;
  background: rgba(239,68,68,0.08);
  border: 1px solid rgba(239,68,68,0.2);
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .hero { padding: 3rem 1.5rem 2.5rem; }
  .hero-stats-row { gap: 1.5rem; flex-wrap: wrap; }
  .stat-value { font-size: 2rem; }
  .stats-band-inner { flex-direction: column; gap: 1rem; }
  .stats-band-item { padding: 0; }
  .stats-band-sep { display: none; }
  .features { padding: 3rem 1.5rem; }
  .features-grid { grid-template-columns: 1fr; }
  .how-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .closing-inner { grid-template-columns: 1fr; }
  .closing-stat { display: none; }
  .footer-inner { flex-direction: column; gap: 0.5rem; text-align: center; }
  .nav-links { display: none; }
}
@media (max-width: 480px) {
  .hero-headline { font-size: 2.5rem; }
}