/* ============================================================
   AFROLU.COM — Main Stylesheet
   Design system: Warm cream + gold + deep black
   Fonts: Playfair Display (display) + DM Sans (body)
   ============================================================ */

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

:root {
  /* Colours */
  --gold:        #C9A84C;
  --gold-light:  #E2C97E;
  --gold-dark:   #9E7A2A;
  --cream:       #FAF7F2;
  --cream-dark:  #F0EBE1;
  --ink:         #1A1A2E;
  --ink-soft:    #2D2D44;
  --muted:       #6B6B80;
  --border:      #E0D8CC;
  --success:     #2D7A4F;
  --danger:      #C0392B;
  --white:       #FFFFFF;

  /* Dark mode */
  --bg:          var(--cream);
  --bg-card:     var(--white);
  --text:        var(--ink);
  --text-soft:   var(--muted);
  --border-col:  var(--border);

  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono:    'JetBrains Mono', 'Courier New', monospace;

  /* Spacing */
  --space-xs:  0.25rem;
  --space-sm:  0.5rem;
  --space-md:  1rem;
  --space-lg:  1.5rem;
  --space-xl:  2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;

  /* Layout */
  --max-w:     1100px;
  --max-w-sm:  680px;

  /* Radius */
  --r-sm:  4px;
  --r-md:  8px;
  --r-lg:  12px;
  --r-xl:  20px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,.10);
  --shadow-lg: 0 8px 32px rgba(0,0,0,.14);

  /* Transitions */
  --t-fast: 150ms ease;
  --t-mid:  250ms ease;
}

/* Dark mode */
@media (prefers-color-scheme: dark) {
  :root {
    --bg:         #121220;
    --bg-card:    #1C1C30;
    --text:       #F0EBE1;
    --text-soft:  #9090A8;
    --border-col: #2E2E44;
    --cream:      #121220;
    --cream-dark: #1A1A2E;
  }
}

[data-theme="dark"] {
  --bg:         #121220;
  --bg-card:    #1C1C30;
  --text:       #F0EBE1;
  --text-soft:  #9090A8;
  --border-col: #2E2E44;
}

[data-theme="light"] {
  --bg:         #FAF7F2;
  --bg-card:    #FFFFFF;
  --text:       #1A1A2E;
  --text-soft:  #6B6B80;
  --border-col: #E0D8CC;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  min-height: 100vh;
  transition: background var(--t-mid), color var(--t-mid);
}

/* ── 1. TYPOGRAPHY ───────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.25;
  color: var(--text);
}
h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 700; }
h2 { font-size: clamp(1.4rem, 3vw, 2rem);   font-weight: 700; }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 600; }

p { margin-bottom: var(--space-md); }
p:last-child { margin-bottom: 0; }

a { color: var(--gold-dark); text-decoration: none; transition: color var(--t-fast); }
a:hover { color: var(--gold); }

strong { font-weight: 600; }
em { font-style: italic; }

.text-muted  { color: var(--text-soft); }
.text-gold   { color: var(--gold); }
.text-center { text-align: center; }
.text-sm     { font-size: 0.875rem; }
.text-xs     { font-size: 0.75rem; }

/* ── 2. LAYOUT ───────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}
.container-sm {
  max-width: var(--max-w-sm);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.page-wrapper { padding-bottom: var(--space-3xl); }

.section {
  padding: var(--space-2xl) 0;
  border-bottom: 1px solid var(--border-col);
}
.section:last-child { border-bottom: none; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-lg); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-lg); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-md); }

@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .container { padding: 0 var(--space-md); }
}

/* ── 3. NAVIGATION ───────────────────────────────────────── */
.site-nav {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-col);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: var(--space-md);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.5px;
}
.nav-logo span { color: var(--gold); }

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  list-style: none;
}
.nav-links a {
  color: var(--text-soft);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--t-fast);
}
.nav-links a:hover, .nav-links a.active { color: var(--gold); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.country-switcher {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: 0.85rem;
  color: var(--text-soft);
  cursor: pointer;
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--r-md);
  border: 1px solid var(--border-col);
  background: transparent;
  transition: all var(--t-fast);
}
.country-switcher:hover { border-color: var(--gold); color: var(--gold); }

.theme-toggle {
  background: none;
  border: 1px solid var(--border-col);
  border-radius: var(--r-md);
  padding: var(--space-xs) var(--space-sm);
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  color: var(--text-soft);
  transition: all var(--t-fast);
}
.theme-toggle:hover { border-color: var(--gold); }

/* Mobile nav */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .mobile-tab-bar { display: flex; }
}

/* ── 4. HERO SECTION ─────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--ink) 0%, var(--ink-soft) 100%);
  color: var(--white);
  padding: var(--space-3xl) 0;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23C9A84C' fill-opacity='0.04'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-content { position: relative; z-index: 1; max-width: 700px; }
.hero h1 { color: var(--white); margin-bottom: var(--space-md); }
.hero-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: var(--space-md);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.hero p { color: rgba(255,255,255,0.85); font-size: 1.1rem; margin-bottom: var(--space-xl); }
.hero-meta {
  display: flex;
  gap: var(--space-lg);
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}
.hero-meta span { display: flex; align-items: center; gap: var(--space-xs); }

/* ── 5. BUTTONS ──────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 0.65rem 1.4rem;
  border-radius: var(--r-md);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--t-fast);
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}
.btn-primary:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}
.btn-outline:hover {
  background: var(--gold);
  color: var(--ink);
}

.btn-ghost {
  background: rgba(255,255,255,0.1);
  color: var(--white);
  border-color: rgba(255,255,255,0.2);
}
.btn-ghost:hover { background: rgba(255,255,255,0.2); }

.btn-sm { padding: 0.4rem 0.9rem; font-size: 0.85rem; }
.btn-lg { padding: 0.85rem 1.8rem; font-size: 1.05rem; }
.btn-block { width: 100%; justify-content: center; }

/* ── 6. CARDS ────────────────────────────────────────────── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-col);
  border-radius: var(--r-lg);
  padding: var(--space-lg);
  transition: box-shadow var(--t-mid), transform var(--t-mid);
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.card-gold {
  border-color: var(--gold);
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(201,168,76,0.05) 100%);
}

/* ── 7. STAT CARDS ───────────────────────────────────────── */
.stat-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  margin: var(--space-xl) 0;
}
@media (max-width: 768px) {
  .stat-cards { grid-template-columns: repeat(2, 1fr); }
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-col);
  border-radius: var(--r-lg);
  padding: var(--space-lg);
  text-align: center;
}
.stat-card .stat-emoji { font-size: 1.8rem; margin-bottom: var(--space-xs); }
.stat-card .stat-value {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1.1;
}
.stat-card .stat-label {
  font-size: 0.8rem;
  color: var(--text-soft);
  margin-top: var(--space-xs);
}

/* ── 8. RANKINGS TABLE ───────────────────────────────────── */
.disclosure-bar {
  background: rgba(201,168,76,0.08);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: var(--r-md);
  padding: var(--space-sm) var(--space-md);
  font-size: 0.8rem;
  color: var(--text-soft);
  margin-bottom: var(--space-md);
}

.rankings-table { width: 100%; border-collapse: collapse; }
.rankings-table th {
  text-align: left;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: var(--space-sm) var(--space-md);
  border-bottom: 2px solid var(--border-col);
}
.rankings-table td {
  padding: var(--space-md);
  border-bottom: 1px solid var(--border-col);
  vertical-align: middle;
}
.rankings-table tr:last-child td { border-bottom: none; }

.rank-row-gold { background: linear-gradient(90deg, rgba(201,168,76,0.06) 0%, transparent 100%); }
.rank-row-gold td:first-child { border-left: 3px solid var(--gold); }

.rank-num {
  font-family: var(--font-mono);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-soft);
  width: 40px;
}
.rank-num-1 { color: var(--gold); }

.site-name-cell { font-weight: 600; font-size: 0.95rem; }
.site-type-badge {
  font-size: 0.7rem;
  color: var(--text-soft);
  background: var(--cream-dark);
  padding: 2px 6px;
  border-radius: 10px;
  margin-left: var(--space-xs);
}
[data-theme="dark"] .site-type-badge { background: rgba(255,255,255,0.08); }

