/* ===== LEADSTACK DESIGN SYSTEM ===== */

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --slate-950: #020617;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-600: #475569;
  --slate-400: #94a3b8;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --amber-500: #f59e0b;
  --amber-400: #fbbf24;
  --amber-200: #fde68a;
  --amber-50: #fffbeb;
  --warm-white: #fefce8;
  --green-500: #22c55e;
  --red-500: #ef4444;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Source Sans 3', system-ui, sans-serif;
  background: #ffffff;
  color: var(--slate-900);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: 'Bitter', Georgia, serif;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Bitter', serif;
  font-weight: 700;
  font-size: 18px;
  color: #ffffff;
}

.nav-tagline {
  font-size: 13px;
  color: var(--slate-400);
  font-weight: 500;
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  background: var(--slate-900);
  display: flex;
  align-items: center;
  padding: 120px 24px 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(245,158,11,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(245,158,11,0.3), transparent);
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(245,158,11,0.12);
  border: 1px solid rgba(245,158,11,0.25);
  color: var(--amber-400);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 4px;
  margin-bottom: 24px;
}

.hero-headline {
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 24px;
  line-height: 1.05;
}

.hero-accent {
  color: var(--amber-500);
  display: inline-block;
}

.hero-sub {
  font-size: 18px;
  color: var(--slate-400);
  max-width: 460px;
  line-height: 1.7;
  margin-bottom: 40px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
}

.stat {}

.stat-num {
  font-family: 'Bitter', serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--amber-500);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 13px;
  color: var(--slate-400);
  line-height: 1.4;
}

.stat-sep {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,0.1);
}

/* Lead flow panel */
.lead-flow {
  background: var(--slate-800);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 24px;
  position: relative;
}

.lead-flow::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(245,158,11,0.04) 0%, transparent 60%);
  pointer-events: none;
}

.lead-flow-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--slate-400);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.lead-flow-label::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-500);
  box-shadow: 0 0 8px var(--green-500);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.lead-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.05);
  margin-bottom: 8px;
  transition: background 0.2s;
}

.lead-item:hover { background: rgba(255,255,255,0.03); }

.lead-item--hot {
  background: rgba(245,158,11,0.08);
  border-color: rgba(245,158,11,0.2);
}

.lead-icon svg { display: block; }

.lead-name {
  font-weight: 600;
  font-size: 14px;
  color: #ffffff;
  margin-bottom: 2px;
}

.lead-meta {
  font-size: 12px;
  color: var(--slate-400);
}

.lead-badge {
  display: inline-block;
  background: var(--amber-500);
  color: var(--slate-900);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 2px 6px;
  border-radius: 3px;
}

.ai-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 10px 12px;
  background: rgba(245,158,11,0.08);
  border-radius: 8px;
  font-size: 12px;
  color: var(--slate-400);
  font-weight: 500;
}

/* ===== PAIN ===== */
.pain {
  padding: 100px 24px;
  background: #ffffff;
}

.pain-inner { max-width: 1200px; margin: 0 auto; }

.pain-headline {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 56px;
}

.pain-headline h2 { font-size: clamp(28px, 4vw, 40px); color: var(--slate-900); }

.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.pain-card {
  padding: 32px;
  background: var(--warm-white);
  border: 1px solid rgba(245,158,11,0.15);
  border-radius: 12px;
}

.pain-card-icon { margin-bottom: 16px; }

.pain-card h3 {
  font-family: 'Bitter', serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--slate-900);
  margin-bottom: 12px;
}

.pain-card p { font-size: 15px; color: var(--slate-600); line-height: 1.7; }

/* ===== HOW ===== */
.how {
  padding: 100px 24px;
  background: var(--slate-100);
}

.how-inner { max-width: 1200px; margin: 0 auto; }

.how-header { margin-bottom: 72px; text-align: center; }

.how-eyebrow {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--amber-500);
  margin-bottom: 16px;
}

.how-header h2 { font-size: clamp(28px, 4vw, 44px); color: var(--slate-900); }

