:root {
  --bg-primary: #0a0a0f;
  --bg-secondary: #0f0f17;
  --bg-card: #141420;
  --bg-card-alt: #1a1a28;
  --fg-primary: #f0ece4;
  --fg-secondary: #9a9590;
  --fg-muted: #5a5550;
  --accent: #c8a55c;
  --accent-dim: rgba(200, 165, 92, 0.15);
  --accent-border: rgba(200, 165, 92, 0.2);
  --accent-border-strong: rgba(200, 165, 92, 0.45);
  --green: #4ade80;
  --green-dim: rgba(74, 222, 128, 0.12);
  --red: #f87171;
  --font-display: 'Instrument Serif', serif;
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --max-w: 1000px;
  --max-w-narrow: 760px;
}

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

body {
  background: var(--bg-primary);
  color: var(--fg-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── SHARED ─────────────────────────────────────────────────────────────────── */

.section-eyebrow {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: #0a0a0f;
  padding: 0.85rem 1.85rem;
  border-radius: 4px;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: opacity 0.2s ease, transform 0.15s ease;
}

.btn-primary:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

.btn-primary.btn-large {
  padding: 1rem 2.25rem;
  font-size: 1rem;
}

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--accent);
  padding: 0.85rem 1.85rem;
  border-radius: 4px;
  border: 1px solid var(--accent-border-strong);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.btn-secondary:hover {
  border-color: var(--accent);
  background: var(--accent-dim);
}

.sol-check {
  color: var(--green);
  font-weight: 700;
  margin-right: 0.6rem;
}

.prob-x {
  color: var(--red);
  font-weight: 700;
  margin-right: 0.6rem;
}

/* ── HERO ────────────────────────────────────────────────────────────────────── */

.hero {
  min-height: 88vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 7rem 2rem 5rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -15%;
  right: -5%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, var(--accent-dim) 0%, transparent 65%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(74, 74, 200, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.hero-eyebrow {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 2.5rem;
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

.hero-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 400;
  font-style: normal;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin-bottom: 1.75rem;
  color: var(--fg-primary);
}

.hero-accent {
  color: var(--accent);
  font-style: italic;
}

.hero-sub {
  font-family: var(--font-body);
  font-size: 1.2rem;
  line-height: 1.65;
  color: var(--fg-secondary);
  max-width: 580px;
  margin-bottom: 3rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

/* Social proof bar */
.hero-proof {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  padding-top: 2rem;
  border-top: 1px solid var(--accent-border);
}

.proof-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--fg-muted);
  letter-spacing: 0.02em;
}

.proof-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.6;
}

.proof-live {
  color: var(--green);
}

.proof-live .proof-dot {
  background: var(--green);
  opacity: 1;
}

.proof-pulse {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse-live 2s ease-in-out infinite;
}

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

.proof-sep {
  color: var(--fg-muted);
  opacity: 0.3;
  font-size: 0.8rem;
}

/* ── PROBLEM / SOLUTION ──────────────────────────────────────────────────────── */

.problem {
  padding: 8rem 2rem;
  background: var(--bg-secondary);
}

.problem-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 1rem;
}

.problem-side h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  color: var(--fg-primary);
}

.problem-side > p {
  font-size: 1rem;
  color: var(--fg-secondary);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 420px;
}

.problem-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.problem-list li {
  font-size: 0.95rem;
  color: var(--fg-secondary);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.solution-card {
  background: var(--bg-card);
  border: 1px solid var(--accent-border);
  border-radius: 8px;
  padding: 2.5rem;
}

.solution-label {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.solution-desc {
  font-size: 1rem;
  color: var(--fg-secondary);
  line-height: 1.7;
  margin-bottom: 1.75rem;
}

.solution-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.solution-list li {
  font-size: 0.95rem;
  color: var(--fg-secondary);
  display: flex;
  align-items: flex-start;
}

/* ── HOW IT WORKS ────────────────────────────────────────────────────────────── */

.how {
  padding: 8rem 2rem;
  background: var(--bg-primary);
}

.how-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.how h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 4rem;
  max-width: 640px;
  color: var(--fg-primary);
}

.how-steps {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.step {
  display: flex;
  gap: 2.5rem;
  align-items: flex-start;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(200, 165, 92, 0.07);
}

.step:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.step-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: rgba(200, 165, 92, 0.15);
  line-height: 1;
  min-width: 70px;
  padding-top: 0.25rem;
}

.step-content h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--fg-primary);
  margin-bottom: 0.6rem;
}

.step-content p {
  color: var(--fg-secondary);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 520px;
}

/* ── DEMO SECTION ────────────────────────────────────────────────────────────── */

.demo {
  padding: 8rem 2rem;
  background: var(--bg-secondary);
}

.demo-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.demo h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 0.75rem;
  color: var(--fg-primary);
}

.demo-sub {
  font-size: 1rem;
  color: var(--fg-secondary);
  margin-bottom: 2.5rem;
  max-width: 560px;
  line-height: 1.65;
}

.demo-preview {
  background: var(--bg-card);
  border: 1px solid var(--accent-border);
  border-radius: 8px;
  overflow: hidden;
}

