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

:root {
  --bg: #080b10;
  --bg-2: #0e1420;
  --bg-3: #121826;
  --fg: #f0f2f7;
  --fg-2: #8892a4;
  --fg-3: #5a6478;
  --accent: #ff6b35;
  --accent-dim: rgba(255, 107, 53, 0.12);
  --accent-glow: rgba(255, 107, 53, 0.08);
  --border: rgba(255, 255, 255, 0.06);
  --radius: 10px;
  --radius-sm: 6px;
}

html { scroll-behavior: smooth; }

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

/* ===== TYPOGRAPHY ===== */
h1, h2, h3 { font-family: 'Space Grotesk', system-ui, sans-serif; font-weight: 700; line-height: 1.15; }

/* ===== LAYOUT ===== */
.section-inner { max-width: 1100px; margin: 0 auto; padding: 0 32px; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-eyebrow {
  font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent); font-weight: 600; margin-bottom: 12px;
}
.section-title { font-size: clamp(28px, 4vw, 44px); margin-bottom: 16px; }
.section-sub { color: var(--fg-2); font-size: 17px; max-width: 520px; margin: 0 auto; }

/* ===== NAV ===== */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(8, 11, 16, 0.85); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { max-width: 1100px; margin: 0 auto; padding: 16px 32px; display: flex; align-items: center; justify-content: space-between; }
.nav-logo { display: flex; align-items: center; gap: 10px; font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 18px; color: var(--fg); text-decoration: none; }
.nav-links { display: flex; gap: 28px; }
.nav-links a { color: var(--fg-2); text-decoration: none; font-size: 14px; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--fg); }

/* ===== HERO ===== */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: 120px 32px 80px; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,107,53,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,107,53,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 30%, transparent 100%);
}
.hero-glow {
  position: absolute; border-radius: 50%; filter: blur(80px);
  pointer-events: none;
}
.hero-glow-1 {
  width: 600px; height: 400px;
  top: 10%; left: 50%; transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(255,107,53,0.12) 0%, transparent 70%);
}
.hero-glow-2 {
  width: 300px; height: 300px;
  bottom: 20%; right: 15%;
  background: radial-gradient(ellipse, rgba(255,107,53,0.06) 0%, transparent 70%);
}
.hero-inner { position: relative; text-align: center; max-width: 760px; }
.hero-label {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent-dim); border: 1px solid rgba(255,107,53,0.2);
  border-radius: 100px; padding: 6px 16px; font-size: 13px; color: var(--accent);
  font-weight: 500; margin-bottom: 28px; letter-spacing: 0.02em;
}
.label-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}
.hero-headline { font-size: clamp(40px, 7vw, 80px); margin-bottom: 24px; }
.headline-accent { color: var(--accent); }
.hero-sub {
  font-size: clamp(16px, 2vw, 20px); color: var(--fg-2);
  margin-bottom: 64px; line-height: 1.7;
}

/* Roadmap ring visual */
.roadmap-ring {
  position: relative; width: 260px; height: 260px;
  margin: 0 auto;
  display: flex; align-items: center; justify-content: center;
}
.ring-center {
  position: absolute; width: 72px; height: 72px;
  background: var(--bg-3); border: 1.5px solid var(--accent);
  border-radius: 50%; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 4px;
  z-index: 2;
}
.ring-center span { font-size: 11px; font-weight: 600; color: var(--accent); font-family: 'Space Grotesk', sans-serif; }
.ring-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.ring-node {
  position: absolute; display: flex; flex-direction: column;
  align-items: center; gap: 6px;
}
.node-icon {
  width: 36px; height: 36px;
  background: var(--bg-3); border: 1px solid var(--border);
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  color: var(--accent); font-size: 12px;
}
.ring-node span { font-size: 11px; font-weight: 500; color: var(--fg-2); font-family: 'Space Grotesk', sans-serif; }
.node-1 { top: 0; left: 50%; transform: translateX(-50%); }
.node-2 { top: 50%; right: 0; transform: translateY(-50%); }
.node-3 { bottom: 0; left: 50%; transform: translateX(-50%); }
.node-4 { top: 50%; left: 0; transform: translateY(-50%); }

/* ===== HOW IT WORKS ===== */
.how-it-works { padding: 100px 0; background: var(--bg-2); }
.steps-grid {
  display: grid; grid-template-columns: 1fr 40px 1fr 40px 1fr 40px 1fr;
  align-items: start; gap: 0;
}
.step-card { padding: 32px 24px; border-radius: var(--radius); background: var(--bg-3); border: 1px solid var(--border); transition: border-color 0.3s; }
.step-card:hover { border-color: rgba(255,107,53,0.3); }
.step-number { font-family: 'Space Grotesk', monospace; font-size: 11px; color: var(--fg-3); margin-bottom: 16px; letter-spacing: 0.1em; }
.step-icon { margin-bottom: 16px; }
.step-card h3 { font-size: 18px; margin-bottom: 10px; }
.step-card p { font-size: 14px; color: var(--fg-2); line-height: 1.65; }
.step-connector {
  height: 80px; display: flex; align-items: center; justify-content: center;
  padding-top: 60px;
}
.step-connector::after {
  content: ''; display: block; width: 100%; height: 1px;
  background: linear-gradient(to right, transparent, var(--border), transparent);
}

