﻿/* ============================================
   AI vs Tool - Global Styles
   Inspired by Wirecutter, Tom's Guide, PCMag
   Clean, trustworthy, content-first design
   ============================================ */

/* CSS Custom Properties */
:root {
  /* Primary - trustworthy blue */
  --primary: #1a56db;
  --primary-dark: #1544b0;
  --primary-light: #e8effc;
  --primary-50: #f5f8ff;
  /* Secondary - subtle indigo accent */
  --secondary: #6366f1;
  --secondary-light: #eef2ff;
  /* Semantic */
  --accent-green: #059669;
  --accent-green-light: #ecfdf5;
  --accent-orange: #ea580c;
  --accent-red: #dc2626;
  --accent-yellow: #ca8a04;
  /* Text - warm gray scale */
  --text-primary: #1e293b;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --text-light: #cbd5e1;
  /* Backgrounds */
  --bg-white: #ffffff;
  --bg-body: #f8fafc;
  --bg-surface: #f1f5f9;
  --bg-hover: #f8fafc;
  /* Borders */
  --border-light: #e2e8f0;
  --border-medium: #cbd5e1;
  /* Shadows - soft, realistic */
  --shadow-xs: 0 1px 2px rgba(15,23,42,0.04);
  --shadow-sm: 0 1px 3px rgba(15,23,42,0.06), 0 1px 2px rgba(15,23,42,0.04);
  --shadow-md: 0 4px 6px -1px rgba(15,23,42,0.07), 0 2px 4px -2px rgba(15,23,42,0.05);
  --shadow-lg: 0 10px 15px -3px rgba(15,23,42,0.08), 0 4px 6px -4px rgba(15,23,42,0.04);
  --shadow-xl: 0 20px 25px -5px rgba(15,23,42,0.08), 0 8px 10px -6px rgba(15,23,42,0.04);
  /* Radii */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  /* Layout */
  --max-width: 1200px;
  --content-max: 960px;
  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
  --font-mono: 'SF Mono', 'Fira Code', 'Fira Mono', 'Roboto Mono', monospace;
}

/* ============================================
   Reset & Base
   ============================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  color: var(--text-primary);
  background: var(--bg-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: var(--primary); text-decoration: none; transition: color 0.15s ease; }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

/* ============================================
   Typography - Tight, clean hierarchy
   ============================================ */
h1 {
  font-size: 2.625rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.035em;
  color: var(--text-primary);
}
h2 {
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.025em;
  color: var(--text-primary);
}
h3 {
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.01em;
}
h4 { font-size: 1rem; font-weight: 600; line-height: 1.4; }
p {
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 0.975rem;
}

/* ============================================
   Layout Utilities
   ============================================ */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
.container--narrow {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================
   Header - Clean, minimal
   ============================================ */
.site-header {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  padding: 0 24px;
  max-width: var(--max-width);
  margin: 0 auto;
  height: 56px;
  overflow: hidden;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
  flex-shrink: 0;
}
.logo:hover { color: var(--text-primary); }
.logo-icon {
  width: 32px;
  height: 32px;
  background: var(--primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: -0.02em;
}
.nav-links {
  display: flex;
  flex-wrap: nowrap;
  gap: 2px;
  list-style: none;
  white-space: nowrap;
  margin-left: auto;
  min-width: 0;
  flex-shrink: 1;
}
.nav-links a {
  font-size: 0.825rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 5px 12px;
  border-radius: 6px;
  transition: all 0.15s ease;
}
.nav-links a:hover {
  color: var(--text-primary);
  background: var(--bg-surface);
}
.nav-links a.active {
  color: var(--primary);
  background: var(--primary-50);
  font-weight: 600;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-sm);
}
.nav-toggle:hover { background: var(--bg-surface); }
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-primary);
  margin: 4px 0;
  border-radius: 1px;
  transition: 0.2s;
}

