/* ============================================================
   TRILLIONAIRES.INFO — MASTER STYLESHEET
   Design: Editorial / Premium Financial Magazine
   ============================================================ */

/* FONTS */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700;900&family=DM+Sans:wght@300;400;500;600&family=DM+Mono:wght@400;500&display=swap');

/* VARIABLES */
:root {
  --gold:        #C9A84C;
  --gold-light:  #E8D08A;
  --gold-dark:   #9A7A2E;
  --black:       #0A0A0A;
  --ink:         #111111;
  --dark:        #1A1A1A;
  --mid:         #2C2C2C;
  --border:      #2A2A2A;
  --muted:       #888888;
  --light-gray:  #F5F4F0;
  --white:       #FAFAF8;
  --red:         #C0392B;
  --green:       #27AE60;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;
  --font-mono:    'DM Mono', 'Courier New', monospace;

  --max-w: 1200px;
  --radius: 4px;
}

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

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 80px 0; }
.section--light {
  background: var(--white);
  color: var(--ink);
}
.section--dark { background: var(--dark); }
.section--mid { background: var(--mid); }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  line-height: 1.2;
  font-weight: 700;
}
h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 3vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.8rem); }
h4 { font-size: 1.1rem; font-weight: 600; font-family: var(--font-body); letter-spacing: 0.05em; text-transform: uppercase; }
p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }
.lead { font-size: 1.2rem; line-height: 1.7; color: var(--muted); }
.section-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10,10,10,0.97);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
}
.logo-mark {
  width: 36px;
  height: 36px;
  background: var(--gold);
  color: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 900;
  border-radius: 2px;
}
.logo-text {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
}
.logo-dot { color: var(--gold); }
.logo-footer .logo-text { color: var(--white); }

.main-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-link {
  padding: 6px 14px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  border-radius: var(--radius);
  transition: color 0.15s, background 0.15s;
}
.nav-link:hover, .nav-link.active {
  color: var(--white);
  background: var(--border);
}
.nav-link.active { color: var(--gold); background: transparent; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: transform 0.25s, opacity 0.25s;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background: var(--black);
  border-bottom: 1px solid var(--border);
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 70% 50%, rgba(201,168,76,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.3);
  color: var(--gold);
  font-size: 0.75rem;
  font-family: var(--font-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 2px;
  margin-bottom: 24px;
}
.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
.hero h1 { margin-bottom: 20px; }
.hero h1 em { font-style: italic; color: var(--gold); }
.hero .lead { margin-bottom: 36px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* Counter display */
.hero-counter {
  background: var(--dark);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}
.counter-label {
  font-size: 0.75rem;
  font-family: var(--font-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.counter-value {
  font-family: var(--font-mono);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 500;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 4px;
}
.counter-sub {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 24px;
}
.counter-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 20px 0;
}
.counter-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.counter-item .counter-label { font-size: 0.7rem; }
.counter-item .counter-value { font-size: 1.4rem; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: var(--font-body);
  border-radius: var(--radius);
  transition: all 0.2s;
  cursor: pointer;
  border: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--gold);
  color: var(--black);
}
.btn-primary:hover { background: var(--gold-light); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--border);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 40px;
  gap: 20px;
}
.section-header h2 { margin-bottom: 0; }
.section-header .btn { flex-shrink: 0; }

/* ============================================================
   RANKING TABLE
   ============================================================ */
.rank-table-wrap { overflow-x: auto; }
.rank-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.rank-table th {
  text-align: left;
  padding: 12px 16px;
  font-size: 0.7rem;
  font-family: var(--font-mono);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.rank-table td {
  padding: 18px 16px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.rank-table tr:hover td { background: rgba(255,255,255,0.02); }
.rank-table tr:last-child td { border-bottom: none; }

.rank-num {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--muted);
  width: 40px;
}
.rank-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
}
.rank-name a { color: inherit; transition: color 0.15s; }
.rank-name a:hover { color: var(--gold); }
.rank-industry {
  font-size: 0.8rem;
  color: var(--muted);
  white-space: nowrap;
}
.rank-worth {
  font-family: var(--font-mono);
  font-weight: 500;
  color: var(--gold);
  white-space: nowrap;
}
.rank-distance {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--muted);
}
.rank-years {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  white-space: nowrap;
}

/* Probability bar */
.prob-wrap { display: flex; align-items: center; gap: 10px; min-width: 120px; }
.prob-bar {
  flex: 1;
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
}
.prob-fill {
  height: 100%;
  background: var(--gold);
  border-radius: 2px;
}
.prob-score {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--gold);
  width: 36px;
  text-align: right;
}

/* ============================================================
   PROFILE CARDS
   ============================================================ */
