:root {
  --bg: #0D0D0D;
  --bg-2: #111111;
  --bg-3: #161616;
  --fg: #EDEDED;
  --fg-dim: #777777;
  --fg-muted: #444444;
  --accent: #B4FF00;
  --accent-dim: rgba(180, 255, 0, 0.08);
  --border: #222222;
  --code-bg: #0A0A0A;
  --font-head: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

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

html { scroll-behavior: smooth; }

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

/* ---- HERO ---- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 0 clamp(24px, 5vw, 80px);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(180, 255, 0, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 0;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.eyebrow-dash {
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--accent);
}

.hero-text h1 {
  font-family: var(--font-head);
  font-size: clamp(40px, 5.5vw, 72px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 18px;
  color: var(--fg-dim);
  max-width: 440px;
  line-height: 1.7;
  margin-bottom: 32px;
}

/* ---- TERMINAL ---- */
.hero-terminal {
  background: var(--code-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(180,255,0,0.03);
}

.terminal-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: #0F0F0F;
  border-bottom: 1px solid var(--border);
}

.terminal-dots {
  display: flex;
  gap: 6px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.dot-red { background: #FF5F57; }
.dot-yellow { background: #FEBC2E; }
.dot-green { background: #28C840; }

.terminal-title {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg-dim);
  margin-left: 8px;
}

.terminal-body {
  padding: 20px 24px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.8;
  background: #070707;
}

.t-line { color: #AAAAAA; }
.t-dim { color: #555555; }
.t-green { color: #28C840; }
.t-lime { color: var(--accent); }

/* ---- MANIFESTO ---- */
.manifesto {
  padding: 120px clamp(24px, 5vw, 80px);
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
}

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

.manifesto-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--fg-muted);
  text-transform: uppercase;
  border: 1px solid var(--border);
  padding: 6px 12px;
  border-radius: 4px;
  margin-bottom: 32px;
}

.manifesto-inner h2 {
  font-family: var(--font-head);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.manifesto-inner p {
  font-size: 18px;
  color: var(--fg-dim);
  max-width: 580px;
  line-height: 1.7;
}

.manifesto-inner p + p {
  margin-top: 16px;
}

.manifesto-stats {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 56px;
  padding-top: 48px;
  border-top: 1px solid var(--border);
}

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

.m-num {
  font-family: var(--font-head);
  font-size: 40px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.m-label {
  font-size: 13px;
  color: var(--fg-dim);
  line-height: 1.4;
  max-width: 140px;
}

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

/* ---- HOW IT WORKS ---- */
.how {
  padding: 120px clamp(24px, 5vw, 80px);
  border-bottom: 1px solid var(--border);
}

.how-header {
  max-width: 1200px;
  margin: 0 auto 72px;
  text-align: center;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 16px;
}

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

.how-sub {
  font-size: 17px;
  color: var(--fg-dim);
  max-width: 520px;
  margin: 0 auto;
}

.how-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.how-step {
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-2);
  position: relative;
}

.step-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-muted);
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.step-icon {
  width: 44px;
  height: 44px;
  background: var(--accent-dim);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--accent);
}

.how-step h3 {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}

.how-step p {
  font-size: 14px;
  color: var(--fg-dim);
  line-height: 1.6;
}

/* ---- FEATURES ---- */
.features {
  padding: 120px clamp(24px, 5vw, 80px);
  border-bottom: 1px solid var(--border);
  background: var(--bg-3);
}

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

.features-inner > .section-tag {
  display: block;
  margin-bottom: 48px;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.feature-card {
  background: var(--bg-3);
  padding: 40px;
}

.feature-main {
  grid-column: 1;
}

.f-icon {
  width: 44px;
  height: 44px;
  background: var(--accent-dim);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--fg-dim);
}

.f-icon-lime { color: var(--accent); }

.feature-card h3 {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 14px;
  color: var(--fg-dim);
  line-height: 1.65;
}

.f-tag {
  display: inline-block;
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border: 1px solid rgba(180,255,0,0.2);
  border-radius: 4px;
}

/* ---- CLOSING ---- */
.closing {
  padding: 120px clamp(24px, 5vw, 80px);
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.closing-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.closing-terminal {
  background: var(--code-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.c-t-header {
  padding: 12px 16px;
  background: #0F0F0F;
  border-bottom: 1px solid var(--border);
}

.c-t-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-dim);
  letter-spacing: 0.05em;
}

.c-t-body { padding: 20px 24px; }

.c-t-row {
  display: grid;
  grid-template-columns: 8px 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

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

.c-t-status {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.c-t-green { background: #28C840; }
.c-t-dim-status { background: var(--fg-muted); }

.c-t-repo {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg);
}

.c-t-meta {
  font-size: 12px;
  color: var(--fg-dim);
}

.c-t-dim .c-t-repo,
.c-t-dim .c-t-meta { color: var(--fg-dim); }

.closing-text h2 {
  font-family: var(--font-head);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 20px;
}

.closing-text > p {
  font-size: 17px;
  color: var(--fg-dim);
  line-height: 1.7;
  margin-bottom: 32px;
}

.closing-cdp {
  font-family: var(--font-mono);
  font-size: 13px;
  padding: 20px 24px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: inline-block;
}

.cdp-line { color: var(--accent); }
.cdp-dim { color: var(--fg-dim); margin-top: 4px; }

/* ---- FOOTER ---- */
.footer {
  padding: 64px clamp(24px, 5vw, 80px) 40px;
  background: var(--bg);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}

.footer-logo {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 14px;
  color: var(--fg-dim);
  line-height: 1.6;
}

.footer-links {
  display: flex;
  gap: 64px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col-head {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--fg-muted);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.footer-col a {
  font-size: 14px;
  color: var(--fg-dim);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--fg); }

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--fg-muted);
}

.footer-divider { color: var(--border); }

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .hero-inner,
  .closing-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .how-steps { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-main { grid-column: 1; }

  .manifesto-stats { flex-direction: column; align-items: flex-start; gap: 24px; }
  .m-divider { display: none; }

  .footer-inner { flex-direction: column; gap: 40px; }
  .footer-links { gap: 40px; }
}

@media (max-width: 600px) {
  .hero { padding-top: 80px; }
  .hero-inner { padding: 48px 0; }
  .manifesto { padding: 80px 24px; }
  .how { padding: 80px 24px; }
  .features { padding: 80px 24px; }
  .closing { padding: 80px 24px; }
}

/* Install CTA */
.closing-cta { margin-top: 32px; }
.btn-install {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #2ea043;
  color: #fff;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  transition: background 0.2s;
}
.btn-install:hover { background: #3fb350; }
.cta-note { margin-top: 8px; font-size: 12px; color: #484f58; }