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

:root {
  --navy: #0F172A;
  --navy-light: #1E293B;
  --navy-mid: #334155;
  --silver: #CBD5E1;
  --silver-light: #E2E8F0;
  --silver-pale: #F1F5F9;
  --white: #FFFFFF;
  --emerald: #059669;
  --emerald-light: #10B981;
  --emerald-pale: #D1FAE5;
  --red: #DC2626;
  --red-pale: #FEE2E2;
  --amber: #D97706;
  --amber-pale: #FEF3C7;
  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-muted: #94A3B8;
  --border: #E2E8F0;
  --border-dark: #CBD5E1;
  --shadow-sm: 0 1px 3px rgba(15,23,42,0.06), 0 1px 2px rgba(15,23,42,0.04);
  --shadow-md: 0 4px 12px rgba(15,23,42,0.08), 0 2px 6px rgba(15,23,42,0.05);
  --shadow-lg: 0 10px 30px rgba(15,23,42,0.12), 0 4px 12px rgba(15,23,42,0.07);
  --radius: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-primary);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--emerald); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ===================== TYPOGRAPHY ===================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Merriweather', serif;
  font-weight: 700;
  line-height: 1.25;
  color: var(--navy);
}

.text-emerald { color: var(--emerald); }
.text-muted { color: var(--text-muted); }
.text-secondary { color: var(--text-secondary); }
.text-white { color: var(--white); }
.text-red { color: var(--red); }
.text-amber { color: var(--amber); }
.font-sans { font-family: 'Inter', sans-serif; }

/* ===================== LAYOUT ===================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-sidebar { display: grid; grid-template-columns: 1fr 340px; gap: 40px; }
.grid-sidebar-left { display: grid; grid-template-columns: 280px 1fr; gap: 40px; }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-4 { gap: 16px; }
.gap-6 { gap: 24px; }
.gap-8 { gap: 32px; }
.flex-wrap { flex-wrap: wrap; }

.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }
.section-lg { padding: 100px 0; }

.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mt-8 { margin-top: 32px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.mb-8 { margin-bottom: 32px; }

/* ===================== HEADER ===================== */
.header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(15,23,42,0.3);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-mark {
  width: 38px;
  height: 38px;
  background: var(--emerald);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
  color: var(--white);
  font-family: 'Inter', sans-serif;
  flex-shrink: 0;
}

.logo-text {
  font-family: 'Merriweather', serif;
  font-weight: 700;
  font-size: 20px;
  color: var(--white);
  letter-spacing: -0.3px;
}

.logo-sub {
  font-size: 10px;
  color: var(--silver);
  font-weight: 400;
  letter-spacing: 0.5px;
  margin-top: -2px;
}

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

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  color: var(--silver-light);
  font-size: 14px;
  font-weight: 500;
  border-radius: 6px;
  transition: all 0.2s;
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
  color: var(--white);
  background: rgba(255,255,255,0.08);
}

.nav-link svg { width: 12px; height: 12px; flex-shrink: 0; transition: transform 0.2s; }
.nav-item:hover .nav-link svg { transform: rotate(180deg); }

.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.2s;
  z-index: 100;
}

.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown a {
  display: block;
  padding: 10px 16px;
  font-size: 14px;
  color: var(--text-secondary);
  transition: all 0.15s;
  border-bottom: 1px solid var(--silver-pale);
}

.dropdown a:last-child { border-bottom: none; }
.dropdown a:hover { color: var(--emerald); background: var(--silver-pale); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-header {
  padding: 9px 20px;
  background: var(--emerald);
  color: var(--white);
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s;
  border: none;
  white-space: nowrap;
}

.btn-header:hover {
  background: var(--emerald-light);
  color: var(--white);
  transform: translateY(-1px);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s;
  border-radius: 2px;
}

/* ===================== HERO ===================== */
.hero {
  background: var(--navy);
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 50%;
  height: 100%;
  background: url('../images/hero.jpg') center/cover no-repeat;
  opacity: 0.12;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: clamp(32px, 4vw, 52px);
  color: var(--white);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero-title span { color: var(--emerald); }

.hero-desc {
  font-size: 17px;
  color: var(--silver);
  line-height: 1.7;
  margin-bottom: 36px;
  font-family: 'Inter', sans-serif;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
}

.hero-img {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero-img img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 16px;
}

.hero-stat {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 14px 16px;
  text-align: center;
}

.hero-stat-val {
  font-size: 22px;
  font-weight: 700;
  color: var(--emerald);
  font-family: 'Inter', sans-serif;
}

.hero-stat-lbl {
  font-size: 11px;
  color: var(--silver);
  margin-top: 2px;
  letter-spacing: 0.3px;
}

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: var(--emerald);
  color: var(--white);
}
.btn-primary:hover { background: var(--emerald-light); color: var(--white); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(5,150,105,0.35); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.3);
}
.btn-outline:hover { background: rgba(255,255,255,0.08); color: var(--white); border-color: rgba(255,255,255,0.5); }

