/* ─── Variables ─────────────────────────────────── */
:root {
  --bg: #0D0D0D;
  --bg-alt: #111111;
  --bg-card: #161616;
  --surface: #1E1E1E;
  --fg: #FAFAF8;
  --fg-muted: #8A8A7A;
  --accent: #E8930A;
  --accent-dim: rgba(232, 147, 10, 0.12);
  --border: rgba(250, 250, 248, 0.08);
  --radius: 4px;
  --font-head: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

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

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

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

/* ─── Nav ───────────────────────────────────────── */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 48px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(13, 13, 13, 0.92);
  backdrop-filter: blur(12px);
}

.nav-brand { display: flex; align-items: baseline; gap: 2px; }
.brand-name { font-family: var(--font-head); font-weight: 800; font-size: 1.25rem; letter-spacing: 0.18em; color: var(--fg); }
.brand-mark { font-family: var(--font-head); font-size: 0.6rem; color: var(--accent); }
.nav-meta { font-size: 0.75rem; color: var(--fg-muted); letter-spacing: 0.06em; text-transform: uppercase; }

/* ─── Hero ──────────────────────────────────────── */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  padding: 100px 48px 80px;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

.hero-label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 28px;
  font-family: var(--font-head);
}

.label-bar {
  display: block;
  width: 32px;
  height: 2px;
  background: var(--accent);
}

.hero-headline {
  font-family: var(--font-head);
  font-size: clamp(2.6rem, 4vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--fg);
}

.hero-headline em { font-style: normal; color: var(--accent); }

.hero-sub {
  font-size: 1.05rem;
  color: var(--fg-muted);
  max-width: 480px;
  line-height: 1.75;
  margin-bottom: 52px;
}

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

.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-value { font-family: var(--font-head); font-size: 1.6rem; font-weight: 700; color: var(--fg); }
.stat-label { font-size: 0.75rem; color: var(--fg-muted); line-height: 1.4; }
.stat-divider { width: 1px; height: 36px; background: var(--border); }

/* ─── Funnel Diagram ─────────────────────────────── */
.funnel-diagram {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.funnel-stage {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 0;
}

.funnel-stage + .funnel-stage { border-top: 1px solid var(--border); }

.stage-icon {
  font-size: 1.5rem;
  color: var(--accent);
  flex-shrink: 0;
  width: 28px;
  text-align: center;
  padding-top: 2px;
}

.stage-text strong {
  display: block;
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--fg);
}

.stage-text small { font-size: 0.78rem; color: var(--fg-muted); }

.funnel-arrow {
  text-align: center;
  color: var(--accent);
  font-size: 1.2rem;
  padding: 4px 0;
  opacity: 0.7;
}

/* ─── Problem ─────────────────────────────────────── */
.problem {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 100px 48px;
}

.problem-inner { max-width: 900px; margin: 0 auto; }

.problem-label, .solution-label, .how-label, .pricing-label {
  font-family: var(--font-head);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 20px;
}

.problem-headline, .solution-headline, .how-headline, .pricing-headline {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 2.5vw, 2.6rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 56px;
}

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

.problem-item { display: flex; flex-direction: column; gap: 12px; }
.problem-x { font-size: 1.4rem; color: #FF4D4D; font-weight: 700; }
.problem-item p { font-size: 0.95rem; color: var(--fg-muted); line-height: 1.6; }

/* ─── Solution ────────────────────────────────────── */
.solution { padding: 100px 48px; background: var(--bg); }
.solution-inner { max-width: 1200px; margin: 0 auto; }
.solution-sub { font-size: 1rem; color: var(--fg-muted); max-width: 580px; margin-bottom: 64px; line-height: 1.75; }

.solution-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.pillar { display: flex; flex-direction: column; gap: 16px; }
.pillar-num {
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.1em;
}

.pillar h3 {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.3;
}

.pillar p { font-size: 0.9rem; color: var(--fg-muted); line-height: 1.7; }

/* ─── How ────────────────────────────────────────── */
.how { padding: 100px 48px; background: var(--bg-alt); border-top: 1px solid var(--border); }
.how-inner { max-width: 1000px; margin: 0 auto; }

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

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

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

.step-week {
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  padding-top: 4px;
}

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

.step-body p { font-size: 0.9rem; color: var(--fg-muted); line-height: 1.7; max-width: 540px; }

/* ─── Pricing ─────────────────────────────────────── */
.pricing { padding: 100px 48px; background: var(--bg); }
.pricing-inner { max-width: 1100px; margin: 0 auto; }

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

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 40px 32px;
  position: relative;
}

.pricing-card.featured {
  border-color: var(--accent);
  background: var(--accent-dim);
}

.card-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #0D0D0D;
  font-family: var(--font-head);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 14px;
  border-radius: 100px;
}

