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

:root {
  --bg: #0f1318;
  --surface: #1a2030;
  --surface-2: #232a3b;
  --border: #2d3548;
  --fg: #f0f2f5;
  --fg-muted: #8b93a7;
  --fg-subtle: #4e5669;
  --accent: #f5a623;
  --accent-dim: rgba(245,166,35,0.15);
  --green: #34d399;
  --green-dim: rgba(52,211,153,0.12);
  --red: #f87171;
  --red-dim: rgba(248,113,113,0.12);
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --radius: 10px;
  --max-w: 1100px;
}

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;
}

/* ─── Noise texture overlay ─── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}

/* ─── Layout helpers ─── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 40px; }

/* ─── NAV ─── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
  background: rgba(15,19,24,0.85);
  backdrop-filter: blur(12px);
}
.nav-inner { max-width: var(--max-w); margin: 0 auto; padding: 18px 40px; display: flex; align-items: center; justify-content: space-between; }
.nav-logo { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; color: var(--fg); letter-spacing: -0.01em; }
.nav-links { display: flex; gap: 32px; }
.nav-link { color: var(--fg-muted); text-decoration: none; font-size: 0.875rem; font-weight: 400; transition: color 0.2s; }
.nav-link:hover { color: var(--fg); }

/* ─── HERO ─── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 60% 50%, rgba(245,166,35,0.06) 0%, transparent 70%),
              radial-gradient(ellipse 50% 40% at 80% 20%, rgba(245,166,35,0.04) 0%, transparent 60%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 140px 40px 100px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  width: 100%;
}
.hero-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 24px;
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 4rem);
  font-weight: 600;
  line-height: 1.1;
  color: var(--fg);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}
.hero-headline em { font-style: italic; color: var(--accent); }
.hero-lede {
  font-size: 1.1rem;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 440px;
}

/* ─── Signal Card (hero visual) ─── */
.signal-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.4), 0 0 0 1px rgba(245,166,35,0.08);
}
.signal-card-header {
  padding: 14px 20px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
}
.signal-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 6px var(--green); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }
.signal-title { font-size: 0.8rem; font-weight: 500; color: var(--fg-muted); }
.signal-items { padding: 12px; display: flex; flex-direction: column; gap: 1px; }
.signal-item {
  padding: 12px 14px;
  border-radius: 6px;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: background 0.2s;
}
.signal-item--new { border-left: 2px solid var(--accent); }
.signal-item-label { font-size: 0.7rem; color: var(--fg-subtle); font-weight: 500; }
.signal-item-badge { font-size: 0.65rem; font-weight: 600; padding: 2px 6px; border-radius: 4px; background: var(--accent-dim); color: var(--accent); align-self: flex-start; text-transform: uppercase; letter-spacing: 0.05em; }
.signal-item-desc { font-size: 0.8rem; color: var(--fg-muted); }
.signal-card-footer { padding: 10px 16px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; font-size: 0.7rem; color: var(--fg-subtle); }
.signal-status { color: var(--green); }

/* ─── PROOF / STATS ─── */
.proof { padding: 100px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.proof-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 40px; }
.proof-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; margin-bottom: 48px; }
.proof-stat { display: flex; flex-direction: column; gap: 8px; }
.proof-stat-num { font-family: var(--font-display); font-size: 2.8rem; font-weight: 600; color: var(--fg); letter-spacing: -0.03em; line-height: 1; }
.proof-stat-label { font-size: 0.875rem; color: var(--fg-muted); line-height: 1.5; max-width: 200px; }
.proof-coda { font-family: var(--font-display); font-size: 1.1rem; font-style: italic; color: var(--fg-muted); }

/* ─── PROCESS ─── */
.process { padding: 100px 0; }
.process-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 40px; }
.process-heading { font-family: var(--font-display); font-size: 2.4rem; font-weight: 600; color: var(--fg); letter-spacing: -0.02em; margin-bottom: 12px; }
.process-sub { font-size: 1rem; color: var(--fg-muted); margin-bottom: 64px; }
.process-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.process-step { display: flex; flex-direction: column; gap: 12px; }
.process-step-num { font-family: var(--font-display); font-size: 3rem; font-weight: 700; color: var(--accent); opacity: 0.4; line-height: 1; }
.process-step h3 { font-size: 1rem; font-weight: 500; color: var(--fg); }
.process-step p { font-size: 0.875rem; color: var(--fg-muted); line-height: 1.6; }

/* ─── PRICING ─── */
.pricing { padding: 100px 0; border-top: 1px solid var(--border); }
.pricing-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 40px; }
.pricing-heading { font-family: var(--font-display); font-size: 2.4rem; font-weight: 600; color: var(--fg); letter-spacing: -0.02em; margin-bottom: 56px; }
.pricing-tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pricing-tier { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 20px; position: relative; }
.pricing-tier--featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 0 40px rgba(245,166,35,0.08); }
.pricing-tier-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #000; font-size: 0.7rem; font-weight: 600; padding: 3px 10px; border-radius: 20px; white-space: nowrap; }
.pricing-tier-name { font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--fg-muted); }
.pricing-tier-price { font-family: var(--font-display); font-size: 2.4rem; font-weight: 600; color: var(--fg); line-height: 1; }
.pricing-tier-price span { font-size: 1rem; font-weight: 400; color: var(--fg-muted); font-family: var(--font-body); }
.pricing-tier-features { list-style: none; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.pricing-tier-features li { font-size: 0.875rem; color: var(--fg-muted); padding-left: 20px; position: relative; }
.pricing-tier-features li::before { content: '✓'; position: absolute; left: 0; color: var(--accent); font-size: 0.8rem; }

/* ─── MANIFESTO ─── */
.manifesto { padding: 120px 0; border-top: 1px solid var(--border); }
.manifesto-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 40px; }
.manifesto-text { font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 400; line-height: 1.5; color: var(--fg-muted); letter-spacing: -0.01em; }
.manifesto-text strong { color: var(--accent); font-weight: 600; }

/* ─── FOOTER ─── */
.footer { padding: 48px 0; border-top: 1px solid var(--border); }
.footer-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 40px; display: flex; align-items: center; justify-content: space-between; }
.footer-logo { font-family: var(--font-display); font-size: 1rem; font-weight: 600; color: var(--fg); }
.footer-copy { font-size: 0.8rem; color: var(--fg-subtle); }

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; padding: 120px 24px 60px; gap: 48px; }
  .hero-visual { order: -1; }
  .hero-headline { font-size: 2.2rem; }
  .hero-lede { max-width: 100%; }
  .proof-stats { grid-template-columns: 1fr; gap: 32px; }
  .process-steps { grid-template-columns: 1fr; gap: 32px; }
  .pricing-tiers { grid-template-columns: 1fr; }
  .nav-inner { padding: 16px 24px; }
  .nav-links { gap: 20px; }
  .container { padding: 0 24px; }
  .proof-inner, .process-inner, .pricing-inner, .manifesto-inner, .footer-inner { padding: 0 24px; }
  .footer-inner { flex-direction: column; gap: 8px; text-align: center; }
  .proof, .process, .pricing, .manifesto { padding: 72px 0; }
}