:root {
  --bg: #09090b;
  --bg-card: #0c0c0e;
  --bg-muted: #18181b;
  --bg-hover: #1c1c1f;
  --text: #fafafa;
  --text-secondary: #d4d4d8;
  --text-muted: #71717a;
  --border: #27272a;
  --border-hover: #3f3f46;
  --accent: #16a34a;
  --accent-hover: #15803d;
  --accent-soft: rgba(22, 163, 74, 0.1);
  --accent-glow: rgba(22, 163, 74, 0.08);
  --radius: 12px;
  --radius-sm: 8px;
  --sans: 'Inter', -apple-system, system-ui, sans-serif;
  --mono: 'Geist Mono', 'JetBrains Mono', monospace;
}

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

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── Nav ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(16px) saturate(1.4);
  background: rgba(9, 9, 11, 0.85);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
}

.nav-brand svg { flex-shrink: 0; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 400;
  padding: 0.4rem 0.85rem;
  border-radius: 6px;
  transition: all 0.15s;
}

.nav-links a:hover {
  color: var(--text);
  background: var(--bg-muted);
}

.nav-cta {
  padding: 0.45rem 1rem;
  background: var(--text);
  color: var(--bg);
  border: none;
  border-radius: 6px;
  font-family: var(--sans);
  font-size: 0.84rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s;
  text-decoration: none;
  margin-left: 0.75rem;
}

.nav-cta:hover { opacity: 0.9; }

/* ── Hero ── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 8rem 1.5rem 6rem;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 500px;
  background: radial-gradient(ellipse, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}

.hero h1 {
  font-size: clamp(2.8rem, 7vw, 4.5rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.035em;
  max-width: 1000px;
  animation: fadeUp 0.6s ease both;
}

.hero h1 .accent { color: var(--accent); }

.hero-sub {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 760px;
  margin-top: 1.5rem;
  line-height: 1.7;
  font-weight: 400;
  animation: fadeUp 0.6s ease 0.1s both;
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 2.5rem;
  animation: fadeUp 0.6s ease 0.2s both;
}

.btn-primary {
  padding: 0.65rem 1.5rem;
  background: var(--text);
  color: var(--bg);
  border: none;
  border-radius: 8px;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s;
  text-decoration: none;
}

.btn-primary:hover { opacity: 0.9; transform: translateY(-1px); }

.btn-outline {
  padding: 0.65rem 1.5rem;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.15s;
  text-decoration: none;
}

.btn-outline:hover {
  background: var(--bg-muted);
  border-color: var(--border-hover);
}

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

/* ── Section ── */
section { padding: 6rem 0; }

.bg-alt {
  background: var(--bg-card);
}

.section-label {
  font-family: var(--mono);
  font-size: 1.50em;
  color: var(--accent);
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.025em;
  max-width: 720px;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 660px;
  margin-top: 1rem;
  font-weight: 400;
}

/* ── Value Proposition ── */
.value-prop {
  padding: 6rem 0;
  text-align: center;
}

.value-prop-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.value-prop-sub {
  font-size: 1.15rem;
  color: var(--text-secondary);
  font-weight: 400;
  margin-bottom: 3.5rem;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  text-align: left;
}

.value-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all 0.2s;
}

.value-item:hover {
  border-color: var(--border-hover);
  background: var(--bg-hover);
}

.value-number {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: -0.02em;
}

.value-context {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
  margin-bottom: 1rem;
}

.value-item p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.65;
  font-weight: 400;
}

/* ── Capability Cards ── */
.cap-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 3rem;
}

.cap-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all 0.2s;
}

.cap-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-hover);
}

.cap-card.wide { grid-column: 1 / -1; }

.cap-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.cap-card-icon {
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
  flex-shrink: 0;
}

.cap-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0;
  letter-spacing: -0.01em;
}

.cap-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.65;
  font-weight: 400;
}

/* ── Before / After ── */
.ba-rows {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 3rem;
}

.ba-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.2s;
}

.ba-row:hover {
  border-color: var(--border-hover);
}

.ba-side {
  padding: 2rem;
}

.ba-today {
  background: var(--bg-card);
}

.ba-lernt {
  background: var(--accent-glow);
  border-left: 2px solid rgba(22, 163, 74, 0.25);
}

.ba-label {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

.ba-label.before { color: var(--text-muted); }
.ba-label.after { color: var(--accent); }

.ba-side h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.ba-side p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
  font-weight: 400;
}

.ba-lernt h3 {
  color: var(--text);
}

.ba-lernt p {
  color: var(--text);
  font-weight: 500;
}

/* ── Learning ── */
.learn-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1rem;
  margin-top: 3rem;
}

.learn-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all 0.2s;
}

.learn-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-hover);
}

.learn-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.learn-num {
  font-family: var(--mono);
  font-size: 1.80rem;
  color: var(--accent);
  background: var(--accent-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  border-radius: 6px;
  flex-shrink: 0;
}

.learn-card h3 {
  font-size: 1.20rem;
  font-weight: 600;
  margin-bottom: 0;
  letter-spacing: -0.01em;
}

.learn-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.65;
  font-weight: 400;
}

/* ── CTA ── */
.cta {
  text-align: center;
  padding: 7rem 0;
}

.cta h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.cta h2 .accent { color: var(--accent); }

.cta p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  font-weight: 400;
  max-width: 460px;
  margin-left: auto;
  margin-right: auto;
}

.cta-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
}

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

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.84rem;
  color: var(--text-muted);
  font-weight: 500;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.15s;
}

.footer-links a:hover { color: var(--text-secondary); }

.footer-copy {
  font-size: 0.84rem;
  color: var(--text-muted);
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .cap-grid { grid-template-columns: 1fr; }
  .cap-card.wide { grid-column: auto; }
  .value-grid { grid-template-columns: 1fr; }
  .ba-row { grid-template-columns: 1fr; }
  .ba-lernt { border-left: none; border-top: 2px solid rgba(22, 163, 74, 0.25); }
  .learn-grid { grid-template-columns: 1fr; }
  .hero { padding: 7rem 1.5rem 5rem; }
  .footer-inner { flex-direction: column; gap: 1rem; text-align: center; }
}

/* ── Scroll Reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.05s; }
.reveal-d2 { transition-delay: 0.1s; }
.reveal-d3 { transition-delay: 0.15s; }