.card-tier {
  font-family: var(--font-head);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-muted);
  margin-bottom: 16px;
}

.card-price {
  font-family: var(--font-head);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--fg);
  margin-bottom: 32px;
}

.card-price span { font-size: 1rem; color: var(--fg-muted); font-weight: 400; }

.card-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card-features li {
  font-size: 0.88rem;
  color: var(--fg-muted);
  padding-left: 20px;
  position: relative;
}

.card-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 0.85rem;
}

.pricing-note {
  font-size: 0.82rem;
  color: var(--fg-muted);
  text-align: center;
  font-style: italic;
}

/* ─── Closing ─────────────────────────────────────── */
.closing {
  padding: 120px 48px 100px;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
}

.closing-inner { max-width: 800px; margin: 0 auto; text-align: center; }

.closing-quote blockquote {
  font-family: var(--font-head);
  font-size: clamp(1.4rem, 2vw, 2rem);
  font-weight: 600;
  font-style: normal;
  line-height: 1.4;
  color: var(--fg);
  margin-bottom: 56px;
  quotes: none;
}

.closing-vision p {
  font-size: 1rem;
  color: var(--fg-muted);
  line-height: 1.8;
  margin-bottom: 20px;
}

.closing-vision p:last-child {
  color: var(--accent);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 0;
}

/* ─── Footer ─────────────────────────────────────── */
.footer {
  padding: 48px;
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.footer-brand { display: flex; align-items: baseline; gap: 2px; }
.footer-tagline { font-size: 0.82rem; color: var(--fg-muted); }
.footer-copy { font-size: 0.75rem; color: rgba(138, 138, 122, 0.5); }

/* ─── Onboarding Form ─────────────────────────────── */
.onboard-wrap {
  max-width: 560px;
  margin: 0 auto;
  padding: 80px 24px;
}

.onboard-header {
  text-align: center;
  margin-bottom: 48px;
}

.onboard-header h1 {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.onboard-header p {
  color: var(--fg-muted);
  font-size: 1rem;
}

.onboard-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.onboard-form fieldset {
  border: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.onboard-form legend {
  font-family: var(--font-head);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 8px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field label {
  font-size: 0.85rem;
  color: var(--fg-muted);
}

.field input,
.field select {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px;
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 0.95rem;
  width: 100%;
}

.field input:focus,
.field select:focus {
  outline: 2px solid var(--accent);
  outline-offset: -1px;
}

.field small {
  font-size: 0.75rem;
  color: var(--fg-muted);
}

.onboard-form button {
  background: var(--accent);
  color: #0D0D0D;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  padding: 16px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  margin-top: 8px;
}

/* ─── Client Landing Page ──────────────────────────── */
.client-header {
  text-align: center;
  padding: 80px 48px 40px;
}

.client-header h1 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 12px;
}

.client-subheadline {
  color: var(--fg-muted);
  font-size: 1.1rem;
}

.client-main {
  padding: 0 24px 80px;
  display: flex;
  justify-content: center;
}

.lead-form-wrap {
  width: 100%;
  max-width: 480px;
}

.lead-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.lead-form .field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.lead-form label {
  font-size: 0.85rem;
  color: var(--fg-muted);
}

.lead-form input,
.lead-form select {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 1rem;
  width: 100%;
}

.lead-form input:focus,
.lead-form select:focus {
  outline: 2px solid var(--accent);
  outline-offset: -1px;
}

.lead-form button {
  background: var(--accent);
  color: #0D0D0D;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  padding: 16px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  width: 100%;
  margin-top: 8px;
}

.lead-success {
  text-align: center;
  padding: 48px 24px;
  color: #4ADE80;
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 700;
}

/* ─── Mobile ──────────────────────────────────────── */
@media (max-width: 768px) {
  .nav { padding: 20px 24px; }
  .hero { grid-template-columns: 1fr; gap: 48px; padding: 60px 24px 60px; }
  .hero-stats { flex-wrap: wrap; gap: 20px; }
  .problem-grid { grid-template-columns: 1fr; gap: 24px; }
  .solution-pillars { grid-template-columns: 1fr; gap: 36px; }
  .step { grid-template-columns: 1fr; gap: 8px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing, .solution, .how, .problem, .closing { padding: 72px 24px; }
  .client-header { padding: 60px 24px 32px; }
  .onboard-wrap { padding: 48px 16px; }
  .onboard-form { padding: 24px 20px; }
}

/* ─── Animations ──────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-headline, .hero-sub, .hero-stats, .funnel-diagram {
  animation: fadeUp 0.6s ease-out both;
}
.hero-headline { animation-delay: 0.1s; }
.hero-sub { animation-delay: 0.2s; }
.hero-stats { animation-delay: 0.3s; }
.funnel-diagram { animation-delay: 0.15s; }
