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

:root {
  --bg: #12141C;
  --bg-2: #181B26;
  --surface: #1E2130;
  --surface-2: #252A3A;
  --fg: #EDE8DF;
  --fg-2: #A09A90;
  --fg-3: #625C54;
  --accent: #F0A35C;
  --accent-dim: rgba(240, 163, 92, 0.12);
  --line: rgba(237, 232, 223, 0.08);
  --good: #6BBF94;
  --bad: #D4695A;
  --radius: 6px;
  --section-pad: clamp(64px, 10vw, 120px);
}

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--accent); color: var(--bg); }

/* ─── Typography ───────────────────────────────────────────── */
h1, h2, h3 { font-family: 'Playfair Display', Georgia, serif; font-weight: 600; line-height: 1.15; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }
p { font-size: 1.0625rem; color: var(--fg-2); }
em { font-style: italic; color: var(--accent); }

.section-tag {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

/* ─── Nav ──────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 40px;
  background: rgba(18, 20, 28, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; }
.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.01em;
}

/* ─── Hero ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: clamp(100px, 15vw, 160px) clamp(24px, 6vw, 80px);
  overflow: hidden;
}

.hero-bg-art {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.bg-circle {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--line);
}
.bg-circle-1 {
  width: 600px; height: 600px;
  top: -200px; right: -150px;
  background: radial-gradient(circle at center, rgba(240,163,92,0.04) 0%, transparent 70%);
}
.bg-circle-2 {
  width: 300px; height: 300px;
  bottom: 10%; left: 5%;
  background: radial-gradient(circle at center, rgba(240,163,92,0.06) 0%, transparent 70%);
}

.bg-line {
  position: absolute;
  background: var(--line);
}
.bg-line-1 { width: 1px; height: 300px; top: 20%; left: 60%; }
.bg-line-2 { width: 200px; height: 1px; top: 40%; left: 30%; }

.hero-content { position: relative; max-width: 760px; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--fg-2);
  letter-spacing: 0.05em;
  margin-bottom: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 8px 14px;
  border-radius: 100px;
}

.eyebrow-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--good);
  box-shadow: 0 0 0 3px rgba(107, 191, 148, 0.2);
  animation: pulse 2.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(107, 191, 148, 0.2); }
  50% { box-shadow: 0 0 0 6px rgba(107, 191, 148, 0.05); }
}

.hero-headline { margin-bottom: 28px; }
.hero-lede { max-width: 580px; margin-bottom: 48px; font-size: 1.125rem; line-height: 1.7; }

.hero-proof {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 28px;
  width: fit-content;
}

.proof-stat { text-align: center; padding: 0 28px; }
.proof-stat:first-child { padding-left: 0; }
.proof-num {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 4px;
}
.proof-label { font-size: 0.75rem; color: var(--fg-3); font-weight: 500; line-height: 1.3; }

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

/* ─── Problem ─────────────────────────────────────────────── */
.problem {
  padding: var(--section-pad) clamp(24px, 6vw, 80px);
  background: var(--bg-2);
  border-top: 1px solid var(--line);
}

.problem-inner { max-width: 1100px; margin: 0 auto; }
.problem-header { margin-bottom: 60px; }
.problem-headline { max-width: 520px; }

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

.problem-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
}

.problem-card--bad .card-icon { color: var(--bad); }

.card-icon {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: var(--surface-2);
  border-radius: 8px;
  margin-bottom: 20px;
}

.problem-card h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--fg);
}
.problem-card p { font-size: 0.9375rem; line-height: 1.65; }

/* ─── How ──────────────────────────────────────────────────── */
.how {
  padding: var(--section-pad) clamp(24px, 6vw, 80px);
  border-top: 1px solid var(--line);
}

.how-inner { max-width: 1100px; margin: 0 auto; }
.how-headline { margin-bottom: 72px; }

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

.step {
  display: grid;
  grid-template-columns: 64px 1fr 280px;
  gap: 32px;
  align-items: start;
  padding: 40px 0;
}

.step-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.5;
  line-height: 1;
  padding-top: 4px;
}

.step-content h3 { margin-bottom: 16px; }
.step-content p { max-width: 480px; }

.step-connector {
  width: 1px;
  height: 48px;
  background: var(--line);
  margin-left: 31px;
}

