/* === BASE === */
:root {
  --bg: #0b0b10;
  --surface: #13131c;
  --surface2: #1a1a26;
  --fg: #e8e8f0;
  --fg-muted: #7878a0;
  --fg-subtle: #3a3a5c;
  --accent: #00E5FF;
  --accent-dim: rgba(0, 229, 255, 0.1);
  --accent-border: rgba(0, 229, 255, 0.25);
  --font-display: 'Sora', sans-serif;
  --font-body: 'Space Grotesk', sans-serif;
}

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

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

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

/* === NAV === */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 60px;
  background: rgba(11, 11, 16, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--fg-subtle);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.02em;
}

.nav-tagline {
  font-size: 0.8rem;
  color: var(--fg-muted);
  letter-spacing: 0.02em;
}

/* === HERO === */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 160px 60px 100px;
  max-width: 960px;
  margin: 0 auto;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.eyebrow-text {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  font-weight: 600;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 28px;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--fg-muted);
  line-height: 1.65;
  max-width: 580px;
  margin-bottom: 52px;
}

.desktop-only { display: block; }

/* Code block */
.hero-code {
  background: var(--surface);
  border: 1px solid var(--fg-subtle);
  border-radius: 12px;
  padding: 28px 32px;
  font-family: 'Courier New', monospace;
  font-size: 0.88rem;
  line-height: 2;
  max-width: 480px;
  border-left: 3px solid var(--accent);
}

.code-comment { color: #4a4a70; }
.code-var { color: #a8a8d0; }
.code-str { color: var(--accent); }
.code-obj { color: #c0a0e0; }
.code-fn { color: #80d8a8; }

/* === PROOF === */
.proof {
  padding: 80px 60px;
  border-top: 1px solid var(--fg-subtle);
  border-bottom: 1px solid var(--fg-subtle);
}

.proof-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  max-width: 900px;
  margin: 0 auto;
}

.proof-stat { text-align: center; flex: 1; padding: 0 40px; }

.proof-num {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--fg);
  letter-spacing: -0.04em;
  margin-bottom: 12px;
}

.proof-label {
  font-size: 0.85rem;
  color: var(--fg-muted);
  line-height: 1.5;
  max-width: 200px;
  margin: 0 auto;
}

.proof-divider {
  width: 1px;
  height: 60px;
  background: var(--fg-subtle);
}

/* === FEATURES === */
.features {
  padding: 120px 60px;
}

.section-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--fg-muted);
  font-weight: 600;
  margin-bottom: 16px;
}

.features-heading {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin-bottom: 64px;
  max-width: 500px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  max-width: 900px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--fg-subtle);
  padding: 40px 36px;
  transition: border-color 0.2s;
}

.feature-card:hover {
  border-color: var(--accent-border);
}

.feature-icon {
  margin-bottom: 20px;
}

.feature-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.feature-desc {
  font-size: 0.88rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* === HOW === */
.how {
  padding: 100px 60px;
  background: var(--surface);
  border-top: 1px solid var(--fg-subtle);
  border-bottom: 1px solid var(--fg-subtle);
}

.how-heading {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 56px;
}

.steps {
  display: flex;
  align-items: center;
  gap: 0;
  max-width: 820px;
}

.step {
  flex: 1;
  padding: 0 20px;
}

.step-num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.25;
  letter-spacing: -0.04em;
  margin-bottom: 16px;
}

.step-title {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.step-desc {
  font-size: 0.82rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

.step-arrow {
  font-size: 1.4rem;
  color: var(--fg-subtle);
  flex: 0 0 auto;
}

/* === MANIFESTO === */
.manifesto {
  padding: 120px 60px;
}

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

.manifesto-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--fg-muted);
  font-weight: 600;
  margin-bottom: 28px;
}

.manifesto-quote {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 40px;
}

.manifesto-body {
  font-size: 1rem;
  color: var(--fg-muted);
  line-height: 1.75;
  margin-bottom: 24px;
}

/* === CLOSING === */
.closing {
  padding: 120px 60px;
  border-top: 1px solid var(--fg-subtle);
  background: linear-gradient(180deg, var(--bg) 0%, #0d0d18 100%);
}

.closing-inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.closing-icon {
  margin-bottom: 40px;
  opacity: 0.8;
}

.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.closing-sub {
  font-size: 1rem;
  color: var(--fg-muted);
}

/* === FOOTER === */
.footer {
  padding: 48px 60px;
  border-top: 1px solid var(--fg-subtle);
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
}

.footer-tagline {
  font-size: 0.82rem;
  color: var(--fg-muted);
  flex: 1;
}

.footer-sub {
  font-size: 0.75rem;
  color: var(--fg-subtle);
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .nav { padding: 16px 24px; }
  .nav-tagline { display: none; }

  .hero { padding: 120px 24px 80px; }
  .hero-headline { font-size: 2.2rem; }
  .hero-sub { font-size: 1rem; }
  .desktop-only { display: none; }
  .hero-code { font-size: 0.78rem; padding: 20px 22px; }

  .proof { padding: 60px 24px; }
  .proof-grid { flex-direction: column; gap: 40px; }
  .proof-divider { width: 60px; height: 1px; }

  .features { padding: 80px 24px; }
  .features-grid { grid-template-columns: 1fr; }

  .how { padding: 80px 24px; }
  .steps { flex-direction: column; gap: 40px; }
  .step-arrow { display: none; }

  .manifesto { padding: 80px 24px; }

  .closing { padding: 80px 24px; }

  .footer { padding: 32px 24px; flex-wrap: wrap; }
  .footer-sub { display: none; }
}