/* ============================================================
   RankVerdict — Main Stylesheet
   ============================================================ */

/* ── Design Tokens ── */
:root {
  --bg: #FFFFFF;
  --surface-1: #F8F9FC;
  --surface-2: #F1F3F9;
  --border: #E0E3E7;
  --text-primary: #111827;
  --text-secondary: #4B5563;
  --text-tertiary: #9CA3AF;

  /* Score */
  --score-great: #16A34A;
  --score-good: #D97706;
  --score-bad: #DC2626;

  /* Category */
  --cat-writing: #6366F1;
  --cat-seo: #0EA5E9;
  --cat-image: #EC4899;
  --cat-chatbot: #8B5CF6;
  --cat-productivity: #10B981;
  --cat-research: #F59E0B;

  /* Accent */
  --color-purple: #7B68EE;

  /* Shadows */
  --shadow-low: 0 1px 3px rgba(0,0,0,0.04);
  --shadow-mid: 0 4px 8px rgba(0,0,0,0.06);
  --shadow-high: 0 8px 16px rgba(0,0,0,0.10);

  /* Typography */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ── Base ── */
html {
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text-primary);
}

/* ── Navigation ── */
.rv-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 64px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px) saturate(200%);
  -webkit-backdrop-filter: blur(16px) saturate(200%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  transition: box-shadow 0.3s ease;
}

.rv-nav.scrolled {
  box-shadow: 0 1px 24px rgba(0, 0, 0, 0.08);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo-icon {
  display: block;
  flex-shrink: 0;
}

.nav-logo-text {
  font-size: 17px;
  font-weight: 400;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  white-space: nowrap;
  -webkit-text-fill-color: var(--text-primary);
}

.nav-logo-text strong {
  font-weight: 800;
  color: #16A34A;
  -webkit-text-fill-color: #16A34A;
}

.nav-logo-badge {
  font-size: 9px;
  font-weight: 700;
  color: #64748B;
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  border-radius: 4px;
  padding: 2px 7px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 1.6;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 150ms ease;
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--text-primary);
}

/* CTA pill */
.nav-cta {
  background: #0F172A !important;
  color: #ffffff !important;
  border-radius: 999px !important;
  padding: 9px 18px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: -0.01em;
  transition: background 150ms ease, transform 150ms ease !important;
  white-space: nowrap;
}

.nav-cta:hover {
  background: #16A34A !important;
  color: #ffffff !important;
  transform: translateY(-1px);
}

/* Mobile-only CTA */
.nav-mobile-cta {
  display: none;
  background: #0F172A;
  color: #fff;
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: -0.01em;
  transition: background 150ms ease;
  flex-shrink: 0;
}

.nav-mobile-cta:hover {
  background: #16A34A;
}

/* ── Hero Section ── */
.hero-section {
  position: relative;
  padding-top: 100px;
  padding-bottom: 72px;
  padding-left: 24px;
  padding-right: 24px;
  overflow: hidden;
  background: #F8FAFC;
}

/* Neural network canvas */
.hero-neural-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  opacity: 0.55;
  pointer-events: none;
}

/* Green ambient glow behind headline */
.hero-bg-glow {
  position: absolute;
  top: 60px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(22,163,74,0.08) 0%, transparent 70%);
  z-index: 0;
  pointer-events: none;
}

/* Two-column layout on desktop */
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-text-col {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Live badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #F0FDF4;
  color: #16A34A;
  border: 1px solid #BBF7D0;
  border-radius: 999px;
  padding: 5px 14px 5px 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  width: fit-content;
  margin-bottom: 24px;
}

.hero-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #16A34A;
  flex-shrink: 0;
}
@media (prefers-reduced-motion: no-preference) {
  .hero-badge-dot {
    animation: pulseDot 2s ease-in-out infinite;
  }
}
@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}

/* Headline */
.hero-h1 {
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin: 0 0 20px 0;
}

.hero-h1-accent {
  color: #16A34A;
  font-style: italic;
}

/* Subhead */
.hero-sub {
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-secondary);
  margin: 0 0 32px 0;
  max-width: 480px;
}

/* CTA row */
.hero-cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.btn-primary {
  background: #16A34A;
  color: white;
  border-radius: 999px;
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  letter-spacing: -0.01em;
  transition: background 150ms ease, transform 150ms ease;
  box-shadow: 0 4px 16px rgba(22, 163, 74, 0.3);
}

.btn-primary:hover {
  background: #15803D;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(22, 163, 74, 0.4);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1.5px solid var(--border);
  border-radius: 999px;
  padding: 13px 22px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  letter-spacing: -0.01em;
  transition: border-color 150ms ease, color 150ms ease;
}

.btn-ghost:hover {
  border-color: var(--text-primary);
  color: var(--text-primary);
}

