/* ============================================================
   RANKSHIFT.FR — Design System
   Dark editorial · Bricolage Grotesque + DM Sans
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,400;12..96,600;12..96,700;12..96,800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,400&display=swap');

/* ─── TOKENS ─── */
:root {
  --bg:          #0B0E17;
  --bg2:         #12161F;
  --bg3:         #181D28;
  --card:        #161B26;
  --card-hover:  #1C2232;
  --border:      rgba(255,255,255,0.07);
  --border-lg:   rgba(255,255,255,0.12);

  --lime:        #AAFF00;
  --lime-dim:    rgba(170,255,0,0.12);
  --lime-glow:   rgba(170,255,0,0.08);
  --orange:      #FF6B35;
  --blue:        #4D9EFF;

  --text:        #F0F2F5;
  --text-muted:  #8891A6;
  --text-dim:    #545C72;

  --font-head:   'Bricolage Grotesque', sans-serif;
  --font-body:   'DM Sans', sans-serif;

  --radius:      12px;
  --radius-lg:   18px;
  --radius-xl:   24px;

  --shadow:      0 4px 24px rgba(0,0,0,0.4);
  --shadow-card: 0 2px 12px rgba(0,0,0,0.3);
  --shadow-lime: 0 0 24px rgba(170,255,0,0.15);
}

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--font-body); border: none; background: none; }

/* ─── TYPOGRAPHY ─── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text);
}
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 700; }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }
p { color: var(--text-muted); line-height: 1.75; }

.accent { color: var(--lime); }
.muted  { color: var(--text-muted); }

/* ─── LAYOUT ─── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.container--narrow { max-width: 860px; }
.container--wide   { max-width: 1400px; }

section { padding: 80px 0; }
section + section { padding-top: 0; }

/* ─── GRID ─── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }

/* ─── NAVBAR ─── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11,14,23,0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 0;
}
.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 24px;
  max-width: 1200px;
  margin: 0 auto;
}
.navbar__logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
}
.navbar__logo-mark {
  width: 32px;
  height: 32px;
  background: var(--lime);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.navbar__logo-mark svg { width: 18px; height: 18px; }
.navbar__nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.navbar__nav a {
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color .2s, background .2s;
}
.navbar__nav a:hover { color: var(--text); background: var(--bg2); }
.navbar__nav a.active { color: var(--text); background: var(--bg3); }
.navbar__cta {
  background: var(--lime);
  color: #0B0E17 !important;
  font-weight: 600 !important;
  padding: 8px 16px !important;
}
.navbar__cta:hover { background: #BFFF33 !important; }
.navbar__burger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.navbar__burger span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; }

/* ─── HERO ─── */
.hero {
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(170,255,0,0.06) 0%, transparent 65%);
  pointer-events: none;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--lime-dim);
  border: 1px solid rgba(170,255,0,0.25);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--lime);
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}
.hero__badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--lime);
  border-radius: 50%;
  animation: blink 1.5s ease-in-out infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.3} }

.hero h1 { max-width: 820px; margin-bottom: 20px; }
.hero__subtitle {
  font-size: 1.15rem;
  max-width: 600px;
  margin-bottom: 40px;
  color: var(--text-muted);
  line-height: 1.7;
}
.hero__ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}
.hero__stats {
  display: flex;
  gap: 48px;
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}
.hero__stat-num {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.03em;
}
.hero__stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all .2s;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--lime);
  color: #0B0E17;
  box-shadow: var(--shadow-lime);
}
.btn-primary:hover {
  background: #BFFF33;
  transform: translateY(-1px);
  box-shadow: 0 0 32px rgba(170,255,0,0.25);
}
.btn-secondary {
  background: var(--bg3);
  color: var(--text);
  border: 1px solid var(--border-lg);
}
.btn-secondary:hover { background: var(--card-hover); border-color: var(--border-lg); }

.btn-outline {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
}
.btn-outline:hover { color: var(--text); border-color: var(--border-lg); }

.btn-sm { padding: 8px 16px; font-size: 0.85rem; border-radius: 8px; }
.btn-lg { padding: 16px 32px; font-size: 1rem; border-radius: 12px; }

