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

:root {
  --bg: #111111;
  --bg-2: #1a1a1a;
  --bg-3: #222222;
  --fg: #f0ede6;
  --fg-muted: #888880;
  --accent: #b8ff57;
  --accent-dim: rgba(184, 255, 87, 0.15);
  --green: #4ade80;
  --red: #f87171;
  --radius: 8px;
}

html { scroll-behavior: smooth; }

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

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

::selection { background: var(--accent); color: var(--bg); }

/* === NAV === */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 40px;
  background: rgba(17,17,17,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.nav-logo {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 22px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: -0.02em;
}
.logo-pulse { color: var(--fg); }
.logo-iq { color: var(--accent); }
.nav-links {
  display: flex;
  gap: 32px;
}
.nav-links a {
  color: var(--fg-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--fg); }

/* === HERO === */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 40px 80px;
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 28px;
}
.eyebrow-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  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.7); }
}
.hero-headline {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(52px, 6vw, 80px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
}
.hero-lede {
  font-size: 18px;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 48px;
  max-width: 440px;
}
.hero-lede strong { color: var(--fg); font-weight: 500; }
.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
}
.stat { display: flex; flex-direction: column; }
.stat-value {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.02em;
}
.stat-label { font-size: 12px; color: var(--fg-muted); margin-top: 2px; }
.stat-divider { width: 1px; height: 40px; background: rgba(255,255,255,0.1); }

/* === DASHBOARD FRAME === */
.dashboard-frame {
  background: var(--bg-2);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(184,255,87,0.05);
}
.dash-topbar {
  background: var(--bg-3);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.dash-dots { display: flex; gap: 6px; }
.dash-dots span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.1); }
.dash-dots span:first-child { background: #f87171; }
.dash-dots span:nth-child(2) { background: #fbbf24; }
.dash-dots span:nth-child(3) { background: #4ade80; }
.dash-title { font-size: 12px; color: var(--fg-muted); font-family: monospace; }
.dash-body { display: grid; grid-template-columns: 140px 1fr; }
.dash-sidebar { padding: 16px 0; border-right: 1px solid rgba(255,255,255,0.05); }
.sidebar-item { padding: 8px 16px; font-size: 12px; color: var(--fg-muted); cursor: default; }
.sidebar-item.active { color: var(--accent); background: var(--accent-dim); border-left: 2px solid var(--accent); }
.dash-main { padding: 20px; display: flex; flex-direction: column; gap: 16px; }
.metric-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
.metric-card {
  background: var(--bg-3);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 8px;
  padding: 14px;
}
.metric-label { font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--fg-muted); display: block; margin-bottom: 4px; }
.metric-val { font-family: 'Fraunces', Georgia, serif; font-size: 22px; font-weight: 700; display: block; }
.metric-delta { font-size: 11px; font-weight: 600; display: block; margin-top: 4px; }
.metric-delta.up { color: var(--green); }
.metric-delta.down { color: var(--red); }
.metric-card.green { border-left: 3px solid var(--green); }
.metric-card.red { border-left: 3px solid var(--red); }
.insight-card {
  background: var(--accent-dim);
  border: 1px solid rgba(184,255,87,0.15);
  border-radius: 8px;
  padding: 14px;
}
.insight-badge {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 8px;
}
.insight-text { font-size: 12px; line-height: 1.6; color: var(--fg); }
.insight-meta { font-size: 10px; color: var(--fg-muted); margin-top: 8px; }

/* === LIVEDATA === */
.livedata {
  padding: 24px 40px;
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.livedata-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
}
.live-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  color: var(--fg-muted);
  white-space: nowrap;
  letter-spacing: 0.05em;
}
.live-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse-dot 1.5s ease-in-out infinite;
}
.live-events {
  display: flex;
  gap: 32px;
  overflow: hidden;
}
.live-event {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  white-space: nowrap;
}
.event-time { color: var(--fg-muted); font-family: monospace; font-size: 11px; }
.event-action { color: var(--accent); font-family: monospace; font-size: 11px; font-weight: 600; }
.event-user { color: var(--fg-muted); }

