/* ============================================
   Odds Tracker Pro - Football Analytics Portal
   ============================================ */

:root {
  --navy-900: #07172e;
  --navy-800: #0b2545;
  --navy-700: #103966;
  --navy-600: #1a4f8b;
  --emerald: #14a06b;
  --emerald-dark: #0c7d52;
  --emerald-light: #d8f3e6;
  --white: #ffffff;
  --gray-50: #f7f9fc;
  --gray-100: #eef2f7;
  --gray-200: #dde4ee;
  --gray-300: #c1cad8;
  --gray-500: #6c7a90;
  --gray-700: #3a4658;
  --gray-900: #19222f;

  --shadow-sm: 0 1px 2px rgba(11, 37, 69, 0.06);
  --shadow-md: 0 6px 18px rgba(11, 37, 69, 0.08);
  --shadow-lg: 0 18px 40px rgba(11, 37, 69, 0.12);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;

  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-display: Georgia, 'Times New Roman', serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--navy-900);
  letter-spacing: -0.01em;
}

.brand-name em {
  font-style: italic;
  color: var(--emerald);
}

.nav-desktop {
  display: flex;
  gap: 28px;
  align-items: center;
}

.nav-desktop a {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-700);
  position: relative;
  padding: 6px 0;
  transition: color 0.2s ease;
}

.nav-desktop a:hover {
  color: var(--navy-800);
}

.nav-desktop a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--emerald);
  transition: width 0.25s ease;
}

.nav-desktop a:hover::after {
  width: 100%;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.badge-18 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 28px;
  padding: 0 8px;
  border-radius: 6px;
  background: var(--navy-800);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  border: 2px solid var(--emerald);
}

.badge-18.small {
  height: 24px;
  font-size: 11px;
  min-width: 32px;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--gray-200);
  background: var(--white);
  border-radius: 8px;
  cursor: pointer;
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--navy-900);
  margin: 0 auto;
  transition: transform 0.25s, opacity 0.25s;
}

.menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 16px 24px 24px;
  border-top: 1px solid var(--gray-200);
  background: var(--white);
}

.nav-mobile a {
  padding: 14px 0;
  border-bottom: 1px solid var(--gray-100);
  font-size: 15px;
  font-weight: 500;
  color: var(--navy-900);
}

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

/* ===== HERO ===== */
.hero {
  position: relative;
  background: var(--navy-900);
  color: var(--white);
  overflow: hidden;
  padding: 96px 0 120px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  opacity: 0.6;
}

.hero-pitch {
  width: 100%;
  height: 100%;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 23, 46, 0.5) 0%, rgba(7, 23, 46, 0.95) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 880px;
}

.hero-tagline {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  margin-bottom: 28px;
}

.hero-tagline .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 0 4px rgba(20, 160, 107, 0.25);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
}

.hero-sub {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
  max-width: 720px;
  margin: 0 0 36px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, background 0.2s, box-shadow 0.2s;
  letter-spacing: 0.01em;
}

.btn-primary {
  background: var(--emerald);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(20, 160, 107, 0.4);
}

.btn-primary:hover {
  background: var(--emerald-dark);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline {
  background: transparent;
  color: var(--navy-800);
  border: 1.5px solid var(--navy-800);
}

.btn-outline:hover {
  background: var(--navy-800);
  color: var(--white);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 640px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  color: var(--emerald);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.02em;
}

/* ===== SECTIONS ===== */
.section {
  padding: 96px 0;
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}

.eyebrow {
  display: inline-block;
  padding: 6px 14px;
  background: var(--emerald-light);
  color: var(--emerald-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 999px;
  margin-bottom: 18px;
}

.section h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 42px);
  line-height: 1.15;
  font-weight: 700;
  color: var(--navy-900);
  letter-spacing: -0.015em;
  margin: 0 0 14px;
}

.section-sub {
  font-size: 17px;
  color: var(--gray-500);
  margin: 0;
}

/* ===== TOP PICKS ===== */
.top-picks {
  background: var(--gray-50);
}

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

.pick-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  border: 1px solid var(--gray-200);
  transition: transform 0.25s, box-shadow 0.25s;
  overflow: hidden;
}

.pick-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--emerald);
}

.pick-card.featured {
  background: var(--navy-900);
  color: var(--white);
  border-color: var(--navy-900);
}

.pick-card.featured h3,
.pick-card.featured .pick-logo {
  color: var(--white);
}

.pick-ribbon {
  position: absolute;
  top: 18px;
  right: -36px;
  transform: rotate(35deg);
  background: var(--emerald);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 40px;
}

.pick-logo {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}

.pick-rating {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 20px;
}

.pick-rating-num {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 700;
  color: var(--emerald);
  line-height: 1;
}

.pick-rating-max {
  font-size: 14px;
  color: var(--gray-500);
}

.pick-card.featured .pick-rating-max { color: rgba(255,255,255,0.6); }