.demo-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid rgba(200, 165, 92, 0.08);
  background: rgba(200, 165, 92, 0.03);
}

.demo-badge {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  background: var(--green-dim);
  color: var(--green);
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
  border: 1px solid rgba(74, 222, 128, 0.25);
}

.demo-title {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  color: var(--fg-muted);
  flex: 1;
}

.demo-link {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.2s;
}

.demo-link:hover { opacity: 0.75; }

.demo-items {
  padding: 0.5rem 0;
}

.demo-item {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(200, 165, 92, 0.06);
  transition: background 0.15s ease;
}

.demo-item:last-child { border-bottom: none; }
.demo-item:hover { background: rgba(200, 165, 92, 0.025); }

.demo-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.6rem;
  flex-wrap: wrap;
}

.demo-source {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.demo-domain {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--accent);
  background: var(--accent-dim);
  padding: 0.15rem 0.5rem;
  border-radius: 3px;
}

.demo-impact {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.15rem 0.5rem;
  border-radius: 3px;
}

.impact-high {
  color: #f87171;
  background: rgba(248, 113, 113, 0.1);
}

.impact-medium {
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.1);
}

.demo-text {
  font-size: 0.95rem;
  color: var(--fg-primary);
  line-height: 1.55;
}

.demo-cta {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid rgba(200, 165, 92, 0.08);
  background: rgba(200, 165, 92, 0.02);
  text-align: center;
}

/* ── PRICING PREVIEW ─────────────────────────────────────────────────────────── */

.pricing-preview {
  padding: 8rem 2rem;
  background: var(--bg-primary);
}

.pricing-inner {
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
}

.pricing-preview h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 400;
  margin-bottom: 2.5rem;
  color: var(--fg-primary);
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--accent-border);
  border-radius: 8px;
  padding: 3rem 2.5rem;
  text-align: left;
}

.pricing-from {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--fg-muted);
  margin-bottom: 0.25rem;
}

.pricing-amount {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 400;
  color: var(--fg-primary);
  line-height: 1;
  margin-bottom: 1.25rem;
}

.pricing-unit {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--fg-secondary);
}

.pricing-desc {
  font-size: 0.95rem;
  color: var(--fg-secondary);
  line-height: 1.65;
  margin-bottom: 1.75rem;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.pricing-features li {
  font-size: 0.95rem;
  color: var(--fg-secondary);
  display: flex;
  align-items: center;
}

.pricing-note {
  font-size: 0.8rem;
  color: var(--fg-muted);
  text-align: center;
  margin-top: 1rem;
}

/* ── CLOSING ─────────────────────────────────────────────────────────────────── */

.closing {
  padding: 9rem 2rem;
  background: var(--bg-secondary);
  text-align: center;
}

.closing-inner {
  max-width: var(--max-w-narrow);
  margin: 0 auto;
}

.closing h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 1.75rem;
  color: var(--fg-primary);
}

.closing .accent {
  color: var(--accent);
  font-style: italic;
}

.closing-text {
  font-size: 1.05rem;
  color: var(--fg-secondary);
  line-height: 1.75;
  max-width: 580px;
  margin: 0 auto 3rem;
}

.closing-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.closing-note {
  font-size: 0.8rem;
  color: var(--fg-muted);
}

/* ── FOOTER ──────────────────────────────────────────────────────────────────── */

.site-footer {
  padding: 2.5rem 2rem;
  border-top: 1px solid rgba(200, 165, 92, 0.07);
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.footer-left {}

.footer-brand {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--fg-primary);
  margin-bottom: 0.25rem;
}

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

.footer-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.footer-link {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--fg-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-link:hover {
  color: var(--fg-secondary);
}

.footer-cta {
  padding: 0.6rem 1.25rem;
  font-size: 0.82rem;
}

/* ── RADAR DASHBOARD (inner pages) ───────────────────────────────────────────── */

/* These styles are for the /radar pages — kept separate from landing */
.radar-page {
  font-family: var(--font-body);
}

/* ── RESPONSIVE ──────────────────────────────────────────────────────────────── */

@media (max-width: 768px) {
  .hero { min-height: auto; padding: 5rem 1.5rem 3.5rem; }
  .hero h1 { font-size: 2.5rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions a { text-align: center; }
  .hero-proof { gap: 0.75rem; }
  .proof-sep { display: none; }

  .problem { padding: 5rem 1.5rem; }
  .problem-grid { grid-template-columns: 1fr; gap: 2.5rem; }

  .how { padding: 5rem 1.5rem; }
  .step { flex-direction: column; gap: 0.75rem; }
  .step-number { font-size: 2rem; min-width: auto; }

  .demo { padding: 5rem 1.5rem; }
  .demo-header { flex-wrap: wrap; }
  .demo-link { order: 3; }

  .pricing-preview { padding: 5rem 1.5rem; }
  .pricing-card { padding: 2rem 1.5rem; }

  .closing { padding: 5rem 1.5rem; }

  .footer-inner { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
  .footer-right { flex-wrap: wrap; gap: 1rem; }
}
