/* ===== COMPANION COMPASS v2 — Dark Theme + Rose/Pink Accent ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Playfair+Display:wght@600;700;800&display=swap');

/* ===== DESIGN TOKENS ===== */
:root {
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;

  /* Type scale */
  --text-xs:   clamp(0.75rem,  0.7rem  + 0.25vw, 0.875rem);
  --text-sm:   clamp(0.875rem, 0.8rem  + 0.35vw, 1rem);
  --text-base: clamp(1rem,     0.95rem + 0.25vw, 1.125rem);
  --text-lg:   clamp(1.125rem, 1rem    + 0.75vw, 1.5rem);
  --text-xl:   clamp(1.5rem,   1.2rem  + 1.25vw, 2.25rem);
  --text-2xl:  clamp(2rem,     1.2rem  + 2.5vw,  3.5rem);

  /* Spacing */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-full: 9999px;

  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);

  /* Content widths */
  --content-narrow: 720px;
  --content-default: 960px;
  --content-wide: 1200px;

  /* Dark Theme Colors */
  --color-bg: oklch(0.13 0.01 260);
  --color-surface: oklch(0.16 0.01 260);
  --color-surface-2: oklch(0.19 0.01 260);
  --color-surface-3: oklch(0.22 0.012 260);
  --color-border: oklch(0.28 0.01 260);
  --color-border-subtle: oklch(0.22 0.01 260);

  --color-text: oklch(0.92 0.01 260);
  --color-text-muted: oklch(0.65 0.01 260);
  --color-text-faint: oklch(0.45 0.01 260);

  /* Rose/Pink Accent */
  --color-accent: oklch(0.70 0.18 350);
  --color-accent-hover: oklch(0.65 0.20 350);
  --color-accent-muted: oklch(0.70 0.18 350 / 0.15);
  --color-accent-subtle: oklch(0.70 0.18 350 / 0.08);
  --color-accent-text: oklch(0.78 0.14 350);

  /* Semantic */
  --color-success: oklch(0.65 0.15 145);
  --color-warning: oklch(0.70 0.15 75);
  --color-error: oklch(0.60 0.18 25);
  --color-info: oklch(0.65 0.12 240);

  /* Rating stars */
  --color-star: oklch(0.80 0.16 85);
  --color-star-empty: oklch(0.30 0.01 260);

  /* Shadows */
  --shadow-sm: 0 1px 3px oklch(0 0 0 / 0.3);
  --shadow-md: 0 4px 12px oklch(0 0 0 / 0.4);
  --shadow-lg: 0 12px 32px oklch(0 0 0 / 0.5);
  --shadow-glow: 0 0 30px oklch(0.70 0.18 350 / 0.15);
}

/* ===== BASE RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  min-height: 100dvh;
  line-height: 1.6;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  background-color: var(--color-bg);
}

img, picture, video, canvas, svg { display: block; max-width: 100%; height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4, h5, h6 { text-wrap: balance; line-height: 1.2; }
p, li, figcaption { text-wrap: pretty; max-width: 72ch; }

::selection {
  background: oklch(0.70 0.18 350 / 0.3);
  color: var(--color-text);
}

:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

button { cursor: pointer; background: none; border: none; }
a { color: var(--color-accent-text); text-decoration: none; transition: color var(--transition-interactive); }
a:hover { color: var(--color-accent); }
table { border-collapse: collapse; width: 100%; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border-width: 0;
}

/* ===== LAYOUT ===== */
.container {
  width: 100%;
  max-width: var(--content-wide);
  margin: 0 auto;
  padding-inline: var(--space-6);
}

.container--narrow {
  max-width: var(--content-narrow);
}

.container--default {
  max-width: var(--content-default);
}

/* ===== HEADER ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: oklch(0.13 0.01 260 / 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border-subtle);
  transition: box-shadow 0.3s ease;
}

.header--scrolled {
  box-shadow: var(--shadow-md);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 3.75rem;
  max-width: var(--content-wide);
  margin: 0 auto;
  padding-inline: var(--space-6);
}

.header__logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text);
  text-decoration: none;
}

.header__logo:hover { color: var(--color-accent); }

.header__logo svg {
  flex-shrink: 0;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}

.header__nav a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color var(--transition-interactive);
}

.header__nav a:hover,
.header__nav a.active {
  color: var(--color-accent);
}

.header__mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
}

.header__mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 3.75rem;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-bg);
  z-index: 99;
  padding: var(--space-8) var(--space-6);
}

.mobile-nav.open { display: flex; flex-direction: column; gap: var(--space-4); }

.mobile-nav a {
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--color-text-muted);
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--color-border-subtle);
}

.mobile-nav a:hover,
.mobile-nav a.active { color: var(--color-accent); }

@media (max-width: 768px) {
  .header__nav { display: none; }
  .header__mobile-toggle { display: flex; }
}

/* ===== PAGE SECTIONS ===== */
.page { display: none; }
.page.active { display: block; }