/* ===== FEATURES ===== */
.features { padding: 100px 0; }
.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 20px;
}
.feature-card {
  padding: 32px; border-radius: var(--radius);
  background: var(--bg-2); border: 1px solid var(--border);
  transition: border-color 0.3s, transform 0.2s;
  position: relative;
}
.feature-card:hover { border-color: rgba(255,107,53,0.2); transform: translateY(-2px); }
.feature-main { grid-column: span 1; grid-row: span 2; }
.feature-tall { grid-column: span 1; }
.feature-tag {
  position: absolute; top: 24px; right: 24px;
  font-size: 10px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--accent);
  background: var(--accent-dim); border: 1px solid rgba(255,107,53,0.2);
  border-radius: 4px; padding: 3px 8px;
}
.feature-icon, .feature-icon-lg { margin-bottom: 20px; color: var(--accent); }
.feature-card h3 { font-size: 18px; margin-bottom: 12px; }
.feature-card p { font-size: 14px; color: var(--fg-2); line-height: 1.65; margin-bottom: 16px; }
.feature-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.feature-list li {
  font-size: 13px; color: var(--fg-2);
  display: flex; align-items: center; gap: 10px;
}
.feature-list li::before {
  content: ''; display: block; width: 5px; height: 5px;
  border-radius: 50%; background: var(--accent); flex-shrink: 0;
}

/* ===== OUTCOMES ===== */
.outcomes { padding: 100px 0; background: var(--bg-2); }
.outcomes-content { max-width: 720px; margin: 0 auto; text-align: center; }
.outcomes-title { font-size: clamp(26px, 3.5vw, 40px); margin: 16px 0; line-height: 1.3; }
.outcomes-sub { color: var(--fg-2); font-size: 17px; margin-bottom: 48px; }
.outcomes-sub em { color: var(--fg); font-style: normal; font-weight: 600; }

/* Comparison table */
.comparison-table { width: 100%; }
.comp-row {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 0; border-bottom: 1px solid var(--border);
  padding: 12px 0;
}
.comp-header .comp-row { border-bottom: 1px solid var(--border); }
.comp-header { display: contents; }
.comp-label { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-3); text-align: center; }
.comp-highlight .comp-label { color: var(--accent); }
.comp-row:not(.comp-header) { align-items: center; }
.comp-feature { font-size: 14px; color: var(--fg-2); padding-left: 8px; }
.comp-val { text-align: center; display: flex; justify-content: center; }
.comp-yes { color: var(--accent); }
.comp-row:not(.comp-header):hover .comp-feature { color: var(--fg); }

/* ===== MANIFESTO ===== */
.manifesto {
  position: relative; padding: 120px 0;
  text-align: center; overflow: hidden;
}
.manifesto-bg { position: absolute; inset: 0; }
.manifesto-glow {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 600px; height: 400px; background: radial-gradient(ellipse, rgba(255,107,53,0.06) 0%, transparent 70%);
  filter: blur(60px);
}
.manifesto-content { position: relative; }
.manifesto-quote {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(22px, 3vw, 34px); font-weight: 500; line-height: 1.4;
  color: var(--fg); margin-bottom: 20px;
}
.manifesto-quote em { color: var(--accent); font-style: normal; }
.manifesto-attribution { font-size: 16px; color: var(--fg-3); }

/* ===== FOOTER ===== */
.site-footer {
  padding: 48px 0; border-top: 1px solid var(--border);
  text-align: center;
}
.footer-logo {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 16px;
  color: var(--fg-2); margin-bottom: 12px;
}
.footer-tagline { font-size: 14px; color: var(--fg-3); margin-bottom: 8px; font-style: italic; }
.footer-copy { font-size: 12px; color: var(--fg-3); }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero { padding: 100px 24px 60px; }
  .hero-sub br { display: none; }
  .steps-grid { grid-template-columns: 1fr; gap: 16px; }
  .step-connector { display: none; }
  .features-grid { grid-template-columns: 1fr; }
  .feature-main, .feature-tall { grid-column: 1; grid-row: auto; }
  .comparison-table { font-size: 12px; }
  .comp-row { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
  .section-inner { padding: 0 20px; }
}

@media (max-width: 480px) {
  .comparison-table { overflow-x: auto; display: block; }
  .comp-row { min-width: 400px; }
}