.pick-stars {
  display: inline-flex;
  gap: 2px;
  margin-left: 8px;
}

.pick-stars span {
  color: var(--emerald);
  font-size: 14px;
}

.pick-highlights {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}

.pick-highlights li {
  position: relative;
  padding-left: 24px;
  font-size: 14px;
  margin-bottom: 10px;
  color: var(--gray-700);
}

.pick-card.featured .pick-highlights li { color: rgba(255,255,255,0.85); }

.pick-highlights li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 14px;
  height: 14px;
  background: var(--emerald);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M3 7l3 3 5-5' fill='none' stroke='white' stroke-width='2'/%3E%3C/svg%3E");
  background-size: contain;
}

.pick-cta {
  display: block;
  text-align: center;
  padding: 12px 18px;
  background: var(--emerald);
  color: var(--white);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.2s;
}

.pick-cta:hover { background: var(--emerald-dark); }

/* ===== COMPARISON ===== */
.comparison-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.comp-row {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 28px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  align-items: center;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.comp-row:hover {
  border-color: var(--emerald);
  box-shadow: var(--shadow-md);
}

.comp-position {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-700));
  border-radius: 14px;
  color: var(--white);
  position: relative;
}

.comp-position::after {
  content: '';
  position: absolute;
  inset: 4px;
  border: 1px dashed rgba(255, 255, 255, 0.3);
  border-radius: 10px;
  pointer-events: none;
}

.comp-position-num {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
}

.comp-position-label {
  font-size: 9px;
  letter-spacing: 0.15em;
  color: var(--emerald);
  text-transform: uppercase;
  margin-top: 2px;
}

.comp-main {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 2fr);
  gap: 28px;
}

.comp-info { min-width: 0; }

.comp-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.comp-brand-logo {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--navy-900);
}

.comp-name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--navy-900);
  line-height: 1.2;
}

.comp-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--emerald-dark);
  background: var(--emerald-light);
  padding: 3px 10px;
  border-radius: 4px;
  margin-top: 6px;
}

.comp-rating {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
}

.comp-rating-bar {
  flex: 1;
  max-width: 140px;
  height: 6px;
  background: var(--gray-100);
  border-radius: 999px;
  overflow: hidden;
}

.comp-rating-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--emerald), var(--emerald-dark));
  border-radius: 999px;
}

.comp-rating-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--navy-900);
}

.comp-desc {
  font-size: 14px;
  color: var(--gray-700);
  line-height: 1.6;
  margin: 0 0 12px;
}

.comp-highlights {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.comp-highlights li {
  font-size: 12px;
  padding: 4px 10px;
  background: var(--gray-100);
  color: var(--gray-700);
  border-radius: 6px;
  font-weight: 500;
}

.comp-cta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: stretch;
  min-width: 160px;
}

.comp-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
  text-align: center;
  transition: all 0.2s;
}

.comp-cta .primary {
  background: var(--emerald);
  color: var(--white);
}

.comp-cta .primary:hover { background: var(--emerald-dark); }

.comp-cta-note {
  font-size: 11px;
  color: var(--gray-500);
  text-align: center;
}

/* ===== MARKETS ===== */
.markets {
  background: var(--navy-900);
  color: var(--white);
}

.markets .section-head h2 { color: var(--white); }
.markets .section-head .section-sub { color: rgba(255, 255, 255, 0.7); }
.markets .eyebrow { background: rgba(20, 160, 107, 0.2); color: var(--emerald); }

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

.market-card {
  padding: 32px 28px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  transition: transform 0.2s, background 0.2s, border-color 0.2s;
}

.market-card:hover {
  transform: translateY(-4px);
  background: rgba(20, 160, 107, 0.08);
  border-color: var(--emerald);
}

.market-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(20, 160, 107, 0.15);
  border-radius: 14px;
  color: var(--emerald);
  margin-bottom: 18px;
}

.market-icon svg { width: 28px; height: 28px; }

.market-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  margin: 0 0 10px;
  color: var(--white);
}

.market-card p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  line-height: 1.6;
}

/* ===== METHODOLOGY ===== */
.methodology-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: start;
}

.methodology-text p {
  font-size: 16px;
  color: var(--gray-700);
  line-height: 1.7;
  margin: 0 0 16px;
}

.criteria-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.criteria-list li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  padding: 22px;
  background: var(--gray-50);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-100);
  transition: border-color 0.2s, transform 0.2s;
}

.criteria-list li:hover {
  border-color: var(--emerald);
  transform: translateX(4px);
}

.criteria-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--navy-900);
  color: var(--emerald);
  border-radius: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
}

.criteria-list h4 {
  font-family: var(--font-display);
  margin: 0 0 4px;
  font-size: 17px;
  color: var(--navy-900);
}

.criteria-list p {
  margin: 0;
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.55;
}

/* ===== ABOUT ===== */
.about {
  background: var(--gray-50);
}

.about-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 56px;
  max-width: 880px;
  margin: 0 auto;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}