/* ===== HERO ===== */
.hero {
  padding: clamp(var(--space-16), 10vw, var(--space-24)) 0 clamp(var(--space-12), 8vw, var(--space-20));
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, oklch(0.70 0.18 350 / 0.08), transparent 70%);
  pointer-events: none;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: var(--color-accent-muted);
  border: 1px solid oklch(0.70 0.18 350 / 0.2);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-accent-text);
  margin-bottom: var(--space-6);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.hero__title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: var(--space-6);
  max-width: 800px;
  margin-inline: auto;
}

.hero__title span {
  color: var(--color-accent);
}

.hero__summary {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 640px;
  margin: 0 auto var(--space-8);
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-size: var(--text-sm);
  font-weight: 600;
  border-radius: var(--radius-lg);
  transition: all var(--transition-interactive);
  text-decoration: none;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

.btn--primary {
  background: var(--color-accent);
  color: oklch(0.13 0.01 260);
}

.btn--primary:hover {
  background: var(--color-accent-hover);
  box-shadow: var(--shadow-glow);
  transform: translateY(-1px);
  color: oklch(0.13 0.01 260);
}

.btn--secondary {
  background: var(--color-surface-2);
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

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

.btn--sm {
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-xs);
}

.btn--outline {
  background: transparent;
  color: var(--color-accent);
  border: 1px solid var(--color-accent);
}

.btn--outline:hover {
  background: var(--color-accent-muted);
}

/* ===== SECTION ===== */
.section {
  padding: clamp(var(--space-12), 6vw, var(--space-20)) 0;
}

.section--alt {
  background: var(--color-surface);
}

.section__header {
  text-align: center;
  margin-bottom: clamp(var(--space-8), 4vw, var(--space-12));
}

.section__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-3);
}

.section__subtitle {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 600px;
  margin-inline: auto;
}

/* ===== FEATURED CARDS ===== */
.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-6);
}

.platform-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.platform-card:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

.platform-card__rank {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  width: 32px;
  height: 32px;
  background: var(--color-accent);
  color: oklch(0.13 0.01 260);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xs);
  font-weight: 800;
}

.platform-card__name {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-2);
}

.platform-card__rating {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
}

.stars {
  display: flex;
  gap: 2px;
  color: var(--color-star);
}

.stars svg { width: 16px; height: 16px; }

.rating-number {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-accent-text);
}

.platform-card__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
  line-height: 1.6;
}

.platform-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: var(--space-1) var(--space-3);
  background: var(--color-accent-subtle);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--color-accent-text);
}

.tag--success {
  background: oklch(0.65 0.15 145 / 0.12);
  color: oklch(0.70 0.12 145);
}

.tag--info {
  background: oklch(0.65 0.12 240 / 0.12);
  color: oklch(0.70 0.10 240);
}

.platform-card__price {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
}

.platform-card__price strong {
  color: var(--color-text);
}

.platform-card__actions {
  display: flex;
  gap: var(--space-3);
}

/* ===== COMPARISON TABLE ===== */
.comparison-summary {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 800px;
  margin: 0 auto var(--space-8);
  text-align: center;
  line-height: 1.7;
}

.table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border-subtle);
  background: var(--color-surface);
}

.comparison-table {
  width: 100%;
  min-width: 800px;
  border-collapse: collapse;
}

.comparison-table thead {
  background: var(--color-surface-2);
}

.comparison-table th {
  padding: var(--space-4) var(--space-4);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
  text-align: left;
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
  border-bottom: 1px solid var(--color-border-subtle);
}

.comparison-table th:hover {
  color: var(--color-accent);
}

.comparison-table th .sort-icon {
  display: inline-block;
  margin-left: var(--space-1);
  opacity: 0.4;
  font-size: 0.75em;
}

.comparison-table th.sorted .sort-icon {
  opacity: 1;
  color: var(--color-accent);
}

.comparison-table td {
  padding: var(--space-4);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  border-bottom: 1px solid var(--color-border-subtle);
  vertical-align: middle;
}

.comparison-table tbody tr {
  transition: background var(--transition-interactive);
}

.comparison-table tbody tr:hover {
  background: var(--color-accent-subtle);
}

.comparison-table tbody tr:last-child td {
  border-bottom: none;
}

.table-platform {
  font-weight: 600;
  color: var(--color-text);
}

