:root {
  --bg: #08090F;
  --bg-2: #0D0F1A;
  --surface: #131521;
  --surface-2: #1A1D2E;
  --teal: #00E5C4;
  --teal-dim: #00E5C420;
  --amber: #FF9F1C;
  --amber-dim: #FF9F1C20;
  --text: #EEEAF4;
  --text-muted: #7B7A8C;
  --text-faint: #3D3C50;
  --border: #1E2035;
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Syne', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ─── NAV ─── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.25rem 2rem;
  background: rgba(8,9,15,0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--text);
}
.logo-mark {
  background: var(--teal);
  color: var(--bg);
  font-weight: 800;
  font-size: 0.85rem;
  padding: 0.2rem 0.45rem;
  border-radius: 6px;
  letter-spacing: -0.02em;
}
.logo-text {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}
.nav-tagline {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ─── HERO ─── */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 8rem 2rem 4rem;
  max-width: 1100px;
  margin: 0 auto;
  gap: 4rem;
  position: relative;
}
.hero-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  background: var(--teal-dim);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  border: 1px solid #00E5C430;
  margin-bottom: 1.5rem;
}
.hero-headline {
  font-size: clamp(2.6rem, 4.5vw, 4rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 1.2rem;
  color: var(--text);
}
.hero-lede {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 440px;
  margin-bottom: 2.5rem;
  font-weight: 400;
}

/* ─── TERMINAL ─── */
.hero-terminal {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  max-width: 480px;
  box-shadow: 0 0 0 1px #00E5C410, 0 20px 60px #00000060;
}
.terminal-bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 1rem;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot-red { background: #FF5F57; }
.dot-yellow { background: #FEBC2E; }
.dot-green { background: #28C840; }
.terminal-title {
  margin-left: auto;
  font-family: 'DM Mono', monospace;
  font-size: 0.72rem;
  color: var(--text-muted);
}
.terminal-body {
  padding: 1.25rem;
}
.terminal-line {
  font-family: 'DM Mono', monospace;
  font-size: 0.82rem;
  color: var(--text);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}
.terminal-line.faded { color: var(--text-muted); }
.prompt {
  color: var(--teal);
  font-weight: 500;
}
.terminal-input {
  font-family: 'DM Mono', monospace;
  font-size: 0.82rem;
  color: var(--amber);
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.5rem 0.75rem;
  margin: 0.5rem 0 1rem;
  width: 100%;
}
.terminal-success {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'DM Mono', monospace;
  font-size: 0.8rem;
  color: var(--teal);
  margin-top: 0.5rem;
}

/* ─── HERO VISUAL ─── */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 400px;
}
.code-atmosphere {
  position: relative;
  width: 100%;
  height: 100%;
}
.floating-tag {
  position: absolute;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.45rem 0.9rem;
  font-family: 'DM Mono', monospace;
  font-size: 0.72rem;
  color: var(--text-muted);
  white-space: nowrap;
  box-shadow: 0 0 20px var(--teal-dim);
}
.tag-1 { top: 15%; left: 10%; animation: float 4s ease-in-out infinite; }
.tag-2 { top: 35%; right: 5%; animation: float 5.2s ease-in-out 0.8s infinite; }
.tag-3 { bottom: 35%; left: 5%; animation: float 3.8s ease-in-out 1.5s infinite; }
.tag-4 { bottom: 15%; right: 15%; animation: float 5.8s ease-in-out 0.3s infinite; }
.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
}
.orb-1 { width: 300px; height: 300px; background: var(--teal); top: 50%; left: 50%; transform: translate(-50%,-50%); }
.orb-2 { width: 200px; height: 200px; background: var(--amber); top: 20%; right: 10%; }

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}

/* ─── HOW IT WORKS ─── */
.howitworks {
  padding: 6rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}
.section-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1rem;
}
.section-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 4rem;
  max-width: 500px;
}
.steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
}
.step {
  flex: 1;
  padding: 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
}
.step-number {
  font-family: 'DM Mono', monospace;
  font-size: 0.75rem;
  color: var(--teal);
  font-weight: 500;
  margin-bottom: 1rem;
}
.step-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
}
.step-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.step-connector {
  width: 40px;
  height: 2px;
  background: var(--border);
  margin-top: 3rem;
  flex-shrink: 0;
}

/* ─── FEATURES ─── */
.features {
  padding: 4rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
}
.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.feature-card {
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--surface);
  transition: transform 0.2s;
}
.feature-card:hover { transform: translateY(-2px); }
.card-accent-teal { border-left: 3px solid var(--teal); }
.card-accent-amber { border-left: 3px solid var(--amber); }
.feature-icon {
  color: var(--text-muted);
  margin-bottom: 1.2rem;
}
.card-accent-teal .feature-icon { color: var(--teal); }
.card-accent-amber .feature-icon { color: var(--amber); }
.feature-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.feature-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ─── MANIFESTO ─── */
.manifesto {
  padding: 6rem 2rem;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.manifesto-inner {
  max-width: 700px;
  margin: 0 auto;
}
.manifesto-eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1.5rem;
}
.manifesto-quote {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 1.5rem;
  font-style: normal;
  border-left: 3px solid var(--teal);
  padding-left: 1.5rem;
}
.manifesto-body {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* ─── CLOSING ─── */
.closing {
  padding: 8rem 2rem;
  text-align: center;
}
.closing-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 1.2rem;
}
.closing-sub {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 400;
}

/* ─── FOOTER ─── */
.footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 2rem;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.footer-logo {
  background: var(--teal);
  color: var(--bg);
  font-weight: 800;
  font-size: 0.75rem;
  padding: 0.18rem 0.4rem;
  border-radius: 5px;
}
.footer-name {
  font-weight: 700;
  font-size: 0.9rem;
}
.footer-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-left: auto;
}
.footer-tagline {
  font-size: 0.8rem;
  color: var(--teal);
  font-weight: 600;
  font-family: 'DM Mono', monospace;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 6rem;
    gap: 2rem;
  }
  .hero-visual { display: none; }
  .hero-terminal { max-width: 100%; }
  .steps {
    flex-direction: column;
    gap: 1rem;
  }
  .step-connector { display: none; }
  .features-grid { grid-template-columns: 1fr; }
  .footer-inner {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  .footer-note { margin-left: 0; }
}
