/* ==========================================
   WhichAIBest.com — Global Stylesheet
   ========================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

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

:root {
  --bg:          #fafaf9;
  --bg2:         #f5f5f0;
  --card:        #ffffff;
  --border:      #e5e7eb;
  --primary:     #18181b;
  --muted:       #6b7280;
  --accent:      #7c3aed;
  --accent-lt:   #ede9fe;
  --winner:      #10b981;
  --winner-lt:   #d1fae5;
  --loser:       #f43f5e;
  --loser-lt:    #ffe4e6;
  --sea:         #0ea5e9;
  --sea-lt:      #e0f2fe;
  --shadow-sm:   0 1px 3px rgba(0,0,0,.07), 0 1px 2px rgba(0,0,0,.05);
  --shadow-md:   0 4px 12px rgba(0,0,0,.08), 0 2px 4px rgba(0,0,0,.04);
  --shadow-lg:   0 10px 30px rgba(0,0,0,.10), 0 4px 8px rgba(0,0,0,.05);
  --radius:      12px;
  --radius-sm:   8px;
  --radius-lg:   16px;
  --transition:  150ms ease;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: #5b21b6; }

img { max-width: 100%; display: block; }

/* ── Typography ── */
h1, h2, h3, h4, h5 { line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.125rem; }

p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

/* ── Layout ── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.container-sm { max-width: 760px; margin: 0 auto; padding: 0 20px; }
.container-wide { max-width: 1280px; margin: 0 auto; padding: 0 20px; }

/* ── Header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 20px;
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
}

.logo-name {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.02em;
}

.logo-name span.accent { color: var(--accent); }
.logo-name span.muted  { color: var(--muted); font-weight: 600; }

.logo-tagline {
  font-size: 0.7rem;
  color: var(--muted);
  font-weight: 500;
  margin-top: 2px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.main-nav a {
  display: block;
  padding: 6px 12px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary);
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
}

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

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  background: var(--accent);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}

.btn-cta:hover {
  background: #5b21b6;
  color: #fff;
  box-shadow: 0 4px 14px rgba(124,58,237,.35);
  transform: translateY(-1px);
}

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-direction: column;
  gap: 5px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #5b21b6; color: #fff; box-shadow: 0 4px 14px rgba(124,58,237,.35); transform: translateY(-1px); }

.btn-secondary { background: transparent; color: var(--accent); border: 2px solid var(--accent); }
.btn-secondary:hover { background: var(--accent-lt); color: var(--accent); }

.btn-ghost { background: transparent; color: var(--muted); border: 1px solid var(--border); }
.btn-ghost:hover { background: var(--bg2); color: var(--primary); }

/* ── Badges ── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}

.badge-winner  { background: var(--winner-lt); color: #059669; }
.badge-sea     { background: var(--sea-lt);    color: #0369a1; }
.badge-updated { background: #fef3c7;           color: #92400e; }
.badge-accent  { background: var(--accent-lt); color: var(--accent); }
.badge-neutral { background: var(--bg2);        color: var(--muted); }
.badge-free    { background: var(--winner-lt); color: #059669; }

/* ── Cards ── */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}

.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.card-link { text-decoration: none; color: inherit; display: block; }
.card-link:hover { color: inherit; }

/* ── Section titles ── */
.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.section-title { margin-bottom: 12px; }
.section-sub   { color: var(--muted); font-size: 1.05rem; margin-bottom: 40px; }

/* ── Progress bars ── */
.score-bar-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.score-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  min-width: 90px;
}

.score-bar-track {
  flex: 1;
  height: 8px;
  background: var(--bg2);
  border-radius: 100px;
  overflow: hidden;
}

.score-bar-fill {
  height: 100%;
  border-radius: 100px;
  background: var(--accent);
  transition: width 0.8s ease;
}

.score-bar-fill.winner-fill { background: var(--winner); }

.score-num {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
  min-width: 30px;
  text-align: right;
}

/* ── Tables ── */
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.data-table th {
  background: var(--bg2);
  padding: 12px 16px;
  text-align: left;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 2px solid var(--border);
}

.data-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: var(--bg2); }
.data-table .winner-col { font-weight: 700; color: var(--winner); }