/* Visual card mocks */
.visual-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.vc-line {
  height: 8px;
  border-radius: 4px;
  background: var(--surface-2);
  width: 100%;
}
.vc-line--active { background: var(--fg-3); }

.vc-match-bar { display: flex; align-items: center; gap: 12px; }
.vc-match-label { font-size: 0.75rem; color: var(--fg-3); width: 130px; flex-shrink: 0; }
.vc-match-bar-track { flex: 1; height: 6px; background: var(--surface-2); border-radius: 3px; overflow: hidden; }
.vc-match-bar-fill { height: 100%; border-radius: 3px; background: var(--accent); }
.vc-match-pct { font-size: 0.75rem; font-weight: 600; color: var(--accent); width: 28px; text-align: right; }

.visual-card--doc .doc-header { margin-bottom: 12px; }
.doc-dots { display: flex; gap: 6px; }
.doc-dots span { width: 8px; height: 8px; border-radius: 50%; background: var(--surface-2); }
.doc-line { height: 7px; background: var(--surface-2); border-radius: 3px; margin-bottom: 8px; }
.doc-line--title { width: 60%; height: 10px; }
.doc-line--short { width: 40%; }
.doc-badge {
  margin-top: 8px;
  background: rgba(107, 191, 148, 0.1);
  border: 1px solid rgba(107, 191, 148, 0.2);
  border-radius: 100px;
  padding: 5px 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.doc-badge span { font-size: 0.6875rem; font-weight: 600; color: var(--good); }

/* ─── Principles ───────────────────────────────────────────── */
.principles {
  padding: var(--section-pad) clamp(24px, 6vw, 80px);
  border-top: 1px solid var(--line);
  background: var(--bg-2);
}

.principles-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.principles-body { margin-top: 24px; max-width: 440px; }

.principles-pillars { display: flex; flex-direction: column; gap: 28px; }

.pillar {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.pillar-mark {
  flex-shrink: 0;
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent-dim);
  border-radius: 6px;
}

.pillar h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 6px;
}
.pillar p { font-size: 0.875rem; }

/* ─── Closing ───────────────────────────────────────────────── */
.closing {
  padding: var(--section-pad) clamp(24px, 6vw, 80px);
  border-top: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

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

.closing-art {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.closing-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--line);
}
.closing-ring-1 { width: 400px; height: 400px; top: -200px; left: -200px; }
.closing-ring-2 { width: 600px; height: 600px; top: -300px; left: -300px; border-color: rgba(240,163,92,0.04); }
.closing-ring-3 { width: 800px; height: 800px; top: -400px; left: -400px; border-color: rgba(240,163,92,0.03); }

.closing-content { position: relative; }

.closing-headline {
  font-size: clamp(1.8rem, 4vw, 3rem);
  margin-bottom: 28px;
  line-height: 1.2;
}
.closing-sub { max-width: 520px; margin: 0 auto; font-size: 1.0625rem; line-height: 1.7; }

/* ─── Footer ────────────────────────────────────────────────── */
.footer {
  padding: 40px clamp(24px, 6vw, 80px);
  border-top: 1px solid var(--line);
  background: var(--bg-2);
}

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

.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--fg);
  display: block;
  margin-bottom: 6px;
}
.footer-tagline { font-size: 0.875rem; color: var(--fg-3); }
.footer-links span { font-size: 0.8125rem; color: var(--fg-3); }

/* ─── Responsive ───────────────────────────────────────────── */
@media (max-width: 900px) {
  .problem-grid { grid-template-columns: 1fr; }
  .step { grid-template-columns: 48px 1fr; }
  .step-visual { display: none; }
  .principles-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-proof { flex-wrap: wrap; gap: 16px; }
  .proof-divider { display: none; }
  .proof-stat { padding: 0 12px; }
  .footer-inner { flex-direction: column; gap: 16px; text-align: center; }
}

@media (max-width: 600px) {
  .nav { padding: 16px 20px; }
  .hero { padding: 80px 20px 60px; }
  .problem, .how, .principles, .closing { padding-top: 60px; padding-bottom: 60px; }
  .step { grid-template-columns: 1fr; gap: 16px; }
  .step-num { font-size: 1.5rem; }
}