/* === FEATURES === */
.features { padding: 100px 40px; }
.features-inner { max-width: 1200px; margin: 0 auto; }
.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 20px;
}
.section-headline {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 64px;
}
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.feature-card {
  background: var(--bg-2);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 32px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.feature-card:hover {
  border-color: rgba(184,255,87,0.2);
  box-shadow: 0 0 40px rgba(184,255,87,0.04);
}
.feature-main { grid-column: 1 / -1; }
.feature-icon {
  width: 44px; height: 44px;
  background: var(--accent-dim);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 20px;
}
.feature-card h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.feature-card p { color: var(--fg-muted); font-size: 15px; line-height: 1.7; }
.feature-example { margin-top: 20px; }
.example-label { font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--fg-muted); display: block; margin-bottom: 8px; }
.feature-example blockquote {
  background: var(--bg);
  border-left: 3px solid var(--accent);
  padding: 14px 18px;
  border-radius: 0 8px 8px 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--fg-muted);
  font-style: italic;
}

/* === MANIFESTO === */
.manifesto { padding: 100px 40px; border-top: 1px solid rgba(255,255,255,0.05); }
.manifesto-inner { max-width: 760px; margin: 0 auto; }
.manifesto-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 24px;
}
.manifesto-headline {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(44px, 6vw, 72px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 48px;
}
.manifesto-body p { font-size: 18px; color: var(--fg-muted); line-height: 1.8; margin-bottom: 24px; }
.manifesto-body p:last-of-type strong { color: var(--fg); }
.manifesto-quote {
  margin-top: 56px;
  padding: 32px;
  border: 1px solid rgba(255,255,255,0.06);
  border-left: 3px solid var(--accent);
  border-radius: 0 12px 12px 0;
  font-family: 'Fraunces', Georgia, serif;
  font-size: 20px;
  font-style: italic;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* === CLOSING === */
.closing { padding: 120px 40px; text-align: center; }
.closing-inner { max-width: 700px; margin: 0 auto; }
.closing-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}
.closing-headline {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 32px;
}
.closing-sub {
  font-size: 16px;
  color: var(--fg-muted);
}

/* === FOOTER === */
footer {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 40px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-logo {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 18px;
  font-weight: 700;
}
.footer-tagline { font-size: 13px; color: var(--fg-muted); margin-top: 4px; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: var(--fg-muted); text-decoration: none; font-size: 14px; transition: color 0.2s; }
.footer-links a:hover { color: var(--fg); }
.footer-copy { font-size: 13px; color: var(--fg-muted); }

/* === PRICING HERO === */
.pricing-hero {
  padding: 140px 40px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.pricing-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 40% at 50% 30%, rgba(184,255,87,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.pricing-hero-inner { max-width: 700px; margin: 0 auto; }
.pricing-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 28px;
}
.pricing-headline {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin-bottom: 24px;
}
.pricing-sub {
  font-size: 16px;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 40px;
}
.pricing-toggle {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-size: 14px;
  color: var(--fg-muted);
  font-weight: 500;
}
.toggle-label { cursor: default; transition: color 0.2s; }
.toggle-label.active { color: var(--fg); }
.toggle-divider { color: rgba(255,255,255,0.1); }
.toggle-save {
  font-size: 11px;
  background: var(--accent-dim);
  color: var(--accent);
  padding: 2px 8px;
  border-radius: 20px;
  margin-left: 6px;
  font-weight: 600;
}

/* === TIERS === */
.pricing-tiers {
  padding: 0 40px 100px;
}
.tiers-inner {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}
.tier-card {
  background: var(--bg-2);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px;
  padding: 36px;
  position: relative;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.tier-card:hover {
  border-color: rgba(255,255,255,0.14);
}
.tier-card--pro {
  border-color: rgba(184,255,87,0.25);
  box-shadow: 0 0 60px rgba(184,255,87,0.06), inset 0 0 0 1px rgba(184,255,87,0.08);
}
.tier-card--pro:hover {
  border-color: rgba(184,255,87,0.4);
  box-shadow: 0 0 80px rgba(184,255,87,0.1), inset 0 0 0 1px rgba(184,255,87,0.12);
}
.tier-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--bg);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 16px;
  border-radius: 20px;
  white-space: nowrap;
}
.tier-name {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.tier-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 12px;
}
.price-amount {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 52px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}
.price-period { font-size: 16px; color: var(--fg-muted); font-weight: 400; }
.tier-tagline {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.6;
  margin-bottom: 28px;
  min-height: 40px;
}
.tier-cta {
  display: block;
  text-align: center;
  padding: 14px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  margin-bottom: 28px;
  cursor: pointer;
}
.tier-cta--outline {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.15);
  color: var(--fg);
}
.tier-cta--outline:hover {
  border-color: rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.04);
}
.tier-cta--filled {
  background: var(--accent);
  color: var(--bg);
  border: none;
}
.tier-cta--filled:hover {
  background: #d4ff7a;
  box-shadow: 0 8px 30px rgba(184,255,87,0.3);
}
.tier-includes {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 16px;
}
.tier-features { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.tier-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  line-height: 1.4;
}
.tier-feature strong { font-weight: 600; }
.tier-feature.dimmed { opacity: 0.4; }
.feature-check, .feature-x {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* === COMPARISON TABLE === */
.pricing-table-section {
  padding: 0 40px 100px;
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.pricing-table-inner { max-width: 900px; margin: 0 auto; padding-top: 80px; }
.table-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 28px;
}
.comparison-table { width: 100%; }
.table-head, .table-row {
  display: grid;
  grid-template-columns: 1fr 120px 120px;
  gap: 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.table-head {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-muted);
  padding: 12px 0;
  border-bottom: 2px solid rgba(255,255,255,0.1);
}
.table-row { padding: 14px 0; align-items: center; }
.table-row:hover { background: rgba(255,255,255,0.02); border-radius: 6px; }
.table-feature { font-size: 14px; color: var(--fg); }
.table-tier-col {
  text-align: center;
  font-size: 13px;
  color: var(--fg-muted);
  display: flex;
  align-items: center;
  justify-content: center;
}
.table-tier-pro { color: var(--accent); font-weight: 600; }
.dimmed { color: rgba(136,136,128,0.5) !important; }
.table-row:hover .dimmed { opacity: 0.7; }

/* === FAQ === */
.pricing-faq { padding: 100px 40px; }
.faq-inner { max-width: 900px; margin: 0 auto; }
.faq-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 48px;
}
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 48px;
}
.faq-item {}
.faq-q {
  font-size: 15px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 10px;
  line-height: 1.4;
}
.faq-a {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.7;
}

