/* ── Design tokens ──────────────────────────────────────────── */
:root {
  --dark:        #0a1628;
  --dark-2:      #132040;
  --dark-3:      #1a2f4a;
  --light:       #ffffff;
  --alt:         #f0f3f7;
  --accent:      #e8500a;
  --accent-h:    #c23f06;
  --text:        #18253a;
  --text-light:  #dce6f0;
  --muted:       #5f7185;
  --muted-dark:  #7a9bb8;
  --border:      #dde3ec;

  --font-display: 'Inter', sans-serif;
  --font-body:    'Inter', sans-serif;
  --font-mono:    'JetBrains Mono', monospace;

  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 16px;

  --shadow-card:   0 1px 3px rgba(0,0,0,.05), 0 4px 16px rgba(0,0,0,.06);
  --shadow-screen: 0 8px 32px rgba(0,0,0,.14);
}

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
  background: var(--light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
figure { margin: 0; }

/* ── Container ──────────────────────────────────────────────── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ── Nav ────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(10, 22, 40, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.nav__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--text-light);
  letter-spacing: -0.01em;
}
.nav__links { display: flex; gap: 28px; }
.nav__link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-dark);
  transition: color .15s;
}
.nav__link:hover { color: var(--text-light); }

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: var(--r-sm);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s, border-color .15s, color .15s;
  white-space: nowrap;
  border: 1.5px solid transparent;
}
.btn--primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn--primary:hover { background: var(--accent-h); border-color: var(--accent-h); }

.btn--outline {
  background: transparent;
  color: var(--text-light);
  border-color: rgba(255,255,255,.28);
}
.btn--outline:hover {
  border-color: rgba(255,255,255,.55);
  background: rgba(255,255,255,.05);
}

.btn--ghost {
  background: transparent;
  color: var(--text-light);
  border-color: rgba(255,255,255,.28);
}
.btn--ghost:hover {
  border-color: rgba(255,255,255,.55);
  background: rgba(255,255,255,.06);
}

.btn--lg { padding: 13px 28px; font-size: 1rem; }

/* ── Hero ───────────────────────────────────────────────────── */
.hero { background: var(--dark); }

.hero__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 140px 48px 96px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.verdict-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.verdict-badge__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .35; transform: scale(.75); }
}

.hero__headline {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 4.5vw, 4.25rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -.025em;
  color: var(--text-light);
  margin-bottom: 22px;
}

.hero__sub {
  font-size: 1.0625rem;
  color: var(--muted-dark);
  line-height: 1.72;
  max-width: 460px;
  margin-bottom: 36px;
}

.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }

/* Browser mockup */
.browser-frame {
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--dark-3);
  border: 1px solid rgba(255,255,255,.09);
  box-shadow: 0 32px 80px rgba(0,0,0,.55);
}
.browser-frame__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 11px 14px;
  background: var(--dark-2);
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.browser-frame__dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  flex-shrink: 0;
}
.browser-frame__url {
  margin-left: 8px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--muted-dark);
  background: rgba(255,255,255,.06);
  border-radius: 4px;
  padding: 3px 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
}
.browser-frame__img { width: 100%; display: block; }

/* ── Section shared ─────────────────────────────────────────── */
.section-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--accent);
  margin-bottom: 10px;
}
.section-heading {
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 3vw, 2.625rem);
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--text);
  line-height: 1.1;
  margin-bottom: 48px;
}

/* ── Problems ───────────────────────────────────────────────── */
.problems {
  background: var(--alt);
  padding: 96px 0;
}
.problems__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.problem-card {
  background: var(--light);
  border-radius: var(--r-md);
  padding: 32px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .5s ease, transform .5s ease;
}
.problem-card.is-visible { opacity: 1; transform: translateY(0); }
.problem-card:nth-child(2) { transition-delay: .1s; }
.problem-card:nth-child(3) { transition-delay: .2s; }