.profiles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}
.profile-card {
  background: var(--dark);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
}
.profile-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}
.profile-card-img {
  aspect-ratio: 1 / 1;
  background: var(--mid);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.profile-card-img svg { width: 100%; height: 100%; }
.profile-card-body { padding: 20px; }
.profile-card-rank {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.profile-card-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.profile-card-title {
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 12px;
  line-height: 1.4;
}
.profile-card-worth {
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 12px;
}
.profile-card-score { }
.profile-card .prob-wrap { }
.profile-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 14px;
  transition: color 0.15s;
}
.profile-card:hover .profile-card-link { color: var(--gold); }

/* ============================================================
   INDUSTRIES GRID
   ============================================================ */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.industry-card {
  background: var(--dark);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.2s;
}
.industry-card:hover { border-color: var(--gold); }
.industry-icon {
  font-size: 1.8rem;
  color: var(--gold);
  margin-bottom: 16px;
  line-height: 1;
}
.industry-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.industry-summary {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 16px;
}
.industry-card a {
  font-size: 0.8rem;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ============================================================
   PROFILE DETAIL PAGE
   ============================================================ */
.profile-hero {
  background: var(--black);
  border-bottom: 1px solid var(--border);
  padding: 60px 0;
}
.profile-hero-inner {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 60px;
  align-items: start;
}
.profile-portrait {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: var(--dark);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.profile-portrait svg { width: 100%; height: 100%; }
.profile-meta-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.profile-rank-badge {
  background: var(--gold);
  color: var(--black);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 2px;
}
.profile-industry-tag {
  font-size: 0.8rem;
  color: var(--muted);
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: 2px;
}
.profile-name {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 6px;
}
.profile-title-line {
  font-size: 1rem;
  color: var(--muted);
  margin-bottom: 28px;
}
.profile-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 28px;
}
.stat-block {
  background: var(--dark);
  padding: 16px 20px;
}
.stat-block .stat-label {
  font-size: 0.7rem;
  font-family: var(--font-mono);
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}
.stat-block .stat-value {
  font-family: var(--font-mono);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--gold);
  line-height: 1.2;
}

/* Profile body */
.profile-body { padding: 60px 0; }
.profile-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
  align-items: start;
}
.profile-section { margin-bottom: 48px; }
.profile-section h3 {
  font-size: 1rem;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.profile-section p {
  font-size: 0.95rem;
  line-height: 1.75;
  color: rgba(250,250,248,0.85);
}
.bullet-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.bullet-list li {
  font-size: 0.9rem;
  line-height: 1.6;
  padding-left: 18px;
  position: relative;
  color: rgba(250,250,248,0.8);
}
.bullet-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.75rem;
}

/* Sidebar */
.profile-sidebar {}
.sidebar-card {
  background: var(--dark);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 20px;
}
.sidebar-card h4 {
  font-size: 0.7rem;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.kv-list { display: flex; flex-direction: column; gap: 10px; }
.kv-row { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.kv-key {
  font-size: 0.78rem;
  color: var(--muted);
  flex-shrink: 0;
}
.kv-val {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--white);
  text-align: right;
}

/* Timeline scenarios */
.timeline-grid { display: flex; flex-direction: column; gap: 12px; }
.timeline-item {
  border-left: 2px solid var(--border);
  padding-left: 14px;
}
.timeline-item.bull { border-color: var(--green); }
.timeline-item.base { border-color: var(--gold); }
.timeline-item.bear { border-color: var(--red); }
.timeline-label {
  font-size: 0.7rem;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 2px;
}
.timeline-item.bull .timeline-label { color: var(--green); }
.timeline-item.base .timeline-label { color: var(--gold); }
.timeline-item.bear .timeline-label { color: var(--red); }
.timeline-text { font-size: 0.85rem; color: rgba(250,250,248,0.8); }

/* Facts list */
.facts-list { display: flex; flex-direction: column; gap: 12px; }
.fact-item {
  font-size: 0.875rem;
  line-height: 1.6;
  padding: 12px 16px;
  background: rgba(201,168,76,0.05);
  border-left: 3px solid var(--gold);
  color: rgba(250,250,248,0.85);
}

/* ============================================================
   METHODOLOGY / INFO PAGES
   ============================================================ */
.info-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
  align-items: start;
}
.info-body h2 { margin-bottom: 24px; }
.info-body h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin: 36px 0 12px;
}
.info-body p {
  font-size: 0.95rem;
  line-height: 1.75;
  color: rgba(250,250,248,0.85);
  margin-bottom: 16px;
}
.info-body ul {
  margin: 12px 0 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.info-body li {
  font-size: 0.9rem;
  padding-left: 20px;
  position: relative;
  color: rgba(250,250,248,0.8);
  line-height: 1.6;
}
.info-body li::before {
  content: '◆';
  position: absolute;
  left: 0;
  font-size: 0.5rem;
  color: var(--gold);
  top: 7px;
}
.disclaimer-box {
  background: rgba(192,57,43,0.1);
  border: 1px solid rgba(192,57,43,0.3);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 24px 0;
}
.disclaimer-box p {
  font-size: 0.875rem;
  color: rgba(250,250,248,0.7);
  margin: 0;
}

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 600px;
}
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-label {
  font-size: 0.8rem;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.form-control {
  background: var(--dark);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 12px 16px;
  transition: border-color 0.2s;
  width: 100%;
}
.form-control:focus {
  outline: none;
  border-color: var(--gold);
}
textarea.form-control { resize: vertical; min-height: 140px; }
.form-success {
  padding: 16px;
  background: rgba(39,174,96,0.1);
  border: 1px solid rgba(39,174,96,0.3);
  border-radius: var(--radius);
  color: var(--green);
  font-size: 0.9rem;
  display: none;
}

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  background: var(--black);
  border-bottom: 1px solid var(--border);
  padding: 60px 0 50px;
}
.page-hero .breadcrumb {
  font-size: 0.78rem;
  font-family: var(--font-mono);
  color: var(--muted);
  margin-bottom: 16px;
  display: flex;
  gap: 8px;
  align-items: center;
}
.page-hero .breadcrumb a { color: var(--muted); }
.page-hero .breadcrumb a:hover { color: var(--gold); }
.page-hero .breadcrumb span { color: var(--border); }
.page-hero h1 { margin-bottom: 12px; }
.page-hero .lead { max-width: 680px; }