.score-cell { min-width: 120px; }
.score-value {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 4px;
}
.score-bar-track {
  height: 5px;
  background: var(--border-col);
  border-radius: 3px;
  overflow: hidden;
}
.score-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold));
  border-radius: 3px;
  width: 0;
  transition: width 1s ease;
}

.free-badge {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--success);
  background: rgba(45,122,79,0.1);
  padding: 2px 8px;
  border-radius: 10px;
}

.highlight-text { font-size: 0.85rem; color: var(--text-soft); }

.cta-cell { text-align: right; }

/* Mobile ranking cards */
@media (max-width: 640px) {
  .rankings-table, .rankings-table thead, .rankings-table tbody,
  .rankings-table th, .rankings-table td, .rankings-table tr { display: block; }
  .rankings-table thead { display: none; }
  .rankings-table tr {
    border: 1px solid var(--border-col);
    border-radius: var(--r-lg);
    margin-bottom: var(--space-md);
    padding: var(--space-md);
    background: var(--bg-card);
  }
  .rankings-table td { border: none; padding: var(--space-xs) 0; }
  .cta-cell { padding-top: var(--space-sm); }
  .cta-cell .btn { width: 100%; justify-content: center; }
}

/* ── 9. VERDICT BOX ──────────────────────────────────────── */
.verdict-box {
  background: linear-gradient(135deg, var(--ink) 0%, var(--ink-soft) 100%);
  color: var(--white);
  border-radius: var(--r-xl);
  padding: var(--space-xl);
  margin: var(--space-2xl) 0;
  position: relative;
  overflow: hidden;
}
.verdict-box::before {
  content: '★';
  position: absolute;
  top: -20px;
  right: 20px;
  font-size: 8rem;
  color: rgba(201,168,76,0.06);
  pointer-events: none;
}
.verdict-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: var(--space-sm);
}
.verdict-box h3 { color: var(--white); margin-bottom: var(--space-md); }
.verdict-box p { color: rgba(255,255,255,0.85); }
.verdict-tags { display: flex; flex-wrap: wrap; gap: var(--space-xs); margin-top: var(--space-md); }
.verdict-tag {
  background: rgba(201,168,76,0.15);
  color: var(--gold-light);
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: 20px;
  padding: 3px 12px;
  font-size: 0.8rem;
  font-weight: 500;
}

/* ── 10. FAQ ACCORDION ───────────────────────────────────── */
.faq-section { margin: var(--space-2xl) 0; }
.faq-section h2 { margin-bottom: var(--space-lg); }

.faq-item {
  border: 1px solid var(--border-col);
  border-radius: var(--r-md);
  margin-bottom: var(--space-sm);
  overflow: hidden;
  background: var(--bg-card);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: var(--space-md) var(--space-lg);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  gap: var(--space-md);
  transition: background var(--t-fast);
}
.faq-question:hover { background: rgba(201,168,76,0.04); }
.faq-question[aria-expanded="true"] { color: var(--gold-dark); }

.faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1.5px solid var(--border-col);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: transform var(--t-mid), background var(--t-fast);
  color: var(--text-soft);
}
.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}

.faq-answer {
  display: none;
  padding: 0 var(--space-lg) var(--space-md);
  color: var(--text-soft);
  font-size: 0.95rem;
  line-height: 1.7;
}
.faq-answer.open { display: block; }

.show-more-faqs {
  background: none;
  border: 1px dashed var(--border-col);
  border-radius: var(--r-md);
  padding: var(--space-sm) var(--space-lg);
  color: var(--text-soft);
  font-size: 0.9rem;
  cursor: pointer;
  width: 100%;
  margin-top: var(--space-sm);
  transition: all var(--t-fast);
}
.show-more-faqs:hover { border-color: var(--gold); color: var(--gold); }

/* ── 11. COLLAPSIBLE SECTIONS ────────────────────────────── */
.collapsible-section {
  border: 1px solid var(--border-col);
  border-radius: var(--r-lg);
  margin-bottom: var(--space-md);
  overflow: hidden;
  background: var(--bg-card);
}
.collapsible-trigger {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: var(--space-md) var(--space-lg);
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  gap: var(--space-md);
}
.collapsible-trigger:hover { background: rgba(201,168,76,0.04); }
.collapsible-arrow { transition: transform var(--t-mid); color: var(--text-soft); }
.collapsible-trigger[aria-expanded="true"] .collapsible-arrow { transform: rotate(180deg); }
.collapsible-content {
  display: none;
  padding: 0 var(--space-lg) var(--space-lg);
  color: var(--text-soft);
  line-height: 1.7;
}
.collapsible-content.open { display: block; }

/* ── 12. BREADCRUMB ──────────────────────────────────────── */
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-xs);
  font-size: 0.83rem;
  color: var(--text-soft);
  padding: var(--space-md) 0;
}
.breadcrumb a { color: var(--text-soft); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb-sep { color: var(--border-col); }
.breadcrumb span { color: var(--text); font-weight: 500; }

/* ── 13. PRO TIP BOX ─────────────────────────────────────── */
.pro-tip {
  background: rgba(201,168,76,0.07);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  padding: var(--space-md) var(--space-lg);
  margin: var(--space-lg) 0;
}
.pro-tip-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--gold-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: var(--space-xs);
}
.pro-tip p { color: var(--text-soft); font-size: 0.9rem; margin: 0; }

/* ── 14. CITY GRID ───────────────────────────────────────── */
.city-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin: var(--space-lg) 0;
}
@media (max-width: 768px) {
  .city-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .city-grid { grid-template-columns: 1fr; }
}

.city-card {
  background: var(--bg-card);
  border: 1px solid var(--border-col);
  border-radius: var(--r-lg);
  padding: var(--space-lg);
  text-decoration: none;
  color: var(--text);
  display: block;
  transition: all var(--t-mid);
}
.city-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: var(--text);
}
.city-card-emoji { font-size: 2rem; margin-bottom: var(--space-sm); }
.city-card-name { font-weight: 700; margin-bottom: var(--space-xs); }
.city-card-meta { font-size: 0.8rem; color: var(--text-soft); }

/* ── 15. COUNTRY SWITCHER DROPDOWN ──────────────────────── */
.country-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--bg-card);
  border: 1px solid var(--border-col);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  min-width: 200px;
  z-index: 200;
  overflow: hidden;
  display: none;
}
.country-menu.open { display: block; }
.country-menu-section {
  padding: var(--space-xs) 0;
  border-bottom: 1px solid var(--border-col);
}
.country-menu-section:last-child { border-bottom: none; }
.country-menu-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: var(--space-xs) var(--space-md);
}
.country-menu a {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  font-size: 0.9rem;
  color: var(--text);
  transition: background var(--t-fast);
}
.country-menu a:hover { background: rgba(201,168,76,0.06); color: var(--gold-dark); }
.coming-soon-tag {
  font-size: 0.65rem;
  color: var(--gold-dark);
  background: rgba(201,168,76,0.1);
  padding: 1px 6px;
  border-radius: 10px;
  margin-left: auto;
}

/* ── 16. PLATFORM DEEPDIVE CARDS ─────────────────────────── */
.deepdive-card {
  background: var(--bg-card);
  border: 1px solid var(--border-col);
  border-radius: var(--r-lg);
  padding: var(--space-lg);
  margin-bottom: var(--space-md);
}
.deepdive-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--space-md);
}
.deepdive-rank {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--gold);
  font-weight: 700;
}
.deepdive-scores {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-sm);
  margin: var(--space-md) 0;
}
.score-item { font-size: 0.85rem; }
.score-item-label { color: var(--text-soft); margin-bottom: 2px; }

/* ── 17. MOBILE BOTTOM TAB BAR ───────────────────────────── */
.mobile-tab-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border-col);
  z-index: 150;
  padding-bottom: env(safe-area-inset-bottom);
}
@media (max-width: 768px) {
  .mobile-tab-bar { display: flex; }
  .page-wrapper { padding-bottom: 80px; }
}
.tab-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 0 10px;
  text-decoration: none;
  color: var(--text-soft);
  font-size: 0.65rem;
  font-weight: 500;
  gap: 2px;
  transition: color var(--t-fast);
}
.tab-item.active, .tab-item:hover { color: var(--gold); }
.tab-icon { font-size: 1.2rem; }