/* ============================================
   Hero - Compact, content-focused
   ============================================ */
.hero {
  background: linear-gradient(135deg, #1a56db 0%, #1e40af 50%, #312e81 100%);
  padding: 44px 24px 36px;
  text-align: center;
}
.hero h1 {
  color: #ffffff;
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 8px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  letter-spacing: -0.03em;
}
.hero p {
  color: rgba(255,255,255,0.75);
  font-size: 0.95rem;
  max-width: 480px;
  margin: 0 auto 20px;
  line-height: 1.55;
}
.hero-search {
  max-width: 460px;
  margin: 0 auto;
  position: relative;
}
.hero-search input {
  width: 100%;
  padding: 11px 16px 11px 40px;
  border: 1.5px solid var(--border-light);
  border-radius: 10px;
  font-size: 0.875rem;
  font-family: var(--font-sans);
  color: var(--text-primary);
  background: var(--bg-surface);
  outline: none;
  transition: all 0.15s ease;
  box-shadow: var(--shadow-xs);
}
.hero-search input::placeholder { color: var(--text-muted); }
.hero-search input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-light);
  background: var(--bg-white);
}
.hero-search .search-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 1rem;
}

/* Hero trust bar */
.hero-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 16px;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.65);
}
.hero-trust span {
  display: flex;
  align-items: center;
  gap: 5px;
}

/* ============================================
   Section - Generous whitespace
   ============================================ */
.section {
  padding: 48px 24px;
}
.section--white {
  background: var(--bg-white);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}
.section-header {
  text-align: center;
  margin-bottom: 32px;
}
.section-header h2 {
  margin-bottom: 6px;
  font-size: 1.5rem;
}
.section-header p {
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* ============================================
   Category Cards - Clean pills + grid
   ============================================ */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.category-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}
.category-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--border-medium);
  transform: translateY(-1px);
  color: inherit;
}
.category-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 14px;
  flex-shrink: 0;
}
.category-card h3 {
  margin-bottom: 6px;
  font-size: 0.95rem;
}
.category-card > p {
  font-size: 0.8rem;
  color: var(--text-muted);
  flex: 1;
  margin-bottom: 14px;
  line-height: 1.55;
}
.category-card .tool-count {
  font-size: 0.775rem;
  color: var(--primary);
  font-weight: 600;
  letter-spacing: 0.01em;
}

/* ============================================
   Comparison Cards
   ============================================ */
.compare-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 16px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.compare-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: all 0.2s ease;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}
.compare-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--border-medium);
  color: inherit;
}
.compare-card h3 {
  font-size: 1rem;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.compare-vs {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.compare-tool {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
}
.compare-tool-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  flex-shrink: 0;
}
.compare-tool-name {
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.compare-vs-badge {
  width: 28px;
  height: 28px;
  background: var(--bg-surface);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--text-muted);
  flex-shrink: 0;
  letter-spacing: 0.02em;
}
.compare-card .card-meta {
  display: flex;
  gap: 14px;
  font-size: 0.775rem;
  color: var(--text-muted);
}
.compare-card .card-arrow {
  margin-top: 14px;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ============================================
   Best X Cards
   ============================================ */
.best-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.best-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: all 0.2s ease;
  text-decoration: none;
  color: inherit;
}
.best-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--border-medium);
  color: inherit;
}
.best-card .badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
}
.best-card h3 { font-size: 0.95rem; margin-bottom: 8px; }
.best-card > p {
  font-size: 0.825rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.55;
}
.best-card .winner-tag {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-green);
}

/* ============================================
   Comparison Page - Head to Head
   ============================================ */