/* ============================================================
   INDUSTRIES DETAIL
   ============================================================ */
.industry-detail { padding: 60px 0; }
.industry-block {
  padding: 48px 0;
  border-bottom: 1px solid var(--border);
}
.industry-block:last-child { border-bottom: none; }
.industry-block-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}
.industry-block-icon {
  width: 52px;
  height: 52px;
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--gold);
  flex-shrink: 0;
}
.industry-body {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
}
.industry-why { font-size: 0.95rem; line-height: 1.8; color: rgba(250,250,248,0.85); }
.industry-sidebar .tag-list { display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  background: var(--mid);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 4px 10px;
  font-size: 0.78rem;
  color: var(--muted);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--dark);
  border-top: 1px solid var(--border);
  padding: 60px 0 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  padding-bottom: 40px;
}
.footer-tagline {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 12px;
  font-family: var(--font-mono);
}
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.footer-col h4 {
  font-size: 0.7rem;
  font-family: var(--font-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}
.footer-col a {
  display: block;
  font-size: 0.875rem;
  color: rgba(250,250,248,0.6);
  margin-bottom: 8px;
  transition: color 0.15s;
}
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 16px 0;
}
.footer-bottom p {
  font-size: 0.78rem;
  color: var(--muted);
  margin: 0;
}
.footer-bottom a { color: var(--muted); }
.footer-bottom a:hover { color: var(--gold); }

/* ============================================================
   HOMEPAGE SPECIFIC
   ============================================================ */
.methodology-preview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.methodology-item {
  padding: 24px;
  background: var(--dark);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.methodology-num {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 500;
  color: rgba(201,168,76,0.25);
  line-height: 1;
  margin-bottom: 12px;
}
.methodology-item h4 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white);
  text-transform: none;
  letter-spacing: 0;
  margin-bottom: 8px;
}
.methodology-item p {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.6;
}

.cta-section {
  text-align: center;
  padding: 80px 0;
  background: var(--dark);
  border-top: 1px solid var(--border);
}
.cta-section h2 { margin-bottom: 16px; }
.cta-section p { color: var(--muted); margin-bottom: 32px; }
.cta-section .btn-group { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* ============================================================
   UTILITIES
   ============================================================ */
.text-gold { color: var(--gold); }
.text-muted { color: var(--muted); }
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-40 { margin-bottom: 40px; }
.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 40px 0;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--mid);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 3px 8px;
  font-size: 0.75rem;
  color: var(--muted);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-counter { display: none; }
  .profile-hero-inner { grid-template-columns: 1fr; }
  .profile-portrait { max-width: 240px; }
  .profile-stats-row { grid-template-columns: 1fr 1fr; }
  .profile-layout { grid-template-columns: 1fr; }
  .info-layout { grid-template-columns: 1fr; }
  .industry-body { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
  .methodology-preview { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .section { padding: 56px 0; }
  .hero { padding: 60px 0 50px; }
  .page-hero { padding: 40px 0 32px; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  .section-header { flex-direction: column; align-items: flex-start; }
  .rank-table { font-size: 0.82rem; }
  .rank-table th, .rank-table td { padding: 12px 10px; }
  .profiles-grid { grid-template-columns: 1fr 1fr; }
  .industries-grid { grid-template-columns: 1fr; }
  .methodology-preview { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: 1fr; }
  .profile-stats-row { grid-template-columns: 1fr; }
  .main-nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--black);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 12px;
    gap: 4px;
  }
  .main-nav.open { display: flex; }
  .nav-toggle { display: flex; }
}