/* Trust row */
.hero-trust-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
}

/* ── Floating Score Card ── */
.hero-card-col {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-score-card {
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 20px;
  width: 100%;
  max-width: 340px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.1), 0 2px 8px rgba(0,0,0,0.06);
  position: relative;
  z-index: 2;
}

.hero-score-card--back {
  position: absolute;
  bottom: -20px;
  right: -16px;
  z-index: 1;
  transform: rotate(3deg);
  opacity: 0.7;
  max-width: 300px;
  padding: 16px;
}

.hsc-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.hsc-logo-wrap {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #EEF2FF;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hsc-logo-initial {
  font-size: 18px;
  font-weight: 800;
  color: #6366F1;
}

.hsc-logo-initial--blue {
  color: #0EA5E9;
}

.hsc-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}

.hsc-category {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-top: 2px;
}

.hsc-score-badge {
  margin-left: auto;
  background: #16A34A;
  color: white;
  font-size: 20px;
  font-weight: 900;
  border-radius: 10px;
  padding: 6px 12px;
  letter-spacing: -0.03em;
  flex-shrink: 0;
}

.hsc-score-badge--amber {
  background: #D97706;
}

.hsc-bars {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.hsc-bar-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--text-secondary);
  font-weight: 500;
}

.hsc-bar-row > span:first-child {
  width: 54px;
  flex-shrink: 0;
}

.hsc-bar-row > span:last-child {
  width: 24px;
  flex-shrink: 0;
  text-align: right;
  font-weight: 700;
  color: var(--text-primary);
}

.hsc-bar {
  flex: 1;
  height: 5px;
  background: #F1F5F9;
  border-radius: 999px;
  overflow: hidden;
}

.hsc-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #16A34A, #22C55E);
  border-radius: 999px;
}

.hsc-verdict {
  background: #F8FAFC;
  border-radius: 8px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hsc-verdict-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #16A34A;
}

.hsc-verdict-text {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* ── Hero Animations ── */
@media (prefers-reduced-motion: no-preference) {
  .hero-animate {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 700ms cubic-bezier(0.16, 1, 0.3, 1),
                transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-animate {
    opacity: 1;
    transform: none;
  }
}

/* ── Animated Stats Bar ── */
.stats-bar {
  background: #fff;
  padding: 56px 24px;
  position: relative;
  overflow: hidden;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
}

.stats-bar-progress-line {
  display: none;
}

.stats-bar-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  text-align: center;
  position: relative;
  z-index: 1;
}

.stat-item + .stat-item {
  border-left: 1px solid #e5e7eb;
}

.stat-item {
  padding: 16px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.stat-icon {
  font-size: 22px;
  margin-bottom: 4px;
  opacity: 0.85;
}

.stat-item .stat-number {
  display: block;
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -0.03em;
  line-height: 1;
}

.stat-item .stat-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: #6b7280;
  margin-top: 2px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ── Review Cards Section ── */
.cards-section {
  padding: 80px 24px;
  background: var(--surface-1);
}

.cards-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 16px;
}

.section-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
}

.filter-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-pill {
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid #E5E7EB;
  background: white;
  color: var(--text-tertiary);
  transition: all 150ms ease;
}

.filter-pill:hover {
  color: var(--text-secondary);
  border-color: #D1D5DB;
}

.filter-pill.active[data-filter="all"] {
  background: rgba(17, 24, 39, 0.08);
  border-color: #111827;
  color: #111827;
}

.filter-pill.active[data-filter="writing"] {
  background: rgba(99, 102, 241, 0.10);
  border-color: var(--cat-writing);
  color: var(--cat-writing);
}

.filter-pill.active[data-filter="seo"] {
  background: rgba(14, 165, 233, 0.10);
  border-color: var(--cat-seo);
  color: var(--cat-seo);
}

.filter-pill.active[data-filter="image"] {
  background: rgba(236, 72, 153, 0.10);
  border-color: var(--cat-image);
  color: var(--cat-image);
}

.filter-pill.active[data-filter="chatbot"] {
  background: rgba(139, 92, 246, 0.10);
  border-color: var(--cat-chatbot);
  color: var(--cat-chatbot);
}

.filter-pill.active[data-filter="productivity"] {
  background: rgba(16, 185, 129, 0.10);
  border-color: var(--cat-productivity);
  color: var(--cat-productivity);
}

.filter-pill.active[data-filter="research"] {
  background: rgba(245, 159, 11, 0.10);
  border-color: var(--cat-research);
  color: var(--cat-research);
}

.filter-pill.active[data-filter="coding"] {
  background: rgba(139, 92, 246, 0.10);
  border-color: var(--color-purple);
  color: var(--color-purple);
}

.filter-pill.active[data-filter="marketing"] {
  background: rgba(14, 165, 233, 0.10);
  border-color: var(--cat-seo);
  color: var(--cat-seo);
}

