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

:root {
  --bg: #080c14;
  --bg-2: #0d1421;
  --fg: #e8edf5;
  --fg-muted: #7a8ba3;
  --accent: #00f0c8;
  --accent-dim: rgba(0, 240, 200, 0.12);
  --accent-glow: rgba(0, 240, 200, 0.25);
  --amber: #ffb340;
  --amber-dim: rgba(255, 179, 64, 0.15);
  --border: rgba(255,255,255,0.07);
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

html { scroll-behavior: smooth; }

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

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

.logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.03em;
  color: var(--fg);
}

.status-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(0,240,200,0.2);
  border-radius: 100px;
  padding: 6px 14px;
}

.dot {
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

/* === SECTION COMMON === */
section { position: relative; }

.eyebrow {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--fg);
  margin-bottom: 48px;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

/* === MANIFESTO === */
.manifesto {
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 120px 48px 80px;
}

.manifesto-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,240,200,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,240,200,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 40%, rgba(0,0,0,0.6) 0%, transparent 100%);
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}

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

.orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,179,64,0.08) 0%, transparent 70%);
  bottom: 0;
  left: -100px;
}

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

.headline {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: var(--fg);
  margin-bottom: 28px;
}

.headline br { display: block; }

.lede {
  font-size: clamp(17px, 2vw, 21px);
  font-weight: 300;
  color: var(--fg-muted);
  max-width: 620px;
  line-height: 1.65;
  margin-bottom: 56px;
}

.metrics-row {
  display: flex;
  align-items: center;
  gap: 0;
}

.metric {
  padding: 0 40px;
}

.metric:first-child { padding-left: 0; }

.metric-value {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 6px;
}

.metric-label {
  font-size: 12px;
  color: var(--fg-muted);
  font-weight: 400;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

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

/* === HOW IT WORKS === */
.howitworks {
  padding: 100px 48px;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

.step {
  padding: 40px;
  background: var(--bg);
  border: 1px solid var(--border);
  position: relative;
}

.step-number {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 20px;
  opacity: 0.7;
}

.step-icon {
  margin-bottom: 16px;
}

.step-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.step-body {
  font-size: 15px;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* === THE STACK === */
.thestack {
  padding: 100px 48px;
  background: var(--bg);
}

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

.stack-card {
  padding: 32px;
  background: var(--bg-2);
  border: 1px solid var(--border);
}

.stack-card.stack-primary {
  border-color: rgba(0,240,200,0.25);
  background: linear-gradient(135deg, rgba(0,240,200,0.06) 0%, rgba(0,0,0,0) 100%), var(--bg-2);
}

.stack-card-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.stack-card-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.stack-card-desc {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* === WHY === */
.why {
  padding: 100px 48px;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.why-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: center;
}

.why-body {
  font-size: 16px;
  color: var(--fg-muted);
  line-height: 1.6;
  margin-top: 20px;
}

.comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--border);
}

.comparison-col {
  padding: 32px;
}

.comparison-old {
  background: rgba(255,255,255,0.02);
  border-right: 1px solid var(--border);
}

.comparison-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 20px;
}

.comparison-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.comparison-list li {
  font-size: 13px;
  color: var(--fg-muted);
  line-height: 1.4;
  padding-left: 16px;
  position: relative;
}

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

.comparison-new .comparison-list li::before {
  background: var(--accent);
}

/* === CLOSING === */
.closing-section {
  padding: 140px 48px;
  text-align: center;
  overflow: hidden;
}

.closing-bg {
  position: absolute;
  inset: 0;
}

.orb-3 {
  position: absolute;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(0,240,200,0.08) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  filter: blur(60px);
}

.closing-content {
  position: relative;
  z-index: 1;
}

.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 24px;
}

.closing-sub {
  font-size: 18px;
  color: var(--fg-muted);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.65;
}

.closing-note {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* === FOOTER === */
footer {
  padding: 40px 48px;
  border-top: 1px solid var(--border);
  background: var(--bg-2);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  color: var(--fg);
  margin-bottom: 8px;
}

.footer-tagline {
  font-size: 13px;
  color: var(--fg-muted);
  max-width: 300px;
}

.footer-meta {
  font-size: 12px;
  color: var(--fg-muted);
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .topbar { padding: 16px 24px; }
  .manifesto { padding: 100px 24px 60px; }
  .howitworks { padding: 72px 24px; }
  .thestack { padding: 72px 24px; }
  .why { padding: 72px 24px; }
  .closing-section { padding: 80px 24px; }
  footer { padding: 32px 24px; }

  .steps-grid,
  .stack-grid { grid-template-columns: 1fr; }

  .why-inner { grid-template-columns: 1fr; gap: 40px; }

  .metrics-row {
    flex-wrap: wrap;
    gap: 24px;
  }

  .metric { padding: 0; }
  .metric-divider { display: none; }

  .comparison { grid-template-columns: 1fr; }
  .comparison-old { border-right: none; border-bottom: 1px solid var(--border); }

  .footer-inner { flex-direction: column; gap: 20px; align-items: flex-start; }
}

@media (max-width: 480px) {
  .headline { font-size: 36px; }
  .lede { font-size: 16px; }
  .metric-value { font-size: 28px; }
}
