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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #1e293b;
  line-height: 1.6;
  background: #ffffff;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Buttons ──────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-weight: 600;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn-sm { padding: 8px 20px; font-size: 14px; }
.btn-lg { padding: 14px 28px; font-size: 16px; }

.btn-primary {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
}
.btn-primary:hover {
  background: #1e293b;
  border-color: #1e293b;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.18);
}

.btn-outline {
  background: transparent;
  color: #0f172a;
  border-color: #cbd5e1;
}
.btn-outline:hover {
  border-color: #0f172a;
  background: #f8fafc;
}

.btn-white {
  background: #ffffff;
  color: #0f172a;
  border-color: #ffffff;
}
.btn-white:hover {
  background: #f1f5f9;
  border-color: #f1f5f9;
  box-shadow: 0 4px 16px rgba(255, 255, 255, 0.15);
}

.btn-outline-white {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.35);
}
.btn-outline-white:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

/* ── Navigation ───────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #e5e7eb;
}

.nav-inner {
  display: flex;
  align-items: center;
  height: 64px;
  gap: 32px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.3px;
  flex-shrink: 0;
}

.nav-logo-icon,
.footer-logo-icon {
  width: 28px;
  height: 28px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: #64748b;
  transition: color 0.15s;
}
.nav-links a:hover { color: #0f172a; }

.nav-cta { margin-left: 12px; }

.nav-mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: #334155;
  padding: 4px;
  margin-left: auto;
}

/* ── Hero ──────────────────────────────────────────────────────────────── */
.hero {
  padding-top: 140px;
  padding-bottom: 80px;
  background: #ffffff;
  text-align: center;
}

.hero-inner {
  max-width: 720px;
}

.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 20px;
  background: #f0f9ff;
  color: #0369a1;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 24px;
  border: 1px solid #bae6fd;
}

.hero-title {
  font-size: 56px;
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -1.5px;
  color: #0f172a;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 18px;
  color: #64748b;
  line-height: 1.65;
  max-width: 560px;
  margin: 0 auto 32px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Hero Screenshot / Mockup ─────────────────────────────────────────── */
.hero-screenshot {
  margin-top: 64px;
  max-width: 860px;
}

.hero-mockup {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  overflow: hidden;
  box-shadow:
    0 4px 6px rgba(15, 23, 42, 0.03),
    0 20px 60px rgba(15, 23, 42, 0.08),
    0 0 0 1px rgba(15, 23, 42, 0.03);
}

.mockup-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 18px;
  background: #f8fafc;
  border-bottom: 1px solid #e5e7eb;
}

.mockup-dots {
  display: flex;
  gap: 6px;
}
.mockup-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e2e8f0;
}
.mockup-dots span:first-child { background: #fca5a5; }
.mockup-dots span:nth-child(2) { background: #fde68a; }
.mockup-dots span:last-child { background: #86efac; }

.mockup-url {
  flex: 1;
  text-align: center;
  font-size: 12px;
  color: #94a3b8;
  font-weight: 500;
}

.mockup-body {
  display: flex;
  min-height: 400px;
  background: #f1f5f9;
}

.mockup-sidebar {
  width: 100%;
  background: #ffffff;
  border-left: 1px solid #e5e7eb;
  display: flex;
  flex-direction: column;
}

.mockup-sidebar-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-bottom: 1px solid #f1f5f9;
  font-weight: 700;
  font-size: 15px;
  color: #0f172a;
}

.mockup-logo-icon {
  width: 24px;
  height: 24px;
}

.mockup-tabs {
  display: flex;
  border-bottom: 1px solid #f1f5f9;
  padding: 0 18px;
}

.mockup-tab {
  padding: 10px 12px;
  font-size: 12px;
  font-weight: 500;
  color: #94a3b8;
  border-bottom: 2px solid transparent;
  cursor: default;
}
.mockup-tab.active {
  color: #0f172a;
  border-bottom-color: #3b82f6;
  font-weight: 600;
}

.mockup-content {
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mockup-score-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
}

.mockup-gauge {
  position: relative;
  width: 60px;
  height: 60px;
  flex-shrink: 0;
}
.mockup-gauge svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}
.mockup-gauge-val {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
}

.mockup-score-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.mockup-score-label {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #94a3b8;
}
.mockup-score-tone {
  font-size: 14px;
  font-weight: 700;
}
.mockup-score-sub {
  font-size: 11px;
  color: #94a3b8;
}

.mockup-stats-row {
  display: flex;
  gap: 4px;
  padding: 12px 16px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
}

.mockup-stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
}
.mockup-stat span {
  font-size: 18px;
  font-weight: 800;
}
.mockup-stat small {
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #94a3b8;
}