.about-card .eyebrow { margin-bottom: 14px; }

.about-card h2 {
  font-family: var(--font-display);
  font-size: 32px;
  margin: 0 0 20px;
  color: var(--navy-900);
}

.about-card p {
  font-size: 16px;
  color: var(--gray-700);
  line-height: 1.7;
  margin: 0 0 16px;
}

.about-card a {
  color: var(--emerald-dark);
  text-decoration: underline;
  text-decoration-color: rgba(12, 125, 82, 0.3);
}

/* ===== FAQ ===== */
.faq-list {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  background: var(--white);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.faq-item.is-open {
  border-color: var(--emerald);
  box-shadow: 0 6px 18px rgba(20, 160, 107, 0.1);
}

.faq-q {
  width: 100%;
  text-align: left;
  padding: 20px 24px;
  background: transparent;
  border: 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--navy-900);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: var(--font-sans);
}

.faq-icon {
  position: relative;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gray-100);
  transition: background 0.2s, transform 0.25s;
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: var(--navy-900);
  transition: transform 0.25s;
}

.faq-icon::before {
  top: 50%;
  left: 25%;
  width: 50%;
  height: 2px;
  transform: translateY(-50%);
}

.faq-icon::after {
  top: 25%;
  left: 50%;
  width: 2px;
  height: 50%;
  transform: translateX(-50%);
}

.faq-item.is-open .faq-icon { background: var(--emerald-light); }
.faq-item.is-open .faq-icon::before { background: var(--emerald-dark); }
.faq-item.is-open .faq-icon::after { transform: translateX(-50%) rotate(90deg); opacity: 0; }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.is-open .faq-a {
  max-height: 400px;
}

.faq-a p {
  padding: 0 24px 22px;
  margin: 0;
  font-size: 15px;
  color: var(--gray-700);
  line-height: 1.65;
}

/* ===== SAFER GAMBLING ===== */
.safer-card {
  background: linear-gradient(135deg, var(--navy-900), var(--navy-800));
  border-radius: var(--radius-lg);
  padding: 48px;
  color: var(--white);
  border: 2px solid var(--emerald);
  box-shadow: 0 20px 50px rgba(7, 23, 46, 0.2);
}

.safer-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.safer-head h2 {
  font-family: var(--font-display);
  margin: 0;
  font-size: 30px;
  color: var(--white);
}

.safer-card p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  margin: 0 0 28px;
  max-width: 720px;
}

.safer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.safer-links a {
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.2s, border-color 0.2s;
}

.safer-links a:hover {
  background: var(--emerald);
  border-color: var(--emerald);
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.75);
  padding: 72px 0 28px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .brand-name { color: var(--white); }

.footer-brand p {
  font-size: 14px;
  margin: 16px 0;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.65);
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--white);
  margin: 0 0 18px;
}

.footer-col a {
  display: block;
  padding: 6px 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--emerald);
}

.footer-bottom {
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-bottom p {
  margin: 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  max-width: 760px;
  line-height: 1.55;
}

.copyright {
  white-space: nowrap;
}

/* ===== MODAL ===== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal.is-open {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 23, 46, 0.65);
  backdrop-filter: blur(4px);
}

.modal-dialog {
  position: relative;
  width: 100%;
  max-width: 720px;
  max-height: 85vh;
  overflow-y: auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 44px;
  box-shadow: var(--shadow-lg);
  animation: modalIn 0.25s ease;
}

@keyframes modalIn {
  from { opacity: 0; transform: translateY(16px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 18px;
  width: 36px;
  height: 36px;
  border: 0;
  background: var(--gray-100);
  border-radius: 50%;
  font-size: 22px;
  cursor: pointer;
  color: var(--navy-900);
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.modal-close:hover { background: var(--gray-200); }

.modal-content h2 {
  font-family: var(--font-display);
  margin: 0 0 18px;
  font-size: 28px;
  color: var(--navy-900);
}

.modal-content h3 {
  font-family: var(--font-display);
  margin: 24px 0 8px;
  font-size: 17px;
  color: var(--navy-800);
}

.modal-content p {
  margin: 0 0 12px;
  font-size: 14px;
  color: var(--gray-700);
  line-height: 1.65;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  .nav-desktop { display: none; }
  .menu-toggle { display: flex; }
  .methodology-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 36px; }
  .comp-row { grid-template-columns: 1fr; }
  .comp-main { grid-template-columns: 1fr; gap: 16px; }
  .comp-position { flex-direction: row; width: 100%; height: 56px; gap: 10px; }
  .comp-position-num { font-size: 22px; }
  .comp-cta { min-width: 0; }
}

@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .hero { padding: 64px 0 80px; }
  .hero-stats { grid-template-columns: 1fr; gap: 18px; }
  .about-card { padding: 32px 24px; }
  .safer-card { padding: 32px 24px; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .modal-dialog { padding: 30px 22px; }
  .brand-name { font-size: 17px; }
}