/* === PRICING CTA === */
.pricing-cta {
  padding: 100px 40px;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.pricing-cta-inner { max-width: 600px; margin: 0 auto; }
.pricing-cta-headline {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 20px;
}
.pricing-cta-sub {
  font-size: 15px;
  color: var(--fg-muted);
  margin-bottom: 36px;
}
.pricing-cta-btn {
  display: inline-block;
  background: var(--accent);
  color: var(--bg);
  font-size: 15px;
  font-weight: 700;
  padding: 14px 36px;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.2s;
  letter-spacing: 0.01em;
}
.pricing-cta-btn:hover {
  background: #d4ff7a;
  box-shadow: 0 8px 30px rgba(184,255,87,0.25);
  transform: translateY(-1px);
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  nav { padding: 0 20px; }
  .hero { padding: 100px 20px 60px; }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-stats { flex-wrap: wrap; gap: 16px; }
  .stat-divider { display: none; }
  .livedata { padding: 16px 20px; }
  .live-events { gap: 16px; flex-wrap: wrap; }
  .features { padding: 60px 20px; }
  .feature-grid { grid-template-columns: 1fr; }
  .manifesto { padding: 60px 20px; }
  .closing { padding: 80px 20px; }
  footer { padding: 32px 20px; }
  .footer-inner { flex-direction: column; gap: 24px; text-align: center; }
  .dash-sidebar { display: none; }
  .dash-body { grid-template-columns: 1fr; }
  .metric-row { grid-template-columns: 1fr; }
}