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

:root {
  /* LIGHT MODE PALETTE (80% LIGHT / 20% DARK ACCENTS) */
  --bg-light: #f8fafc;
  --bg-card: #ffffff;
  --bg-subtle: #f1f5f9;
  --bg-dark-accent: #0f172a;
  --bg-dark-card: #1e293b;

  --border-light: #e2e8f0;
  --border-focus: #cbd5e1;
  --border-accent: rgba(42, 92, 255, 0.25);

  --ink: #0f172a;
  --ink-secondary: #334155;
  --soft: #64748b;
  --white: #ffffff;

  --accent: #2a5cff;
  --accent-hover: #1d4ed8;
  --accent-soft: #eff6ff;
  --accent-light: #3b82f6;

  --green: #10b981;
  --green-soft: #ecfdf5;
  --amber: #f59e0b;
  --red: #ef4444;

  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 8px;
  --radius-pill: 50px;

  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 20px 48px rgba(15, 23, 42, 0.08);

  --font-title: 'Syne', sans-serif;
  --font-body: 'Inter', sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-light);
  color: var(--ink-secondary);
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ─── 1. NAVBAR COMPACT ─── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  height: 68px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.logo-icon {
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-title);
  font-weight: 900;
  font-size: 1.05rem;
  color: var(--white);
  box-shadow: 0 4px 12px rgba(42, 92, 255, 0.25);
}

.logo-text {
  font-family: var(--font-title);
  font-weight: 900;
  font-size: 1.25rem;
  color: var(--ink);
  letter-spacing: -0.5px;
}

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

.nav-links {
  display: flex;
  gap: 1.4rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--soft);
  font-size: 0.82rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.btn-nav-login {
  background: transparent;
  border: 1px solid var(--border-light);
  color: var(--ink);
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  min-height: 40px;
}

.btn-nav-settings {
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  color: var(--ink);
  padding: 0.55rem 1rem;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  min-height: 40px;
}

.btn-nav-cta {
  background: var(--accent);
  color: var(--white);
  border: none;
  padding: 0.6rem 1.3rem;
  border-radius: var(--radius-pill);
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(42, 92, 255, 0.25);
  min-height: 40px;
}

/* ─── 2. HERO CENTERED ─── */
.hero-centered {
  padding: 130px 5% 70px;
  text-align: center;
  max-width: 1180px;
  margin: 0 auto;
}

.hero-top-label {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.2rem;
}

.hero-centered h1 {
  font-family: var(--font-title);
  font-weight: 900;
  font-size: clamp(2.4rem, 4.8vw, 4rem);
  line-height: 1.1;
  letter-spacing: -1.4px;
  color: var(--ink);
  max-width: 920px;
  margin: 0 auto 1.4rem;
}

.hero-centered h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero-centered .hero-sub {
  font-size: 1.08rem;
  color: var(--soft);
  max-width: 620px;
  margin: 0 auto 2.2rem;
  line-height: 1.7;
}

/* HERO DARK SAAS MODULE CARD */
.hero-module-box {
  background: linear-gradient(145deg, #0e1120, #14182b);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  max-width: 1060px;
  margin: 0 auto;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.25);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  text-align: left;
  align-items: center;
}

.hmodule-left-card {
  background: var(--bg-dark-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 1.4rem;
}

.hmodule-right-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 1.6rem;
  text-align: center;
}

.hnum-big-green {
  font-family: var(--font-title);
  font-weight: 900;
  font-size: 3rem;
  color: var(--green);
  line-height: 1;
  margin-bottom: 0.3rem;
}

/* ─── 3. TOPOGRAPHIC MAP PAGE SYSTEM ─── */
.geo-pills-scroll {
  display: flex;
  gap: 0.6rem;
  overflow-x: auto;
  padding-bottom: 0.8rem;
  margin-bottom: 1.8rem;
  scrollbar-width: none;
}

.geo-pills-scroll::-webkit-scrollbar {
  display: none;
}

.geo-pill-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  color: var(--ink-secondary);
  font-size: 0.84rem;
  font-weight: 700;
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.geo-pill-btn:hover, .geo-pill-btn.active {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
  box-shadow: 0 4px 16px rgba(42, 92, 255, 0.3);
}

.map-hero-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
  max-width: 1140px;
  margin: 0 auto 2.5rem;
}

.map-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--soft);
  font-weight: 600;
  margin-bottom: 1rem;
  padding: 0 0.4rem;
}

#leafletMap {
  width: 100%;
  height: 540px;
  border-radius: var(--radius-md);
  z-index: 1;
}

.city-results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem;
  max-width: 1140px;
  margin: 0 auto;
}

