/* ============================================================
   AnalystEngine — Shared Stylesheet
   aianalystengine.com
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --white: #ffffff;
  --bg: #f8f9fb;
  --surface: #ffffff;
  --surface2: #f1f3f7;
  --border: #e2e5ec;
  --border-strong: #c8cdd8;
  --accent: #0066ff;
  --accent-dark: #0047cc;
  --accent-light: #e8f0ff;
  --red: #e8274b;
  --red-light: #fde8ec;
  --green: #00b87a;
  --text: #0d1117;
  --text2: #3d4553;
  --muted: #8b93a5;
  --muted2: #b4bac8;
}

/* ── Reset ──────────────────────────────────────────────────── */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--white);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── Animations ─────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes cur {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* ── Navigation ─────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  height: 64px;
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-mark {
  width: 32px; height: 32px;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  position: relative;
  overflow: hidden;
}
.logo-mark::after {
  content: '';
  position: absolute;
  inset: 6px;
  background: white;
  clip-path: polygon(0 100%, 28% 38%, 58% 65%, 100% 0, 100% 100%);
  opacity: 0.95;
}

.logo-text {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.4px;
}
.logo-text span { color: var(--accent); }

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--text2);
  text-decoration: none;
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--accent); }
.nav-links a.active { color: var(--accent); }

.nav-cta {
  font-size: 13px;
  font-weight: 600;
  background: var(--accent);
  color: white;
  border: none;
  padding: 9px 22px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.15s, transform 0.15s, box-shadow 0.15s;
  text-decoration: none;
  display: inline-block;
}
.nav-cta:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0,102,255,0.25);
}

/* ── Shared Typography ──────────────────────────────────────── */
h1 {
  font-size: clamp(48px, 6.5vw, 88px);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -0.04em;
  max-width: 860px;
  color: var(--text);
}
h1 .accent { color: var(--accent); }
h1 .strike {
  color: var(--muted2);
  text-decoration: line-through;
  text-decoration-color: var(--red);
}

h2 {
  font-size: clamp(32px, 3.5vw, 52px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-label::before {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

/* ── Buttons ────────────────────────────────────────────────── */
.btn-primary {
  font-size: 14px;
  font-weight: 600;
  background: var(--accent);
  color: white;
  border: none;
  padding: 14px 32px;
  border-radius: 7px;
  cursor: pointer;
  transition: background 0.15s, transform 0.15s, box-shadow 0.15s;
  text-decoration: none;
  display: inline-block;
}
.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,102,255,0.28);
}

.btn-ghost {
  font-size: 14px;
  font-weight: 500;
  background: transparent;
  color: var(--text2);
  border: 1.5px solid var(--border-strong);
  padding: 13px 28px;
  border-radius: 7px;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* ── Hero ───────────────────────────────────────────────────── */
#hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 48px 80px;
  background: var(--white);
  position: relative;
  overflow: hidden;
}
#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, #d0d5e0 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.5;
  pointer-events: none;
}
#hero::after {
  content: '';
  position: absolute;
  right: -200px;
  top: 10%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle at 40% 40%, rgba(0,102,255,0.07) 0%, rgba(0,102,255,0.02) 50%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-inner { position: relative; z-index: 1; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-light);
  color: var(--accent);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 32px;
  border: 1px solid rgba(0,102,255,0.15);
  opacity: 0;
  animation: fadeUp 0.7s 0.1s forwards;
}
.eyebrow-dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: blink 2s ease-in-out infinite;
}

.hero-sub {
  margin-top: 32px;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.7;
  max-width: 540px;
  color: var(--text2);
  opacity: 0;
  animation: fadeUp 0.7s 0.4s forwards;
}

.hero-actions {
  margin-top: 48px;
  display: flex;
  gap: 16px;
  align-items: center;
  opacity: 0;
  animation: fadeUp 0.7s 0.55s forwards;
}

.hero-trust {
  margin-top: 56px;
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 0;
  animation: fadeUp 0.7s 0.7s forwards;
}
.trust-avatars { display: flex; }
.trust-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 2px solid white;
  margin-left: -8px;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}
.trust-avatar:first-child { margin-left: 0; }
.trust-text { font-size: 13px; color: var(--muted); }
.trust-text strong { color: var(--text); font-weight: 600; }

