:root {
  --bg-primary: #0a0e17;
  --bg-secondary: #111827;
  --bg-card: #161d2e;
  --fg-primary: #f0f2f5;
  --fg-secondary: #8b95a8;
  --fg-muted: #5a6478;
  --accent: #3b82f6;
  --accent-glow: rgba(59, 130, 246, 0.15);
  --accent-bright: #60a5fa;
  --border: rgba(255, 255, 255, 0.06);
  --border-accent: rgba(59, 130, 246, 0.3);
  --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-primary);
  color: var(--fg-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── Hero ── */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 2rem 4rem;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(59, 130, 246, 0.12) 0%, transparent 60%),
    var(--bg-primary);
}

.hero-inner {
  max-width: 800px;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  border: 1px solid var(--border-accent);
  border-radius: 100px;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--accent-bright);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 2rem;
  background: var(--accent-glow);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  color: var(--fg-primary);
}

.hero-sub {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--fg-secondary);
  max-width: 620px;
  margin: 0 auto 3rem;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 1.5rem 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.stat { text-align: center; }

.stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-bright);
}

.stat-label {
  display: block;
  font-size: 0.75rem;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.25rem;
}

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

/* ── Problem ── */
.problem {
  padding: 6rem 2rem;
  background: var(--bg-secondary);
}

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

.problem-label,
.cap-label,
.how-label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent-bright);
  margin-bottom: 1rem;
}

.problem h2,
.capabilities h2,
.how h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 3rem;
  color: var(--fg-primary);
}

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

.problem-card {
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: border-color 0.3s;
}

.problem-card:hover {
  border-color: var(--border-accent);
}

.problem-icon {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--accent-bright);
  font-weight: 600;
}

.problem-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--fg-primary);
}

.problem-card p {
  font-size: 0.95rem;
  color: var(--fg-secondary);
  line-height: 1.6;
}

/* ── Capabilities ── */
.capabilities {
  padding: 6rem 2rem;
}

.capabilities-inner {
  max-width: 800px;
  margin: 0 auto;
}

.cap-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.cap-item {
  display: flex;
  gap: 2rem;
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
}

.cap-item:last-child {
  border-bottom: 1px solid var(--border);
}

.cap-number {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--fg-muted);
  min-width: 32px;
  padding-top: 0.15rem;
}

.cap-content h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--fg-primary);
}

.cap-content p {
  font-size: 0.95rem;
  color: var(--fg-secondary);
  line-height: 1.65;
}

/* ── How ── */
.how {
  padding: 6rem 2rem;
  background: var(--bg-secondary);
}

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

.how-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.how-step {
  flex: 1;
  text-align: center;
  padding: 0 1.5rem;
}

.step-marker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent-bright);
  margin-bottom: 1.25rem;
  background: var(--accent-glow);
}

.how-step h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--fg-primary);
}

.how-step p {
  font-size: 0.9rem;
  color: var(--fg-secondary);
  line-height: 1.6;
}

.how-connector {
  width: 60px;
  height: 2px;
  background: var(--border);
  margin-top: 24px;
  flex-shrink: 0;
}

/* ── Closing ── */
.closing {
  padding: 8rem 2rem;
  text-align: center;
  position: relative;
  background:
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(59, 130, 246, 0.08) 0%, transparent 60%),
    var(--bg-primary);
}

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

.closing-line {
  width: 48px;
  height: 2px;
  background: var(--accent);
  margin: 0 auto 3rem;
}

.closing h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  color: var(--fg-primary);
}

.closing-sub {
  font-size: 1.05rem;
  color: var(--fg-secondary);
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.closing-tagline {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent-bright);
}

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

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

.footer-brand {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--fg-primary);
}

.footer-note {
  font-size: 0.8rem;
  color: var(--fg-muted);
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .hero { min-height: auto; padding: 4rem 1.5rem 3rem; }
  .hero-stats { flex-direction: column; gap: 1rem; }
  .stat-divider { width: 40px; height: 1px; }
  .problem { padding: 4rem 1.5rem; }
  .problem-grid { grid-template-columns: 1fr; gap: 1rem; }
  .capabilities { padding: 4rem 1.5rem; }
  .cap-item { flex-direction: column; gap: 0.5rem; }
  .how { padding: 4rem 1.5rem; }
  .how-steps { flex-direction: column; gap: 2rem; align-items: center; }
  .how-connector { width: 2px; height: 30px; }
  .how-step { padding: 0; }
  .closing { padding: 5rem 1.5rem; }
}