/* ─── Reset & Base ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0B0B14;
  --surface: #111120;
  --surface2: #181830;
  --fg: #F2F2F8;
  --fg-dim: #8888A8;
  --fg-muted: #55557A;
  --accent: #F97316;
  --accent-dim: rgba(249, 115, 22, 0.12);
  --accent-glow: rgba(249, 115, 22, 0.3);
  --border: rgba(255, 255, 255, 0.07);
  --font-head: 'Sora', 'Helvetica Neue', sans-serif;
  --font-mono: 'DM Mono', 'Fira Code', monospace;
}

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

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

/* ─── Hero ─── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 6rem 4rem 4rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.35;
}

.hero-orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, #F97316 0%, transparent 70%);
  top: -200px; right: -100px;
}

.hero-orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #6366F1 0%, transparent 70%);
  bottom: -100px; left: 20%;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 40%, transparent 100%);
}

.hero-content {
  position: relative;
  max-width: 860px;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--accent-dim);
  border: 1px solid rgba(249, 115, 22, 0.3);
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.04em;
  margin-bottom: 2rem;
}

.badge-dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  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(3rem, 6vw, 5.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 1.5rem;
}

.hero-headline em {
  font-style: normal;
  color: var(--accent);
}

.hero-sub {
  font-size: 1.2rem;
  font-weight: 300;
  color: var(--fg-dim);
  line-height: 1.65;
  max-width: 580px;
  margin-bottom: 2.5rem;
}

/* Terminal */
.hero-terminal {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  width: 100%;
  max-width: 540px;
  margin-bottom: 2.5rem;
  overflow: hidden;
}

.terminal-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  background: var(--surface2);
  border-bottom: 1px solid var(--border);
}

.t-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--fg-muted);
}

.terminal-title {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--fg-muted);
  letter-spacing: 0.05em;
}

.terminal-body {
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.t-line {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  display: flex;
  gap: 12px;
  align-items: baseline;
}

.t-ts {
  color: var(--fg-muted);
  min-width: 40px;
}

.t-cmd {
  color: var(--fg-dim);
}

.t-active .t-cmd { color: var(--accent); font-weight: 500; }

/* Meta stats */
.hero-meta {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.meta-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stat-n {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--fg);
}

.stat-l {
  font-size: 0.78rem;
  color: var(--fg-muted);
  font-weight: 400;
}

.meta-sep {
  width: 1px;
  height: 36px;
  background: var(--border);
}

/* ─── Manifesto ─── */
.manifesto {
  padding: 8rem 4rem;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

.manifesto-label, .section-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 2rem;
}

.manifesto-body p {
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--fg-dim);
  line-height: 1.8;
  margin-bottom: 1.2rem;
}

.manifesto-body p:last-child { color: var(--fg); font-weight: 400; }

/* VS bars */
.manifesto-vs {
  margin: 3rem 0;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.vs-label {
  font-size: 0.72rem;
  font-family: var(--font-mono);
  color: var(--fg-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

.vs-label-new { color: var(--accent); }

.vs-bar {
  height: 8px;
  background: var(--surface2);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.vs-fill {
  height: 100%;
  width: var(--w, 80%);
  background: #4A4A6A;
  border-radius: 4px;
}

.vs-fill-new { background: var(--accent); }

.vs-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: var(--fg-muted);
}

.manifesto-quote {
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
}

.manifesto-quote blockquote {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--fg);
  line-height: 1.3;
  letter-spacing: -0.02em;
}

/* ─── How ─── */
.how {
  padding: 8rem 4rem;
}

.how-header { max-width: 820px; margin: 0 auto 4rem; }

.how-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--fg);
}

.how-steps {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  padding: 2rem 0;
}

.step-connector {
  display: flex;
  justify-content: flex-start;
  padding-left: 2.5rem;
}

.connector-line {
  width: 2px;
  height: 40px;
  background: linear-gradient(to bottom, var(--accent), rgba(249, 115, 22, 0.2));
}