.compare-hero {
  padding: 32px 24px 28px;
  background: var(--bg-white);
  border-bottom: 1px solid var(--border-light);
}
.compare-hero > * {
  max-width: var(--content-max);
  margin-left: auto;
  margin-right: auto;
}
.compare-hero h1 {
  text-align: center;
  font-size: 1.5rem;
  margin-bottom: 4px;
}
.compare-hero .subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 24px;
}
.head-to-head {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  max-width: 720px;
  margin: 0 auto;
  align-items: start;
}
.htp-tool {
  background: var(--bg-body);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
}
.htp-tool.winner {
  border-color: var(--accent-green);
  border-width: 2px;
  position: relative;
}
.htp-tool-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  margin: 0 auto 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
}
.htp-tool h2 { font-size: 1.25rem; margin-bottom: 2px; }
.htp-tool .tagline {
  font-size: 0.8rem;
  color: var(--text-muted);
}
.htp-vs {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-light);
  padding-top: 36px;
}
.winner-badge {
  display: inline-block;
  background: var(--accent-green);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  margin-top: 8px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* ============================================
   Comparison Table
   ============================================ */
.compare-section {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 36px 24px;
  background: var(--bg-white);
  border-bottom: 1px solid var(--border-light);
}
.compare-section > * {
  max-width: var(--content-max);
  margin-left: auto;
  margin-right: auto;
}
.compare-section > .compare-table-wrap {
  max-width: 100%;
}
.compare-section > .compare-table-wrap {
  max-width: 100%;
}
.compare-section h2 {
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary);
  display: inline-block;
  font-size: 1.25rem;
}
.compare-table-wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
}
.compare-table thead th {
  background: var(--bg-surface);
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border-bottom: 2px solid var(--border-light);
}
.compare-table thead th:first-child { width: 180px; }
.compare-table tbody td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
}
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table tbody tr:hover { background: var(--bg-hover); }
.compare-table .check { color: var(--accent-green); font-weight: 700; }
.compare-table .cross { color: var(--accent-red); font-weight: 700; }
.compare-table .winner-cell {
  background: var(--accent-green-light);
  font-weight: 600;
  color: var(--text-primary);
}

/* ============================================
   Verdict Section - Clean 4-col
   ============================================ */
.verdict {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 32px 24px;
}
.verdict-card {
  background: var(--bg-body);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 16px 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.verdict-card h3 {
  margin-bottom: 6px;
  font-size: 0.875rem;
  color: var(--text-primary);
}
.verdict-card.winner {
  border-color: var(--primary);
  background: var(--primary-50);
}
.verdict-card p {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 6px 0 0;
}
.verdict-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  max-width: 100%;
  margin: 12px auto 0;
}
.verdict-item {
  background: var(--bg-white);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  text-align: center;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 2px;
  border: 1px solid var(--border-light);
}
.verdict-item .label {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-bottom: 0;
}
.verdict-item .value {
  font-weight: 700;
  color: var(--primary);
  font-size: 0.9rem;
}
.verdict-icon {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* ============================================
   Pros/Cons
   ============================================ */
.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.pros-cons > * {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px;
}
.pros-cons h3 { margin-bottom: 14px; font-size: 0.95rem; }
.pro-list, .con-list { list-style: none; }
.pro-list li::before { content: '\2713 '; color: var(--accent-green); font-weight: 700; }
.con-list li::before { content: '\2717 '; color: var(--accent-red); font-weight: 700; }
.pro-list li, .con-list li {
  padding: 7px 0;
  font-size: 0.85rem;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-light);
  line-height: 1.55;
}
.pro-list li:last-child, .con-list li:last-child { border-bottom: none; }

/* ============================================
   Best Page - Guide Hero
   ============================================ */
.guide-hero {
  padding: 32px 24px 28px;
  background: var(--bg-white);
  border-bottom: 1px solid var(--border-light);
  max-width: var(--content-max);
  margin: 0 auto;
}
.guide-hero > * {
  max-width: var(--content-max);
  margin-left: auto;
  margin-right: auto;
}
.guide-hero h1 {
  font-size: 1.5rem;
  text-align: center;
  margin-bottom: 6px;
}
.guide-hero .subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin: 0 auto 20px;
  max-width: 560px;
}