/* ── 18. MOBILE STICKY CTA ───────────────────────────────── */
.sticky-cta {
  position: fixed;
  bottom: 70px;
  left: var(--space-md);
  right: var(--space-md);
  background: var(--ink);
  color: var(--white);
  border-radius: var(--r-lg);
  padding: var(--space-md) var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  box-shadow: var(--shadow-lg);
  z-index: 140;
  transform: translateY(120%);
  transition: transform var(--t-mid);
}
.sticky-cta.visible { transform: translateY(0); }
.sticky-cta-text { font-size: 0.85rem; font-weight: 600; }
.sticky-cta-dismiss {
  background: none;
  border: none;
  color: rgba(255,255,255,0.5);
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
  padding: 0;
}
@media (min-width: 769px) { .sticky-cta { display: none; } }

/* ── 19. GEO BANNER ──────────────────────────────────────── */
.geo-banner {
  background: rgba(201,168,76,0.08);
  border-bottom: 1px solid rgba(201,168,76,0.2);
  padding: var(--space-sm) 0;
  font-size: 0.85rem;
}
.geo-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}
.geo-banner a { color: var(--gold-dark); font-weight: 600; }
.geo-banner-dismiss {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-soft);
  font-size: 1.1rem;
  line-height: 1;
}

/* ── 20. COMING SOON PAGE ────────────────────────────────── */
.coming-soon-hero {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-3xl) var(--space-lg);
}
.coming-soon-emoji { font-size: 4rem; margin-bottom: var(--space-lg); }
.coming-soon-countdown {
  font-family: var(--font-mono);
  font-size: 3rem;
  font-weight: 700;
  color: var(--gold);
  margin: var(--space-lg) 0;
}
.email-capture-form {
  display: flex;
  gap: var(--space-sm);
  max-width: 420px;
  margin: var(--space-lg) auto 0;
}
.email-capture-form input {
  flex: 1;
  padding: 0.65rem var(--space-md);
  border: 1px solid var(--border-col);
  border-radius: var(--r-md);
  background: var(--bg-card);
  color: var(--text);
  font-size: 0.95rem;
}
.email-capture-form input:focus {
  outline: none;
  border-color: var(--gold);
}
@media (max-width: 480px) {
  .email-capture-form { flex-direction: column; }
}

/* ── 21. FOOTER ──────────────────────────────────────────── */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.7);
  padding: var(--space-2xl) 0 var(--space-lg);
  margin-top: var(--space-3xl);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-lg); }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-brand { font-family: var(--font-display); font-size: 1.4rem; color: var(--white); margin-bottom: var(--space-sm); }
.footer-brand span { color: var(--gold); }
.footer-desc { font-size: 0.85rem; line-height: 1.6; }
.footer-col h4 { color: var(--white); font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: var(--space-md); }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: var(--space-xs); }
.footer-links a { color: rgba(255,255,255,0.6); font-size: 0.85rem; transition: color var(--t-fast); }
.footer-links a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: var(--space-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  flex-wrap: wrap;
  gap: var(--space-sm);
}
.footer-disclosure {
  background: rgba(201,168,76,0.08);
  border: 1px solid rgba(201,168,76,0.15);
  border-radius: var(--r-md);
  padding: var(--space-sm) var(--space-md);
  font-size: 0.78rem;
  margin-bottom: var(--space-lg);
  line-height: 1.5;
}

/* ── 22. FORM STYLES ─────────────────────────────────────── */
.form-group { margin-bottom: var(--space-lg); }
.form-group label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: var(--space-xs); }
.form-control {
  width: 100%;
  padding: 0.65rem var(--space-md);
  border: 1px solid var(--border-col);
  border-radius: var(--r-md);
  background: var(--bg-card);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color var(--t-fast);
}
.form-control:focus { outline: none; border-color: var(--gold); }
textarea.form-control { min-height: 140px; resize: vertical; }
select.form-control { cursor: pointer; }

.alert {
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--r-md);
  margin-bottom: var(--space-lg);
  font-size: 0.9rem;
}
.alert-success { background: rgba(45,122,79,0.1); border: 1px solid rgba(45,122,79,0.3); color: var(--success); }
.alert-danger  { background: rgba(192,57,43,0.1);  border: 1px solid rgba(192,57,43,0.3);  color: var(--danger); }

/* ── 23. UTILITIES ───────────────────────────────────────── */
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
.mb-2xl { margin-bottom: var(--space-2xl); }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }

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

.divider {
  border: none;
  border-top: 1px solid var(--border-col);
  margin: var(--space-2xl) 0;
}

.highlight-fact {
  background: rgba(201,168,76,0.07);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: var(--r-lg);
  padding: var(--space-md) var(--space-lg);
  margin: var(--space-lg) 0;
  font-size: 0.95rem;
  color: var(--text-soft);
}
.highlight-fact strong { color: var(--gold-dark); }

/* Section headers */
.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: var(--space-lg);
}
.section-header h2 { margin: 0; }
.section-link { font-size: 0.85rem; color: var(--gold-dark); font-weight: 600; }

/* Reading meta */
.reading-meta {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  font-size: 0.82rem;
  color: var(--text-soft);
  margin-bottom: var(--space-lg);
}
.reading-meta span { display: flex; align-items: center; gap: 4px; }

/* Table of contents */
.toc {
  background: var(--bg-card);
  border: 1px solid var(--border-col);
  border-radius: var(--r-lg);
  padding: var(--space-lg);
  margin: var(--space-xl) 0;
}
.toc-title { font-weight: 700; margin-bottom: var(--space-sm); font-size: 0.9rem; }
.toc ol { margin: 0; padding-left: var(--space-lg); }
.toc li { font-size: 0.88rem; color: var(--text-soft); margin-bottom: var(--space-xs); }
.toc a { color: var(--gold-dark); }
.toc a:hover { color: var(--gold); }

/* Print */
@media print {
  .site-nav, .mobile-tab-bar, .sticky-cta, .geo-banner { display: none !important; }
}

/* ============================================================
   AFROLU — RICH PAGE + SVG IMAGE + RESPONSIVE ADDITIONS
   Added: March 2026
   ============================================================ */

/* ── 24. CITY HERO BANNER ────────────────────────────────── */
.city-hero-banner {
  border-radius: var(--r-xl);
  padding: 3rem 2rem 2rem;
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid rgba(196,160,68,0.2);
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}
@media (max-width: 768px) {
  .city-hero-banner {
    min-height: 220px;
    padding: 2rem 1.25rem 1.5rem;
  }
}
@media (max-width: 480px) {
  .city-hero-banner {
    min-height: 190px;
    padding: 1.5rem 1rem 1.25rem;
    border-radius: var(--r-lg);
  }
  .city-hero-banner h1 {
    font-size: 1.35rem !important;
  }
}

/* ── 25. PLATFORM RANKING CARDS ──────────────────────────── */
.ranking-card {
  transition: transform var(--t-mid), box-shadow var(--t-mid);
}
.ranking-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}
.ranking-card-gold {
  box-shadow: 0 4px 20px rgba(196,160,68,0.12);
}
@media (max-width: 480px) {
  .ranking-card > div > div {
    flex-direction: column;
    gap: 0.75rem;
  }
}

/* ── 26. SCORE COMPARISON CHART ──────────────────────────── */
.score-chart-row {
  display: grid;
  grid-template-columns: 130px 1fr 55px;
  align-items: center;
  gap: 0.75rem;
}
@media (max-width: 480px) {
  .score-chart-row {
    grid-template-columns: 90px 1fr 45px;
    gap: 0.5rem;
  }
}

/* ── 27. FEATURE MATRIX TABLE ────────────────────────────── */
.feature-matrix {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.83rem;
  overflow-x: auto;
  display: block;
}
.feature-matrix thead th {
  text-align: left;
  padding: 0.5rem 0.75rem;
  color: var(--text-soft);
  font-weight: 500;
  border-bottom: 1px solid var(--border-col);
  white-space: nowrap;
}
.feature-matrix tbody td {
  padding: 0.65rem 0.75rem;
  border-bottom: 1px solid rgba(0,0,0,0.04);
  vertical-align: middle;
}
@media (prefers-color-scheme: dark) {
  .feature-matrix tbody td {
    border-bottom: 1px solid rgba(255,255,255,0.04);
  }
}
[data-theme="dark"] .feature-matrix tbody td {
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

/* ── 28. TRUST BAR ───────────────────────────────────────── */
.trust-bar {
  border: 1px solid var(--border-col);
  border-radius: var(--r-lg);
  padding: 1.5rem;
  margin: 2rem 0;
  background: var(--bg-card);
}
.trust-bar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
}
@media (max-width: 640px) {
  .trust-bar-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 360px) {
  .trust-bar-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
}
.trust-stat-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1.2;
}
.trust-stat-label {
  font-size: 0.75rem;
  color: var(--text-soft);
  margin-top: 0.2rem;
}

