/* ── LeadDeck Theme ── */
:root {
  --bg-dark: #0A1628;
  --bg-card: #0F2040;
  --orange: #FF6B35;
  --orange-dim: rgba(255, 107, 53, 0.12);
  --amber: #F7C948;
  --text-primary: #FFFFFF;
  --text-secondary: #8FA3BF;
  --border: rgba(255, 255, 255, 0.08);
  --font-head: 'Manrope', sans-serif;
  --font-body: 'Source Sans 3', sans-serif;
}

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

body {
  background: var(--bg-dark);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── Grid background ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
}

/* ── Hero ── */
.hero {
  position: relative;
  z-index: 1;
  padding: 100px 48px 80px;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange-dim);
  border: 1px solid rgba(255, 107, 53, 0.25);
  color: var(--orange);
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 28px;
}

.badge-dot {
  width: 7px;
  height: 7px;
  background: var(--orange);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

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

.hero-headline {
  font-family: var(--font-head);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.hero-lede {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 480px;
  margin-bottom: 40px;
}

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

.stat { display: flex; flex-direction: column; }

.stat-value {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
}

.stat-label {
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 4px;
  max-width: 90px;
  line-height: 1.4;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* ── Funnel Widget ── */
.funnel-widget {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.funnel-step {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.funnel-step:last-child { border-bottom: none; }

.step-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: var(--orange-dim);
  color: var(--orange);
}

.funnel-step.done .step-icon { background: rgba(16, 185, 129, 0.12); color: #10B981; }
.funnel-step.active .step-icon { background: var(--orange-dim); color: var(--orange); }

.step-info { flex: 1; }
.step-name { font-family: var(--font-head); font-size: 14px; font-weight: 600; display: block; }
.step-status {
  font-size: 12px;
  color: var(--text-secondary);
  display: block;
  margin-top: 2px;
}
.step-status.pulse { color: var(--orange); animation: pulse 1.5s infinite; }

.funnel-arrow {
  width: 2px;
  height: 20px;
  background: var(--border);
  margin: 0 auto;
  position: relative;
  left: 20px;
}

/* ── Client Card ── */
.client-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  margin-top: 16px;
}

.client-avatar {
  width: 42px;
  height: 42px;
  background: var(--orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}

.client-info { flex: 1; }
.client-name { font-family: var(--font-head); font-size: 14px; font-weight: 600; display: block; }
.client-role { font-size: 12px; color: var(--text-secondary); display: block; margin-top: 2px; }

.client-metric { text-align: right; }
.metric-val { font-family: var(--font-head); font-size: 22px; font-weight: 800; color: #10B981; display: block; line-height: 1; }
.metric-label { font-size: 11px; color: var(--text-secondary); display: block; margin-top: 2px; }

/* ── Problem ── */
.problem { position: relative; z-index: 1; background: linear-gradient(180deg, var(--bg-dark) 0%, #0D1E36 100%); padding: 80px 48px; }
.problem-inner { max-width: 1200px; margin: 0 auto; }

.problem-header { margin-bottom: 56px; }
.section-label {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 16px;
}

.problem-header h2,
.how-header h2,
.pricing-header h2,
.funnel-left h2 {
  font-family: var(--font-head);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  max-width: 680px;
}

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

.problem-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
}

.problem-icon {
  width: 48px;
  height: 48px;
  background: var(--orange-dim);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  margin-bottom: 20px;
}

.problem-card h3 {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.problem-card p { font-size: 15px; color: var(--text-secondary); line-height: 1.6; }

.problem-bottom {
  margin-top: 40px;
  padding: 24px 32px;
  background: var(--orange-dim);
  border: 1px solid rgba(255, 107, 53, 0.2);
  border-radius: 12px;
  text-align: center;
}

.problem-bottom p { font-size: 17px; color: var(--text-secondary); }
.problem-bottom strong { color: var(--text-primary); }

/* ── How It Works ── */
.how-it-works { position: relative; z-index: 1; padding: 80px 48px; background: var(--bg-dark); }
.how-inner { max-width: 1200px; margin: 0 auto; }
.how-header { margin-bottom: 64px; }

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

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

.step-item:first-child { padding-top: 0; }

.step-number {
  font-family: var(--font-head);
  font-size: 48px;
  font-weight: 800;
  color: var(--orange);
  opacity: 0.25;
  line-height: 1;
}

.step-body h3 {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
}

.step-body p { font-size: 16px; color: var(--text-secondary); line-height: 1.65; max-width: 600px; }

.step-connector {
  width: 2px;
  height: 0;
  background: var(--border);
  margin-left: 39px;
}

/* ── Funnel Section ── */
.funnel-section { position: relative; z-index: 1; padding: 80px 48px; background: linear-gradient(180deg, var(--bg-dark) 0%, #0D1E36 100%); }
.funnel-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }

.funnel-left h2 { margin-bottom: 20px; }
.funnel-left p { font-size: 16px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 16px; }

.funnel-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.tag {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 13px;
  font-family: var(--font-head);
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 100px;
}

.comparison-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.comparison-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--bg-dark);
  border-bottom: 1px solid var(--border);
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.comparison-header span { padding: 14px 24px; }
.comparison-header span:last-child { text-align: right; color: var(--orange); }

.comparison-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--border);
}

.comparison-row:last-child { border-bottom: none; }

.before-val, .after-val { padding: 16px 24px; font-size: 14px; }
.before-val { color: var(--text-secondary); }
.after-val { text-align: right; color: #10B981; font-weight: 600; }

/* ── Pricing ── */
.pricing { position: relative; z-index: 1; padding: 80px 48px; background: var(--bg-dark); }
.pricing-inner { max-width: 1200px; margin: 0 auto; }
.pricing-header { margin-bottom: 56px; }
.pricing-header p { font-size: 18px; color: var(--text-secondary); margin-top: 12px; }

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

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px;
  position: relative;
  display: flex;
  flex-direction: column;
}

.pricing-card.featured {
  border-color: var(--orange);
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.06) 0%, var(--bg-card) 100%);
}

.card-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--orange);
  color: white;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 100px;
  white-space: nowrap;
}

.card-tier {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.card-price {
  font-family: var(--font-head);
  font-size: 44px;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 8px;
}

.card-price .per-mo, .card-price .per-lead {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-secondary);
}

.card-desc { font-size: 15px; color: var(--text-secondary); margin-bottom: 28px; line-height: 1.5; }

.card-features { list-style: none; margin-bottom: 28px; flex: 1; }
.card-features li {
  font-size: 14px;
  color: var(--text-secondary);
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
}

.card-features li::before {
  content: '✓';
  color: var(--orange);
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}

.card-tag {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: center;
  padding: 10px;
  background: rgba(255,255,255,0.04);
  border-radius: 8px;
}

.card-tag.highlight { background: var(--orange-dim); color: var(--orange); }

.pricing-setup {
  margin-top: 40px;
  text-align: center;
  font-size: 15px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.pricing-setup strong { color: var(--text-primary); }
.sep { color: var(--text-secondary); opacity: 0.4; }

/* ── Closing ── */
.closing { position: relative; z-index: 1; padding: 80px 48px; background: var(--bg-dark); }
.closing-inner { max-width: 1200px; margin: 0 auto; position: relative; }

.closing-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(255, 107, 53, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.closing-content {
  position: relative;
  text-align: center;
  padding: 60px 0;
}

.closing-content h2 {
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.closing-content p {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.65;
}

/* ── Footer ── */
footer {
  position: relative;
  z-index: 1;
  padding: 40px 48px;
  border-top: 1px solid var(--border);
  background: var(--bg-dark);
}

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

.footer-logo {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 800;
  color: var(--text-primary);
  display: block;
}

.footer-tagline {
  font-size: 14px;
  color: var(--text-secondary);
  display: block;
  margin-top: 2px;
}

.footer-meta {
  font-size: 13px;
  color: var(--text-secondary);
  opacity: 0.5;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .hero { padding: 60px 24px 60px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { order: -1; }
  .problem-grid { grid-template-columns: 1fr; }
  .funnel-inner { grid-template-columns: 1fr; gap: 48px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .steps-track .step-connector { display: none; }
  .step-item { grid-template-columns: 48px 1fr; gap: 16px; }
  .step-number { font-size: 32px; }
  .footer-inner { flex-direction: column; gap: 16px; text-align: center; }
  .how-it-works, .problem, .funnel-section, .pricing, .closing { padding: 60px 24px; }
}

@media (max-width: 480px) {
  .hero-stats { flex-direction: column; align-items: flex-start; gap: 16px; }
  .stat-divider { display: none; }
  .pricing-grid { gap: 32px; }
}