/* ============================================
   Best Page - Quick Picks
   ============================================ */
.quick-picks {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 32px 24px;
  border-bottom: 1px solid var(--border-light);
  background: var(--bg-white);
}

/* ============================================
   Best Page - Tool Review Sections
   ============================================ */
.tool-review {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 32px 24px;
  border-bottom: 1px solid var(--border-light);
}
.tool-review:nth-child(odd) {
  background: var(--bg-white);
}
.tool-review > * {
  max-width: var(--content-max);
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  font-family: var(--font-sans);
  transition: all 0.15s ease;
  border: none;
  cursor: pointer;
}
.btn-primary {
  background: var(--primary);
  color: white;
}
.btn-primary:hover {
  background: var(--primary-dark);
  color: white;
  box-shadow: var(--shadow-md);
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}
.btn-outline:hover { background: var(--primary-50); color: var(--primary); }
.btn-sm { padding: 6px 14px; font-size: 0.8rem; }

/* ============================================
   Ad Placeholder
   ============================================ */
.ad-slot { display: none; }

/* ============================================
   Footer - Clean, minimal
   ============================================ */
.site-footer {
  background: var(--text-primary);
  color: rgba(255,255,255,0.65);
  padding: 48px 24px 24px;
  margin-top: 0;
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand p {
  color: rgba(255,255,255,0.4);
  font-size: 0.825rem;
  margin-top: 10px;
  line-height: 1.6;
}
.footer-col h4 {
  color: rgba(255,255,255,0.9);
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.footer-col li { margin-bottom: 8px; }
.footer-col a {
  color: rgba(255,255,255,0.5);
  font-size: 0.825rem;
  transition: color 0.15s;
}
.footer-col a:hover { color: white; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 20px;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
  line-height: 1.6;
}

/* ============================================
   Breadcrumb
   ============================================ */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--text-muted);
  padding: 14px 0;
  list-style: none;
  max-width: var(--content-max);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}
.breadcrumb a { color: var(--text-muted); font-weight: 500; }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .sep { color: var(--border-medium); }

/* ============================================
   Rating & Price
   ============================================ */
.rating {
  display: flex;
  align-items: center;
  gap: 3px;
}
.star { color: #fbbf24; font-size: 0.9rem; }
.star.empty { color: var(--border-medium); }
.rating-num { font-weight: 700; font-size: 1rem; margin-left: 4px; }
.price-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}
.price-free { background: #dcfce7; color: #166534; }
.price-paid { background: var(--primary-light); color: var(--primary-dark); }
.price-freemium { background: #fef3c7; color: #92400e; }

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 768px) {
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.2rem; }
  .hero { padding: 28px 16px 24px; }
  .hero h1 { font-size: 1.5rem; }
  .hero-search input { padding: 10px 14px 10px 36px; font-size: 0.85rem; }
  .hero-search { max-width: 100%; }
  .hero-trust { flex-wrap: wrap; gap: 10px; color: rgba(255,255,255,0.65); }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .head-to-head { grid-template-columns: 1fr; gap: 12px; }
  .htp-vs { padding: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .compare-grid { grid-template-columns: 1fr; }
  .pros-cons { grid-template-columns: 1fr; }
  .verdict-card { padding: 12px 8px; }
  .verdict-cards { grid-template-columns: 1fr 1fr; }
  .compare-section { padding: 28px 16px; }
  .category-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .category-card { padding: 16px; }
  .category-icon { width: 32px; height: 32px; font-size: 1rem; margin-bottom: 10px; }
  .section { padding: 32px 16px; }
}
@media (max-width: 480px) {
  .category-grid { grid-template-columns: 1fr; }
  .best-grid { grid-template-columns: 1fr; }
  .verdict-cards { grid-template-columns: 1fr; }
}

/* ============================================
   Animations - Subtle fade-in on scroll
   ============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