.btn-outline-dark {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--border-dark);
}
.btn-outline-dark:hover { background: var(--silver-pale); border-color: var(--navy); }

.btn-sm { padding: 8px 18px; font-size: 13px; }
.btn-lg { padding: 16px 32px; font-size: 16px; }

.btn-icon { width: 20px; height: 20px; flex-shrink: 0; }

/* ===================== CARDS ===================== */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s;
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: var(--border-dark);
}

.card-navy {
  background: var(--navy);
  border-color: var(--navy-light);
  color: var(--white);
}

.card-navy h3, .card-navy h4 { color: var(--white); }
.card-navy p { color: var(--silver); }

.card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 16px;
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.card-icon-emerald { background: var(--emerald-pale); color: var(--emerald); }
.card-icon-navy { background: rgba(255,255,255,0.1); color: var(--silver-light); }
.card-icon-amber { background: var(--amber-pale); color: var(--amber); }
.card-icon-red { background: var(--red-pale); color: var(--red); }

.card-icon svg { width: 22px; height: 22px; }

/* ===================== SECTION HEADERS ===================== */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}

.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--emerald);
  margin-bottom: 12px;
  font-family: 'Inter', sans-serif;
}

.section-title {
  font-size: clamp(26px, 3vw, 40px);
  margin-bottom: 16px;
  color: var(--navy);
}

.section-desc {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
  font-family: 'Inter', sans-serif;
}

.section-header-left {
  max-width: 100%;
  text-align: left;
  margin-bottom: 40px;
}

/* ===================== TICKER BANNER ===================== */
.ticker-banner {
  background: var(--navy-light);
  padding: 10px 0;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.ticker-inner {
  display: flex;
  align-items: center;
  white-space: nowrap;
  animation: ticker 30s linear infinite;
  width: max-content;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-right: 48px;
  font-size: 13px;
  font-weight: 500;
  color: var(--silver-light);
  font-family: 'Inter', sans-serif;
}

.ticker-item .tick-name { color: var(--silver); font-weight: 600; }
.ticker-item .tick-price { color: var(--white); }
.ticker-item .tick-up { color: var(--emerald); }
.ticker-item .tick-down { color: var(--red); }

@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===================== MARKET DATA TABLE ===================== */
.market-table {
  width: 100%;
  border-collapse: collapse;
}

.market-table th {
  text-align: left;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 12px 16px;
  border-bottom: 2px solid var(--border);
  background: var(--silver-pale);
  font-family: 'Inter', sans-serif;
}

.market-table td {
  padding: 14px 16px;
  font-size: 14px;
  border-bottom: 1px solid var(--border);
  font-family: 'Inter', sans-serif;
}

.market-table tr:hover td { background: var(--silver-pale); }
.market-table tr:last-child td { border-bottom: none; }

.change-positive { color: var(--emerald); font-weight: 600; }
.change-negative { color: var(--red); font-weight: 600; }
.change-neutral { color: var(--text-muted); }

/* ===================== CHART CONTAINER ===================== */
.chart-wrap {
  position: relative;
  width: 100%;
  height: 260px;
}

.chart-canvas { width: 100% !important; height: 100% !important; }

/* ===================== ARTICLE CARD ===================== */
.article-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.25s;
  box-shadow: var(--shadow-sm);
}

.article-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--silver);
}

.article-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.article-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.article-category {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--emerald);
  margin-bottom: 8px;
  font-family: 'Inter', sans-serif;
}

.article-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.35;
  font-family: 'Merriweather', serif;
}

.article-excerpt {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 16px;
  font-family: 'Inter', sans-serif;
}

.article-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
  font-family: 'Inter', sans-serif;
}

.article-meta-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ===================== TAG ===================== */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
}

.tag-emerald { background: var(--emerald-pale); color: var(--emerald); }
.tag-navy { background: var(--navy); color: var(--white); }
.tag-silver { background: var(--silver-pale); color: var(--text-secondary); }
.tag-amber { background: var(--amber-pale); color: var(--amber); }
.tag-red { background: var(--red-pale); color: var(--red); }