.check-yes { color: var(--winner); font-size: 1rem; }
.check-no  { color: var(--loser);  font-size: 1rem; }
.check-partial { color: #f59e0b; font-size: 1rem; }

/* ── Hero section ── */
.hero {
  background: linear-gradient(135deg, #fafaf9 0%, #f0ebff 50%, #e0f2fe 100%);
  padding: 80px 0 60px;
  border-bottom: 1px solid var(--border);
}

.hero-inner {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.hero h1 { margin-bottom: 16px; }

.hero-sub {
  font-size: 1.15rem;
  color: var(--muted);
  margin-bottom: 32px;
  line-height: 1.7;
}

.trust-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

/* ── Search bar ── */
.search-wrap {
  position: relative;
  max-width: 560px;
  margin: 0 auto;
}

.search-input {
  width: 100%;
  padding: 16px 52px 16px 20px;
  font-size: 0.95rem;
  font-family: inherit;
  border: 2px solid var(--border);
  border-radius: 100px;
  background: #fff;
  color: var(--primary);
  box-shadow: var(--shadow-md);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.search-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(124,58,237,.12), var(--shadow-md);
}

.search-btn {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 100px;
  padding: 8px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition);
}

.search-btn:hover { background: #5b21b6; }

.search-suggestions {
  position: absolute;
  top: calc(100% + 6px);
  left: 0; right: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  z-index: 50;
  overflow: hidden;
  display: none;
}

.search-suggestions.open { display: block; }

.suggestion-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  font-size: 0.875rem;
  color: var(--primary);
  cursor: pointer;
  transition: background var(--transition);
  text-decoration: none;
}

.suggestion-item:hover { background: var(--bg2); }
.suggestion-item .sug-icon { font-size: 0.75rem; color: var(--muted); }

/* ── Quiz ── */
.quiz-section {
  padding: 80px 0;
  background: var(--card);
  border-bottom: 1px solid var(--border);
}

.quiz-container {
  max-width: 760px;
  margin: 0 auto;
}

.quiz-header { text-align: center; margin-bottom: 48px; }

.quiz-step { display: none; }
.quiz-step.active { display: block; }

.quiz-question {
  font-size: 1.25rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 28px;
}

.quiz-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  margin-bottom: 32px;
}

.quiz-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 12px;
  background: var(--bg2);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
}

.quiz-option:hover {
  border-color: var(--accent);
  background: var(--accent-lt);
  color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.quiz-option.selected {
  border-color: var(--accent);
  background: var(--accent-lt);
  color: var(--accent);
}

.quiz-option .opt-emoji {
  font-size: 1.75rem;
  line-height: 1;
}

.quiz-progress {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  margin-bottom: 32px;
}

.progress-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  transition: background var(--transition);
}

.progress-dot.done { background: var(--accent); }

.quiz-result {
  background: linear-gradient(135deg, #f0ebff, #e0f2fe);
  border: 2px solid var(--accent);
  border-radius: var(--radius-lg);
  padding: 36px;
  text-align: center;
  display: none;
}

.quiz-result.show { display: block; }

.result-model-name {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 8px;
}

.result-reason {
  font-size: 1.05rem;
  color: var(--muted);
  margin-bottom: 24px;
}

.result-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-bottom: 28px;
  text-align: left;
}

.result-detail-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px;
}

.result-detail-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 4px;
}

.result-detail-value {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
}

.result-privacy-note {
  background: #fef3c7;
  border: 1px solid #fcd34d;
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 0.85rem;
  color: #92400e;
  text-align: left;
  margin-bottom: 20px;
}

/* ── Comparison cards ── */
.comparisons-section {
  padding: 80px 0;
}

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}

.comp-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  text-decoration: none;
  color: inherit;
  display: block;
}

.comp-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: var(--accent);
  color: inherit;
}

.comp-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.comp-emoji {
  font-size: 1.75rem;
  line-height: 1;
}

.comp-vs {
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--muted);
  background: var(--bg2);
  padding: 3px 6px;
  border-radius: 4px;
  letter-spacing: 0.05em;
}

.comp-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.comp-verdict {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 14px;
  line-height: 1.5;
}

.comp-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.comp-see-more {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
}

/* ── Category winners table ── */
.winners-section {
  padding: 80px 0;
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.winners-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

/* ── SEA Spotlight ── */
.sea-section {
  padding: 80px 0;
}

.sea-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.sea-flag {
  font-size: 1rem;
  margin-right: 2px;
}

/* ── Updates & Blog ── */
.updates-section {
  padding: 80px 0;
  background: var(--bg2);
  border-top: 1px solid var(--border);
}

.updates-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.update-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px;
  background: var(--card);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.update-date {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-lt);
  padding: 3px 8px;
  border-radius: 4px;
  white-space: nowrap;
}

.update-text {
  font-size: 0.9rem;
  color: var(--primary);
  line-height: 1.5;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.blog-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: all var(--transition);
  text-decoration: none;
  color: inherit;
  display: block;
}

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

.blog-tag {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-bottom: 8px;
}

.blog-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.4;
}

