/* ============================
   CSS Variables & Reset
   ============================ */
:root {
  --bg: #FAFBFC;
  --bg-alt: #F2F4F7;
  --bg-dark: #0F172A;
  --fg: #0F172A;
  --fg-muted: #4A5568;
  --fg-subtle: #94A3B8;
  --accent: #BFFF00;
  --accent-dark: #9ACC00;
  --border: #E2E8F0;
  --card-bg: #FFFFFF;
  --font-display: 'Outfit', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

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

html { scroll-behavior: smooth; }

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

/* ============================
   Site Header
   ============================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 251, 252, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.wordmark {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--fg);
  letter-spacing: -0.5px;
}
.site-nav {
  display: flex;
  gap: 32px;
}
.site-nav a {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  color: var(--fg-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.site-nav a:hover { color: var(--fg); }

/* ============================
   Shared Section Pattern
   ============================ */
.section-label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 12px;
}

/* ============================
   Hero
   ============================ */
.hero {
  background: var(--bg);
  padding: 80px 24px 100px;
  overflow: hidden;
}
.hero-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--accent-dark);
  background: rgba(191, 255, 0, 0.12);
  border: 1px solid rgba(191, 255, 0, 0.3);
  border-radius: 100px;
  padding: 6px 14px;
  margin-bottom: 24px;
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(44px, 5vw, 68px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -2px;
  color: var(--fg);
  margin-bottom: 24px;
}
.hero-lede {
  font-size: 18px;
  color: var(--fg-muted);
  max-width: 420px;
  line-height: 1.65;
}

/* Loop Orbit Visual */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.loop-orbit {
  position: relative;
  width: 340px;
  height: 340px;
}
.orbit-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  border: 1.5px solid rgba(191, 255, 0, 0.15);
  transform: translate(-50%, -50%);
}
.orbit-ring-1 { width: 340px; height: 340px; }
.orbit-ring-2 { width: 240px; height: 240px; }
.orbit-ring-3 { width: 140px; height: 140px; }
.orbit-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.orbit-node {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
}
.node-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(191, 255, 0, 0.5);
}
.node-label {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  color: var(--fg-muted);
}
.node-1 { top: 12px; left: 50%; transform: translateX(-50%); }
.node-2 { top: 50%; right: 8px; transform: translateY(-50%); flex-direction: row-reverse; }
.node-3 { bottom: 12px; left: 50%; transform: translateX(-50%); flex-direction: column; }
.node-4 { top: 50%; left: 8px; transform: translateY(-50%); }

/* ============================
   Problem
   ============================ */
.problem {
  background: var(--bg-alt);
  padding: 80px 24px;
}
.problem-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1px 1fr;
  gap: 60px;
  align-items: center;
}
.problem-stat {
  text-align: center;
}
.stat-number {
  font-family: var(--font-display);
  font-size: 80px;
  font-weight: 800;
  color: var(--fg);
  line-height: 1;
  letter-spacing: -3px;
}
.stat-desc {
  font-size: 14px;
  color: var(--fg-muted);
  max-width: 160px;
  margin-top: 12px;
  line-height: 1.5;
}
.problem-divider {
  width: 1px;
  background: var(--border);
  height: 120px;
}
.problem-text h2 { margin-bottom: 16px; }
.problem-text p {
  color: var(--fg-muted);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 12px;
}
.problem-text p:last-child { margin-bottom: 0; }

/* ============================
   How It Works
   ============================ */
.how-it-works {
  background: var(--bg);
  padding: 100px 24px;
}
.hiw-inner {
  max-width: 1120px;
  margin: 0 auto;
}
.hiw-header {
  margin-bottom: 64px;
  max-width: 480px;
}
.hiw-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  letter-spacing: -1px;
  color: var(--fg);
  line-height: 1.2;
}
.hiw-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.hiw-step {
  position: relative;
}
.hiw-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 22px;
  right: -16px;
  width: 32px;
  height: 1px;
  background: var(--border);
}
.step-number {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-dark);
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}
.step-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 10px;
  line-height: 1.3;
}
.step-body p {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* ============================
   Features
   ============================ */
.features {
  background: var(--bg-alt);
  padding: 100px 24px;
}
.features-inner {
  max-width: 1120px;
  margin: 0 auto;
}
.features-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 700;
  letter-spacing: -1px;
  color: var(--fg);
  margin-bottom: 56px;
  line-height: 1.2;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}
.feature-icon {
  margin-bottom: 16px;
}
.feature-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 8px;
}
.feature-desc {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* ============================
   Outcomes
   ============================ */
.outcomes {
  background: var(--bg-dark);
  padding: 80px 24px;
}
.outcomes-inner {
  max-width: 1120px;
  margin: 0 auto;
}
.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}
.outcome {
  text-align: center;
}
.outcome-metric {
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -3px;
  line-height: 1;
}
.outcome-label {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  margin-top: 12px;
  font-weight: 400;
}

/* ============================
   Closing
   ============================ */
.closing {
  background: var(--bg);
  padding: 100px 24px;
  text-align: center;
}
.closing-inner {
  max-width: 700px;
  margin: 0 auto;
}
.closing-orb {
  margin-bottom: 40px;
  display: flex;
  justify-content: center;
}
.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -1.5px;
  color: var(--fg);
  line-height: 1.15;
  margin-bottom: 20px;
}
.closing-sub {
  font-size: 18px;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* ============================
   Footer
   ============================ */
.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 32px 24px;
}
.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.footer-wordmark {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--fg);
}
.footer-tagline {
  font-size: 13px;
  color: var(--fg-subtle);
  margin-left: 12px;
}
.footer-meta {
  font-size: 12px;
  color: var(--fg-subtle);
}

/* ============================
   Responsive
   ============================ */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; }
  .loop-orbit { width: 240px; height: 240px; }
  .orbit-ring-1 { width: 240px; height: 240px; }
  .orbit-ring-2 { width: 170px; height: 170px; }
  .orbit-ring-3 { width: 100px; height: 100px; }
  .problem-inner { grid-template-columns: 1fr; gap: 32px; }
  .problem-divider { display: none; }
  .problem-stat { text-align: left; }
  .stat-number { font-size: 60px; }
  .stat-desc { max-width: none; }
  .hiw-steps { grid-template-columns: repeat(2, 1fr); }
  .hiw-step:not(:last-child)::after { display: none; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .outcomes-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .outcome-metric { font-size: 48px; }
}

@media (max-width: 600px) {
  .hero { padding: 60px 20px 80px; }
  .hiw-steps { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .outcomes-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 8px; }
  .footer-brand { display: flex; align-items: baseline; gap: 8px; }
  .footer-tagline { margin-left: 0; }
  .site-nav { display: none; }
}