.hero-stats {
  margin-top: 80px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 580px;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  opacity: 0;
  animation: fadeUp 0.7s 0.85s forwards;
  background: var(--white);
  box-shadow: 0 2px 24px rgba(0,0,0,0.05);
}
.hero-stat {
  padding: 24px 28px;
  border-right: 1px solid var(--border);
}
.hero-stat:last-child { border-right: none; }
.stat-num {
  font-size: 28px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.03em;
  line-height: 1;
}
.stat-label {
  font-size: 11px;
  color: var(--muted);
  font-weight: 500;
  margin-top: 6px;
  line-height: 1.4;
}

/* ── Ticker ─────────────────────────────────────────────────── */
.ticker {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  padding: 13px 0;
  overflow: hidden;
  white-space: nowrap;
}
.ticker-track {
  display: inline-flex;
  gap: 64px;
  animation: ticker 35s linear infinite;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.ticker-track .dot { color: var(--accent); }

/* ── Problem Section ────────────────────────────────────────── */
#problem {
  padding: 100px 48px;
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  background: var(--bg);
}
.problem-intro p {
  margin-top: 20px;
  font-size: 15px;
  color: var(--text2);
  line-height: 1.75;
  max-width: 420px;
}
.problem-points {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.problem-point {
  display: flex;
  gap: 16px;
  padding: 20px 22px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.problem-point:hover {
  border-color: rgba(232,39,75,0.3);
  box-shadow: 0 4px 20px rgba(232,39,75,0.06);
}
.pp-icon {
  width: 36px; height: 36px;
  background: var(--red-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.pp-title { font-size: 14px; font-weight: 700; margin-bottom: 4px; color: var(--text); }
.pp-desc  { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* ── Product Section ────────────────────────────────────────── */
#product {
  padding: 100px 48px;
  border-bottom: 1px solid var(--border);
  background: var(--white);
}
.product-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-bottom: 56px;
  align-items: end;
}
.product-header p { font-size: 15px; color: var(--text2); line-height: 1.75; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.feature-card {
  padding: 36px 32px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
  border-radius: 3px 3px 0 0;
}
.feature-card:hover {
  border-color: rgba(0,102,255,0.2);
  box-shadow: 0 8px 32px rgba(0,102,255,0.08);
  transform: translateY(-2px);
}
.feature-card:hover::before { transform: scaleX(1); }

.feature-icon {
  width: 44px; height: 44px;
  background: var(--accent-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 20px;
}
.feature-num {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.feature-title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  color: var(--text);
  line-height: 1.25;
}
.feature-desc { font-size: 13px; color: var(--text2); line-height: 1.75; }
.feature-tag {
  display: inline-flex;
  align-items: center;
  margin-top: 18px;
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-light);
  padding: 4px 12px;
  border-radius: 100px;
}

/* ── Terminal Demo ───────────────────────────────────────────── */
.demo-terminal {
  margin-top: 56px;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 40px rgba(0,0,0,0.08);
}
.terminal-bar {
  background: var(--bg);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid var(--border);
}
.t-dot { width: 10px; height: 10px; border-radius: 50%; }
.t-dot.r { background: #ff5f57; }
.t-dot.y { background: #febc2e; }
.t-dot.g { background: #28c840; }
.terminal-title { font-size: 12px; font-weight: 500; color: var(--muted); margin-left: 12px; }
.terminal-body {
  padding: 28px 32px;
  font-family: 'SF Mono', 'Fira Code', 'Courier New', monospace;
  font-size: 13px;
  line-height: 2;
  background: #fafbfc;
}
.t-prompt    { color: var(--accent); font-weight: 600; }
.t-user      { color: var(--text); }
.t-response  { color: var(--text2); margin-left: 20px; }
.t-highlight { color: var(--accent); font-weight: 600; }
.t-warn      { color: var(--red); }
.t-good      { color: var(--green); font-weight: 600; }
.t-cursor {
  display: inline-block;
  width: 8px; height: 14px;
  background: var(--accent);
  animation: cur 1s step-end infinite;
  vertical-align: middle;
  border-radius: 1px;
}

/* ── Pricing Section ─────────────────────────────────────────── */
#pricing {
  padding: 100px 48px;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}
.pricing-header {
  text-align: center;
  margin-bottom: 56px;
}
.pricing-header .section-label { justify-content: center; }
.pricing-header h2 { margin-bottom: 16px; }
.pricing-header p  { font-size: 15px; color: var(--text2); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1060px;
  margin: 0 auto;
}
.pricing-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 40px 32px;
  position: relative;
  transition: box-shadow 0.2s;
}
.pricing-card:hover { box-shadow: 0 8px 40px rgba(0,0,0,0.08); }
.pricing-card.featured {
  border-color: var(--accent);
  border-width: 2px;
  box-shadow: 0 8px 40px rgba(0,102,255,0.1);
}
.featured-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: white;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 16px;
  border-radius: 100px;
  white-space: nowrap;
}

.price-tier   { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 20px; }
.price-amount { font-size: 52px; font-weight: 800; line-height: 1; letter-spacing: -0.04em; color: var(--text); margin-bottom: 4px; }
.price-amount sup { font-size: 22px; font-weight: 700; vertical-align: super; line-height: 0; color: var(--text2); }
.price-amount.free { color: var(--green); }
.price-period  { font-size: 12px; color: var(--muted); margin-bottom: 28px; font-weight: 500; }
.price-divider { height: 1px; background: var(--border); margin-bottom: 24px; }

.price-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}
.price-features li {
  font-size: 13px;
  color: var(--text2);
  display: flex;
  gap: 10px;
  align-items: flex-start;
  line-height: 1.5;
}
.price-features li .check { color: var(--green); font-weight: 700; flex-shrink: 0; margin-top: 1px; }
.price-features li.locked { color: var(--muted2); }
.price-features li.locked .check { color: var(--muted2); }

.btn-plan {
  width: 100%;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  padding: 13px;
  border-radius: 7px;
  cursor: pointer;
  transition: all 0.15s;
  border: 1.5px solid var(--border-strong);
  background: transparent;
  color: var(--text);
}
.btn-plan:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-light); }
.btn-plan.featured-btn { background: var(--accent); border-color: var(--accent); color: white; }
.btn-plan.featured-btn:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  box-shadow: 0 6px 20px rgba(0,102,255,0.3);
  transform: translateY(-1px);
}

