/* === TOKENS === */
:root {
  --bg: #07080f;
  --surface: #0f1118;
  --surface2: #151822;
  --border: #1e2433;
  --fg: #e8eaf0;
  --fg-muted: #8892a4;
  --accent: #00e87a;
  --accent-dim: rgba(0,232,122,0.08);
  --accent-glow: rgba(0,232,122,0.15);
}

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Outfit', system-ui, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: 'Space Grotesk', sans-serif; font-weight: 700; }

a { color: inherit; text-decoration: none; }

/* === NAV === */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(7,8,15,0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}
.nav-tagline {
  font-size: 0.8rem;
  color: var(--fg-muted);
  font-weight: 400;
}

/* === HERO === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 2rem 6rem;
  overflow: hidden;
}
.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(0,232,122,0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0,232,122,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 0%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 0%, transparent 100%);
}
.hero-content {
  max-width: 820px;
  margin: 0 auto;
  position: relative;
}
.hero-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
  padding: 0.3rem 0.8rem;
  border: 1px solid rgba(0,232,122,0.2);
  border-radius: 999px;
  background: var(--accent-dim);
}
.hero-headline {
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 1.5rem;
}
.hero-sub {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--fg-muted);
  max-width: 580px;
  line-height: 1.7;
  margin-bottom: 2.5rem;
  font-weight: 300;
}
.hero-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.pill {
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--fg-muted);
  letter-spacing: 0.02em;
}

/* === SECTIONS === */
section { padding: 6rem 2rem; }
.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 3rem;
  max-width: 640px;
}

/* === FEATURES === */
.features { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}
.feature-card {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.feature-card:hover {
  border-color: rgba(0,232,122,0.25);
  box-shadow: 0 0 40px rgba(0,232,122,0.05);
}
.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--accent-dim);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.feature-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
}
.feature-card p {
  font-size: 0.92rem;
  color: var(--fg-muted);
  line-height: 1.6;
  font-weight: 300;
}

/* === HOW IT WORKS === */
.how-it-works { max-width: 1100px; margin: 0 auto; }
.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}
.steps::before {
  content: '';
  position: absolute;
  left: 22px;
  top: 40px;
  bottom: 40px;
  width: 1px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  opacity: 0.3;
}
.step {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  padding: 2rem 0;
  position: relative;
}
.step-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-dim);
  border: 1px solid rgba(0,232,122,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.step-body h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}
.step-body p {
  font-size: 0.95rem;
  color: var(--fg-muted);
  line-height: 1.7;
  font-weight: 300;
  max-width: 500px;
}

/* === VISION === */
.vision {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 6rem 2rem;
  text-align: center;
}
.vision-inner { max-width: 680px; margin: 0 auto; }
.vision-quote {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 1.5rem;
  quotes: "\201C" "\201D";
}
.vision-quote::before { content: open-quote; color: var(--accent); }
.vision-quote::after { content: close-quote; color: var(--accent); }
.vision-sub {
  font-size: 1rem;
  color: var(--fg-muted);
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: 0.75rem;
}

/* === FOOTER === */
.footer {
  padding: 3rem 2rem;
  border-top: 1px solid var(--border);
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.footer-brand { display: flex; flex-direction: column; gap: 0.3rem; }
.footer-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
}
.footer-tagline { font-size: 0.8rem; color: var(--fg-muted); }
.footer-meta {
  font-size: 0.78rem;
  color: var(--fg-muted);
  opacity: 0.6;
}

/* === RESPONSIVE === */
@media (max-width: 640px) {
  .hero { padding: 7rem 1.5rem 4rem; }
  .hero-headline { font-size: 2.8rem; }
  section { padding: 4rem 1.5rem; }
  .step { gap: 1.25rem; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 400px) {
  .hero-headline { font-size: 2.2rem; }
  .hero-pill-row { gap: 0.5rem; }
}