.city-result-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.2rem;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: all 0.2s ease;
}

.city-result-card:hover, .city-result-card.active {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

/* ─── 4. SECTIONS COMMON ─── */
section {
  padding: 90px 6%;
}

.section-title-wrap {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.5rem;
}

.slabel {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.8rem;
}

h2 {
  font-family: var(--font-title);
  font-weight: 900;
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  letter-spacing: -0.8px;
  color: var(--ink);
  line-height: 1.18;
  margin-bottom: 1rem;
}

.ssub {
  color: var(--soft);
  font-size: 0.98rem;
  line-height: 1.7;
}

/* ─── 5. MODALS & AUTH WALL ─── */
.overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem 5%;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.overlay.open {
  display: flex;
  opacity: 1;
}

.modal {
  background: var(--bg-dark-accent);
  color: var(--white);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 580px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 2.5rem;
  position: relative;
  box-shadow: var(--shadow-lg);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-close-btn {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: var(--white);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 10;
}

.modal-close-btn:hover {
  background: var(--red);
}

.auth-pill-opt {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.82rem;
  padding: 0.45rem 0.95rem;
  border-radius: 50px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
  min-height: 34px;
}

.auth-pill-opt:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
}

.auth-pill-opt.active {
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  color: #ffffff;
  font-weight: 700;
  border-color: var(--accent);
  box-shadow: 0 4px 14px rgba(42, 92, 255, 0.35);
}

/* HIGH-END B2B SAAS APP MODAL */
.modal.app-modal {
  max-width: 1100px;
  height: 88vh;
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: linear-gradient(160deg, #0b0f19, #111726, #0e1220);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.6);
  border-radius: 24px;
}

.app-header {
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.2rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.app-user-badge {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.app-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent);
  box-shadow: 0 4px 14px rgba(42, 92, 255, 0.3);
}

.app-nav-tabs {
  background: rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.6rem 1.8rem;
  display: flex;
  gap: 0.6rem;
  overflow-x: auto;
}

.app-tab-btn {
  background: transparent;
  border: 1px solid transparent;
  color: rgba(255, 255, 255, 0.6);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.84rem;
  padding: 0.55rem 1.2rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.app-tab-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

.app-tab-btn.active {
  background: var(--accent);
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(42, 92, 255, 0.35);
}

.app-body {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: 280px 1fr;
  overflow: hidden;
}

/* CHAT & MESSAGING STYLES */
.app-sidebar {
  background: rgba(0, 0, 0, 0.25);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.2rem;
  overflow-y: auto;
}

.chat-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.85rem;
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-bottom: 0.4rem;
}

.chat-item:hover, .chat-item.active {
  background: rgba(255, 255, 255, 0.08);
}

.chat-item.active {
  border: 1px solid rgba(42, 92, 255, 0.3);
}

.chat-av-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.app-main-chat {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: rgba(10, 14, 26, 0.6);
}

.chat-messages {
  flex: 1;
  padding: 1.5rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.msg-bubble {
  max-width: 70%;
  padding: 0.85rem 1.2rem;
  border-radius: 18px;
  font-size: 0.88rem;
  line-height: 1.5;
}

.msg-bubble.them {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-bottom-left-radius: 4px;
  align-self: flex-start;
}

.msg-bubble.me {
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  color: #fff;
  border-bottom-right-radius: 4px;
  align-self: flex-end;
}

.chat-input-area {
  padding: 1.2rem 1.5rem;
  background: rgba(15, 23, 42, 0.8);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  gap: 0.8rem;
}

.chat-input-area input {
  flex: 1;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50px;
  padding: 0.8rem 1.4rem;
  color: #fff;
  outline: none;
  font-family: var(--font-body);
}

.chat-input-area button {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 0 1.5rem;
  border-radius: 50px;
  font-weight: 700;
  cursor: pointer;
}

.modal.settings-modal {
  max-width: 980px;
  height: 85vh;
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  color: var(--ink);
  border: 1px solid var(--border-light);
}

/* SETTINGS STYLES */
.settings-header {
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border-light);
  padding: 1.2rem 1.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.settings-body {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: 240px 1fr;
  overflow: hidden;
}

.settings-sidebar {
  background: var(--bg-subtle);
  border-right: 1px solid var(--border-light);
  padding: 1.0rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  overflow-y: auto;
}

.settings-nav-btn {
  background: transparent;
  border: none;
  color: var(--soft);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  transition: all 0.2s ease;
}

.settings-nav-btn:hover, .settings-nav-btn.active {
  background: var(--bg-card);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.settings-nav-btn.active {
  color: var(--accent);
  font-weight: 700;
}

.settings-nav-btn.danger-tab {
  color: var(--red);
}

.settings-content-panel {
  padding: 2rem;
  overflow-y: auto;
}

.settings-form-group {
  margin-bottom: 1.4rem;
}

.settings-form-group label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink-secondary);
  display: block;
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.settings-input {
  width: 100%;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 0.8rem 1.1rem;
  color: var(--ink);
  font-family: var(--font-body);
  outline: none;
  font-size: 0.9rem;
}

/* PRICING TOGGLE SWITCH (MENSUEL / ANNUEL) */
.ptoggle-wrap {
  background: var(--bg-card);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-pill);
  padding: 6px;
  max-width: 480px;
  margin: 0 auto 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.ptoggle-btn {
  flex: 1;
  background: transparent;
  color: var(--soft);
  border: none;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 0.92rem;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
}

.ptoggle-btn:hover {
  color: var(--ink);
}

.ptoggle-btn.active {
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  color: var(--white);
  box-shadow: 0 6px 20px rgba(42, 92, 255, 0.35);
  transform: scale(1.02);
}

.save-badge {
  background: linear-gradient(135deg, var(--green), #059669);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 900;
  padding: 0.25rem 0.65rem;
  border-radius: 30px;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 10px rgba(16, 185, 129, 0.35);
  white-space: nowrap;
}

/* OTHER SECTIONS */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.8rem;
  max-width: 1140px;
  margin: 0 auto;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  box-shadow: var(--shadow-sm);
}

.pgrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.2rem;
  max-width: 960px;
  margin: 0 auto;
}

.pcard {
  background: var(--bg-card);
  border: 1.5px solid var(--border-light);
  border-radius: 24px;
  padding: 3rem 2.4rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.pcard:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.09);
  border-color: var(--border-focus);
}

.pcard.featured {
  border: 2px solid var(--accent);
  box-shadow: 0 24px 60px rgba(42, 92, 255, 0.15);
}

.pbadge-top {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  color: #ffffff;
  font-family: var(--font-title);
  font-weight: 900;
  font-size: 0.72rem;
  padding: 0.35rem 1rem;
  border-radius: 30px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 4px 14px rgba(42, 92, 255, 0.4);
  white-space: nowrap;
}

.price-main {
  font-family: var(--font-title);
  font-weight: 900;
  font-size: 3.4rem;
  line-height: 1;
  color: var(--ink);
  letter-spacing: -1.8px;
  margin: 1.2rem 0 0.2rem;
}

.pcard.featured .price-main {
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.pfeat-list {
  list-style: none;
  margin: 1.8rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.pfeat-item {
  font-size: 0.9rem;
  color: var(--ink-secondary);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.pfeat-item::before {
  content: '✓';
  color: var(--green);
  font-weight: 900;
  font-size: 0.95rem;
}

.cta-final-box {
  background: linear-gradient(135deg, var(--bg-dark-accent), #1e293b);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 4rem 2.5rem;
  max-width: 1040px;
  margin: 0 auto;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border-light);
  padding: 4rem 6% 2rem;
}

/* TOAST */
#liveToast {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  z-index: 400;
  background: var(--bg-dark-accent);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.2rem;
  font-size: 0.82rem;
  color: var(--white);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  animation: slideInLeft 0.3s ease;
  max-width: 340px;
}

@keyframes slideInLeft {
  from { transform: translateX(-30px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* ─── COMPARISON TABLE STYLES ─── */
.comp-table-wrap {
  max-width: 1040px;
  margin: 0 auto;
  overflow-x: auto;
  background: var(--bg-card);
  border: 1.5px solid var(--border-light);
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  padding: 0.5rem;
}

.comp-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.88rem;
}

.comp-table th, .comp-table td {
  padding: 1.2rem 1.4rem;
  border-bottom: 1px solid var(--border-light);
}

.comp-table th {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--bg-subtle);
}

.comp-table th.col-hero, .comp-table td.col-hero {
  background: rgba(42, 92, 255, 0.05);
  font-weight: 700;
}

.comp-table th.col-hero {
  color: var(--accent);
  font-size: 1.05rem;
  border-top: 3px solid var(--accent);
}

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

.badge-winner {
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  color: #fff;
  font-size: 0.7rem;
  font-weight: 900;
  padding: 0.2rem 0.6rem;
  border-radius: 30px;
  letter-spacing: 0.05em;
  margin-left: 0.4rem;
  vertical-align: middle;
}

@media (max-width: 900px) {
  #leafletMap { height: 420px; }
  .settings-body { grid-template-columns: 1fr; }
  .settings-sidebar { display: none; }
  .nav-links { display: none; }
}