.table-rating {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.table-badge {
  display: inline-flex;
  padding: var(--space-1) var(--space-2);
  border-radius: var(--radius-sm);
  font-size: var(--text-xs);
  font-weight: 600;
}

.table-badge--yes {
  background: oklch(0.65 0.15 145 / 0.15);
  color: oklch(0.72 0.12 145);
}

.table-badge--no {
  background: oklch(0.40 0.01 260 / 0.3);
  color: var(--color-text-faint);
}

.table-badge--free {
  background: oklch(0.65 0.12 240 / 0.12);
  color: oklch(0.72 0.10 240);
}

/* ===== CATEGORY CARDS ===== */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: var(--space-4);
}

.category-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.category-card:hover {
  border-color: var(--color-accent);
  transform: translateY(-2px);
  color: inherit;
}

.category-card__icon {
  font-size: 2rem;
  margin-bottom: var(--space-3);
}

.category-card__title {
  font-weight: 700;
  font-size: var(--text-sm);
  margin-bottom: var(--space-2);
}

.category-card__desc {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

/* ===== FAQ ===== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--color-border-subtle);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-5) 0;
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-text);
  text-align: left;
  cursor: pointer;
  background: none;
  border: none;
  gap: var(--space-4);
}

.faq-question:hover {
  color: var(--color-accent);
}

.faq-question__icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background: var(--color-surface-2);
  transition: transform 0.3s ease, background 0.3s ease;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.faq-item.open .faq-question__icon {
  transform: rotate(45deg);
  background: var(--color-accent-muted);
  color: var(--color-accent);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
  max-height: 500px;
  padding-bottom: var(--space-5);
}

.faq-answer p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ===== REVIEW PAGE ===== */
.review-page {
  padding: var(--space-8) 0 var(--space-16);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  margin-bottom: var(--space-6);
  flex-wrap: wrap;
}

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

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

.breadcrumb__sep {
  color: var(--color-text-faint);
}

.review-header {
  margin-bottom: var(--space-8);
}

.review-header__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  align-items: center;
  margin-bottom: var(--space-4);
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}

.review-header__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 800;
  margin-bottom: var(--space-4);
}

/* Quick Verdict Box */
.verdict-box {
  background: var(--color-surface);
  border: 1px solid var(--color-border-subtle);
  border-left: 4px solid var(--color-accent);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  margin-bottom: var(--space-8);
}

.verdict-box__header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}

.verdict-box__rating {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.verdict-box__score {
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--color-accent);
}

.verdict-box__label {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}

.verdict-box__summary {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-4);
}

.verdict-box__best-for {
  display: flex;
  align-items: baseline;
  gap: var(--space-2);
  font-size: var(--text-sm);
}

.verdict-box__best-for strong {
  color: var(--color-accent-text);
  white-space: nowrap;
}

/* Review Sections */
.review-section {
  margin-bottom: var(--space-10);
}

.review-section__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--color-border-subtle);
}

.review-section p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-4);
}

.review-section p:last-child {
  margin-bottom: 0;
}

/* Features list */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--space-4);
  margin-top: var(--space-4);
}

.feature-item {
  display: flex;
  gap: var(--space-3);
  padding: var(--space-4);
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border-subtle);
}

.feature-item__icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent-muted);
  border-radius: var(--radius-md);
  font-size: 1rem;
}

.feature-item__text h4 {
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: var(--space-1);
}

.feature-item__text p {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-bottom: 0;
}

/* Pricing table */
.pricing-overview {
  background: var(--color-surface);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  margin-top: var(--space-4);
}

.pricing-overview p {
  margin-bottom: var(--space-3);
}

.pricing-highlight {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-accent);
}

/* Pros/Cons */
.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  margin-top: var(--space-4);
}

@media (max-width: 640px) {
  .pros-cons {
    grid-template-columns: 1fr;
  }
}

.pros-list, .cons-list {
  list-style: none;
}

.pros-list h4, .cons-list h4 {
  font-size: var(--text-sm);
  font-weight: 700;
  margin-bottom: var(--space-3);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.pros-list h4 { color: oklch(0.72 0.12 145); }
.cons-list h4 { color: oklch(0.72 0.12 25); }

.pros-list li, .cons-list li {
  position: relative;
  padding: var(--space-2) 0;
  padding-left: var(--space-6);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}

.pros-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: oklch(0.72 0.12 145);
  font-weight: 700;
}

.cons-list li::before {
  content: '✗';
  position: absolute;
  left: 0;
  color: oklch(0.72 0.12 25);
  font-weight: 700;
}

/* Who should use */
.audience-box {
  background: var(--color-accent-subtle);
  border: 1px solid oklch(0.70 0.18 350 / 0.15);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  margin-top: var(--space-4);
}