/* ── 29. SVG IMAGE SEO HELPERS ───────────────────────────── */
/* SVG as background preserves accessibility via aria-label */
.city-hero-banner[role="img"] {
  /* Ensure screen readers see the aria-label */
  outline: none;
}
/* Structured data hint class for Google Image indexing */
.city-hero-figure {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  border-radius: inherit;
}
.city-hero-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.85;
}
/* Fallback: if SVG loads as <img> tag */
.city-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  z-index: 0;
}

/* ── 30. BREADCRUMB RESPONSIVE ───────────────────────────── */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.82rem;
  color: var(--text-soft);
  padding: 0.75rem 0;
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.breadcrumb::-webkit-scrollbar { display: none; }
.breadcrumb a {
  color: var(--gold-dark);
  text-decoration: none;
}
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb-sep { color: var(--text-soft); margin: 0 0.1rem; }
@media (max-width: 480px) {
  .breadcrumb { font-size: 0.76rem; }
}

/* ── 31. STAT CARDS RESPONSIVE ───────────────────────────── */
.stat-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 0.75rem;
  margin: 1.5rem 0;
}
@media (max-width: 480px) {
  .stat-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
  }
}
@media (max-width: 320px) {
  .stat-cards {
    grid-template-columns: 1fr 1fr;
  }
}
.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-col);
  border-radius: var(--r-lg);
  padding: 1rem;
  text-align: center;
  transition: box-shadow var(--t-mid);
}
.stat-card:hover { box-shadow: var(--shadow-md); }
.stat-emoji { font-size: 1.4rem; margin-bottom: 0.35rem; }
.stat-value { font-size: 1.1rem; font-weight: 800; color: var(--gold); line-height: 1.2; }
.stat-label { font-size: 0.72rem; color: var(--text-soft); margin-top: 0.2rem; line-height: 1.3; }

/* ── 32. TABLE OF CONTENTS RESPONSIVE ───────────────────── */
.toc {
  background: var(--bg-card);
  border: 1px solid var(--border-col);
  border-radius: var(--r-lg);
  padding: 1.25rem 1.5rem;
  margin: 1.75rem 0;
}
@media (max-width: 480px) {
  .toc { padding: 1rem; }
  .toc ol { padding-left: 1.25rem; }
}
.toc-title {
  font-weight: 700;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
  color: var(--text);
}
.toc li {
  font-size: 0.87rem;
  color: var(--text-soft);
  margin-bottom: 0.3rem;
  line-height: 1.5;
}
.toc a { color: var(--gold-dark); text-decoration: none; }
.toc a:hover { color: var(--gold); text-decoration: underline; }

/* ── 33. RANKINGS TABLE RESPONSIVE ──────────────────────── */
.rankings-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  margin: 1rem 0;
}
.rankings-table th {
  text-align: left;
  padding: 0.6rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 2px solid var(--border-col);
  white-space: nowrap;
}
.rankings-table td {
  padding: 0.75rem;
  border-bottom: 1px solid var(--border-col);
  vertical-align: middle;
}
@media (max-width: 640px) {
  /* Hide less critical columns on mobile */
  .rankings-table th:nth-child(4),
  .rankings-table td:nth-child(4) { display: none; }
}
@media (max-width: 480px) {
  .rankings-table { font-size: 0.8rem; }
  .rankings-table th:nth-child(5),
  .rankings-table td:nth-child(5) { display: none; }
  .rankings-table td { padding: 0.6rem 0.5rem; }
}

/* ── 34. FAQ SECTION RESPONSIVE ──────────────────────────── */
.faq-section { margin: 2rem 0; }
.faq-item {
  border: 1px solid var(--border-col);
  border-radius: var(--r-md);
  margin-bottom: 0.5rem;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  text-align: left;
  padding: 1rem 1.25rem;
  background: var(--bg-card);
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.93rem;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  line-height: 1.5;
  transition: background var(--t-fast);
}
.faq-question:hover { background: var(--cream-dark); }
[data-theme="dark"] .faq-question:hover { background: rgba(255,255,255,0.04); }
.faq-icon {
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--gold);
  flex-shrink: 0;
  transition: transform var(--t-mid);
}
.faq-question[aria-expanded="true"] .faq-icon { transform: rotate(45deg); }
.faq-answer {
  padding: 0 1.25rem;
  max-height: 0;
  overflow: hidden;
  font-size: 0.9rem;
  color: var(--text-soft);
  line-height: 1.7;
  transition: max-height 0.3s ease, padding 0.3s ease;
}
.faq-answer.open {
  max-height: 600px;
  padding: 0 1.25rem 1.25rem;
}
@media (max-width: 480px) {
  .faq-question { padding: 0.85rem 1rem; font-size: 0.88rem; }
  .faq-answer.open { padding: 0 1rem 1rem; }
}

/* ── 35. COLLAPSIBLE SECTIONS ─────────────────────────────── */
.collapsible-section {
  border: 1px solid var(--border-col);
  border-radius: var(--r-lg);
  margin-bottom: 0.75rem;
  overflow: hidden;
}
.collapsible-trigger {
  width: 100%;
  text-align: left;
  padding: 1rem 1.25rem;
  background: var(--bg-card);
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.93rem;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  line-height: 1.4;
}
.collapsible-trigger:hover { background: var(--cream-dark); }
[data-theme="dark"] .collapsible-trigger:hover { background: rgba(255,255,255,0.04); }
.collapsible-arrow { transition: transform var(--t-mid); font-size: 0.8rem; }
.collapsible-trigger[aria-expanded="true"] .collapsible-arrow { transform: rotate(180deg); }
.collapsible-content {
  display: none;
  padding: 0 1.25rem 1.25rem;
  font-size: 0.9rem;
  color: var(--text-soft);
  line-height: 1.75;
}
.collapsible-content.open { display: block; }
@media (max-width: 480px) {
  .collapsible-trigger { padding: 0.85rem 1rem; font-size: 0.88rem; }
}

/* ── 36. VERDICT BOX RESPONSIVE ──────────────────────────── */
.verdict-box {
  background: linear-gradient(135deg, var(--ink) 0%, var(--ink-soft) 100%);
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: var(--r-xl);
  padding: 2rem;
  color: var(--white);
  margin: 2rem 0;
}
.verdict-label {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.verdict-box h3 { color: var(--white); margin-bottom: 0.75rem; font-size: 1.2rem; }
.verdict-box p { color: rgba(255,255,255,0.8); line-height: 1.7; }
.verdict-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}
.verdict-tag {
  background: rgba(201,168,76,0.15);
  border: 1px solid rgba(201,168,76,0.3);
  color: var(--gold-light);
  border-radius: 20px;
  padding: 0.2rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
}
@media (max-width: 480px) {
  .verdict-box { padding: 1.5rem 1.25rem; }
  .verdict-box h3 { font-size: 1.05rem; }
}

/* ── 37. DEEPDIVE CARDS ──────────────────────────────────── */
.deepdive-card {
  background: var(--bg-card);
  border: 1px solid var(--border-col);
  border-radius: var(--r-lg);
  padding: 1.5rem;
  margin-bottom: 1.25rem;
}
.deepdive-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}
.deepdive-rank {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}
@media (max-width: 480px) {
  .deepdive-card { padding: 1.25rem 1rem; }
  .deepdive-header { flex-direction: column; gap: 0.5rem; }
}

/* ── 38. PRO TIP BOX ─────────────────────────────────────── */
.pro-tip {
  background: rgba(201,168,76,0.06);
  border: 1px solid rgba(201,168,76,0.2);
  border-left: 3px solid var(--gold);
  border-radius: var(--r-md);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}