.step-num {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.06em;
  min-width: 36px;
  padding-top: 4px;
}

.step-name {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 0.5rem;
}

.step-desc {
  font-size: 1rem;
  font-weight: 300;
  color: var(--fg-dim);
  line-height: 1.6;
  max-width: 480px;
}

/* ─── Outcomes ─── */
.outcomes {
  padding: 8rem 4rem;
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.outcomes-header { max-width: 820px; margin: 0 auto 3rem; }

.outcomes-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--fg);
}

.outcomes-grid {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.outcome-card {
  padding: 2rem;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: border-color 0.2s;
}

.outcome-card:hover { border-color: rgba(249, 115, 22, 0.3); }

.outcome-icon {
  color: var(--accent);
  margin-bottom: 1rem;
}

.outcome-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 0.5rem;
}

.outcome-desc {
  font-size: 0.9rem;
  color: var(--fg-dim);
  line-height: 1.6;
}

/* ─── Difference ─── */
.difference {
  padding: 8rem 4rem;
}

.diff-inner { max-width: 820px; margin: 0 auto; }

.diff-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--fg);
  margin-bottom: 3rem;
  max-width: 600px;
}

.diff-comparison {
  display: flex;
  gap: 2rem;
  align-items: stretch;
  margin-bottom: 3rem;
}

.comp-col {
  flex: 1;
  padding: 2rem;
  border-radius: 12px;
  background: var(--surface2);
  border: 1px solid var(--border);
}

.comp-other .comp-col { background: var(--surface); }

.comp-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 1.5rem;
}

.comp-booster .comp-label { color: var(--accent); }

.comp-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.comp-list li {
  font-size: 0.95rem;
  color: var(--fg-dim);
  padding-left: 1.2rem;
  position: relative;
}

.comp-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--fg-muted);
}

.comp-booster .comp-list li { color: var(--fg); }
.comp-booster .comp-list li::before { background: var(--accent); }

.comp-divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding-top: 2rem;
}

.divider-line { width: 1px; height: 40px; background: var(--border); }

.divider-vs {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--fg-muted);
  letter-spacing: 0.1em;
}

.diff-footnote {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 2rem;
  background: var(--accent-dim);
  border: 1px solid rgba(249, 115, 22, 0.2);
  border-radius: 8px;
  font-size: 1rem;
  color: var(--fg-dim);
}

.fn-badge {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  white-space: nowrap;
}

/* ─── Closing ─── */
.closing {
  padding: 10rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.closing::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 40% at 50% 50%, rgba(249, 115, 22, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.closing-inner { position: relative; max-width: 700px; margin: 0 auto; }

.closing-headline {
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--fg);
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.closing-sub {
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--fg-dim);
  line-height: 1.7;
  margin-bottom: 3rem;
}

.closing-stack {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.stack-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--fg-dim);
  letter-spacing: 0.04em;
}

.stack-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

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

/* ─── Footer ─── */
.footer {
  padding: 3rem 4rem;
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.footer-brand { display: flex; flex-direction: column; gap: 0.4rem; }

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--fg);
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.78rem;
  color: var(--fg-muted);
}

.footer-bottom a {
  color: var(--accent);
  text-decoration: none;
}

/* ─── Responsive ─── */
@media (max-width: 768px) {
  .hero { padding: 5rem 1.5rem 4rem; }
  .manifesto, .how, .outcomes, .difference, .closing { padding: 5rem 1.5rem; }
  .footer { padding: 3rem 1.5rem; }

  .hero-meta { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .meta-sep { display: none; }

  .outcomes-grid { grid-template-columns: 1fr; }

  .diff-comparison { flex-direction: column; }
  .comp-divider { flex-direction: row; padding: 0; }
  .divider-line { width: 40px; height: 1px; }

  .closing-stack { gap: 1rem; }
}