.audience-box ul {
  list-style: none;
  display: grid;
  gap: var(--space-3);
}

.audience-box li {
  padding-left: var(--space-6);
  position: relative;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.audience-box li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: 700;
}

/* Mini comparison */
.mini-compare {
  margin-top: var(--space-4);
}

.mini-compare table {
  width: 100%;
  border-collapse: collapse;
}

.mini-compare th, .mini-compare td {
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-sm);
  text-align: left;
  border-bottom: 1px solid var(--color-border-subtle);
}

.mini-compare th {
  color: var(--color-text-muted);
  font-weight: 600;
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: var(--color-surface-2);
}

.mini-compare td {
  color: var(--color-text-muted);
}

.mini-compare .current-row {
  background: var(--color-accent-subtle);
}

.mini-compare .current-row td {
  color: var(--color-text);
  font-weight: 600;
}

/* Related reviews */
.related-reviews {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: var(--space-4);
  margin-top: var(--space-4);
}

.related-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
}

.related-card:hover {
  border-color: var(--color-accent);
  transform: translateY(-1px);
  color: inherit;
}

.related-card__name {
  font-weight: 700;
  font-size: var(--text-sm);
  margin-bottom: var(--space-1);
}

.related-card__rating {
  font-size: var(--text-xs);
  color: var(--color-accent-text);
  margin-bottom: var(--space-2);
}

.related-card__desc {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

/* ===== COMPARE PAGE ===== */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: center;
  margin-bottom: var(--space-8);
}

.filter-btn {
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-text-muted);
  background: var(--color-surface);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-interactive);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--color-accent-muted);
  border-color: var(--color-accent);
  color: var(--color-accent);
}

/* ===== ABOUT PAGE ===== */
.about-content {
  max-width: 800px;
  margin: 0 auto;
}

.about-content h2 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  margin-top: var(--space-10);
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--color-border-subtle);
}

.about-content h2:first-of-type {
  margin-top: 0;
}

.about-content p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-4);
}

.about-content ul {
  list-style: none;
  margin-bottom: var(--space-4);
}

.about-content li {
  position: relative;
  padding: var(--space-2) 0 var(--space-2) var(--space-6);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.about-content li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--color-accent);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: var(--space-4);
  margin: var(--space-6) 0;
}

.team-member {
  background: var(--color-surface);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  text-align: center;
}

.team-member__avatar {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  background: var(--color-accent-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-3);
  font-size: 1.5rem;
}

.team-member__name {
  font-weight: 700;
  font-size: var(--text-sm);
  margin-bottom: var(--space-1);
}

.team-member__role {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

/* ===== BLOG PAGE ===== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--space-6);
}

.blog-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all 0.3s ease;
}

.blog-card:hover {
  border-color: var(--color-accent);
  transform: translateY(-2px);
}

.blog-card__img {
  height: 180px;
  background: var(--color-surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--color-text-faint);
}

.blog-card__body {
  padding: var(--space-5);
}

.blog-card__category {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-accent-text);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: var(--space-2);
}

.blog-card__title {
  font-weight: 700;
  font-size: var(--text-base);
  margin-bottom: var(--space-2);
  line-height: 1.3;
}

.blog-card__excerpt {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: var(--space-3);
}

.blog-card__meta {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}

/* ===== FOOTER ===== */
.footer {
  border-top: 1px solid var(--color-border-subtle);
  padding: var(--space-12) 0 var(--space-8);
  margin-top: var(--space-16);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-8);
  margin-bottom: var(--space-10);
}

@media (max-width: 768px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .footer__grid {
    grid-template-columns: 1fr;
  }
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer__brand-name {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.footer__brand-desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}

.footer__col h4 {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text);
  margin-bottom: var(--space-4);
}

.footer__col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.footer__col a {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.footer__col a:hover {
  color: var(--color-accent);
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-border-subtle);
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}

.footer__disclaimer {
  max-width: 600px;
  line-height: 1.6;
}

/* ===== UTILITY ===== */
.text-accent { color: var(--color-accent); }
.text-muted { color: var(--color-text-muted); }
.font-display { font-family: var(--font-display); }
.mt-2 { margin-top: var(--space-2); }
.mt-4 { margin-top: var(--space-4); }
.mt-8 { margin-top: var(--space-8); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-8 { margin-bottom: var(--space-8); }

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-in {
  animation: fadeInUp 0.5s ease both;
}

.animate-in:nth-child(2) { animation-delay: 0.1s; }
.animate-in:nth-child(3) { animation-delay: 0.2s; }
.animate-in:nth-child(4) { animation-delay: 0.3s; }