.pro-tip-label {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-dark);
  margin-bottom: 0.4rem;
}
.pro-tip p { font-size: 0.9rem; line-height: 1.65; color: var(--text-soft); }
@media (max-width: 480px) {
  .pro-tip { padding: 1rem 1.1rem; }
}

/* ── 39. CITY GRID RESPONSIVE ────────────────────────────── */
.city-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.75rem;
  margin: 1rem 0;
}
@media (max-width: 640px) {
  .city-grid { grid-template-columns: repeat(3, 1fr); gap: 0.6rem; }
}
@media (max-width: 400px) {
  .city-grid { grid-template-columns: repeat(2, 1fr); }
}
.city-card {
  background: var(--bg-card);
  border: 1px solid var(--border-col);
  border-radius: var(--r-lg);
  padding: 1rem 0.75rem;
  text-align: center;
  text-decoration: none;
  color: inherit;
  transition: transform var(--t-mid), box-shadow var(--t-mid), border-color var(--t-mid);
  display: block;
}
.city-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}
.city-card-emoji { font-size: 1.6rem; margin-bottom: 0.35rem; }
.city-card-name { font-weight: 700; font-size: 0.88rem; }
.city-card-meta { font-size: 0.72rem; color: var(--text-soft); margin-top: 0.15rem; }

/* ── 40. STICKY CTA RESPONSIVE ───────────────────────────── */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--ink);
  border-top: 1px solid rgba(201,168,76,0.3);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  z-index: 200;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}
.sticky-cta.visible { transform: translateY(0); }
@media (min-width: 769px) { .sticky-cta { display: none; } }
.sticky-cta-text {
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sticky-cta-dismiss {
  background: none;
  border: none;
  color: rgba(255,255,255,0.5);
  cursor: pointer;
  padding: 0.25rem;
  font-size: 0.9rem;
  flex-shrink: 0;
}

/* ── 41. NAVIGATION RESPONSIVE ───────────────────────────── */
.nav-links {
  display: flex;
  list-style: none;
  gap: 0.1rem;
  align-items: center;
}
.nav-links li a {
  padding: 0.4rem 0.65rem;
  border-radius: var(--r-sm);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-soft);
  transition: color var(--t-fast), background var(--t-fast);
  white-space: nowrap;
}
.nav-links li a:hover { color: var(--text); background: var(--cream-dark); }
[data-theme="dark"] .nav-links li a:hover { background: rgba(255,255,255,0.05); }
@media (max-width: 768px) {
  .nav-links { display: none; }
}

/* ── 42. MOBILE TAB BAR ──────────────────────────────────── */
.mobile-tab-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border-col);
  z-index: 150;
  padding: 0.4rem 0 env(safe-area-inset-bottom, 0.4rem);
}
@media (max-width: 768px) {
  .mobile-tab-bar { display: flex; }
  /* Push page content above tab bar */
  .page-wrapper { padding-bottom: 60px; }
  .sticky-cta { bottom: 58px; }
}
.tab-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 0.4rem 0.25rem;
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--text-soft);
  text-decoration: none;
  transition: color var(--t-fast);
  text-align: center;
}
.tab-item:hover, .tab-item.active { color: var(--gold); }
.tab-icon { font-size: 1.15rem; line-height: 1; }

/* ── 43. SECTION SPACING RESPONSIVE ─────────────────────── */
.section { margin: 2.5rem 0; }
@media (max-width: 768px) {
  .section { margin: 2rem 0; }
}
@media (max-width: 480px) {
  .section { margin: 1.5rem 0; }
}

/* ── 44. CONTAINER PADDING RESPONSIVE ───────────────────── */
@media (max-width: 480px) {
  .container { padding: 0 1rem; }
}
@media (max-width: 360px) {
  .container { padding: 0 0.75rem; }
}

/* ── 45. BUTTONS RESPONSIVE ──────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.6rem 1.25rem;
  border-radius: var(--r-md);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  border: 2px solid transparent;
  text-decoration: none;
  transition: all var(--t-fast);
  white-space: nowrap;
  line-height: 1.3;
}
.btn-primary {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}
.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(201,168,76,0.3);
}
.btn-outline {
  background: transparent;
  color: var(--gold-dark);
  border-color: var(--gold);
}
.btn-outline:hover {
  background: rgba(201,168,76,0.08);
  transform: translateY(-1px);
}
.btn-sm { padding: 0.45rem 0.9rem; font-size: 0.8rem; }
.btn-lg { padding: 0.85rem 1.75rem; font-size: 1rem; }
@media (max-width: 480px) {
  .btn { padding: 0.55rem 1rem; font-size: 0.84rem; }
  .btn-lg { padding: 0.75rem 1.35rem; font-size: 0.92rem; }
}

/* ── 46. SCORE BARS ANIMATION ────────────────────────────── */
.score-bar-fill {
  transition: width 1s ease;
  will-change: width;
}
/* Trigger via JS adding class */
.score-bar-fill.animated {
  /* JS sets data-width, animate on load */
}

/* ── 47. DISCLOSURE BAR ──────────────────────────────────── */
.disclosure-bar {
  background: rgba(201,168,76,0.05);
  border: 1px solid rgba(201,168,76,0.15);
  border-radius: var(--r-md);
  padding: 0.6rem 1rem;
  font-size: 0.78rem;
  color: var(--text-soft);
  margin-bottom: 1.25rem;
  line-height: 1.5;
}
.disclosure-bar a { color: var(--gold-dark); }

/* ── 48. GRID UTILITIES RESPONSIVE ──────────────────────── */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}
@media (max-width: 640px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 380px) {
  .grid-3 { grid-template-columns: 1fr; }
}
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-col);
  border-radius: var(--r-lg);
  padding: 1rem;
  transition: box-shadow var(--t-mid), border-color var(--t-mid);
}
.card:hover { box-shadow: var(--shadow-md); border-color: var(--gold); }

/* ── 49. IMAGE SEO — STRUCTURED DATA HELPERS ─────────────── */
/* These classes are referenced by Google Image indexing */
.city-illustration {
  /* Used as background-image on hero banner */
  /* Google crawls background SVGs via CSS */
  image-rendering: crisp-edges;
}
/* Rich snippet image hint */
[data-city-image] {
  /* Attribute used by JSON-LD image object reference */
}

/* ── 50. PRINT STYLES UPDATE ─────────────────────────────── */
@media print {
  .city-hero-banner { min-height: 120px !important; }
  .sticky-cta, .mobile-tab-bar,
  .site-nav, .geo-banner { display: none !important; }
  .container { padding: 0 !important; }
  .verdict-box { background: #f5f5f5 !important; color: #000 !important; }
}

/* ── 51. ACCESSIBILITY ───────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .score-bar-fill { transition: none !important; }
}

/* ── 52. COUNTRY/REGION PAGE RESPONSIVE ──────────────────── */
.country-hero {
  padding: 3rem 0 2rem;
  border-bottom: 1px solid var(--border-col);
  margin-bottom: 2rem;
}
@media (max-width: 640px) {
  .country-hero { padding: 2rem 0 1.5rem; }
}
@media (max-width: 480px) {
  .country-hero { padding: 1.5rem 0 1.25rem; }
}

/* ── 53. TEXT UTILITIES ──────────────────────────────────── */
.text-sm   { font-size: 0.85rem; }
.text-xs   { font-size: 0.75rem; }
.text-muted { color: var(--text-soft); }
.text-gold  { color: var(--gold); }
.text-center { text-align: center; }
.font-bold { font-weight: 700; }
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}


/* ── TRUST BAR LIGHT MODE FIX ────────────────────────────── */
.trust-bar {
  background: var(--bg-card);
  border: 1px solid var(--border-col);
  border-radius: var(--r-lg);
  padding: 1.5rem;
  margin: 2rem 0;
}
.trust-bar-title {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-soft);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

