:root {
  --bg: #0A0A0F;
  --bg-body: #F8F7F4;
  --fg: #FAFAFA;
  --fg-dark: #111111;
  --accent: #10B981;
  --accent-dim: rgba(16, 185, 129, 0.12);
  --muted: #6B7280;
  --border: rgba(255,255,255,0.08);
  --terminal-bg: #111114;
  --font-display: 'Syne', sans-serif;
  --font-body: 'Figtree', sans-serif;
}

* { 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;
}

/* NAV */
.nav {
  padding: 20px 40px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(10,10,15,0.9);
  backdrop-filter: blur(12px);
  z-index: 10;
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.5px;
}
.nav-tagline {
  font-size: 13px;
  color: var(--muted);
}

/* HERO */
.hero {
  padding: 80px 40px 60px;
  max-width: 1200px;
  margin: 0 auto;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.hero-badge {
  display: inline-block;
  background: var(--accent-dim);
  border: 1px solid rgba(16,185,129,0.25);
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  color: var(--fg);
  margin-bottom: 20px;
}
.hero-sub {
  font-size: 17px;
  color: rgba(255,255,255,0.65);
  line-height: 1.65;
  max-width: 440px;
  margin-bottom: 36px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-cta-label {
  font-size: 13px;
  color: var(--muted);
}
.hero-code-block {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--terminal-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 16px;
  font-size: 14px;
}
.hero-code-block code {
  color: var(--accent);
  font-family: 'Courier New', monospace;
  font-size: 13px;
}
.code-copy {
  font-size: 11px;
  color: var(--muted);
  cursor: pointer;
}

/* TERMINAL */
.terminal-window {
  background: var(--terminal-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.5);
}
.terminal-bar {
  background: #1A1A1F;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid var(--border);
}
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot-red { background: #FF5F57; }
.dot-yellow { background: #FFBD2E; }
.dot-green { background: #28CA41; }
.terminal-title {
  font-size: 12px;
  color: var(--muted);
  margin-left: 8px;
  font-family: monospace;
}
.terminal-body {
  padding: 20px;
  font-family: 'Courier New', monospace;
  font-size: 12px;
  line-height: 2;
}
.terminal-line { display: flex; align-items: flex-start; gap: 8px; }
.t-gray { color: #6B7280; }
.t-mint { color: var(--accent); }
.pr-item {
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding: 2px 0;
  padding-left: 16px;
}
.pr-name { color: #9CA3AF; }
.pr-status { font-size: 11px; font-weight: 600; }
.cursor-blink {
  color: var(--accent);
  animation: blink 1s step-end infinite;
}
@keyframes blink { 0%,100% { opacity: 1 } 50% { opacity: 0 } }

.hero-stats-row {
  display: flex;
  gap: 32px;
  margin-top: 24px;
  padding: 0 4px;
}
.hero-stat { display: flex; flex-direction: column; gap: 2px; }
.stat-num {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.5px;
}
.stat-label { font-size: 12px; color: var(--muted); }

/* STATS SECTION */
.stats {
  background: var(--bg-body);
  padding: 60px 40px;
}
.stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}
.stat-block {
  flex: 1;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.big-num {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 800;
  color: var(--fg-dark);
  letter-spacing: -2px;
}
.big-label {
  font-size: 15px;
  color: #555;
  font-weight: 500;
  line-height: 1.5;
}
.stat-src {
  font-size: 11px;
  color: #999;
  font-style: italic;
}
.stat-divider {
  width: 1px;
  height: 80px;
  background: #E0E0E0;
  flex-shrink: 0;
}

/* FEATURES */
.features {
  background: var(--bg-body);
  padding: 60px 40px 80px;
}
.features-header {
  max-width: 1200px;
  margin: 0 auto 48px;
}
.section-label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 700;
  color: var(--fg-dark);
  letter-spacing: -1px;
  line-height: 1.2;
  max-width: 600px;
}
.features-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.feat-card {
  background: white;
  border: 1px solid #E8E8E8;
  border-radius: 12px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.feat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}
.feat-icon-wrap {
  width: 44px;
  height: 44px;
  background: var(--accent-dim);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.feat-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--fg-dark);
  letter-spacing: -0.3px;
}
.feat-desc {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

/* HOW IT WORKS */
.how {
  background: var(--bg);
  padding: 80px 40px;
}
.how-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.how .section-label,
.how .section-title {
  color: var(--fg);
}
.how .section-label { color: var(--accent); }
.how .section-title { color: var(--fg); }
.how-steps {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  margin-top: 48px;
  flex-wrap: wrap;
}
.step {
  flex: 1;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.step-num {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.3;
  letter-spacing: -2px;
  line-height: 1;
}
.step-content h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 8px;
}
.step-content p {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  line-height: 1.65;
}
.step-arrow {
  display: flex;
  align-items: center;
  padding-top: 28px;
  flex-shrink: 0;
}

/* MANIFESTO */
.manifesto {
  background: var(--bg-body);
  padding: 80px 40px;
}
.manifesto-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.quote-text {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 700;
  color: var(--fg-dark);
  letter-spacing: -0.5px;
  line-height: 1.3;
  margin-bottom: 16px;
}
.quote-sub {
  font-size: 16px;
  color: #555;
  line-height: 1.6;
}
.manifesto-diagram { display: flex; flex-direction: column; gap: 12px; }
.diagram-label {
  font-size: 12px;
  font-weight: 600;
  color: #888;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.diagram-bar {
  display: flex;
  height: 20px;
  border-radius: 4px;
  overflow: hidden;
  gap: 2px;
}
.bar-seg { height: 100%; border-radius: 3px; }
.bar-coding { background: #E0E7FF; }
.bar-glue { background: #FECACA; }
.bar-glue-green { background: #D1FAE5; }
.bar-legend {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
}
.legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #666;
}
.legend-dot { width: 10px; height: 10px; border-radius: 2px; }
.legend-dot.coding { background: #E0E7FF; }
.legend-dot.glue { background: #FECACA; }
.legend-dot.glue-green { background: #D1FAE5; }

/* CLOSING */
.closing {
  background: var(--bg);
  padding: 100px 40px;
  text-align: center;
}
.closing-inner { max-width: 640px; margin: 0 auto; }
.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  color: var(--fg);
  letter-spacing: -1.5px;
  margin-bottom: 20px;
}
.closing-sub {
  font-size: 17px;
  color: rgba(255,255,255,0.6);
  line-height: 1.65;
  margin-bottom: 40px;
}
.closing-install {
  display: inline-block;
  background: var(--terminal-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 28px;
  margin-bottom: 16px;
}
.install-cmd {
  font-family: 'Courier New', monospace;
  font-size: 18px;
  color: var(--accent);
}
.closing-note {
  font-size: 13px;
  color: var(--muted);
}

/* FOOTER */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 40px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--fg);
}
.footer-tagline {
  font-size: 14px;
  color: var(--muted);
}
.footer-copy {
  font-size: 12px;
  color: rgba(255,255,255,0.2);
  margin-left: auto;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .manifesto-inner { grid-template-columns: 1fr; gap: 40px; }
  .stat-divider { display: none; }
  .how-steps { flex-direction: column; }
  .step-arrow { transform: rotate(90deg); }
  .hero-stats-row { flex-direction: row; }
}
@media (max-width: 600px) {
  .nav { padding: 16px 20px; }
  .hero { padding: 48px 20px 40px; }
  .stats { padding: 48px 20px; }
  .features { padding: 48px 20px 64px; }
  .features-grid { grid-template-columns: 1fr; }
  .how { padding: 60px 20px; }
  .manifesto { padding: 60px 20px; }
  .closing { padding: 60px 20px; }
  .footer { padding: 32px 20px; }
  .hero-stats-row { gap: 24px; }
}