/* ===================== STAT BOXES ===================== */
.stat-box {
  text-align: center;
  padding: 28px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--white);
  transition: all 0.2s;
}

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

.stat-val {
  font-size: 36px;
  font-weight: 800;
  color: var(--navy);
  font-family: 'Inter', sans-serif;
  line-height: 1;
  margin-bottom: 6px;
}

.stat-val span { color: var(--emerald); }

.stat-lbl {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 500;
  font-family: 'Inter', sans-serif;
}

/* ===================== FORM ===================== */
.form-group { margin-bottom: 20px; }

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
  font-family: 'Inter', sans-serif;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 11px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--text-primary);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
  font-family: 'Inter', sans-serif;
  outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--emerald);
  box-shadow: 0 0 0 3px rgba(5,150,105,0.1);
}

.form-textarea { resize: vertical; min-height: 120px; line-height: 1.6; }

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--text-secondary);
  font-family: 'Inter', sans-serif;
  line-height: 1.5;
  margin-top: 4px;
}

.form-check input[type="checkbox"] {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  accent-color: var(--emerald);
  margin-top: 2px;
}

.success-msg {
  display: none;
  background: var(--emerald-pale);
  border: 1.5px solid var(--emerald);
  border-radius: var(--radius);
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 600;
  color: var(--emerald);
  font-family: 'Inter', sans-serif;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
}

.success-msg.show { display: flex; }

.error-msg {
  font-size: 12px;
  color: var(--red);
  margin-top: 5px;
  display: none;
  font-family: 'Inter', sans-serif;
}

/* ===================== INDEX TABLE ===================== */
.index-card {
  padding: 20px;
  background: var(--silver-pale);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.index-name { font-size: 13px; font-weight: 600; color: var(--text-secondary); font-family: 'Inter', sans-serif; }
.index-val { font-size: 22px; font-weight: 700; color: var(--navy); font-family: 'Inter', sans-serif; margin: 4px 0; }
.index-chg { font-size: 13px; font-weight: 600; font-family: 'Inter', sans-serif; }

/* ===================== BREADCRUMB ===================== */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  font-family: 'Inter', sans-serif;
  padding: 20px 0;
  flex-wrap: wrap;
}

.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--emerald); }
.breadcrumb span { color: var(--text-secondary); }
.breadcrumb-sep { color: var(--border-dark); }

/* ===================== PAGE HEADER ===================== */
.page-header {
  background: var(--navy);
  padding: 56px 0 52px;
}

.page-header-title {
  font-size: clamp(28px, 3.5vw, 44px);
  color: var(--white);
  margin-bottom: 14px;
}

.page-header-desc {
  font-size: 17px;
  color: var(--silver);
  line-height: 1.7;
  font-family: 'Inter', sans-serif;
  max-width: 600px;
  font-weight: 300;
}

/* ===================== ACCORDION ===================== */
.accordion-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 8px;
}

.accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  background: var(--white);
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  font-family: 'Merriweather', serif;
  transition: background 0.2s;
  border: none;
  width: 100%;
  text-align: left;
}

.accordion-header:hover { background: var(--silver-pale); }

.accordion-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform 0.3s;
  color: var(--emerald);
}

.accordion-item.open .accordion-icon { transform: rotate(45deg); }

.accordion-body {
  display: none;
  padding: 4px 24px 22px;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.75;
  font-family: 'Inter', sans-serif;
  border-top: 1px solid var(--border);
}

.accordion-item.open .accordion-body { display: block; }

/* ===================== PROGRESS BARS ===================== */
.progress-bar {
  width: 100%;
  height: 6px;
  background: var(--silver-pale);
  border-radius: 100px;
  overflow: hidden;
  margin-top: 8px;
}

.progress-fill {
  height: 100%;
  border-radius: 100px;
  background: var(--emerald);
  transition: width 0.8s ease;
}

.progress-fill-amber { background: var(--amber); }
.progress-fill-red { background: var(--red); }

/* ===================== SIDEBAR ===================== */
.sidebar-widget {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.widget-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--emerald);
  font-family: 'Merriweather', serif;
  display: inline-block;
}

/* ===================== PAGINATION ===================== */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 32px 0 0;
}

.page-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--white);
  transition: all 0.2s;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
}

.page-btn:hover, .page-btn.active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

/* ===================== FOOTER ===================== */
.footer {
  background: var(--navy);
  padding: 72px 0 0;
  margin-top: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}

.footer-brand p {
  font-size: 14px;
  color: var(--silver);
  line-height: 1.75;
  margin-top: 16px;
  font-family: 'Inter', sans-serif;
}