.filter-pill.active[data-filter="video"] {
  background: rgba(139, 92, 246, 0.10);
  border-color: var(--cat-chatbot);
  color: var(--cat-chatbot);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ── Review Card ── */
.rv-card {
  background: white;
  border: 1px solid #E5E7EB;
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow-low);
  transition: transform 200ms cubic-bezier(0.33, 0.66, 0.66, 1),
              box-shadow 200ms cubic-bezier(0.33, 0.66, 0.66, 1);
  cursor: pointer;
}

/* Category top-border on cards */
.rv-card[data-category="writing"] { border-top: 2px solid var(--cat-writing); }
.rv-card[data-category="seo"] { border-top: 2px solid var(--cat-seo); }
.rv-card[data-category="image"] { border-top: 2px solid var(--cat-image); }
.rv-card[data-category="chatbot"] { border-top: 2px solid var(--cat-chatbot); }
.rv-card[data-category="productivity"] { border-top: 2px solid var(--cat-productivity); }
.rv-card[data-category="research"] { border-top: 2px solid var(--cat-research); }
.rv-card[data-category="coding"] { border-top: 2px solid var(--color-purple); }
.rv-card[data-category="marketing"] { border-top: 2px solid var(--cat-seo); }
.rv-card[data-category="video"] { border-top: 2px solid var(--cat-chatbot); }

.rv-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-high);
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 6px;
}

