:root {
  --bg: #080c10;
  --surface: #0d1117;
  --surface-2: #161b22;
  --border: #1c2333;
  --accent: #00ff88;
  --accent-dim: rgba(0, 255, 136, 0.15);
  --text: #e6edf3;
  --text-2: #7d8590;
  --text-3: #484f58;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  --font-sans: 'Space Grotesk', system-ui, sans-serif;
}

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

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

/* Nav */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
  background: rgba(8, 12, 16, 0.8);
  backdrop-filter: blur(12px);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.02em;
}
.nav-status {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-2);
}
.status-dot {
  width: 7px;
  height: 7px;
  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.4; }
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 80px;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.35;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 30%, transparent 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
  width: 100%;
  text-align: left;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 28px;
  padding: 6px 14px;
  border: 1px solid rgba(0, 255, 136, 0.2);
  border-radius: 20px;
  background: var(--accent-dim);
}
.tag-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 6px var(--accent);
  animation: pulse 1.5s ease-in-out infinite;
}
.hero-title {
  font-size: clamp(52px, 8vw, 96px);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.04em;
  color: var(--text);
  margin-bottom: 28px;
}
.hero-title br { display: block; }
.hero-sub {
  font-size: 18px;
  color: var(--text-2);
  max-width: 560px;
  line-height: 1.65;
  margin-bottom: 48px;
}
.hero-terminal {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  max-width: 600px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(0,255,136,0.06);
}
.terminal-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
}
.terminal-dot { width: 11px; height: 11px; border-radius: 50%; }
.terminal-dot.red { background: #ff5f57; }
.terminal-dot.yellow { background: #febc2e; }
.terminal-dot.green { background: #28c840; }
.terminal-title {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-3);
  margin-left: 8px;
}
.terminal-body {
  padding: 20px 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.terminal-line {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-2);
  display: flex;
  align-items: center;
  gap: 8px;
}
.terminal-line.highlight { color: var(--accent); }
.prompt { color: var(--text-3); flex-shrink: 0; }

/* Features */
.features {
  padding: 100px 24px;
  background: var(--surface);
  border-top: 1px solid var(--border);
}
.features-header {
  max-width: 1100px;
  margin: 0 auto 60px;
}
.features-header h2 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}
.features-header p {
  font-size: 16px;
  color: var(--text-2);
}
.features-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.feature-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
  transition: border-color 0.2s;
}
.feature-card:hover { border-color: rgba(0,255,136,0.25); }
.feature-icon {
  width: 44px;
  height: 44px;
  background: var(--accent-dim);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.feature-card h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.feature-card p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.6;
}

/* How it works */
.howitworks {
  padding: 100px 24px;
  border-top: 1px solid var(--border);
}
.how-header {
  max-width: 1100px;
  margin: 0 auto 60px;
}
.how-header h2 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -0.03em;
}
.steps {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 0;
}
.step {
  flex: 1;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.step-connector {
  width: 40px;
  height: 2px;
  background: var(--border);
  margin-top: 44px;
  flex-shrink: 0;
  position: relative;
}
.step-connector::after {
  content: '';
  position: absolute;
  right: 0;
  top: -4px;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--border);
  border-top: 2px solid var(--border);
  transform: rotate(45deg);
}
.step-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}
.step-content h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}
.step-content p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.6;
}

/* Manifesto */
.manifesto {
  padding: 100px 24px;
  border-top: 1px solid var(--border);
  background: var(--surface);
  text-align: center;
}
.manifesto-inner {
  max-width: 700px;
  margin: 0 auto;
}
.manifesto-quote {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--text);
  font-style: italic;
  margin-bottom: 24px;
}
.manifesto-sub {
  font-size: 16px;
  color: var(--text-2);
}

/* Footer */
.footer {
  padding: 40px 24px;
  border-top: 1px solid var(--border);
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}
.footer-tagline {
  font-size: 13px;
  color: var(--text-3);
}

/* Responsive */
@media (max-width: 768px) {
  .steps { flex-direction: column; }
  .step-connector { width: 2px; height: 24px; margin: 0 auto; }
  .step-connector::after { display: none; }
  .features-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 100px; }
  .hero-title { font-size: 48px; }
}