.problem-card__icon { color: var(--accent); margin-bottom: 18px; }
.problem-card__title {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -.015em;
  color: var(--text);
  line-height: 1.3;
  margin-bottom: 10px;
}
.problem-card__body {
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ── Features ───────────────────────────────────────────────── */
.features {
  background: var(--light);
  padding: 96px 0;
}
.features__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  gap: 1px;
}
.feature-tile {
  background: var(--light);
  padding: 28px 22px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .4s ease, transform .4s ease, background .15s;
}
.feature-tile.is-visible { opacity: 1; transform: translateY(0); }
.feature-tile:nth-child(2) { transition-delay: .04s; }
.feature-tile:nth-child(3) { transition-delay: .08s; }
.feature-tile:nth-child(4) { transition-delay: .12s; }
.feature-tile:nth-child(5) { transition-delay: .16s; }
.feature-tile:nth-child(6) { transition-delay: .20s; }
.feature-tile:nth-child(7) { transition-delay: .24s; }
.feature-tile:nth-child(8) { transition-delay: .28s; }
.feature-tile:hover { background: var(--alt); }

.feature-tile__icon { color: var(--accent); margin-bottom: 12px; }
.feature-tile__title {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--text);
  margin-bottom: 7px;
}
.feature-tile__desc {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ── Screenshots ────────────────────────────────────────────── */
.screenshots {
  background: var(--alt);
  padding: 96px 0;
}
.screenshots__row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.screenshot-card {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .5s ease, transform .5s ease;
}
.screenshot-card.is-visible { opacity: 1; transform: translateY(0); }
.screenshot-card:nth-child(2) { transition-delay: .12s; }
.screenshot-card:nth-child(3) { transition-delay: .24s; }

.screenshot-card__frame {
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-screen);
  background: var(--dark-3);
  margin-bottom: 12px;
}
.screenshot-card__img { width: 100%; display: block; }
.screenshot-card__caption {
  font-size: 0.8125rem;
  color: var(--muted);
  text-align: center;
  font-style: normal;
  line-height: 1.45;
}

/* ── Tech stack ─────────────────────────────────────────────── */
.stack {
  background: var(--light);
  padding: 72px 0;
  text-align: center;
}
.stack__pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
}
.stack-pill {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text);
  background: var(--alt);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 6px 16px;
}
.stack__note {
  font-size: 0.9375rem;
  color: var(--muted);
  max-width: 460px;
  margin: 0 auto;
  line-height: 1.65;
}

/* ── CTA footer ─────────────────────────────────────────────── */
.cta-footer {
  background: var(--dark);
  padding: 96px 0;
  text-align: center;
}
.cta-footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.cta-footer__headline {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  font-weight: 700;
  color: var(--text-light);
  letter-spacing: -.02em;
  line-height: 1.08;
  margin-bottom: 36px;
}
.cta-footer__buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 24px;
}
.cta-footer__meta {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--muted-dark);
  letter-spacing: .06em;
  opacity: .7;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 960px) {
  .hero__inner {
    grid-template-columns: 1fr;
    padding: 120px 32px 80px;
    gap: 52px;
  }
  .hero__sub { max-width: 100%; }
  .problems__grid { grid-template-columns: 1fr; gap: 16px; }
  .features__grid { grid-template-columns: repeat(2, 1fr); }
  .screenshots__row {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }
}

@media (max-width: 600px) {
  .container { padding: 0 20px; }
  .nav__inner { padding: 0 20px; }
  .hero__inner { padding: 100px 20px 64px; }
  .problems { padding: 72px 0; }
  .features { padding: 72px 0; }
  .screenshots { padding: 72px 0; }
  .stack { padding: 56px 0; }
  .cta-footer { padding: 72px 0; }
  .features__grid { grid-template-columns: 1fr; }
  .hero__ctas { flex-direction: column; align-items: flex-start; }
  .btn { text-align: center; justify-content: center; }
}

/* ── Reduced motion ─────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .verdict-badge__dot { animation: none; }
}