.legacy-compare {
  max-width: 1060px;
  margin: 24px auto 0;
  padding: 18px 28px;
  border: 1px solid rgba(232,39,75,0.2);
  border-radius: 8px;
  background: rgba(232,39,75,0.03);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.compare-col   { display: flex; flex-direction: column; gap: 2px; }
.compare-label { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.compare-val   { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; }
.compare-val.old { color: var(--red); text-decoration: line-through; }
.compare-val.new { color: var(--green); }
.compare-arrow { color: var(--muted2); font-size: 18px; }
.compare-savings {
  font-size: 13px;
  font-weight: 700;
  color: var(--green);
  background: rgba(0,184,122,0.1);
  padding: 6px 18px;
  border-radius: 100px;
  border: 1px solid rgba(0,184,122,0.2);
}

/* ── About Section ──────────────────────────────────────────── */
#about {
  padding: 100px 48px;
  border-bottom: 1px solid var(--border);
  background: var(--white);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.about-intro p { margin-top: 20px; font-size: 15px; color: var(--text2); line-height: 1.75; }

.about-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}
.badge {
  font-size: 11px;
  font-weight: 600;
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 100px;
  color: var(--text2);
  background: var(--bg);
  transition: all 0.15s;
}
.badge:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-light); cursor: default; }

.about-right { display: flex; flex-direction: column; gap: 16px; }

.credibility-item {
  padding: 24px 28px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--white);
  border-left: 3px solid var(--accent);
  transition: box-shadow 0.2s;
}
.credibility-item:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.06); }
.credibility-item.red   { border-left-color: var(--red); }
.credibility-item.green { border-left-color: var(--green); }

.cred-role { font-size: 10px; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 10px; }
.credibility-item.red   .cred-role { color: var(--red); }
.credibility-item.green .cred-role { color: var(--green); }
.cred-text { font-size: 14px; font-weight: 500; line-height: 1.65; color: var(--text); }
.cred-org  { font-size: 12px; color: var(--muted); margin-top: 10px; }

/* ── Waitlist Section ───────────────────────────────────────── */
#waitlist {
  padding: 100px 48px;
  text-align: center;
  background: var(--accent);
  position: relative;
  overflow: hidden;
}
#waitlist::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.waitlist-inner { position: relative; z-index: 1; }

.waitlist-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.15);
  color: white;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.2);
  margin-bottom: 28px;
}

#waitlist h2  { font-size: clamp(40px, 5vw, 64px); color: white; margin-bottom: 20px; }
#waitlist p   { font-size: 16px; color: rgba(255,255,255,0.8); max-width: 480px; margin: 0 auto 48px; line-height: 1.7; }