.how-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.step {
  display: grid;
  grid-template-columns: 80px 1fr 280px;
  gap: 40px;
  align-items: start;
  padding: 40px 0;
  border-bottom: 1px solid var(--slate-200);
}

.step:first-child { border-top: 1px solid var(--slate-200); }

.step-num {
  font-family: 'Bitter', serif;
  font-size: 48px;
  font-weight: 800;
  color: var(--amber-200);
  line-height: 1;
  padding-top: 4px;
}

.step-body h3 { font-size: 22px; color: var(--slate-900); margin-bottom: 12px; }
.step-body p { font-size: 15px; color: var(--slate-600); line-height: 1.7; }

.step-connector { display: none; }

.step-visual { padding-top: 4px; }

/* Domain block */
.domain-block {
  background: var(--slate-900);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.domain-icon { margin-bottom: 4px; }

.domain-text {
  font-family: 'Source Sans 3', monospace;
  font-size: 14px;
  color: var(--amber-400);
  font-weight: 600;
}

.domain-sub { font-size: 12px; color: var(--slate-400); }

/* AI flow */
.ai-flow {
  background: var(--slate-900);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ai-node {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: 8px;
  background: rgba(255,255,255,0.05);
  font-size: 13px;
  color: #ffffff;
}

.ai-node--process { background: rgba(59,130,246,0.15); }
.ai-node--score { background: rgba(34,197,94,0.15); }
.ai-node--reject { background: rgba(239,68,68,0.1); }

.ai-node-label { font-weight: 600; }
.ai-node-result { font-size: 12px; color: var(--green-500); font-weight: 600; }
.ai-node-reject-label { font-size: 12px; color: var(--red-500); font-weight: 600; }
.ai-node-arrow::before { content: '→'; color: var(--slate-600); margin: 0 8px; }

/* Ownership block */
.ownership-block {
  background: var(--slate-900);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ownership-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #ffffff;
  font-weight: 500;
}

/* ===== FEATURES ===== */
.features {
  padding: 100px 24px;
  background: var(--slate-900);
}

.features-inner { max-width: 1200px; margin: 0 auto; }

.features-header { text-align: center; margin-bottom: 64px; }
.features-eyebrow { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--amber-500); margin-bottom: 16px; }
.features-header h2 { font-size: clamp(28px, 4vw, 44px); color: #ffffff; margin-bottom: 16px; }
.features-header p { font-size: 17px; color: var(--slate-400); max-width: 520px; margin: 0 auto; line-height: 1.7; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--slate-800);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 28px;
  transition: border-color 0.2s, transform 0.2s;
}

.feature-card:hover {
  border-color: rgba(245,158,11,0.3);
  transform: translateY(-2px);
}

.feature-card-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.feature-icon svg { display: block; }

.feature-card h3 {
  font-family: 'Bitter', serif;
  font-size: 17px;
  font-weight: 600;
  color: #ffffff;
}

.feature-card p { font-size: 14px; color: var(--slate-400); line-height: 1.7; }

/* ===== PRICING ===== */
.pricing {
  padding: 100px 24px;
  background: #ffffff;
}

.pricing-inner { max-width: 1200px; margin: 0 auto; }

.pricing-header { text-align: center; margin-bottom: 56px; }
.pricing-eyebrow { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--amber-500); margin-bottom: 16px; }
.pricing-header h2 { font-size: clamp(28px, 4vw, 44px); color: var(--slate-900); }

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 800px;
  margin: 0 auto;
}

.pricing-card {
  border: 1px solid var(--slate-200);
  border-radius: 16px;
  padding: 36px;
  position: relative;
}

.pricing-card--featured {
  background: var(--slate-900);
  border-color: var(--slate-900);
}

.pricing-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--amber-500);
  color: var(--slate-900);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 14px;
  border-radius: 20px;
}

.pricing-card-top h3 {
  font-family: 'Bitter', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 8px;
}

