:root {
  --bg: #060B15;
  --surface: #0D1B2E;
  --surface-2: #111E30;
  --accent: #00E5FF;
  --accent-dim: #0099AA;
  --text: #E2E8F0;
  --text-muted: #7A9AB8;
  --text-dim: #3D6080;
  --green: #00E676;
  --red: #FF5252;
  --mono: 'JetBrains Mono', 'Fira Code', monospace;
  --sans: 'Outfit', system-ui, sans-serif;
  --radius: 8px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

/* NAV */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 40px;
  background: rgba(6,11,21,0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0,229,255,0.06);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.nav-name {
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}
.nav-links { display: flex; align-items: center; gap: 12px; }
.nav-tag {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--accent);
  background: rgba(0,229,255,0.08);
  border: 1px solid rgba(0,229,255,0.15);
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* HERO */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 100px 40px 80px;
  position: relative;
  overflow: hidden;
}
.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,229,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,229,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
  pointer-events: none;
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.hero-content { position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent);
  background: rgba(0,229,255,0.06);
  border: 1px solid rgba(0,229,255,0.12);
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 28px;
  letter-spacing: 0.02em;
}
.badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.hero-headline {
  font-family: var(--mono);
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 24px;
}
.headline-accent { color: var(--accent); }
.hero-sub {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: 40px;
  font-weight: 300;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
}
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-val {
  font-family: var(--mono);
  font-size: 24px;
  font-weight: 800;
  color: var(--text);
}
.stat-label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 400;
}
.stat-div {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.08);
}

/* TERMINAL */
.hero-terminal {
  background: var(--surface);
  border: 1px solid rgba(0,229,255,0.1);
  border-radius: 12px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(0,229,255,0.05),
    0 24px 80px rgba(0,0,0,0.6),
    0 0 60px rgba(0,229,255,0.04);
}
.terminal-bar {
  background: var(--surface-2);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.t-dots { display: flex; gap: 6px; }
.t-dot { width: 10px; height: 10px; border-radius: 50%; }
.t-dot.red { background: #FF5F57; }
.t-dot.yellow { background: #FEBC2E; }
.t-dot.green { background: #28C840; }
.t-title {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-muted);
  flex: 1;
  text-align: center;
}
.terminal-body {
  padding: 20px 24px;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.7;
  min-height: 340px;
}
.t-line { display: flex; align-items: baseline; gap: 8px; }
.t-prompt { color: var(--accent); font-weight: 700; }
.t-cmd { color: var(--text); }
.t-cmd.cyan { color: var(--accent); }
.t-muted { color: var(--text-muted); }
.t-muted-dim { color: var(--text-dim); font-size: 11px; }
.t-block { margin: 8px 0; padding: 8px 0; border-left: 2px solid rgba(0,229,255,0.1); padding-left: 12px; }
.t-icon { color: var(--green); margin-right: 6px; }
.t-pass { background: rgba(0,230,118,0.15); color: var(--green); padding: 1px 6px; border-radius: 3px; font-size: 11px; margin-right: 8px; }
.t-fail { background: rgba(255,82,82,0.15); color: var(--red); padding: 1px 6px; border-radius: 3px; font-size: 11px; margin-right: 8px; }
.t-fix { color: var(--accent); font-size: 12px; }
.t-cursor-line { display: flex; align-items: center; gap: 6px; }
.t-cursor {
  display: inline-block;
  width: 8px; height: 16px;
  background: var(--accent);
  animation: blink 1s step-end infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}
.t-loader { color: var(--text-muted); }
.muted { color: var(--text-muted); }
.success { color: var(--text); }

/* MANIFESTO */
.manifesto {
  padding: 80px 40px;
  background: var(--surface);
  border-top: 1px solid rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.manifesto-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 32px;
}
.manifesto-bar {
  width: 3px;
  min-height: 80px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  border-radius: 2px;
  flex-shrink: 0;
  margin-top: 4px;
}
.manifesto-text {
  font-family: var(--sans);
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 300;
  line-height: 1.6;
  color: var(--text);
  font-style: italic;
  letter-spacing: -0.01em;
}

/* FEATURES */
.features { padding: 100px 40px; }
.features-inner { max-width: 1200px; margin: 0 auto; }
.features-label {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}
.features-headline {
  font-family: var(--mono);
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 60px;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 12px;
  overflow: hidden;
}
.feature-card {
  background: var(--bg);
  padding: 32px 28px;
  transition: background 0.2s;
}
.feature-card:hover { background: var(--surface); }
.feature-icon {
  width: 44px; height: 44px;
  background: rgba(0,229,255,0.08);
  border: 1px solid rgba(0,229,255,0.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--accent);
}
.feature-title {
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.feature-desc {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-muted);
  font-weight: 300;
  margin-bottom: 20px;
}
.feature-tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--accent);
  background: rgba(0,229,255,0.06);
  border: 1px solid rgba(0,229,255,0.1);
  padding: 4px 10px;
  border-radius: 4px;
  text-transform: lowercase;
  letter-spacing: 0.04em;
}

/* HOW IT WORKS */
.howitworks { padding: 80px 40px 100px; background: var(--surface); border-top: 1px solid rgba(255,255,255,0.04); }
.hiw-inner { max-width: 1100px; margin: 0 auto; }
.hiw-label {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}
.hiw-headline {
  font-family: var(--mono);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 60px;
}
.steps {
  display: flex;
  align-items: center;
  gap: 0;
}
.step { flex: 1; }
.step-num {
  font-family: var(--mono);
  font-size: 40px;
  font-weight: 800;
  color: rgba(0,229,255,0.12);
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -0.04em;
}
.step-title {
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}
.step-desc {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-muted);
  font-weight: 300;
}
.step-arrow {
  width: 48px;
  height: 2px;
  background: linear-gradient(to right, rgba(0,229,255,0.2), rgba(0,229,255,0.05));
  flex-shrink: 0;
  margin: 0 8px;
  margin-top: -60px;
}

/* CLOSING */
.closing {
  padding: 120px 40px;
  position: relative;
  overflow: hidden;
}
.closing-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 300px;
  background: radial-gradient(ellipse, rgba(0,229,255,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.closing-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}
.closing-headline {
  font-family: var(--mono);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 24px;
}
.closing-sub {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-muted);
  font-weight: 300;
  max-width: 600px;
  margin: 0 auto 40px;
}
.closing-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.meta-tag {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-dim);
}
.meta-sep { color: var(--text-dim); font-family: var(--mono); }

/* FOOTER */
.footer {
  padding: 40px;
  border-top: 1px solid rgba(255,255,255,0.04);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-name {
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}
.footer-tagline {
  font-size: 13px;
  color: var(--text-muted);
  flex: 1;
}
.footer-copy {
  font-size: 12px;
  color: var(--text-dim);
  font-family: var(--mono);
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-terminal { display: none; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .steps { flex-direction: column; gap: 32px; }
  .step-arrow { display: none; }
}
@media (max-width: 600px) {
  .hero { padding: 80px 20px 60px; }
  .features, .howitworks, .closing { padding: 60px 20px; }
  .manifesto { padding: 60px 20px; }
  .feature-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-wrap: wrap; gap: 16px; }
  .closing-meta { flex-direction: column; gap: 8px; }
  .meta-sep { display: none; }
  .nav { padding: 0 20px; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
}