.waitlist-form {
  display: flex;
  max-width: 400px;
  margin: 0 auto;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.2);
}
.waitlist-input {
  flex: 1;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  background: white;
  border: none;
  color: var(--text);
  padding: 16px 10px;
  outline: none;
}
.waitlist-input::placeholder { color: var(--muted); }
.waitlist-btn {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 700;
  background: var(--text);
  color: white;
  border: none;
  padding: 16px 28px;
  cursor: pointer;
  transition: background 0.15s;
  white-space: nowrap;
}
.waitlist-btn:hover { background: #1a2234; }

.success-msg {
  display: none;
  font-size: 15px;
  font-weight: 600;
  color: white;
  margin: 20px auto 0;
  background: rgba(255,255,255,0.15);
  padding: 14px 28px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.2);
  max-width: 520px;
}
.waitlist-note { margin-top: 18px; font-size: 12px; color: rgba(255,255,255,0.55); }

/* ── Footer ─────────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  padding: 28px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--white);
}
.footer-logo { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.footer-logo-mark {
  width: 24px; height: 24px;
  background: var(--accent);
  border-radius: 5px;
  position: relative;
  overflow: hidden;
}
.footer-logo-mark::after {
  content: '';
  position: absolute;
  inset: 5px;
  background: white;
  clip-path: polygon(0 100%, 28% 38%, 58% 65%, 100% 0, 100% 100%);
}
.footer-logo-name { font-size: 14px; font-weight: 700; color: var(--text); letter-spacing: -0.3px; }
.footer-logo-name span { color: var(--accent); }
.footer-meta  { font-size: 12px; color: var(--muted); }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 12px; color: var(--muted); text-decoration: none; font-weight: 500; transition: color 0.15s; }
.footer-links a:hover { color: var(--accent); }

/* ── Thought Leadership Page Styles ─────────────────────────── */

/* Page hero for inner pages (no full-height) */
.page-hero {
  padding: 120px 48px 64px;
  background: var(--white);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, #d0d5e0 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.4;
  pointer-events: none;
}
.page-hero::after {
  content: '';
  position: absolute;
  right: -100px;
  top: 0;
  width: 500px;
  height: 100%;
  background: radial-gradient(circle at 60% 50%, rgba(0,102,255,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero-inner { position: relative; z-index: 1; max-width: 860px; }

.page-hero-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.meta-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent-light);
  color: var(--accent);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 100px;
  border: 1px solid rgba(0,102,255,0.15);
}
.meta-dot {
  width: 5px; height: 5px;
  background: var(--accent);
  border-radius: 50%;
  animation: blink 2s ease-in-out infinite;
}
.meta-divider { color: var(--muted2); font-size: 12px; }
.meta-info { font-size: 12px; color: var(--muted); font-weight: 500; }

.page-hero h1 {
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--text);
  max-width: 780px;
  opacity: 0;
  animation: fadeUp 0.7s 0.2s forwards;
}

.page-hero-sub {
  margin-top: 24px;
  font-size: 17px;
  color: var(--text2);
  line-height: 1.7;
  max-width: 600px;
  font-weight: 400;
  opacity: 0;
  animation: fadeUp 0.7s 0.4s forwards;
}

.page-hero-audience {
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.7s 0.55s forwards;
}
.audience-label { font-size: 11px; color: var(--muted); font-weight: 500; }
.audience-chip {
  font-size: 11px;
  font-weight: 600;
  color: var(--text2);
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 4px 12px;
  border-radius: 100px;
}

/* Article layout */
.article-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 0;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
  align-items: start;
}