.blog-excerpt {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ── Comparison page specifics ── */
.sticky-compare-bar {
  position: sticky;
  top: 64px;
  z-index: 90;
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  padding: 10px 0;
  display: none;
}

.sticky-compare-bar.visible { display: block; }

.sticky-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.sticky-models {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.95rem;
}

.sticky-scores {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.score-pill {
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  background: var(--bg2);
  color: var(--primary);
}

.score-pill.winner { background: var(--winner-lt); color: #059669; }

.vs-hero {
  padding: 80px 0 40px;
  text-align: center;
  background: linear-gradient(135deg, #fafaf9 0%, #f0ebff 50%, #fafaf9 100%);
  border-bottom: 1px solid var(--border);
}

.vs-models {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 24px;
}

.vs-model {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.vs-model-emoji {
  font-size: 3.5rem;
  line-height: 1;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,.1));
}

.vs-model-name {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary);
}

.vs-badge {
  background: var(--primary);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 800;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  letter-spacing: 0.08em;
}

.jump-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 24px;
}

.jump-link {
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  transition: all var(--transition);
}

.jump-link:hover {
  background: var(--accent-lt);
  border-color: var(--accent);
  color: var(--accent);
}

/* ── Verdict box ── */
.verdict-box {
  background: linear-gradient(135deg, #f0ebff, #e0f2fe);
  border: 2px solid var(--accent);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin: 48px 0;
}

.verdict-box-title {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 20px;
}

.verdict-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.verdict-col h4 {
  font-size: 1rem;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.verdict-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.verdict-col ul li {
  font-size: 0.875rem;
  color: var(--primary);
  padding-left: 8px;
  position: relative;
}

.verdict-col ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--accent);
}

.verdict-overall {
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border: 1px solid var(--border);
  margin-bottom: 20px;
}

.verdict-overall-icon { font-size: 1.5rem; flex-shrink: 0; }
.verdict-overall-text { font-size: 0.9rem; }
.verdict-overall-text strong { display: block; margin-bottom: 4px; }

.verdict-tips {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.verdict-tip {
  font-size: 0.875rem;
  color: var(--primary);
  padding: 10px 14px;
  background: rgba(255,255,255,.7);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

/* ── Score cards ── */
.score-cards-section {
  padding: 60px 0;
}

.score-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.score-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  box-shadow: var(--shadow-sm);
}

.score-card-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.score-row {
  margin-bottom: 12px;
}

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

.score-model-name {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ── Deep dive sections ── */
.deep-dive {
  padding: 60px 0;
  border-top: 1px solid var(--border);
}

.deep-dive-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 28px;
}

.deep-dive-col {
  background: var(--bg2);
  border-radius: var(--radius);
  padding: 20px;
}

.deep-dive-col h4 {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.deep-dive-col p { font-size: 0.9rem; color: var(--muted); margin-bottom: 12px; }
.deep-dive-col ul { font-size: 0.875rem; color: var(--primary); list-style: none; display: flex; flex-direction: column; gap: 6px; }
.deep-dive-col ul li { padding-left: 14px; position: relative; }
.deep-dive-col ul li::before { content: '→'; position: absolute; left: 0; color: var(--accent); font-size: 0.7rem; top: 3px; }

.winner-badge-inline {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--winner-lt);
  color: #059669;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  margin-left: 8px;
}

/* ── Community quotes ── */
.quotes-section {
  padding: 60px 0;
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.quotes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.quote-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 20px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.quote-text {
  font-size: 0.9rem;
  color: var(--primary);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 12px;
  position: relative;
  padding-left: 16px;
}

.quote-text::before {
  content: '"';
  position: absolute;
  left: 0;
  top: -4px;
  font-size: 2rem;
  color: var(--accent);
  line-height: 1;
  font-style: normal;
}

.quote-source {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--muted);
}

/* ── FAQ ── */
.faq-section {
  padding: 60px 0;
}

.faq-list { margin-top: 28px; }

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

.faq-q {
  width: 100%;
  background: none;
  border: none;
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  text-align: left;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary);
  font-family: inherit;
  transition: color var(--transition);
}

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

.faq-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--bg2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--muted);
  transition: all var(--transition);
}

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

.faq-a {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
  padding-bottom: 18px;
  display: none;
}

.faq-item.open .faq-a { display: block; }

/* ── Related comparisons ── */
.related-section {
  padding: 60px 0;
  background: var(--bg2);
  border-top: 1px solid var(--border);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 28px;
}

