:root {
  --bg: #0C0C0E;
  --bg-elevated: #161619;
  --bg-card: #1C1C20;
  --fg: #E8E6E3;
  --fg-muted: #9B9A97;
  --accent: #E8A838;
  --accent-dim: #B8842C;
  --accent-glow: rgba(232, 168, 56, 0.12);
  --green: #4ADE80;
  --red: #F87171;
  --border: rgba(255,255,255,0.06);
  --radius: 12px;
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

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

html { scroll-behavior: smooth; }

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

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 40px;
}

.hero-badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  background: var(--accent-glow);
  border: 1px solid rgba(232, 168, 56, 0.2);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 28px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(42px, 5.5vw, 72px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 19px;
  color: var(--fg-muted);
  max-width: 460px;
  line-height: 1.6;
}

/* Quote Card */
.hero-visual {
  display: flex;
  justify-content: center;
}

.quote-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  width: 100%;
  max-width: 400px;
  box-shadow:
    0 0 0 1px rgba(232, 168, 56, 0.06),
    0 20px 60px rgba(0,0,0,0.4);
}

.quote-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.quote-tag {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--fg);
}

.quote-status {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--green);
  background: rgba(74, 222, 128, 0.1);
  padding: 4px 12px;
  border-radius: 100px;
}

.quote-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 10px 0;
  font-size: 15px;
  color: var(--fg-muted);
}

.quote-row span:last-child {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--fg);
}

.quote-divider {
  height: 1px;
  background: var(--border);
  margin: 12px 0;
}

.quote-total {
  font-size: 17px;
}

.quote-total span:last-child {
  font-size: 22px;
  color: var(--accent);
}

/* ===== PROBLEM ===== */
.problem {
  padding: 120px 40px;
  background: var(--bg-elevated);
}

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

.problem h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 60px;
}

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

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

.problem-number {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 20px;
}

.problem-card p {
  color: var(--fg-muted);
  font-size: 16px;
  line-height: 1.6;
}

/* ===== FEATURES ===== */
.features {
  padding: 120px 40px;
}

.features-inner {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 72px;
}

.feature-block {
  position: relative;
  padding-left: 80px;
}

.feature-label {
  position: absolute;
  left: 0;
  top: 4px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-glow);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(232, 168, 56, 0.2);
}

.feature-block h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.feature-block p {
  color: var(--fg-muted);
  font-size: 16px;
  line-height: 1.65;
}

/* ===== MATH ===== */
.math {
  padding: 120px 40px;
  background: var(--bg-elevated);
}

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

.math h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 60px;
}

.math-equation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.math-part {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 40px;
  min-width: 200px;
}

.math-value {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 8px;
}

.math-label {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.5;
}

.math-operator {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--fg-muted);
}

.math-result {
  border-color: rgba(232, 168, 56, 0.25);
  background: linear-gradient(135deg, var(--bg-card), rgba(232, 168, 56, 0.05));
}

.math-result .math-value {
  color: var(--accent);
}

/* ===== CLOSING ===== */
.closing {
  padding: 160px 40px;
  text-align: center;
}

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

.closing h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.closing-sub {
  font-size: 19px;
  color: var(--fg-muted);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ===== FOOTER ===== */
.site-footer {
  padding: 48px 40px;
  border-top: 1px solid var(--border);
}

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

.footer-brand {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--fg);
}

.footer-meta {
  font-size: 14px;
  color: var(--fg-muted);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 60px 24px;
    gap: 40px;
  }

  .hero-visual {
    order: -1;
  }

  .quote-card {
    max-width: 100%;
  }

  .problem {
    padding: 80px 24px;
  }

  .problem-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .problem h2 {
    margin-bottom: 40px;
  }

  .features {
    padding: 80px 24px;
  }

  .features-inner {
    gap: 48px;
  }

  .feature-block {
    padding-left: 0;
    padding-top: 64px;
  }

  .feature-label {
    top: 0;
    left: 0;
  }

  .math {
    padding: 80px 24px;
  }

  .math-equation {
    flex-direction: column;
    gap: 16px;
  }

  .math-operator {
    font-size: 24px;
  }

  .math-part {
    width: 100%;
    padding: 24px;
  }

  .closing {
    padding: 100px 24px;
  }

  .site-footer {
    padding: 32px 24px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}