/* ─── CARDS ─── */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all .25s;
}
.card:hover {
  background: var(--card-hover);
  border-color: var(--border-lg);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* Tool Review Card */
.tool-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all .25s;
  display: flex;
  flex-direction: column;
}
.tool-card:hover {
  border-color: var(--border-lg);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.tool-card__header {
  padding: 24px 24px 20px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.tool-card__logo {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--bg3);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.1rem;
  flex-shrink: 0;
  overflow: hidden;
}
.tool-card__logo img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.tool-card__meta { flex: 1; min-width: 0; }
.tool-card__name { font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; margin-bottom: 4px; }
.tool-card__category {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--lime);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.tool-card__rating {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px 0;
  margin-top: 4px;
}
.stars { color: var(--lime); font-size: 0.9rem; letter-spacing: 1px; }
.rating-num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text);
}
.rating-count { font-size: 0.78rem; color: var(--text-dim); }
.tool-card__desc {
  padding: 0 24px 20px;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
  flex: 1;
}
.tool-card__tags {
  padding: 0 24px 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.tag {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 3px 10px;
  font-size: 0.76rem;
  color: var(--text-muted);
  font-weight: 500;
}
.tool-card__footer {
  padding: 16px 24px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.tool-card__price {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
}
.tool-card__price span { font-size: 0.78rem; font-weight: 400; color: var(--text-muted); }

/* Commission badge */
.commission-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(170,255,0,0.1);
  border: 1px solid rgba(170,255,0,0.2);
  color: var(--lime);
  border-radius: 6px;
  padding: 3px 9px;
  font-size: 0.75rem;
  font-weight: 700;
}

/* ─── SECTION HEADER ─── */
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 12px;
}
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 40px;
  gap: 24px;
}
.section-header h2 { margin: 0; }

/* ─── CATEGORY CARDS ─── */
.cat-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all .25s;
  position: relative;
  overflow: hidden;
}
.cat-card::after {
  content: '';
  position: absolute;
  bottom: 0; right: 0;
  width: 80px; height: 80px;
  background: var(--lime-glow);
  border-radius: 50%;
  transform: translate(30px, 30px);
  transition: all .3s;
}
.cat-card:hover {
  border-color: rgba(170,255,0,0.2);
  background: var(--card-hover);
  transform: translateY(-2px);
}
.cat-card:hover::after { transform: translate(10px, 10px); width: 100px; height: 100px; }
.cat-card__icon {
  width: 44px;
  height: 44px;
  background: var(--lime-dim);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}
.cat-card__name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
}
.cat-card__count { font-size: 0.82rem; color: var(--text-muted); }

/* ─── ARTICLE CARD ─── */
.article-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all .25s;
  display: flex;
  flex-direction: column;
}
.article-card:hover {
  border-color: var(--border-lg);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}
.article-card__img {
  aspect-ratio: 16/9;
  background: var(--bg3);
  position: relative;
  overflow: hidden;
}
.article-card__img-placeholder {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  opacity: 0.3;
}
.article-card__body { padding: 24px; flex: 1; display: flex; flex-direction: column; gap: 10px; }
.article-card__cat {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lime);
}
.article-card__title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.4;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}
.article-card__meta {
  display: flex;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-top: auto;
}