/* ── SCORE CHART LIGHT MODE FIX ──────────────────────────── */
/* Override dark hardcoded colors with CSS vars */
.score-chart-bar-gold {
  background: linear-gradient(90deg, var(--gold-dark), var(--gold)) !important;
}
.score-chart-bar-silver {
  background: linear-gradient(90deg, #8a9ab0, #aebccc) !important;
}
.score-chart-bar-bronze {
  background: linear-gradient(90deg, #7a8a9a, #9aaaba) !important;
}

/* ── RANKING CARD LIGHT MODE ─────────────────────────────── */
.ranking-card-top {
  border: 1px solid rgba(201,168,76,0.35) !important;
  background: rgba(201,168,76,0.04) !important;
}

/* ── FEATURE MATRIX LIGHT MODE ───────────────────────────── */
.feature-matrix-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-top: 1.5rem;
  border: 1px solid var(--border-col);
  border-radius: var(--r-md);
}
.feature-matrix-wrap table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.83rem;
  min-width: 480px;
}
.feature-matrix-wrap th {
  background: var(--bg-card);
  padding: 0.6rem 0.75rem;
  font-weight: 600;
  font-size: 0.78rem;
  color: var(--text-soft);
  border-bottom: 1px solid var(--border-col);
  text-align: left;
  white-space: nowrap;
}
.feature-matrix-wrap td {
  padding: 0.65rem 0.75rem;
  border-bottom: 1px solid var(--border-col);
  vertical-align: middle;
}
.feature-matrix-wrap tr:last-child td { border-bottom: none; }
.feature-matrix-wrap tr:hover td { background: var(--cream-dark); }
[data-theme="dark"] .feature-matrix-wrap tr:hover td { background: rgba(255,255,255,0.03); }

/* ── SCORE COMPARISON SECTION LIGHT MODE ────────────────── */
.score-section-bg {
  background: var(--bg-card);
  border: 1px solid var(--border-col);
  border-radius: var(--r-lg);
  padding: 1.5rem;
  margin: 1.5rem 0;
}

/* ── HERO BANNER TEXT CONTRAST ───────────────────────────── */
/* Ensure text is always readable on SVG backgrounds */
.city-hero-banner h1,
.city-hero-banner .reading-meta,
.city-hero-banner div {
  position: relative;
}

/* ── FINAL LIGHT MODE OVERRIDES ──────────────────────────── */
/* Score bar tracks */
.score-bar-track,
[role="progressbar"] {
  background: var(--cream-dark) !important;
  border: 1px solid var(--border-col) !important;
}
[data-theme="dark"] .score-bar-track,
[data-theme="dark"] [role="progressbar"] {
  background: rgba(255,255,255,0.06) !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
}

/* Platform icon boxes */
.platform-icon-box {
  background: var(--cream-dark);
  border: 1px solid var(--border-col);
  border-radius: 12px;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
}

/* Ranking cards */
.ranking-card {
  background: var(--bg-card);
  border: 1px solid var(--border-col);
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
  position: relative;
  transition: box-shadow var(--t-mid);
}
.ranking-card:hover { box-shadow: var(--shadow-md); }
.ranking-card.top-pick {
  border-color: rgba(201,168,76,0.4);
  background: rgba(201,168,76,0.03);
}

/* Score comparison bars */
.score-comparison-bar {
  height: 32px;
  background: var(--cream-dark);
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--border-col);
}

/* Feature comparison table */
.feature-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.83rem;
}
.feature-table th {
  text-align: left;
  padding: 0.6rem 0.75rem;
  color: var(--text-soft);
  font-weight: 600;
  font-size: 0.78rem;
  border-bottom: 2px solid var(--border-col);
  background: var(--bg-card);
  white-space: nowrap;
}
.feature-table td {
  padding: 0.65rem 0.75rem;
  border-bottom: 1px solid var(--border-col);
  color: var(--text);
  vertical-align: middle;
}
.feature-table tr:hover td { background: var(--cream-dark); }
[data-theme="dark"] .feature-table tr:hover td {
  background: rgba(255,255,255,0.02);
}

/* Verdict box always dark */
.verdict-box {
  background: var(--ink) !important;
  color: #fff !important;
}
.verdict-box h3 { color: #fff !important; }
.verdict-box p { color: rgba(255,255,255,0.82) !important; }

/* Collapsible + FAQ always use card background */
.collapsible-trigger,
.faq-question {
  background: var(--bg-card) !important;
  color: var(--text) !important;
}


/* ============================================================
   AFROLU — UI/UX ENHANCEMENT PACK (April 2026)
   New: hero redesign, home page components, error pages
   ============================================================ */

/* ── HERO REDESIGN ───────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--ink) 0%, #1e1e3a 50%, var(--ink-soft) 100%);
  color: var(--white);
  padding: 5rem 0 4rem;
  position: relative;
  overflow: hidden;
}
.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(201,168,76,0.06) 0%, transparent 60%),
    radial-gradient(circle at 80% 20%, rgba(201,168,76,0.04) 0%, transparent 50%),
    url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23C9A84C' fill-opacity='0.03'%3E%3Ccircle cx='40' cy='40' r='1.5'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: rgba(201,168,76,0.15);
  border: 1px solid rgba(201,168,76,0.3);
  color: var(--gold-light);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 1.25rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.15;
  margin-bottom: 1.25rem;
  font-weight: 700;
}
.hero-headline-accent {
  color: var(--gold-light);
  position: relative;
}
.hero-sub {
  color: rgba(255,255,255,0.78);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 560px;
}
.hero-cta-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.hero-trust-row {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-lg);
  padding: 1rem 1.5rem;
  width: fit-content;
}
.hero-trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 1.5rem;
}
.hero-trust-num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
}
.hero-trust-label {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.55);
  margin-top: 0.25rem;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.hero-trust-divider {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.15);
  flex-shrink: 0;
}
@media (max-width: 768px) {
  .hero { padding: 3.5rem 0 3rem; }
  .hero h1 { font-size: clamp(1.75rem, 6vw, 2.4rem); }
  .hero-trust-row { width: 100%; justify-content: space-around; padding: 0.75rem 1rem; }
  .hero-trust-item { padding: 0 0.75rem; }
  .hero-trust-num { font-size: 1.3rem; }
}
@media (max-width: 480px) {
  .hero { padding: 2.5rem 0 2.5rem; }
  .hero-sub { font-size: 1rem; }
  .hero-trust-row { gap: 0; }
  .hero-trust-item { padding: 0 0.5rem; }
  .hero-trust-num { font-size: 1.15rem; }
  .hero-cta-row .btn { flex: 1; justify-content: center; }
}

/* ── WELCOME BACK BAR ────────────────────────────────────── */
.welcome-back-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(201,168,76,0.07);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: var(--r-lg);
  padding: 0.875rem 1.25rem;
  font-size: 0.9rem;
}
.welcome-back-icon { font-size: 1.3rem; flex-shrink: 0; }
.welcome-back-link { color: var(--gold-dark); font-weight: 600; margin-left: 0.35rem; }
.welcome-back-link:hover { color: var(--gold); }

/* ── SECTION EYEBROW / INTRO ─────────────────────────────── */
.section-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold-dark);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.35rem;
}
.section-intro {
  color: var(--text-soft);
  font-size: 0.97rem;
  margin-bottom: 1.5rem;
  margin-top: -0.5rem;
  max-width: 640px;
}

/* ── COUNTRY FEATURE CARDS ───────────────────────────────── */
.country-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
@media (max-width: 640px) {
  .country-cards-grid { grid-template-columns: 1fr; }
}
.country-feature-card {
  display: flex;
  gap: 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border-col);
  border-radius: var(--r-lg);
  padding: 1.5rem;
  text-decoration: none;
  color: var(--text);
  transition: all var(--t-mid);
  position: relative;
  overflow: hidden;
}
.country-feature-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold));
  transform: scaleX(0);
  transition: transform var(--t-mid);
  transform-origin: left;
}
.country-feature-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  color: var(--text);
}
.country-feature-card:hover::after { transform: scaleX(1); }
.country-feature-flag {
  font-size: 3rem;
  flex-shrink: 0;
  line-height: 1;
}
.country-feature-body { flex: 1; min-width: 0; }
.country-feature-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.country-feature-desc {
  font-size: 0.875rem;
  color: var(--text-soft);
  line-height: 1.6;
  margin-bottom: 0.75rem;
}
.country-feature-footer { margin-top: auto; }
.country-feature-cta {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gold-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
@media (max-width: 480px) {
  .country-feature-card { padding: 1.25rem; gap: 1rem; }
  .country-feature-flag { font-size: 2.25rem; }
}

/* ── TRUST CARDS GRID ────────────────────────────────────── */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}
@media (max-width: 900px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .trust-grid { grid-template-columns: 1fr; gap: 0.75rem; }
}
.trust-card {
  background: var(--bg-card);
  border: 1px solid var(--border-col);
  border-radius: var(--r-lg);
  padding: 1.5rem;
  transition: all var(--t-mid);
}
.trust-card:hover {
  border-color: rgba(201,168,76,0.4);
  box-shadow: var(--shadow-sm);
}
.trust-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.trust-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.trust-card p {
  font-size: 0.875rem;
  color: var(--text-soft);
  line-height: 1.6;
  margin: 0;
}