/* ── Model page ── */
.model-hero {
  padding: 80px 0 50px;
  text-align: center;
  background: linear-gradient(135deg, #fafaf9, #f0ebff);
  border-bottom: 1px solid var(--border);
}

.model-emoji-big { font-size: 5rem; line-height: 1; margin-bottom: 16px; }

.model-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.model-scores-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.model-score-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.model-score-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.model-score-label {
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 600;
  margin-top: 4px;
}

/* ── Blog ── */
.blog-hero {
  padding: 60px 0;
  text-align: center;
  background: linear-gradient(135deg, #fafaf9, #f0ebff);
  border-bottom: 1px solid var(--border);
}

.article-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 20px;
}

.article-content h2 { margin: 40px 0 16px; }
.article-content h3 { margin: 28px 0 12px; }
.article-content p  { font-size: 1rem; line-height: 1.8; color: #374151; margin-bottom: 18px; }
.article-content ul, .article-content ol { margin: 0 0 18px 20px; }
.article-content li { font-size: 1rem; line-height: 1.8; color: #374151; margin-bottom: 6px; }

.article-callout {
  background: var(--accent-lt);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 16px 20px;
  margin: 24px 0;
  font-size: 0.95rem;
  color: var(--primary);
}

/* ── Footer ── */
.site-footer {
  background: var(--primary);
  color: rgba(255,255,255,.7);
  padding: 60px 0 32px;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand .logo-name { color: #fff; }
.footer-brand .logo-name span.accent { color: #a78bfa; }
.footer-brand .logo-tagline { color: rgba(255,255,255,.5); }

.footer-brand p {
  font-size: 0.875rem;
  margin-top: 12px;
  line-height: 1.7;
  color: rgba(255,255,255,.55);
}

.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,.9);
  margin-bottom: 14px;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col ul li a {
  font-size: 0.875rem;
  color: rgba(255,255,255,.55);
  transition: color var(--transition);
}

.footer-col ul li a:hover { color: #a78bfa; }

.footer-skillnest {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 24px;
  margin-bottom: 24px;
  font-size: 0.875rem;
  color: rgba(255,255,255,.55);
}

.footer-skillnest a { color: #a78bfa; }
.footer-skillnest a:hover { color: #c4b5fd; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: rgba(255,255,255,.4);
}

/* ── Utilities ── */
.text-center { text-align: center; }
.text-muted   { color: var(--muted); }
.text-accent  { color: var(--accent); }
.text-winner  { color: var(--winner); }
.text-small   { font-size: 0.875rem; }

.mt-4  { margin-top: 16px; }
.mt-6  { margin-top: 24px; }
.mt-8  { margin-top: 32px; }
.mb-4  { margin-bottom: 16px; }
.mb-6  { margin-bottom: 24px; }
.mb-8  { margin-bottom: 32px; }

.section-divider { padding: 80px 0; }
.section-divider + .section-divider { border-top: 1px solid var(--border); }

/* ── Mobile nav ── */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 200;
  align-items: flex-start;
  justify-content: flex-end;
}

.mobile-nav.open { display: flex; }

.mobile-nav-panel {
  background: #fff;
  width: 280px;
  height: 100%;
  padding: 24px;
  overflow-y: auto;
}

.mobile-nav-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--primary);
  display: block;
  margin-left: auto;
  margin-bottom: 24px;
}

.mobile-nav-panel ul { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.mobile-nav-panel ul li a {
  display: block;
  padding: 12px 16px;
  font-weight: 600;
  color: var(--primary);
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}
.mobile-nav-panel ul li a:hover { background: var(--bg2); color: var(--accent); }

/* ── Responsive ── */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .deep-dive-grid { grid-template-columns: 1fr; }
  .verdict-row { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .main-nav { display: none; }
  .hamburger { display: flex; }

  .hero { padding: 56px 0 48px; }
  .quiz-options { grid-template-columns: repeat(2, 1fr); }

  .comparison-grid,
  .blog-grid { grid-template-columns: 1fr; }

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

  .sticky-scores { display: none; }
  .sticky-inner { flex-wrap: wrap; }

  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .quiz-options { grid-template-columns: repeat(2, 1fr); }
  .vs-models { gap: 12px; }
  .vs-model-emoji { font-size: 2.5rem; }
  .trust-badges { gap: 8px; }
}

/* ── Breadcrumbs ── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--muted);
  padding: 14px 0;
  flex-wrap: wrap;
}

.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb-sep { color: var(--border); }
.breadcrumb-current { color: var(--primary); font-weight: 500; }

/* ── AdSense placeholders ── */
.ad-slot { display: none; }

/* ── Animated elements ── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-in-up { animation: fadeInUp 0.4s ease both; }

/* ── Prevent hidden content issues ── */
.comparison-content,
.model-content,
.verdict-box,
.score-card,
.sea-section,
.faq-section,
.deep-dive,
.free-tier-table {
  display: block !important;
  overflow: visible !important;
  max-height: none !important;
  height: auto !important;
}