.pricing-card--featured .pricing-card-top h3 { color: #ffffff; }

.pricing-card-top p {
  font-size: 14px;
  color: var(--slate-600);
  line-height: 1.6;
  margin-bottom: 24px;
}

.pricing-card--featured .pricing-card-top p { color: var(--slate-400); }

.pricing-price {
  font-family: 'Bitter', serif;
  font-size: 48px;
  font-weight: 800;
  color: var(--slate-900);
  margin-bottom: 24px;
  line-height: 1;
}

.pricing-price span { font-size: 20px; font-weight: 400; color: var(--slate-600); }

.pricing-card--featured .pricing-price { color: #ffffff; }
.pricing-card--featured .pricing-price span { color: var(--slate-400); }

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--slate-700);
  font-weight: 500;
}

.pricing-card--featured .pricing-features li { color: var(--slate-200); }

.pricing-note {
  font-size: 12px;
  color: var(--slate-500);
  padding-top: 16px;
  border-top: 1px solid var(--slate-200);
  line-height: 1.5;
}

.pricing-card--featured .pricing-note { color: var(--slate-400); border-color: var(--slate-700); }

.pricing-math {
  max-width: 600px;
  margin: 56px auto 0;
  text-align: center;
  padding: 32px;
  background: var(--warm-white);
  border: 1px solid rgba(245,158,11,0.2);
  border-radius: 12px;
}

.pricing-math-headline {
  font-family: 'Bitter', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 12px;
}

.pricing-math p { font-size: 15px; color: var(--slate-600); line-height: 1.7; }

/* ===== MANIFESTO ===== */
.manifesto {
  padding: 100px 24px;
  background: var(--amber-50);
  border-top: 1px solid rgba(245,158,11,0.15);
}

.manifesto-inner { max-width: 760px; margin: 0 auto; }

.manifesto-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--amber-500);
  margin-bottom: 20px;
}

.manifesto h2 {
  font-size: clamp(28px, 4vw, 44px);
  color: var(--slate-900);
  margin-bottom: 32px;
}

.manifesto-body { display: flex; flex-direction: column; gap: 20px; }
.manifesto-body p { font-size: 17px; color: var(--slate-700); line-height: 1.8; }

/* ===== CLOSING ===== */
.closing {
  padding: 120px 24px;
  background: var(--slate-900);
  text-align: center;
}

.closing-inner { max-width: 760px; margin: 0 auto; }

.closing h2 {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 24px;
  line-height: 1.1;
}

.closing p {
  font-size: 18px;
  color: var(--slate-400);
  line-height: 1.8;
  max-width: 580px;
  margin: 0 auto 64px;
}

.closing-cta { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 48px; }

.closing-cta-text {
  font-family: 'Bitter', serif;
  font-size: 24px;
  font-weight: 600;
  color: var(--amber-500);
  margin-bottom: 40px;
}

.closing-companies {}

.closing-companies-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--slate-600);
  margin-bottom: 12px;
}

.closing-trades {
  font-size: 15px;
  color: var(--slate-400);
  font-weight: 500;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 16px;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--slate-950);
  padding: 64px 24px 32px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Bitter', serif;
  font-weight: 700;
  font-size: 18px;
  color: #ffffff;
  margin-bottom: 12px;
}

.footer-brand p { font-size: 14px; color: var(--slate-400); }

.footer-links { display: flex; gap: 48px; }

.footer-col { display: flex; flex-direction: column; gap: 12px; }

.footer-col-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--slate-600);
  margin-bottom: 4px;
}

.footer-col a { font-size: 14px; color: var(--slate-400); text-decoration: none; transition: color 0.2s; }
.footer-col a:hover { color: var(--amber-500); }

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-bottom p { font-size: 13px; color: var(--slate-600); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .step { grid-template-columns: 60px 1fr 240px; gap: 24px; }
}

@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-right { order: -1; }
  .hero-stats { flex-wrap: wrap; gap: 20px; }

  .pain-grid { grid-template-columns: 1fr; }

  .step { grid-template-columns: 1fr; }
  .step-num { font-size: 32px; }
  .step-visual { display: none; }

  .feature-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }

  .footer-inner { flex-direction: column; }
  .footer-links { flex-direction: column; gap: 32px; }

  .nav-tagline { display: none; }
}