/* ─── BREADCRUMB ─── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.83rem;
  color: var(--text-dim);
  padding: 20px 0;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--text-muted); transition: color .2s; }
.breadcrumb a:hover { color: var(--lime); }
.breadcrumb__sep { color: var(--text-dim); font-size: 0.75rem; }
.breadcrumb__current { color: var(--text-muted); }

/* ─── REVIEW PAGE ─── */
.review-hero {
  padding: 48px 0 60px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 60px;
}
.review-score {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 20px 0 24px;
}
.score-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--lime-dim);
  border: 2px solid var(--lime);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.score-circle__num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--lime);
  line-height: 1;
}
.score-circle__max { font-size: 0.7rem; color: var(--text-dim); }
.score-bars { flex: 1; }
.score-bar { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.score-bar__label { font-size: 0.82rem; color: var(--text-muted); width: 120px; flex-shrink: 0; }
.score-bar__track {
  flex: 1;
  height: 6px;
  background: var(--bg3);
  border-radius: 3px;
  overflow: hidden;
}
.score-bar__fill {
  height: 100%;
  background: var(--lime);
  border-radius: 3px;
  transition: width 1s ease;
}
.score-bar__num { font-size: 0.82rem; font-weight: 600; color: var(--text); width: 28px; text-align: right; }

/* Pros/Cons */
.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 32px 0;
}
.pros, .cons {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}
.pros { border-left: 3px solid var(--lime); }
.cons { border-left: 3px solid #FF4D4D; }
.pros h4 { color: var(--lime); margin-bottom: 12px; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.05em; }
.cons h4 { color: #FF4D4D; margin-bottom: 12px; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.05em; }
.pros li, .cons li {
  font-size: 0.9rem;
  color: var(--text-muted);
  padding: 5px 0;
  padding-left: 16px;
  position: relative;
  list-style: none;
}
.pros li::before { content: '✓'; position: absolute; left: 0; color: var(--lime); font-weight: 700; }
.cons li::before { content: '✗'; position: absolute; left: 0; color: #FF4D4D; font-weight: 700; }

/* CTA affiliate box */
.affiliate-cta {
  background: linear-gradient(135deg, var(--bg2) 0%, rgba(170,255,0,0.04) 100%);
  border: 1px solid rgba(170,255,0,0.2);
  border-radius: var(--radius-xl);
  padding: 36px 40px;
  text-align: center;
  margin: 40px 0;
}
.affiliate-cta h3 { font-size: 1.5rem; margin-bottom: 10px; }
.affiliate-cta p { margin-bottom: 24px; max-width: 480px; margin-left: auto; margin-right: auto; }
.affiliate-disclaimer {
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-top: 10px;
}

/* ─── ARTICLE / BLOG ─── */
.article-content {
  font-size: 1.02rem;
  line-height: 1.85;
  color: var(--text-muted);
}
.article-content h2 {
  font-size: 1.7rem;
  margin: 56px 0 20px;
  color: var(--text);
  padding-top: 8px;
}
.article-content h3 {
  font-size: 1.25rem;
  margin: 36px 0 14px;
  color: var(--text);
}
.article-content p { margin-bottom: 20px; }
.article-content ul, .article-content ol {
  padding-left: 24px;
  margin-bottom: 20px;
  color: var(--text-muted);
}
.article-content ul { list-style: disc; }
.article-content ol { list-style: decimal; }
.article-content li { margin-bottom: 8px; line-height: 1.75; }
.article-content strong { color: var(--text); font-weight: 600; }
.article-content a { color: var(--lime); border-bottom: 1px solid rgba(170,255,0,0.3); }
.article-content a:hover { border-color: var(--lime); }
.article-content blockquote {
  border-left: 3px solid var(--lime);
  padding: 16px 20px;
  background: var(--card);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 28px 0;
  font-style: italic;
  color: var(--text);
}
.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 28px 0;
  font-size: 0.92rem;
}
.article-content th {
  background: var(--bg3);
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
  color: var(--text);
  border-bottom: 1px solid var(--border-lg);
  font-family: var(--font-head);
}
.article-content td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  vertical-align: top;
}
.article-content tr:hover td { background: var(--bg2); }
.article-content code {
  background: var(--bg3);
  padding: 2px 7px;
  border-radius: 5px;
  font-family: 'DM Mono', 'Fira Code', monospace;
  font-size: 0.88em;
  color: var(--lime);
}

/* ─── TOC ─── */
.toc {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 40px;
}
.toc__title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.toc ol { padding-left: 20px; color: var(--text-muted); }
.toc li { margin-bottom: 5px; font-size: 0.88rem; }
.toc a { color: var(--text-muted); transition: color .2s; }
.toc a:hover { color: var(--lime); }

/* ─── SIDEBAR ─── */
.layout-sidebar {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  align-items: start;
}
.sidebar__widget {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 24px;
}
.sidebar__widget-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.sidebar__cta {
  background: var(--lime-dim);
  border: 1px solid rgba(170,255,0,0.2);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
}
.sidebar__cta h4 { color: var(--lime); margin-bottom: 8px; }
.sidebar__cta p { font-size: 0.85rem; margin-bottom: 16px; }

/* ─── NEWSLETTER ─── */
.newsletter {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 56px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.newsletter::before {
  content: '';
  position: absolute;
  top: -100px; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 400px;
  background: radial-gradient(ellipse, rgba(170,255,0,0.05) 0%, transparent 65%);
  pointer-events: none;
}
.newsletter h2 { margin-bottom: 12px; }
.newsletter p { max-width: 480px; margin: 0 auto 28px; }
.newsletter__form {
  display: flex;
  max-width: 480px;
  margin: 0 auto;
  gap: 12px;
}
.newsletter__form input {
  flex: 1;
  background: var(--bg3);
  border: 1px solid var(--border-lg);
  border-radius: 10px;
  padding: 12px 16px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: border-color .2s;
}
.newsletter__form input:focus { border-color: rgba(170,255,0,0.4); }
.newsletter__form input::placeholder { color: var(--text-dim); }

/* ─── FOOTER ─── */
.footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
  margin-top: 80px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer__brand { max-width: 280px; }
.footer__tagline { font-size: 0.88rem; color: var(--text-muted); margin-top: 12px; line-height: 1.7; }
.footer__col h4 {
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text);
  margin-bottom: 16px;
}
.footer__col ul li { margin-bottom: 8px; }
.footer__col ul li a {
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: color .2s;
}
.footer__col ul li a:hover { color: var(--lime); }
.footer__bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer__copy { font-size: 0.82rem; color: var(--text-dim); }
.footer__legal { font-size: 0.78rem; color: var(--text-dim); max-width: 700px; line-height: 1.5; }

/* ─── COMPARISON TABLE ─── */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  margin: 32px 0;
}
.compare-table th {
  background: var(--bg3);
  padding: 16px 20px;
  text-align: left;
  font-family: var(--font-head);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text);
  border-bottom: 1px solid var(--border-lg);
}
.compare-table th:first-child { width: 35%; }
.compare-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--text-muted);
  vertical-align: middle;
}
.compare-table tr:last-child td { border-bottom: none; }
.compare-table tr:hover td { background: var(--bg2); }
.compare-table .check { color: var(--lime); font-size: 1rem; }
.compare-table .cross { color: #FF4D4D; font-size: 1rem; }
.compare-table .winner-col { background: rgba(170,255,0,0.04); }
.compare-table .winner-badge {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--lime);
  background: var(--lime-dim);
  border: 1px solid rgba(170,255,0,0.25);
  padding: 2px 8px;
  border-radius: 5px;
  margin-left: 8px;
}