.mockup-claim {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-left-width: 4px;
  border-radius: 10px;
  overflow: hidden;
}
.mockup-claim.supported { border-left-color: #22c55e; }
.mockup-claim.refuted { border-left-color: #ef4444; }

.mockup-claim-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
}

.mockup-verdict-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  color: #fff;
}
.mockup-verdict-dot.supported { background: rgba(34, 197, 94, 0.15); }
.mockup-verdict-dot.supported::after { content: "✓"; color: #16a34a; }
.mockup-verdict-dot.refuted { background: rgba(239, 68, 68, 0.12); }
.mockup-verdict-dot.refuted::after { content: "✗"; color: #dc2626; }

.mockup-claim-text {
  flex: 1;
  font-size: 12px;
  font-weight: 500;
  color: #1e293b;
  line-height: 1.5;
}

.mockup-claim-score {
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

/* ── Sections ─────────────────────────────────────────────────────────── */
.section {
  padding: 96px 0;
}
.section-light { background: #f8fafc; }
.section-white { background: #ffffff; }

.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-header h2 {
  font-size: 36px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}
.section-header p {
  font-size: 17px;
  color: #64748b;
  max-width: 540px;
  margin: 0 auto;
}

/* ── Steps ────────────────────────────────────────────────────────────── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.step-card {
  text-align: center;
  padding: 32px 24px;
}

.step-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: #f0f9ff;
  color: #0369a1;
  border: 1px solid #bae6fd;
}

.step-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 10px;
}
.step-card p {
  font-size: 14px;
  color: #64748b;
  line-height: 1.65;
}

/* ── See through the noise ────────────────────────────────────────────── */
.noise-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.noise-text h2 {
  font-size: 36px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

.noise-lead {
  font-size: 16px;
  color: #64748b;
  line-height: 1.65;
  margin-bottom: 28px;
}

.noise-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.noise-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: #334155;
  line-height: 1.5;
}
.noise-list li svg {
  flex-shrink: 0;
  margin-top: 2px;
}
.noise-list li strong {
  font-weight: 600;
}

/* ── Live Claim Card ──────────────────────────────────────────────────── */
.noise-card-wrapper {
  position: relative;
}

.live-claim-label {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #ef4444;
  margin-bottom: 12px;
  padding: 4px 12px;
  background: rgba(239, 68, 68, 0.06);
  border: 1px solid rgba(239, 68, 68, 0.15);
  border-radius: 6px;
}

.live-claim-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-left: 4px solid #22c55e;
  border-radius: 14px;
  overflow: hidden;
  box-shadow:
    0 4px 6px rgba(15, 23, 42, 0.03),
    0 12px 40px rgba(15, 23, 42, 0.06);
}

.lc-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid #f1f5f9;
}

.lc-verdict-dot {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lc-verdict-dot.supported { background: rgba(34, 197, 94, 0.12); }
.lc-verdict-dot.supported::after { content: "✓"; color: #16a34a; font-weight: 800; font-size: 13px; }

.lc-claim {
  flex: 1;
  font-size: 14px;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.5;
}

.lc-score {
  font-size: 14px;
  font-weight: 700;
  color: #16a34a;
  flex-shrink: 0;
}

.lc-details {
  padding: 16px 18px;
}

.lc-explanation {
  font-size: 13px;
  color: #475569;
  line-height: 1.65;
  margin-bottom: 16px;
}

.lc-papers-header {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #94a3b8;
  margin-bottom: 10px;
}

.lc-paper {
  padding: 8px 0;
  border-top: 1px solid #f1f5f9;
}
.lc-paper:first-of-type { border-top: none; }

.lc-paper-title {
  font-size: 13px;
  font-weight: 600;
  color: #2563eb;
  display: block;
  margin-bottom: 3px;
  transition: color 0.15s;
}
.lc-paper-title:hover { color: #1d4ed8; }

.lc-paper-meta {
  font-size: 11px;
  color: #94a3b8;
}

/* ── Features Grid ────────────────────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-card {
  padding: 32px 28px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.feature-card:hover {
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06);
  transform: translateY(-2px);
}

.feature-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #f0f9ff;
  color: #0369a1;
  border: 1px solid #bae6fd;
  margin-bottom: 18px;
}

.feature-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 10px;
}
.feature-card p {
  font-size: 14px;
  color: #64748b;
  line-height: 1.65;
}

/* ── Audience Grid ────────────────────────────────────────────────────── */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.audience-card {
  padding: 32px 28px;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  background: #f8fafc;
  transition: box-shadow 0.2s;
}
.audience-card:hover {
  box-shadow: 0 6px 24px rgba(15, 23, 42, 0.05);
}

.audience-card-accent {
  background: #0f172a;
  border-color: #0f172a;
}
.audience-card-accent h3 { color: #f1f5f9; }
.audience-card-accent p { color: #94a3b8; }

.audience-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 10px;
}
.audience-card p {
  font-size: 14px;
  color: #64748b;
  line-height: 1.65;
}

/* ── CTA Section ──────────────────────────────────────────────────────── */
.cta-section {
  padding: 96px 0;
  background: #0f172a;
  text-align: center;
}

.cta-inner h2 {
  font-size: 42px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 16px;
}

.cta-inner p {
  font-size: 17px;
  color: #94a3b8;
  max-width: 480px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

.cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Footer ───────────────────────────────────────────────────────────── */
.footer {
  background: #0f172a;
  border-top: 1px solid #1e293b;
  padding: 28px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-left { flex: 1; }

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  color: #e2e8f0;
}

.footer-links {
  display: flex;
  gap: 24px;
}
.footer-links a {
  font-size: 13px;
  color: #64748b;
  transition: color 0.15s;
}
.footer-links a:hover { color: #e2e8f0; }

.footer-copy {
  font-size: 12px;
  color: #475569;
}

/* ── Nav scrolled state ───────────────────────────────────────────────── */
.nav-scrolled {
  box-shadow: 0 1px 8px rgba(15, 23, 42, 0.06);
}

/* ── Fade-in animation ────────────────────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered delays for grid children */
.step-card:nth-child(2).fade-in,
.feature-card:nth-child(2).fade-in,
.audience-card:nth-child(2).fade-in { transition-delay: 0.1s; }
.step-card:nth-child(3).fade-in,
.feature-card:nth-child(3).fade-in,
.audience-card:nth-child(3).fade-in { transition-delay: 0.2s; }

/* ── Mobile nav open ──────────────────────────────────────────────────── */
@media (max-width: 640px) {
  .nav-links.nav-links-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    padding: 16px 24px;
    gap: 14px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  }
  .nav-cta.nav-cta-open {
    display: inline-flex;
    position: absolute;
    top: calc(64px + 140px);
    left: 24px;
    right: 24px;
    justify-content: center;
    z-index: 101;
  }
}

/* ── Responsive ───────────────────────────────────────────────────────── */
@media (max-width: 968px) {
  .hero-title { font-size: 42px; }
  .steps-grid,
  .features-grid,
  .audience-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .noise-grid { grid-template-columns: 1fr; gap: 48px; }
  .section-header h2,
  .noise-text h2 { font-size: 30px; }
  .cta-inner h2 { font-size: 34px; }
}

@media (max-width: 640px) {
  .nav-links,
  .nav-cta { display: none; }
  .nav-mobile-toggle { display: block; }

  .hero { padding-top: 110px; padding-bottom: 48px; }
  .hero-title { font-size: 32px; letter-spacing: -1px; }
  .hero-subtitle { font-size: 16px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-screenshot { margin-top: 40px; }

  .section { padding: 64px 0; }
  .section-header { margin-bottom: 36px; }

  .mockup-body { min-height: 320px; }
  .mockup-content { padding: 12px 14px; }

  .footer-inner { flex-direction: column; text-align: center; }
  .footer-left { flex: none; }
  .footer-links { justify-content: center; }
}