.category-pill {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.cat-writing  { background: rgba(99, 102, 241, 0.10); color: #6366F1; }
.cat-seo      { background: rgba(14, 165, 233, 0.10); color: #0EA5E9; }
.cat-image    { background: rgba(236, 72, 153, 0.10); color: #EC4899; }
.cat-chatbot  { background: rgba(139, 92, 246, 0.10); color: #8B5CF6; }
.cat-productivity { background: rgba(16, 185, 129, 0.10); color: #10B981; }
.cat-research { background: rgba(245, 159, 11, 0.10); color: #F59E0B; }
.cat-coding   { background: rgba(123, 104, 238, 0.10); color: #7B68EE; }
.cat-marketing { background: rgba(14, 165, 233, 0.10); color: #0EA5E9; }
.cat-video    { background: rgba(139, 92, 246, 0.10); color: #8B5CF6; }

.score-badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  border: 2px solid;
  flex-shrink: 0;
}

.score-great {
  border-color: #16A34A;
  background: rgba(22, 163, 74, 0.08);
  color: #15803D;
}

.score-good {
  border-color: #D97706;
  background: rgba(217, 119, 6, 0.08);
  color: #B45309;
}

.score-bad {
  border-color: #DC2626;
  background: rgba(220, 38, 38, 0.08);
  color: #B91C1C;
}

/* ── Card brand row ── */
.card-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 12px 0 8px;
}

.card-logo {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  object-fit: contain;
  background: var(--surface-1);
  border: 1px solid var(--border);
  flex-shrink: 0;
}

.card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.card-excerpt {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0 0 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-link {
  color: #16A34A;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.card-link:hover {
  text-decoration: underline;
}

.card-link:hover .arrow {
  transform: translateX(4px);
}

.arrow {
  display: inline-block;
  transition: transform 150ms ease;
}

/* View All Link */
.view-all-link {
  text-align: center;
  margin-top: 32px;
}

.view-all-link a {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
  transition: opacity 150ms ease;
}

.view-all-link a:hover {
  opacity: 0.7;
}

/* ── Card Scroll Reveal ── */
@media (prefers-reduced-motion: no-preference) {
  .rv-card {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 700ms cubic-bezier(0.16, 1, 0.3, 1),
                transform 700ms cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 200ms cubic-bezier(0.33, 0.66, 0.66, 1);
    transition-delay: calc(var(--card-index, 0) * 80ms);
  }

  .rv-card.is-revealed {
    opacity: 1;
    transform: translateY(0);
  }

  .rv-card.is-revealed:hover {
    transform: translateY(-4px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .rv-card {
    opacity: 1;
    transform: none;
  }
}

/* ── Score Badge Entrance ── */
@keyframes scorePulse {
  0%   { transform: scale(0.85); opacity: 0; }
  60%  { transform: scale(1.08); opacity: 1; }
  80%  { transform: scale(0.96); }
  100% { transform: scale(1);    opacity: 1; }
}

@media (prefers-reduced-motion: no-preference) {
  .score-badge {
    opacity: 0;
  }

  .rv-card.is-revealed .score-badge {
    animation: scorePulse 600ms cubic-bezier(0.25, 0.46, 0.45, 0.94) 200ms forwards;
  }
}

@media (prefers-reduced-motion: reduce) {
  .score-badge {
    opacity: 1;
  }
}

/* ── Section Reveal ── */
.reveal-section {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 500ms cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 500ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-section.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal-section {
    opacity: 1;
    transform: none;
  }
}

/* ── Reveal Card ── */
@media (prefers-reduced-motion: no-preference) {
  .reveal-card {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 600ms cubic-bezier(0.16, 1, 0.3, 1),
                transform 600ms cubic-bezier(0.16, 1, 0.3, 1);
  }

  .reveal-card.is-revealed {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal-card {
    opacity: 1;
    transform: none;
  }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Category Spotlight Strip ── */
.category-spotlight {
  background: #F8FAFC;
  padding: 72px 24px;
}

.category-spotlight-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-sub {
  font-size: 15px;
  color: var(--text-secondary);
  margin-top: 6px;
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.cat-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 18px;
  background: white;
  border: 1px solid var(--border);
  border-left: 4px solid var(--cat-color, #CBD5E1);
  border-radius: 12px;
  cursor: pointer;
  text-align: left;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
  position: relative;
}

.cat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.cat-card-icon {
  font-size: 24px;
  line-height: 1;
  flex-shrink: 0;
}

.cat-card-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  display: block;
  line-height: 1.2;
}

.cat-card-count {
  font-size: 12px;
  color: var(--text-tertiary);
  display: block;
  margin-top: 3px;
  font-weight: 500;
}

.cat-card-arrow {
  margin-left: auto;
  font-size: 16px;
  color: var(--text-tertiary);
  flex-shrink: 0;
  transition: transform 180ms ease, color 180ms ease;
}

.cat-card:hover .cat-card-arrow {
  transform: translateX(3px);
  color: var(--cat-color, #16A34A);
}

/* ── Best Of Strip ── */
.bestof-section {
  background: var(--surface-1);
  padding: 60px 0;
  overflow: hidden;
}

.bestof-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.bestof-label {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 20px;
}

/* ── How We Review ── */
.review-methodology {
  padding: 80px 24px;
  background: var(--surface-1);
  background-image: radial-gradient(circle, #CBD5E1 1px, transparent 1px);
  background-size: 20px 20px;
}

.methodology-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.methodology-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 32px;
}

.methodology-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
}

.methodology-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.methodology-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* ── Expert Verdict Carousel ── */
.expert-quotes {
  padding: 80px 24px;
  background: white;
}

.expert-quotes-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.quotes-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.quote-card {
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 24px;
}

.quote-mark {
  font-size: 80px;
  font-weight: 800;
  color: var(--color-purple);
  line-height: 0.8;
  margin-bottom: 8px;
}

.quote-text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.quote-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.quote-name {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #0f172a;
}

.quote-role {
  font-size: 0.8125rem;
  color: #6b7280;
}

/* ── Newsletter CTA ── */
.newsletter-cta {
  position: relative;
  padding: 80px 24px;
  background: #fff;
  overflow: hidden;
}

.newsletter-container {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 48px;
  max-width: 560px;
  margin: 0 auto;
}

.newsletter-inner {
  position: relative;
  z-index: 1;
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.newsletter-h2 {
  font-size: 36px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.newsletter-sub {
  margin-top: 12px;
  font-size: 16px;
  line-height: 1.6;
  color: #6b7280;
}

.newsletter-form {
  margin-top: 28px;
  display: flex;
  gap: 8px;
}

.newsletter-input {
  flex: 1;
  padding: 14px 18px;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #0f172a;
  font-size: 15px;
  font-family: var(--font);
  outline: none;
  transition: border-color 200ms ease;
}

.newsletter-input::placeholder {
  color: #9ca3af;
}

.newsletter-input:focus {
  border-color: #0f172a;
}

.newsletter-btn {
  padding: 14px 28px;
  border-radius: 999px;
  background: #0f172a;
  color: white;
  font-size: 15px;
  font-weight: 700;
  font-family: var(--font);
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background 150ms ease;
}

.newsletter-btn:hover {
  background: #1e293b;
}

.newsletter-proof {
  margin-top: 16px;
  font-size: 13px;
  color: #6b7280;
}

/* ── Footer ── */
.rv-footer {
  background: white;
  border-top: 1px solid #E5E7EB;
  padding: 48px 24px 0;
}

.footer-grid-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #0f172a;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}
.footer-logo .nav-logo-badge {
  font-size: 11px;
  font-weight: 500;
  color: #6b7280;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  padding: 2px 8px;
}

.footer-tagline {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 16px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.footer-col a {
  font-size: 14px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 150ms ease;
}

.footer-col a:hover {
  color: var(--text-primary);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid #E5E7EB;
  padding: 20px 0;
}

.footer-bottom p {
  font-size: 13px;
  color: var(--text-tertiary);
  text-align: center;
}

.footer-bottom a {
  color: var(--text-tertiary);
  text-decoration: none;
  transition: color 150ms ease;
}

.footer-bottom a:hover {
  color: var(--text-primary);
}

/* ── Review Page ── */
.review-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 100px 24px 80px;
  display: flex;
  gap: 60px;
  align-items: flex-start;
}

.review-article {
  flex: 1;
  min-width: 0;
  max-width: 720px;
}

.breadcrumb {
  font-size: 13px;
  color: var(--text-tertiary);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.breadcrumb a {
  color: var(--text-tertiary);
  text-decoration: none;
  transition: color 150ms ease;
}

.breadcrumb a:hover {
  color: var(--text-primary);
}

.breadcrumb span {
  color: #D1D5DB;
}

/* ── Review page brand block ── */
.review-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  padding: 0 4px;
}

.review-logo {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  object-fit: contain;
  background: var(--surface-1);
  border: 1px solid var(--border);
  flex-shrink: 0;
}

.review-brand-name {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.review-h1 {
  margin-top: 12px;
  padding: 0 4px;
  font-size: 40px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.review-meta {
  margin-top: 16px;
  font-size: 14px;
  color: var(--text-tertiary);
}

.score-display {
  margin-top: 32px;
  margin-bottom: 32px;
  padding: 24px;
  background: var(--surface-1);
  border-radius: 16px;
  border: 1px solid #E5E7EB;
  display: flex;
  align-items: center;
  gap: 24px;
}

.score-circle-lg {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 3px solid #D97706;
  background: rgba(217, 119, 6, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 800;
  color: #B45309;
  flex-shrink: 0;
}
.score-circle-lg.score-great {
  border-color: #16A34A;
  background: rgba(22, 163, 74, 0.08);
  color: #15803D;
}
.score-circle-lg.score-good {
  border-color: #D97706;
  background: rgba(217, 119, 6, 0.08);
  color: #B45309;
}
.score-circle-lg.score-bad {
  border-color: #DC2626;
  background: rgba(220, 38, 38, 0.08);
  color: #B91C1C;
}

.score-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.score-label {
  font-size: 13px;
  color: var(--text-tertiary);
}

.article-body {
  font-size: 16px;
  line-height: 1.8;
  color: #374151;
}

.article-body p {
  margin-bottom: 20px;
}

.article-body h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 32px 0 16px;
}

.article-body ul {
  margin: 0 0 20px 0;
  padding-left: 0;
}

.article-body ul li {
  padding: 6px 0 6px 20px;
  position: relative;
  list-style: none;
}

.article-body ul li::before {
  content: '\2022';
  position: absolute;
  left: 0;
  color: var(--text-tertiary);
}

.pros-cons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 16px 0 24px;
}

.pros-box,
.cons-box {
  border-radius: 12px;
  padding: 16px 20px;
}

.pros-box {
  background: rgba(22, 163, 74, 0.06);
  border: 1px solid rgba(22, 163, 74, 0.20);
}

.cons-box {
  background: rgba(220, 38, 38, 0.04);
  border: 1px solid rgba(220, 38, 38, 0.15);
}

.pros-box h3,
.cons-box h3 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.pros-box h3 { color: #15803D; }
.cons-box h3 { color: #B91C1C; }

.pros-box ul li,
.cons-box ul li {
  font-size: 14px;
  line-height: 1.6;
  padding: 4px 0 4px 22px;
}

.pros-box ul li::before {
  content: '\2713';
  color: #16A34A;
  font-weight: 700;
}

.cons-box ul li::before {
  content: '\2717';
  color: #DC2626;
  font-weight: 700;
}

/* ── Sidebar (score breakdown panel — not a content sidebar) ── */
.review-sidebar {
  width: 280px;
  flex-shrink: 0;
  position: sticky;
  top: 80px;
  align-self: flex-start;
  background: white;
  border: 1px solid #E5E7EB;
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow-low);
}

.sidebar-score {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 0 20px;
  border-bottom: 1px solid #E5E7EB;
  margin-bottom: 20px;
}

.sidebar-cta {
  display: block;
  background: var(--color-ink);
  color: white;
  border-radius: 999px;
  padding: 14px;
  width: 100%;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  margin-bottom: 24px;
  transition: background 150ms ease;
}

.sidebar-cta:hover {
  background: #374151;
}

.quick-stats {
  border-top: 1px solid #E5E7EB;
  padding-top: 20px;
  margin-bottom: 20px;
}

.quick-stats h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid #F3F4F6;
}

.stat-row:last-child {
  border-bottom: none;
}

.stat-row .stat-key {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
}

.stat-row .stat-val {
  font-size: 14px;
  color: var(--text-secondary);
}

.score-breakdown {
  border-top: 1px solid #E5E7EB;
  padding-top: 20px;
}

.score-breakdown h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.breakdown-item {
  margin-bottom: 12px;
}

.breakdown-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.breakdown-label {
  font-size: 13px;
  color: var(--text-secondary);
}

.breakdown-value {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
}

.progress-bar {
  height: 6px;
  background: #E5E7EB;
  border-radius: 3px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: #16A34A;
  border-radius: 3px;
  transition: width 800ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── Hamburger button ── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-shrink: 0;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #16A34A;
  border-radius: 2px;
}

/* ── Mobile nav panel ── */
.nav-mobile-panel {
  display: none;
  position: absolute;
  top: 64px;
  left: 0;
  right: 0;
  background: #ffffff;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  padding: 16px 24px;
  z-index: 99;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

.nav-mobile-panel a {
  display: flex;
  align-items: center;
  height: 48px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
}

.nav-mobile-panel a:last-child {
  border-bottom: none;
}

.nav-mobile-panel.open {
  display: block;
}

/* ── Sticky mobile CTA bar (review page only) ── */
.sticky-mobile-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 56px;
  background: #16a34a;
  z-index: 200;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* ── TOC — Desktop sidebar ── */
.toc-sidebar {
  margin-bottom: 24px;
}

.toc-sidebar h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.toc-sidebar ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.toc-link {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 7px 10px;
  border-radius: 6px;
  border-left: 2px solid transparent;
  transition: color 150ms ease, background 150ms ease, border-color 150ms ease;
  line-height: 1.3;
}

.toc-link:hover {
  color: var(--text-primary);
  background: var(--surface-1);
}

.toc-link--active {
  color: #16A34A;
  background: rgba(22, 163, 74, 0.06);
  border-left-color: #16A34A;
  font-weight: 600;
}

/* ── TOC — Mobile accordion ── */
.toc-mobile {
  display: none;
  margin-bottom: 28px;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.toc-mobile-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: var(--surface-1);
  border: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  font-family: var(--font);
  text-align: left;
}

.toc-mobile-list {
  display: none;
  flex-direction: column;
  border-top: 1px solid var(--border);
}

.toc-mobile-list.open {
  display: flex;
}

.toc-mobile-list .toc-link {
  padding: 12px 16px;
  border-left: none;
  border-radius: 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}

.toc-mobile-list .toc-link:last-child {
  border-bottom: none;
}

.toc-mobile-list .toc-link--active {
  background: rgba(22, 163, 74, 0.06);
  color: #16A34A;
}

/* ── Verdict CTA Card ── */
.verdict-cta {
  display: flex;
  align-items: center;
  gap: 24px;
  border: 2px solid #0f172a;
  border-radius: 12px;
  padding: 32px;
  margin: 48px 0 0 0;
  background: #fff;
}
.verdict-cta__score {
  font-size: 3.5rem;
  font-weight: 800;
  color: #B45309;
  min-width: 80px;
  text-align: center;
  line-height: 1;
  flex-shrink: 0;
}
.verdict-cta__score.score-great { color: #16a34a; }
.verdict-cta__score.score-good  { color: #B45309; }
.verdict-cta__score.score-bad   { color: #B91C1C; }
.verdict-cta__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.verdict-cta__name {
  font-size: 1.125rem;
  font-weight: 700;
  color: #0f172a;
}
.verdict-cta__desc {
  font-size: 0.9375rem;
  color: #374151;
  margin: 0;
}
.verdict-cta__btn {
  display: inline-block;
  background: #16a34a;
  color: #fff;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.9375rem;
  text-decoration: none;
  margin-top: 4px;
  transition: background 150ms ease;
}
.verdict-cta__btn:hover { background: #15803d; }
.verdict-cta__note {
  font-size: 0.8125rem;
  color: #6b7280;
}

/* ── Score Label Badge ── */
.score-label-badge {
  display: inline-block;
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-top: 4px;
}

/* ── Best Of Card Grid ── */
.bestof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
}
.bestof-card {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 24px;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: box-shadow 150ms ease, transform 150ms ease;
}
.bestof-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}
.bestof-card__label {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6b7280;
}
.bestof-card__score {
  font-size: 2rem;
  font-weight: 800;
  color: #16a34a;
  line-height: 1;
}
.bestof-card__name {
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
}
.bestof-card__desc {
  font-size: 0.875rem;
  color: #6b7280;
  margin: 0;
}
.bestof-card__link {
  font-size: 0.875rem;
  font-weight: 600;
  color: #16a34a;
  text-decoration: none;
  margin-top: auto;
}
.bestof-card__link:hover { text-decoration: underline; }

/* ── Compare Row ── */
.compare-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid #e5e7eb;
  margin-top: 24px;
  flex-wrap: wrap;
}
.compare-row__label {
  font-weight: 600;
  color: #6b7280;
  font-size: 0.875rem;
}
.compare-row a {
  font-size: 0.875rem;
  color: #16a34a;
  font-weight: 500;
  text-decoration: none;
}
.compare-row a:hover { text-decoration: underline; }

/* ── Affiliate Disclosure ── */
.affiliate-disclosure {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

/* ── WP-specific: admin bar fix ── */
.admin-bar .rv-nav {
  top: 32px;
}

@media (max-width: 782px) {
  .admin-bar .rv-nav {
    top: 46px;
  }
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .review-container {
    gap: 40px;
  }

  .review-sidebar {
    width: 240px;
  }
}

@media (max-width: 900px) {
  .review-container {
    flex-direction: column;
    padding: 80px 24px 60px;
  }

  .review-article {
    max-width: 100%;
  }

  .review-sidebar {
    width: 100%;
    position: static;
  }
}

/* Tablet: 768px */
@media (max-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: left;
  }

  .hero-card-col {
    display: none;
  }

  .hero-sub {
    max-width: 100%;
  }

  .hero-h1 {
    font-size: 36px;
  }

  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .nav-logo-badge {
    display: none;
  }

  .nav-links {
    display: none;
  }

  .nav-mobile-cta {
    display: block;
  }

  .nav-hamburger {
    display: flex;
  }

  .sticky-mobile-cta {
    display: flex;
  }

  body.review-page {
    padding-bottom: 56px;
  }

  .toc-mobile {
    display: block;
  }

  .toc-sidebar {
    display: none;
  }

  .pros-cons-grid {
    grid-template-columns: 1fr;
  }

  .review-h1 {
    font-size: 30px;
  }

  .stats-bar-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
  }

  .stat-item + .stat-item {
    border-left: none;
  }

  .stat-item:nth-child(2) {
    border-left: 1px solid #e5e7eb;
  }

  .stat-item:nth-child(3),
  .stat-item:nth-child(4) {
    border-top: 1px solid #e5e7eb;
  }

  .stat-item:nth-child(4) {
    border-left: 1px solid #e5e7eb;
  }

  .cat-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .methodology-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .quotes-row {
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
    gap: 16px;
    padding-bottom: 8px;
  }

  .quotes-row::-webkit-scrollbar {
    display: none;
  }

  .quote-card {
    min-width: 280px;
    flex-shrink: 0;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-btn {
    width: 100%;
  }

  .newsletter-h2 {
    font-size: 28px;
  }

  .footer-grid-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .bestof-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .bestof-card {
    padding: 20px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
    display: flex;
    flex-direction: column;
    gap: 6px;
  }

  .verdict-cta { flex-direction: column; text-align: center; }
  .verdict-cta__btn { width: 100%; text-align: center; padding: 16px; }
}

/* Mobile: 480px */
@media (max-width: 480px) {
  .hero-section {
    padding-top: 90px;
    padding-bottom: 56px;
  }

  .hero-h1 {
    font-size: clamp(28px, 8vw, 36px);
  }

  .hero-badge {
    font-size: 11px;
    margin-bottom: 20px;
  }

  .hero-sub {
    font-size: 15px;
  }

  .hero-cta-row {
    flex-direction: column;
    gap: 10px;
  }

  .btn-primary,
  .btn-ghost {
    width: 100%;
    justify-content: center;
    padding: 15px 20px;
  }

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

  .cat-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .stat-item .stat-number {
    font-size: 28px;
  }

  .newsletter-h2 {
    font-size: 24px;
  }

  .quotes-row {
    display: grid;
    grid-template-columns: 1fr;
    overflow-x: visible;
    gap: 12px;
  }

  .quote-card {
    min-width: unset;
    width: 100%;
    flex-shrink: unset;
    padding: 24px 20px;
  }

  .methodology-card {
    padding: 24px 20px;
  }

  .nav-cta {
    display: none !important;
  }

  .review-container {
    padding: 72px 20px 60px;
  }

  .review-h1 {
    font-size: 26px;
    padding: 0;
  }

  .review-brand {
    padding: 0;
  }

  .breadcrumb {
    padding: 0;
  }

  .review-meta {
    padding: 0;
  }

  .category-pill {
    margin-left: 0;
  }
}

/* ── Score Breakdown Section ── */
.score-breakdown {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 28px 32px;
  margin: 0 0 36px;
}

.score-breakdown__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-ink);
  margin: 0 0 20px;
  letter-spacing: -0.01em;
}

.score-breakdown__bars {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.score-bar-row {
  display: grid;
  grid-template-columns: 140px 1fr 40px;
  align-items: center;
  gap: 14px;
}

.score-bar-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: #475569;
  white-space: nowrap;
}

.score-bar-track {
  height: 8px;
  background: #E2E8F0;
  border-radius: 999px;
  overflow: hidden;
}

.score-bar-fill {
  height: 100%;
  border-radius: 999px;
  transition: width 0.6s ease;
  background: #D97706;
}

.score-bar-fill.score-great { background: #16A34A; }
.score-bar-fill.score-good  { background: #D97706; }
.score-bar-fill.score-bad   { background: #DC2626; }

.score-bar-val {
  font-size: 0.875rem;
  font-weight: 700;
  text-align: right;
  color: #D97706;
}

.score-bar-val.score-great { color: #16A34A; }
.score-bar-val.score-good  { color: #D97706; }
.score-bar-val.score-bad   { color: #DC2626; }

.score-breakdown__note {
  font-size: 0.78rem;
  color: #94A3B8;
  margin: 18px 0 0;
  line-height: 1.5;
}

@media (max-width: 480px) {
  .score-bar-row {
    grid-template-columns: 110px 1fr 36px;
    gap: 10px;
  }
  .score-breakdown {
    padding: 20px 18px;
  }
}

/* ── Score breakdown when in sidebar ── */
.sidebar-score-breakdown {
  padding: 20px;
  margin: 0;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
}
.sidebar-score-breakdown .score-breakdown__title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #64748B;
  margin: 0 0 14px;
}
.sidebar-score-breakdown .score-bar-row {
  grid-template-columns: 1fr 60px 32px;
  gap: 8px;
}
.sidebar-score-breakdown .score-bar-label {
  font-size: 0.8rem;
  white-space: normal;
}
.sidebar-score-breakdown .score-bar-track {
  height: 6px;
}
.sidebar-score-breakdown .score-bar-val {
  font-size: 0.8rem;
}
.sidebar-score-breakdown .score-breakdown__note {
  font-size: 0.72rem;
  margin-top: 12px;
}

/* ── Sidebar Radar Chart Widget ── */
.sidebar-radar-widget {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 20px;
  margin-top: 16px;
}
.sidebar-radar-widget__title {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #64748B;
  margin: 0 0 12px;
}
.sidebar-radar-widget__chart {
  display: flex;
  justify-content: center;
  margin-bottom: 14px;
}
.sidebar-radar-widget__chart canvas {
  max-width: 100%;
}
.sidebar-radar-legend {
  list-style: none;
  padding: 0;
  margin: 0 0 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.sidebar-radar-legend li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
}
.srl-label {
  color: #475569;
  font-weight: 500;
}
.srl-val {
  font-weight: 700;
  font-size: 0.8rem;
}
.srl-val.score-great { color: #16A34A; }
.srl-val.score-good  { color: #D97706; }
.srl-val.score-bad   { color: #DC2626; }
.sidebar-radar-widget__note {
  font-size: 0.72rem;
  color: #94A3B8;
  margin: 0;
  line-height: 1.5;
}

/* ── Shared container utility ── */
.container {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}
@media (max-width: 480px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* ── All Reviews Archive Page ── */
.reviews-archive-hero {
  background: var(--surface-0, #F8FAFC);
  border-bottom: 1px solid #E5E7EB;
  padding: 80px 20px 28px;
  text-align: center;
}
.reviews-archive-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--text-primary, #0F172A);
  margin: 0 0 8px;
}
.reviews-archive-sub {
  font-size: 1rem;
  color: var(--text-secondary, #6B7280);
  margin: 0;
}
.reviews-archive-section {
  background: var(--surface-1, #F1F5F9);
  padding: 40px 0 60px;
}
.reviews-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
@media (max-width: 480px) {
  .reviews-inner {
    padding: 0 16px;
  }
  .reviews-archive-hero {
    padding: 80px 16px 24px;
  }
}
/* ── Filter pill active states for ai-* prefixed data-filter values (reviews page) ── */
.filter-pill.active[data-filter='ai-writing'] {
  background: rgba(99, 102, 241, 0.10);
  border-color: var(--cat-writing);
  color: var(--cat-writing);
}
.filter-pill.active[data-filter='ai-image'] {
  background: rgba(236, 72, 153, 0.10);
  border-color: var(--cat-image);
  color: var(--cat-image);
}
.filter-pill.active[data-filter='ai-coding'] {
  background: rgba(139, 92, 246, 0.10);
  border-color: var(--color-purple);
  color: var(--color-purple);
}
.filter-pill.active[data-filter='ai-marketing'] {
  background: rgba(14, 165, 233, 0.10);
  border-color: var(--cat-seo);
  color: var(--cat-seo);
}
.filter-pill.active[data-filter='ai-video'] {
  background: rgba(139, 92, 246, 0.10);
  border-color: var(--cat-chatbot);
  color: var(--cat-chatbot);
}

/* ── Reviews archive filter bar spacing ── */
.reviews-archive-section .filter-pills {
  margin-bottom: 28px;
}