/* ─── PAGINATION ─── */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
}
.pagination a, .pagination span {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 500;
  border: 1px solid var(--border);
  color: var(--text-muted);
  transition: all .2s;
  background: var(--card);
}
.pagination a:hover { border-color: rgba(170,255,0,0.3); color: var(--lime); }
.pagination .active { background: var(--lime-dim); border-color: rgba(170,255,0,0.3); color: var(--lime); font-weight: 700; }

/* ─── NOTICE / DISCLAIMER ─── */
.notice {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 18px;
  font-size: 0.82rem;
  color: var(--text-dim);
  line-height: 1.6;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.notice::before { content: 'ℹ'; color: var(--blue); flex-shrink: 0; margin-top: 1px; }

/* ─── UTILS ─── */
.text-center { text-align: center; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-40 { margin-bottom: 40px; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-8  { gap: 8px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .layout-sidebar { grid-template-columns: 1fr; }
  .sidebar { order: -1; }
}
@media (max-width: 768px) {
  section { padding: 56px 0; }
  h1 { font-size: 2rem; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .hero__stats { flex-wrap: wrap; gap: 24px; }
  .hero__ctas { flex-direction: column; align-items: flex-start; }
  .pros-cons { grid-template-columns: 1fr; }
  .newsletter { padding: 36px 24px; }
  .newsletter__form { flex-direction: column; }
  .footer__grid { grid-template-columns: 1fr; gap: 24px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .navbar__nav { display: none; }
  .navbar__burger { display: flex; }
  .compare-table { display: block; overflow-x: auto; }
  .section-header { flex-direction: column; align-items: flex-start; }
}

/* ─── SCROLL ANIMATIONS ─── */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── STICKY SIDEBAR ─── */
.sticky-top { position: sticky; top: 88px; }
