/* ===== FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@300;400;500;600&family=Source+Code+Pro:wght@400;600&family=IBM+Plex+Mono:wght@400;600&display=swap');

/* ===== TOKENS ===== */
:root {
  --bg: #0d0d0d;
  --bg-subtle: #111111;
  --bg-card: #141414;
  --fg: #e8e8e8;
  --fg-muted: #888888;
  --fg-dim: #555555;
  --accent: #f59e0b;
  --accent-dim: rgba(245,158,11,0.12);
  --border: #222222;
  --border-subtle: #1a1a1a;
  --green: #4ade80;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'IBM Plex Sans', sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ===== NAV ===== */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 60px;
  border-bottom: 1px solid var(--border-subtle);
  position: sticky;
  top: 0;
  background: rgba(13,13,13,0.92);
  backdrop-filter: blur(12px);
  z-index: 100;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-mark {
  width: 32px;
  height: 32px;
  background: var(--accent);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 600;
  font-size: 16px;
  color: #000;
}

.brand-name {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 600;
  font-size: 15px;
  color: var(--fg);
  letter-spacing: -0.3px;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--fg-muted);
  text-decoration: none;
  letter-spacing: 0.2px;
  transition: color 0.15s;
}

.nav-links a:hover { color: var(--fg); }

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

.hero-label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
}

.label-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.label-text {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
}

.hero-headline {
  font-family: 'IBM Plex Sans', sans-serif;
  font-weight: 300;
  font-size: 44px;
  line-height: 1.18;
  letter-spacing: -1px;
  color: var(--fg);
  margin-bottom: 24px;
}

.hero-headline em {
  font-style: italic;
  color: var(--accent);
  font-weight: 400;
}

.hero-sub {
  font-size: 16px;
  font-weight: 300;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.stat { display: flex; flex-direction: column; gap: 4px; }

.stat-value {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 22px;
  font-weight: 600;
  color: var(--accent);
}

.stat-label {
  font-size: 11px;
  color: var(--fg-muted);
  line-height: 1.4;
  font-weight: 400;
}

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

.hero-right { display: flex; align-items: center; justify-content: center; }

.waveform-art {
  width: 100%;
  max-width: 460px;
  background: #0a0a0a;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  position: relative;
}

.waveform-svg { width: 100%; height: auto; }

/* ===== DIFFERENTIATION ===== */
.differentiation {
  padding: 80px 60px;
  background: var(--bg-subtle);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--fg-dim);
  margin-bottom: 16px;
}

.diff-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto 48px;
}

.diff-column h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 12px;
  line-height: 1.4;
}

.diff-column p {
  font-size: 14px;
  font-weight: 300;
  color: var(--fg-muted);
  line-height: 1.65;
}

.diff-highlight {
  background: var(--accent-dim);
  border: 1px solid rgba(245,158,11,0.2);
  border-radius: 8px;
  padding: 20px;
}

.diff-highlight h3 { color: var(--accent); }

.diff-code-block {
  max-width: 640px;
  margin: 0 auto;
  background: #080808;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.code-label {
  padding: 10px 20px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: var(--fg-dim);
  background: #0c0c0c;
  border-bottom: 1px solid var(--border);
}

.diff-code-block pre {
  padding: 24px 28px;
  font-family: 'Source Code Pro', monospace;
  font-size: 13px;
  line-height: 1.8;
  overflow-x: auto;
  color: #c0c0c0;
}

.code-fn { color: #79b8ff; }
.code-key { color: #f59e0b; }
.code-comment { color: #4a4a4a; font-style: italic; }
.code-val { color: #4ade80; }

/* ===== LANGUAGES ===== */
.languages {
  padding: 100px 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-headline {
  font-size: 36px;
  font-weight: 300;
  letter-spacing: -0.5px;
  color: var(--fg);
  margin-bottom: 16px;
  max-width: 560px;
}

.section-sub {
  font-size: 15px;
  font-weight: 300;
  color: var(--fg-muted);
  max-width: 560px;
  margin-bottom: 48px;
  line-height: 1.7;
}

.lang-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 24px;
}

.lang-group-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--fg-dim);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-subtle);
}

.lang-row {
  display: grid;
  grid-template-columns: 1fr 1.8fr 1fr;
  padding: 11px 0;
  border-bottom: 1px solid var(--border-subtle);
  align-items: center;
}

.lang-row:last-child { border-bottom: none; }

.lang-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--fg);
}

.lang-model {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: var(--fg-muted);
}

.lang-wer {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: var(--fg-dim);
  text-align: right;
}

.wer-low { color: var(--green); }