/* ── COMING SOON GRID (HOME) ─────────────────────────────── */
.coming-soon-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}
.coming-soon-card {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--bg-card);
  border: 1px solid var(--border-col);
  border-radius: var(--r-lg);
  padding: 0.75rem 1.25rem;
  text-decoration: none;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all var(--t-fast);
  opacity: 0.85;
}
.coming-soon-card:hover { border-color: var(--gold); opacity: 1; color: var(--text); }
.coming-soon-flag { font-size: 1.25rem; }
.coming-soon-badge {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--gold-dark);
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 10px;
  padding: 1px 7px;
  margin-left: 0.25rem;
}

/* ── ERROR PAGES ─────────────────────────────────────────── */
.error-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  padding: 4rem 0;
}
.error-page-inner {
  max-width: 540px;
  margin: 0 auto;
  text-align: center;
}
.error-code {
  font-family: var(--font-display);
  font-size: 7rem;
  font-weight: 700;
  color: var(--border-col);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.error-emoji {
  font-size: 3.5rem;
  margin-bottom: 1.25rem;
}
.error-page h1 {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  margin-bottom: 0.75rem;
}
.error-message {
  font-size: 1.05rem;
  color: var(--text-soft);
  margin-bottom: 2rem;
}
.error-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.error-suggestions {
  border-top: 1px solid var(--border-col);
  padding-top: 1.5rem;
}
.error-suggestion-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 0.75rem;
}
.error-suggestion-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: var(--bg-card);
  border: 1px solid var(--border-col);
  border-radius: var(--r-md);
  padding: 0.35rem 0.75rem;
  font-size: 0.82rem;
  color: var(--text);
  text-decoration: none;
  transition: all var(--t-fast);
}
.error-suggestion-tag:hover { border-color: var(--gold); color: var(--gold-dark); }
@media (max-width: 480px) {
  .error-code { font-size: 5rem; }
  .error-actions .btn { flex: 1 1 calc(50% - 0.375rem); justify-content: center; }
}

/* ── SECTION HEADER IMPROVEMENT ─────────────────────────── */
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  gap: 1rem;
}
.section-header h2 { margin: 0; }
.section-link {
  font-size: 0.85rem;
  color: var(--gold-dark);
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.section-link:hover { color: var(--gold); }

/* ── IMPROVED CITY CARD ──────────────────────────────────── */
.city-card {
  background: var(--bg-card);
  border: 1px solid var(--border-col);
  border-radius: var(--r-lg);
  padding: 1.25rem;
  text-decoration: none;
  color: var(--text);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  transition: all var(--t-mid);
}
.city-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: var(--text);
}
.city-card-emoji { font-size: 2rem; margin-bottom: 0.25rem; }
.city-card-name { font-weight: 700; font-size: 1rem; }
.city-card-meta { font-size: 0.78rem; color: var(--text-soft); }

/* ============================================================
   PLATFORM REVIEW PAGE
   ============================================================ */

/* Review header */
.review-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.review-header-left {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  flex: 1;
}
.review-site-logo-wrap {
  width: 72px;
  height: 72px;
  background: var(--bg-card);
  border: 1px solid var(--border-col);
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}
.review-site-logo { max-width: 56px; max-height: 56px; object-fit: contain; }
.review-badges { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.6rem; }
.review-badge-pill {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
}
.badge-green  { background: #E8F5EE; color: #2D7A4F; border: 1px solid #A8D5B8; }
.badge-gold   { background: #FEF9EC; color: #9E7A2A; border: 1px solid #E2C97E; }
.badge-blue   { background: #EFF3FF; color: #2C4E9A; border: 1px solid #B5C7F5; }

/* Overall score bubble */
.review-overall-score {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--ink);
  border-radius: var(--r-xl);
  padding: 1.25rem 2rem;
  text-align: center;
  flex-shrink: 0;
}
.review-score-num { font-family: var(--font-display); font-size: 3rem; font-weight: 700; line-height: 1; }
.review-score-label { font-size: 0.8rem; font-weight: 600; margin-top: 0.25rem; opacity: 0.8; }
.review-score-stars { font-size: 1.1rem; margin-top: 0.4rem; letter-spacing: 2px; }

/* Review CTA bar */
.review-cta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Intro text */
.review-intro-text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text);
  max-width: 820px;
}
.review-full-text {
  font-size: 1rem;
  line-height: 1.9;
  color: var(--text);
  max-width: 820px;
}

/* Score breakdown */
.score-breakdown-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}
.score-breakdown-item {
  background: var(--bg-card);
  border: 1px solid var(--border-col);
  border-radius: var(--r-lg);
  padding: 1.1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.sbi-label { font-size: 0.85rem; font-weight: 600; min-width: 90px; }
.sbi-bar-wrap {
  flex: 1;
  height: 8px;
  background: var(--border-col);
  border-radius: 4px;
  overflow: hidden;
}
.sbi-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-dark));
  border-radius: 4px;
  transition: width 0.6s ease;
}
.sbi-value { font-size: 0.85rem; font-weight: 700; min-width: 36px; text-align: right; color: var(--gold-dark); }

/* App store ratings */
.app-ratings-row { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.app-rating-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-col);
  border-radius: var(--r-md);
  padding: 0.4rem 0.9rem;
  font-size: 0.85rem;
}
.app-rating-icon { font-size: 0.9rem; }
.app-rating-label { color: var(--text-soft); }
.app-rating-val { font-weight: 700; color: var(--gold-dark); }

/* Pros/Cons */
.pros-cons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 1.5rem;
}
@media (max-width: 600px) { .pros-cons-grid { grid-template-columns: 1fr; } }
.pros-cons-head {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--border-col);
}
.pros-head { color: var(--success); border-color: var(--success); }
.cons-head { color: var(--danger); border-color: var(--danger); }
.pros-cons-list { list-style: none; }
.pros-cons-list li {
  padding: 0.4rem 0;
  padding-left: 1.5rem;
  position: relative;
  font-size: 0.9rem;
  color: var(--text);
  border-bottom: 1px solid var(--border-col);
}
.pros-cons-list li:last-child { border-bottom: none; }
.pros-list li::before { content: '✓'; position: absolute; left: 0; color: var(--success); font-weight: 700; }
.cons-list li::before { content: '✗'; position: absolute; left: 0; color: var(--danger); font-weight: 700; }

/* Verdict box */
.verdict-box {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: linear-gradient(135deg, #FEF9EC, #FDF5E0);
  border: 1px solid var(--gold);
  border-radius: var(--r-lg);
  padding: 1.25rem 1.5rem;
}
.verdict-icon { font-size: 1.5rem; flex-shrink: 0; margin-top: 0.1rem; }
.verdict-title { display: block; font-weight: 700; margin-bottom: 0.4rem; color: var(--gold-dark); }
.verdict-body { font-size: 0.95rem; line-height: 1.7; }
[data-theme=dark] .verdict-box { background: rgba(201,168,76,0.1); }

/* Review bottom CTA */
.review-bottom-cta {
  background: var(--bg-card);
  border: 1px solid var(--border-col);
  border-radius: var(--r-xl);
  padding: 2.5rem;
  text-align: center;
}
.review-bottom-cta h2 { margin-bottom: 0.5rem; }
.review-bottom-cta p { color: var(--text-soft); }

/* Table responsive wrapper */
.table-responsive { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* ============================================================
   COMPARE PAGE
   ============================================================ */

.compare-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin: 2rem 0 1rem;
  flex-wrap: wrap;
}
.compare-hero-site {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
  flex: 1;
  min-width: 160px;
}
.compare-logo { max-width: 80px; max-height: 60px; object-fit: contain; }
.compare-site-name { font-size: 1.3rem; font-family: var(--font-display); }
.compare-overall {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold-dark);
  line-height: 1;
}
.compare-overall span { font-size: 1rem; color: var(--text-soft); }
.compare-vs {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-soft);
  background: var(--bg-card);
  border: 2px solid var(--border-col);
  border-radius: 50%;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.compare-main-title { text-align: center; margin-bottom: 0.5rem; }