.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--silver);
  margin-bottom: 18px;
  font-family: 'Inter', sans-serif;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 14px;
  color: var(--silver);
  transition: color 0.2s;
  font-family: 'Inter', sans-serif;
}

.footer-links a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  font-size: 13px;
  color: var(--text-muted);
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
}

.footer-legal {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-legal a {
  font-size: 13px;
  color: var(--text-muted);
  transition: color 0.2s;
  font-family: 'Inter', sans-serif;
}

.footer-legal a:hover { color: var(--silver); }

.footer-disclaimer {
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-disclaimer p {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.7;
  font-family: 'Inter', sans-serif;
}

/* ===================== BACKGROUND HELPERS ===================== */
.bg-navy { background: var(--navy); }
.bg-navy-light { background: var(--navy-light); }
.bg-pale { background: var(--silver-pale); }
.bg-white { background: var(--white); }
.bg-emerald { background: var(--emerald); }

/* ===================== DIVIDER ===================== */
.divider {
  width: 60px;
  height: 3px;
  background: var(--emerald);
  border-radius: 2px;
  margin: 16px 0 24px;
}

.divider-center { margin: 16px auto 24px; }

/* ===================== INLINE ICONS (SVG via CSS) ===================== */
.icon-sm { width: 16px; height: 16px; }
.icon-md { width: 20px; height: 20px; }
.icon-lg { width: 24px; height: 24px; }

/* ===================== POLICY PAGES ===================== */
.policy-content {
  max-width: 860px;
}

.policy-content h2 {
  font-size: 22px;
  color: var(--navy);
  margin: 36px 0 12px;
}

.policy-content h3 {
  font-size: 17px;
  color: var(--navy);
  margin: 24px 0 10px;
}

.policy-content p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 14px;
  font-family: 'Inter', sans-serif;
}

.policy-content ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 14px;
}

.policy-content ul li {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 6px;
  font-family: 'Inter', sans-serif;
}

.policy-content table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}

.policy-content table th, .policy-content table td {
  padding: 12px 16px;
  text-align: left;
  border: 1px solid var(--border);
  font-size: 14px;
  font-family: 'Inter', sans-serif;
}

.policy-content table th {
  background: var(--silver-pale);
  font-weight: 600;
  color: var(--navy);
}

.policy-content table td { color: var(--text-secondary); }

.policy-box {
  background: var(--silver-pale);
  border-left: 4px solid var(--emerald);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 16px 20px;
  margin: 20px 0;
}

.policy-box p {
  margin-bottom: 0;
  font-size: 14px;
  color: var(--text-secondary);
}

/* ===================== NOTIFICATION / COOKIE BANNER ===================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--navy);
  border-top: 2px solid var(--emerald);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  box-shadow: 0 -4px 20px rgba(15,23,42,0.2);
}

.cookie-banner p {
  font-size: 14px;
  color: var(--silver);
  line-height: 1.6;
  font-family: 'Inter', sans-serif;
  flex: 1;
  min-width: 200px;
}

.cookie-banner p a { color: var(--emerald); text-decoration: underline; }

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

/* ===================== MOBILE MENU ===================== */
.mobile-menu {
  display: none;
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 16px 24px;
  z-index: 999;
  max-height: calc(100vh - 68px);
  overflow-y: auto;
}

.mobile-menu.open { display: block; }

.mobile-nav-link {
  display: block;
  padding: 12px 0;
  color: var(--silver-light);
  font-size: 15px;
  font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-family: 'Inter', sans-serif;
}

.mobile-nav-link:hover { color: var(--white); }

/* ===================== UTILS ===================== */
.hidden { display: none !important; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }
.rounded { border-radius: var(--radius); }
.rounded-lg { border-radius: var(--radius-lg); }
.shadow { box-shadow: var(--shadow-md); }
.overflow-hidden { overflow: hidden; }
.relative { position: relative; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1100px) {
  .grid-sidebar { grid-template-columns: 1fr 300px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero::before { width: 100%; opacity: 0.06; }
  .hero-visual { display: none; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .grid-sidebar { grid-template-columns: 1fr; }
  .grid-sidebar-left { grid-template-columns: 1fr; }
  .nav { display: none; }
  .hamburger { display: flex; }
  .header-actions .btn-header { display: none; }
}

@media (max-width: 640px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .section { padding: 56px 0; }
  .section-lg { padding: 64px 0; }
  .container { padding: 0 16px; }
  .cookie-banner { flex-direction: column; }
  .cookie-actions { width: 100%; }
}