.lang-note {
  font-size: 12px;
  color: var(--fg-dim);
  font-style: italic;
  margin-top: 24px;
  font-weight: 300;
}

/* ===== ARCHITECTURE ===== */
.architecture {
  padding: 100px 60px;
  background: var(--bg-subtle);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.pipeline {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 960px;
  margin: 0 auto 64px;
  justify-content: center;
}

.pipeline-step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px 24px;
  flex: 1;
}

.pipeline-arrow { flex-shrink: 0; }

.step-number {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 1px;
  padding: 4px 8px;
  background: var(--accent-dim);
  border-radius: 4px;
  flex-shrink: 0;
}

.step-body h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 6px;
}

.step-body p {
  font-size: 12px;
  font-weight: 300;
  color: var(--fg-muted);
  line-height: 1.6;
}

.infra-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.infra-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 24px;
}

.infra-icon {
  margin-bottom: 16px;
  opacity: 0.7;
}

.infra-card h5 {
  font-size: 13px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 8px;
}

.infra-card p {
  font-size: 12px;
  font-weight: 300;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* ===== COMPLIANCE ===== */
.compliance {
  padding: 100px 60px;
}

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

.compliance-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

.compliance-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 28px;
}

.compliance-header { margin-bottom: 20px; }

.compliance-badge {
  display: inline-block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  border: 1px solid rgba(245,158,11,0.3);
  border-radius: 4px;
  padding: 5px 10px;
  background: var(--accent-dim);
  letter-spacing: 0.5px;
}

.compliance-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.compliance-list li {
  font-size: 13px;
  font-weight: 300;
  color: var(--fg-muted);
  padding-left: 18px;
  position: relative;
  line-height: 1.5;
}

.compliance-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 5px;
  height: 5px;
  background: var(--accent);
  border-radius: 50%;
}

.compliance-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 16px 20px;
  background: #0a0a0a;
  border: 1px solid var(--border);
  border-radius: 6px;
  max-width: 560px;
}

.compliance-note span:last-child {
  font-size: 12px;
  color: var(--fg-dim);
  font-weight: 300;
  line-height: 1.6;
}

.note-icon { flex-shrink: 0; margin-top: 1px; }

/* ===== CLOSING ===== */
.closing {
  padding: 100px 60px;
  background: var(--bg-subtle);
  border-top: 1px solid var(--border-subtle);
  text-align: center;
}

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

.closing-headline {
  font-size: 32px;
  font-weight: 300;
  line-height: 1.3;
  letter-spacing: -0.3px;
  color: var(--fg);
  margin-bottom: 20px;
}

.closing-sub {
  font-size: 15px;
  font-weight: 300;
  color: var(--fg-muted);
  margin-bottom: 48px;
  line-height: 1.7;
}

.closing-stack {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  text-align: left;
}

.stack-item {
  background: var(--bg-card);
  padding: 20px 24px;
}

.stack-label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--fg-dim);
  margin-bottom: 6px;
  font-family: 'IBM Plex Mono', monospace;
}

.stack-val {
  font-size: 13px;
  font-weight: 500;
  color: var(--fg);
}

/* ===== FOOTER ===== */
.footer {
  padding: 40px 60px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  gap: 24px;
}

.footer-brand { display: flex; align-items: center; gap: 10px; }

.footer-tagline {
  font-size: 13px;
  font-weight: 300;
  color: var(--fg-muted);
  font-style: italic;
}

.footer-meta {
  margin-left: auto;
  font-size: 11px;
  color: var(--fg-dim);
  font-weight: 300;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 48px 28px;
  }
  .hero-right { display: none; }
  .hero-headline { font-size: 32px; }
  .diff-grid { grid-template-columns: 1fr; gap: 16px; }
  .lang-grid { grid-template-columns: 1fr; }
  .infra-grid { grid-template-columns: 1fr 1fr; }
  .compliance-grid { grid-template-columns: 1fr; }
  .closing-stack { grid-template-columns: 1fr 1fr; }
  .pipeline { flex-wrap: wrap; justify-content: center; }
  .nav { padding: 16px 28px; }
  .nav-links { gap: 20px; }
  .languages, .architecture, .compliance, .closing { padding: 64px 28px; }
  .differentiation { padding: 64px 28px; }
  .footer { padding: 32px 28px; flex-wrap: wrap; }
  .footer-meta { margin-left: 0; }
}

@media (max-width: 480px) {
  .infra-grid { grid-template-columns: 1fr; }
  .closing-stack { grid-template-columns: 1fr; }
  .hero-stats { flex-wrap: wrap; gap: 20px; }
}