/* Sticky TOC sidebar */
.toc-sidebar {
  position: sticky;
  top: 88px;
  padding: 48px 32px 48px 0;
  border-right: 1px solid var(--border);
}
.toc-title {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}
.toc-list { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.toc-list a {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 5px;
  border-left: 2px solid transparent;
  transition: all 0.15s;
  line-height: 1.4;
}
.toc-list a:hover { color: var(--accent); background: var(--accent-light); border-left-color: var(--accent); }
.toc-list a.active { color: var(--accent); background: var(--accent-light); border-left-color: var(--accent); font-weight: 600; }

/* Article body */
.article-body { padding: 56px 0 80px 56px; }

/* Chapter / section */
.article-section { margin-bottom: 72px; scroll-margin-top: 88px; }

.chapter-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.chapter-label::before {
  content: '';
  display: block;
  width: 16px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.article-section h2 {
  font-size: clamp(24px, 2.5vw, 36px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--text);
}

.article-section h3 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin: 36px 0 14px;
  color: var(--text);
}

.article-p {
  font-size: 16px;
  line-height: 1.85;
  color: var(--text2);
  margin-bottom: 20px;
  font-weight: 400;
}
.article-p:last-child { margin-bottom: 0; }

/* Pull quote */
.pull-quote {
  margin: 40px 0;
  padding: 28px 36px;
  border-left: 3px solid var(--accent);
  background: var(--accent-light);
  border-radius: 0 10px 10px 0;
}
.pull-quote p {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.6;
  color: var(--text);
  letter-spacing: -0.01em;
  font-style: italic;
}
.pull-quote.red   { border-left-color: var(--red);   background: var(--red-light); }
.pull-quote.green { border-left-color: var(--green);  background: rgba(0,184,122,0.07); }

/* Comparison table */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  margin: 32px 0;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  font-size: 13px;
}
.compare-table th {
  background: var(--bg);
  padding: 14px 20px;
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
}
.compare-table th.old-col { color: var(--red); }
.compare-table th.new-col { color: var(--accent); }
.compare-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  color: var(--text2);
  line-height: 1.5;
  vertical-align: top;
}
.compare-table tr:last-child td { border-bottom: none; }
.compare-table tr:hover td { background: var(--bg); }
.compare-table td:first-child { font-weight: 600; color: var(--text); width: 180px; }

/* Insight cards */
.insight-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 32px 0;
}
.insight-card {
  padding: 24px 24px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--white);
  transition: box-shadow 0.2s, border-color 0.2s;
}
.insight-card:hover {
  box-shadow: 0 4px 20px rgba(0,102,255,0.07);
  border-color: rgba(0,102,255,0.2);
}
.insight-num {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.insight-title { font-size: 15px; font-weight: 700; margin-bottom: 10px; color: var(--text); letter-spacing: -0.01em; }
.insight-desc  { font-size: 13px; color: var(--text2); line-height: 1.7; }

/* Step list (new model steps) */
.step-list { display: flex; flex-direction: column; gap: 20px; margin: 32px 0; }
.step-item {
  display: flex;
  gap: 20px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.step-item:hover { border-color: rgba(0,102,255,0.2); box-shadow: 0 4px 20px rgba(0,102,255,0.06); }
.step-num {
  width: 36px; height: 36px;
  background: var(--accent);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  flex-shrink: 0;
}
.step-content h4 { font-size: 15px; font-weight: 700; margin-bottom: 8px; color: var(--text); }
.step-content p  { font-size: 13px; color: var(--text2); line-height: 1.7; }

/* Surfaces list for future section */
.surfaces-list { display: flex; flex-direction: column; gap: 10px; margin: 24px 0; }
.surface-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 20px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg);
  font-size: 13px;
}
.surface-icon { font-size: 16px; flex-shrink: 0; margin-top: 1px; }
.surface-item strong { display: block; font-weight: 600; color: var(--text); font-size: 13px; margin-bottom: 2px; }
.surface-item span { color: var(--text2); line-height: 1.5; }

/* CTA band */
.article-cta {
  margin: 64px 0 0;
  padding: 48px;
  background: var(--accent);
  border-radius: 12px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.article-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}
.article-cta-inner { position: relative; z-index: 1; }
.article-cta h3 { font-size: 28px; font-weight: 800; color: white; letter-spacing: -0.03em; margin-bottom: 12px; }
.article-cta p  { font-size: 15px; color: rgba(255,255,255,0.8); margin-bottom: 28px; line-height: 1.6; }
.article-cta .btn-white {
  font-size: 14px;
  font-weight: 700;
  background: white;
  color: var(--accent);
  border: none;
  padding: 14px 32px;
  border-radius: 7px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: transform 0.15s, box-shadow 0.15s;
}
.article-cta .btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.2);
}
/* =========================
   TABLET
========================= */
@media (max-width: 1024px) {

  nav {
    padding: 0 20px;
  }

  .nav-links {
    gap: 16px;
    flex-wrap: wrap;
  }

  #problem,
  .product-header,
  #about {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
  }

}

/* =========================
   MOBILE
========================= */
@media (max-width: 768px) {

  nav {
    height: auto;
    flex-wrap: wrap;
    padding: 14px 16px;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
  }

  #hero,
  #problem,
  #product,
  #pricing,
  #about,
  #waitlist {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .btn-primary,
  .btn-ghost {
    width: 100%;
  }

  h1 {
    font-size: clamp(32px, 9vw, 44px);
  }

}
