:root {
  --bg: #0d0d0d;
  --bg-surface: #141414;
  --bg-elevated: #1c1c1c;
  --fg: #e8e8e8;
  --fg-muted: #888;
  --accent: #39ff14;
  --accent-dim: rgba(57,255,20,0.12);
  --border: rgba(255,255,255,0.08);
  --font-head: 'Syne', sans-serif;
  --font-mono: 'DM 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-head);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* NAV */
.nav {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.02em;
}
.nav-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--fg-muted);
}
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* HERO */
.hero {
  padding: 5rem 0 4rem;
}
.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent);
  margin-bottom: 1.25rem;
  letter-spacing: 0.02em;
}
.hero-headline {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}
.hero-sub {
  font-size: 1.05rem;
  color: var(--fg-muted);
  max-width: 42ch;
  line-height: 1.7;
}

/* TERMINAL */
.hero-terminal-wrap {
  display: flex;
  justify-content: flex-end;
}
.hero-terminal {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  width: 100%;
  max-width: 400px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(57,255,20,0.06);
}
.term-bar {
  background: var(--bg-elevated);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid var(--border);
}
.term-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.term-dot.red { background: #ff5f57; }
.term-dot.yellow { background: #febc2e; }
.term-dot.green { background: #28c840; }
.term-title {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--fg-muted);
  margin-left: 0.5rem;
}
.term-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.term-line {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--fg-muted);
  display: flex;
  gap: 0.75rem;
  align-items: baseline;
}
.term-time {
  color: #444;
  flex-shrink: 0;
  width: 3rem;
}
.term-ok {
  color: var(--accent);
}
.muted { color: #444; font-style: italic; }

/* TERMINAL SECTION */
.terminal-section {
  padding: 5rem 0;
  border-top: 1px solid var(--border);
}
.terminal-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.section-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent);
  margin-bottom: 1rem;
}
.section-heading {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}
.section-body {
  color: var(--fg-muted);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 42ch;
}
.terminal-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
}
.tc-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--accent);
  margin-bottom: 1.25rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.tc-line {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--fg-muted);
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border);
}
.tc-line:last-child { border-bottom: none; }
.tc-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  margin-top: 0.35rem;
}

/* FEATURES */
.features {
  padding: 5rem 0;
  border-top: 1px solid var(--border);
}
.features .section-label {
  max-width: 1100px;
  margin: 0 auto 2.5rem;
  padding: 0 2rem;
}
.feature-grid {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.feature-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  transition: border-color 0.2s;
}
.feature-card:hover { border-color: rgba(57,255,20,0.25); }
.feature-icon {
  width: 44px;
  height: 44px;
  background: var(--accent-dim);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 1.25rem;
}
.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}
.feature-card p {
  color: var(--fg-muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

/* MANIFESTO */
.manifesto {
  padding: 6rem 0;
  border-top: 1px solid var(--border);
}
.manifesto-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.manifesto-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1px solid var(--accent-dim);
  background: var(--accent-dim);
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  width: fit-content;
}
.manifesto-statement {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  max-width: 22ch;
}
.manifesto-body {
  color: var(--fg-muted);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 48ch;
}
.manifesto-divider {
  width: 60px;
  height: 1px;
  background: var(--border);
  margin: 0.5rem 0;
}

/* CLOSING */
.closing {
  padding: 6rem 0 8rem;
  border-top: 1px solid var(--border);
}
.closing-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}
.closing-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent);
  margin-bottom: 1.5rem;
}
.closing-headline {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  max-width: 24ch;
  margin-bottom: 1.25rem;
}
.closing-sub {
  color: var(--fg-muted);
  font-size: 1rem;
  max-width: 48ch;
  line-height: 1.7;
}

/* FOOTER */
.footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 0;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-logo {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 0.35rem;
  display: block;
}
.footer-tagline {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--fg-muted);
}
.footer-meta {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #444;
}

/* MOBILE */
@media (max-width: 768px) {
  .hero-inner, .terminal-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .hero-terminal-wrap { justify-content: flex-start; }
  .feature-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; gap: 1rem; align-items: flex-start; }
  .manifesto-statement, .closing-headline { max-width: 100%; }
  .section-body { max-width: 100%; }
  .review-card-grid { grid-template-columns: 1fr; }
}

/* DEMO REVIEWS */
.demo-reviews {
  padding: 5rem 0;
  border-top: 1px solid var(--border);
}
.demo-reviews-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}
.demo-headline {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
  margin-top: 1rem;
}
.demo-sub {
  font-size: 1rem;
  color: var(--fg-muted);
  max-width: 52ch;
  margin-bottom: 2.5rem;
}
.review-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}
.review-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.review-card:hover {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), 0 8px 24px rgba(57,255,20,0.06);
}
.review-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.review-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  background: rgba(248,81,73,0.12);
  color: #f85149;
}
.review-badge.high { background: rgba(248,81,73,0.12); color: #f85149; }
.review-badge.medium { background: rgba(255,193,7,0.12); color: #e3b341; }
.review-repo {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--fg-muted);
}
.review-card-title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
}
.review-card-body {
  font-size: 0.875rem;
  color: var(--fg-muted);
  line-height: 1.6;
  flex: 1;
}
.review-card-body code {
  font-family: var(--font-mono);
  font-size: 0.8em;
  background: var(--bg-elevated);
  padding: 0.1em 0.3em;
  border-radius: 3px;
  color: var(--accent);
}
.review-card-footer {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.review-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  background: var(--bg-elevated);
  color: var(--fg-muted);
  border: 1px solid var(--border);
}
.review-cta {
  margin-left: auto;
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 600;
}
.demo-disclaimer {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--fg-muted);
}
.demo-disclaimer a {
  color: var(--accent);
  text-decoration: none;
}
.demo-disclaimer a:hover { text-decoration: underline; }