/* Compare table */
.compare-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.compare-table th {
  background: var(--bg-card);
  border-bottom: 2px solid var(--border-col);
  padding: 0.75rem 1rem;
  text-align: left;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.compare-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border-col);
  vertical-align: middle;
}
.compare-table tr:hover td { background: var(--cream-dark); }
[data-theme=dark] .compare-table tr:hover td { background: rgba(255,255,255,0.04); }
.compare-winner-cell {
  background: #E8F5EE !important;
  color: var(--success);
  font-weight: 700;
}
[data-theme=dark] .compare-winner-cell { background: rgba(45,122,79,0.15) !important; }
.compare-total-row td {
  border-top: 2px solid var(--border-col);
  font-weight: 700;
  background: var(--bg-card);
}

/* Compare bottom CTAs */
.compare-bottom-ctas {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
@media (max-width: 600px) { .compare-bottom-ctas { grid-template-columns: 1fr; } }
.compare-bottom-cta-item {
  background: var(--bg-card);
  border: 1px solid var(--border-col);
  border-radius: var(--r-xl);
  padding: 1.75rem;
  text-align: center;
}
.compare-bottom-cta-item h3 { font-family: var(--font-display); margin-bottom: 0.5rem; }

/* ============================================================
   INTENT PAGES
   ============================================================ */

.hero-compact { padding: 3rem 0 2rem; }
.hero-compact .hero-content { max-width: 640px; }

.intent-intro { max-width: 820px; }

/* Featured site card */
.featured-site-card {
  background: var(--bg-card);
  border: 2px solid var(--gold);
  border-radius: var(--r-xl);
  padding: 2rem;
  margin-top: 1.5rem;
}
.featured-site-header { display: flex; align-items: flex-start; gap: 1.25rem; }
.featured-site-logo { max-width: 64px; max-height: 56px; object-fit: contain; flex-shrink: 0; }

/* Intent platform list */
.intent-platform-list { display: flex; flex-direction: column; gap: 1.25rem; margin-top: 1.5rem; }
.intent-platform-card {
  background: var(--bg-card);
  border: 1px solid var(--border-col);
  border-radius: var(--r-lg);
  padding: 1.5rem;
  transition: border-color var(--t-mid), box-shadow var(--t-mid);
}
.intent-platform-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-sm);
}
.ipc-header { display: flex; align-items: flex-start; gap: 1rem; }
.ipc-logo { max-width: 52px; max-height: 44px; object-fit: contain; flex-shrink: 0; margin-top: 0.2rem; }
.ipc-meta { flex: 1; }
.ipc-name { font-family: var(--font-display); font-size: 1.15rem; margin: 0; }
.ipc-type { margin: 0.15rem 0 0; }
.ipc-score {
  text-align: center;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--ink);
  border-radius: var(--r-md);
  padding: 0.4rem 0.75rem;
  flex-shrink: 0;
}
.ipc-score-num { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; line-height: 1; }
.ipc-score-label { font-size: 0.62rem; font-weight: 600; opacity: 0.8; line-height: 1.2; }
.ipc-intro { font-size: 0.9rem; color: var(--text-soft); line-height: 1.6; }
.ipc-pros { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.ipc-pro-tag {
  font-size: 0.75rem;
  background: #E8F5EE;
  color: #2D7A4F;
  border: 1px solid #A8D5B8;
  border-radius: var(--r-sm);
  padding: 0.15rem 0.5rem;
}
.ipc-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.ml-md { margin-left: var(--space-md); }
.mt-xs { margin-top: var(--space-xs); }

/* Related links row */
.related-links-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1rem; }
.related-link-card {
  display: inline-flex;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border-col);
  border-radius: var(--r-md);
  padding: 0.65rem 1.25rem;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all var(--t-fast);
  text-decoration: none;
  color: var(--text);
}
.related-link-card:hover { border-color: var(--gold); color: var(--gold-dark); }

/* ============================================================
   PLATFORM COUNTRY PAGE — Enhanced
   ============================================================ */
.platform-country-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

/* ── KENYA GUIDE PAGE ────────────────────────────────────── */
.kenya-guide-intro p,
.kenya-guide-body p,
.kenya-mpesa-block p {
  font-size: 1rem;
  line-height: 1.9;
  color: var(--text);
  max-width: 820px;
}
.kenya-guide-intro p + p,
.kenya-guide-body p + p { margin-top: 1rem; }

/* ============================================================
   LOGO — INLINE SVG + FOOTER IMG
   ============================================================ */
.nav-logo { display: flex; align-items: center; text-decoration: none; }
.site-logo-svg { display: block; overflow: visible; }
/* Dark mode text adaptation for inline SVG */
.logo-wordmark { fill: var(--text); }
.logo-tagline  { fill: var(--text-soft); }
[data-theme=dark] .logo-wordmark { fill: #F0EBE1; }
[data-theme=dark] .logo-tagline  { fill: #9090A8; }

/* Footer logo image */
.footer-logo-img { display: block; max-width: 100%; height: auto; }
/* footer logo should invert on dark mode since the SVG has dark text */
[data-theme=dark] .footer-logo-img { filter: brightness(0) invert(1); }

/* ── Footer trust badges ──────────────────────────────────── */
.footer-trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
}
.footer-trust-badge {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gold);
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: 999px;
  padding: 0.2rem 0.65rem;
}

/* ============================================================
   ABOUT PAGE — TRUST SIGNALS
   ============================================================ */

/* Trust strip */
.about-trust-strip {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--bg-card);
  border: 1px solid var(--border-col);
  border-radius: var(--r-lg);
  padding: 1rem 1.5rem;
  flex-wrap: wrap;
}
.about-trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  text-align: center;
  padding: 0 1.25rem;
  flex: 1;
  min-width: 90px;
}
.about-trust-icon { font-size: 1.5rem; }
.about-trust-label { font-size: 0.72rem; font-weight: 600; color: var(--text-soft); line-height: 1.3; }
.about-trust-sep {
  width: 1px;
  height: 40px;
  background: var(--border-col);
  flex-shrink: 0;
}
@media (max-width: 580px) {
  .about-trust-strip { gap: 0.75rem; }
  .about-trust-sep { display: none; }
  .about-trust-item { min-width: 70px; padding: 0.25rem 0.5rem; }
}

/* Independence card */
.about-independence-card { border-left: 3px solid var(--gold); }
.about-independence-header { display: flex; align-items: center; gap: 0.75rem; }
.about-independence-icon { font-size: 1.75rem; flex-shrink: 0; }

/* Pledge list */
.about-pledge-list { list-style: none; }
.about-pledge-list li {
  padding: 0.5rem 0 0.5rem 1.5rem;
  position: relative;
  border-bottom: 1px solid var(--border-col);
  font-size: 0.9rem;
  line-height: 1.6;
}
.about-pledge-list li:last-child { border-bottom: none; }
.about-pledge-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 700;
}

/* Criteria grid */
.about-criteria-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 560px) { .about-criteria-grid { grid-template-columns: 1fr; } }
.about-criterion {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.85rem;
  background: var(--bg);
  border-radius: var(--r-md);
  border: 1px solid var(--border-col);
}
.about-criterion-icon { font-size: 1.25rem; flex-shrink: 0; margin-top: 0.1rem; }
.about-criterion strong { display: block; font-size: 0.9rem; margin-bottom: 0.2rem; }
.about-criterion p { font-size: 0.8rem; color: var(--text-soft); margin: 0; line-height: 1.5; }

/* ── Related Guides section (city pages) ── */
.related-guide-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.1rem 1.25rem;
  border-radius: 12px;
  transition: border-color 0.18s, transform 0.18s;
}
.related-guide-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}
.related-guide-icon {
  font-size: 1.5rem;
  line-height: 1;
  margin-bottom: 0.15rem;
}
.related-guide-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
}
