/* ============================================================
   CHIYAR — Design System v3.0
   Premium Financial Dark · RTL · Vazirmatn
   ============================================================ */

/* ===== TOKENS ===== */
:root {
  --gold:        #c9a227;
  --gold-light:  #e4bc4f;
  --gold-dim:    #8a6d1a;
  --gold-glow:   rgba(201,162,39,0.12);
  --gold-glow-2: rgba(201,162,39,0.06);
  --bg:          #080809;
  --bg-2:        #0d0d10;
  --bg-3:        #141418;
  --bg-card:     #0f0f13;
  --border:      rgba(201,162,39,0.10);
  --border-2:    rgba(255,255,255,0.05);
  --border-3:    rgba(255,255,255,0.08);
  --text:        #ebebeb;
  --text-muted:  #6b6b7b;
  --text-dim:    #3d3d4d;
  --green:       #22c55e;
  --red:         #ef4444;
  --blue:        #3b82f6;
  --yellow:      #f59e0b;
  --radius:      14px;
  --radius-lg:   20px;
  --radius-xl:   28px;
  --shadow:      0 8px 32px rgba(0,0,0,0.5);
  --shadow-gold: 0 0 32px rgba(201,162,39,0.15);
  --shadow-card: 0 2px 12px rgba(0,0,0,0.3);
  --transition:  0.18s ease;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Vazirmatn', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  direction: rtl;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-light); }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* ===== LAYOUT ===== */
.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.main-content { min-height: 80vh; }

/* ===== TICKER ===== */
.ticker-wrap {
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  height: 36px;
  display: flex;
  align-items: center;
}
.ticker-track {
  display: flex;
  gap: 56px;
  animation: ticker 45s linear infinite;
  white-space: nowrap;
}
.ticker-track:hover { animation-play-state: paused; }
.ticker-item {
  font-size: 11.5px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.2px;
}
.ticker-item .name  { color: var(--text-dim); }
.ticker-item .price { color: var(--text); font-weight: 600; }
.ticker-item .up    { color: var(--green); }
.ticker-item .down  { color: var(--red); }
.ticker-item.loading{ color: var(--text-dim); font-size: 11px; }
@keyframes ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== NAVBAR ===== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8,8,9,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  height: 68px;
  gap: 28px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
  flex-shrink: 0;
}
.logo-mark { font-size: 22px; color: var(--gold); }
.logo-text  { font-size: 19px; letter-spacing: 2.5px; color: var(--gold); font-weight: 800; }
.logo-sub   { font-size: 11px; color: var(--text-muted); letter-spacing: 0.3px; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: visible;
  scrollbar-width: none;
  -ms-overflow-style: none;
  min-width: 0;
}
.nav-links::-webkit-scrollbar { display: none; }
.nav-links > li { flex-shrink: 0; }
.nav-links a {
  color: var(--text-muted);
  font-size: 13px;
  padding: 7px 11px;
  border-radius: 10px;
  transition: all var(--transition);
  font-weight: 500;
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-links a:hover { color: var(--text); background: var(--bg-3); }
.nav-links a.active { color: var(--gold); background: var(--gold-glow); }
.nav-cta { display: flex; align-items: center; gap: 8px; margin-right: auto; flex-shrink: 0; }
.lang-switch-btn { flex-shrink: 0; white-space: nowrap; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-muted);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ===== INFO BAR ===== */
.info-bar {
  height: 34px;
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 68px;
  z-index: 99;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 26px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  transition: all var(--transition);
  border: none;
  letter-spacing: 0.2px;
}
.btn-gold {
  background: var(--gold);
  color: #000;
}
.btn-gold:hover {
  background: var(--gold-light);
  color: #000;
  box-shadow: 0 4px 20px rgba(201,162,39,0.35);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border-3);
}
.btn-ghost:hover {
  color: var(--text);
  background: var(--bg-3);
  border-color: var(--border-3);
}
.btn-sm { padding: 7px 16px; font-size: 12.5px; border-radius: 10px; }

/* ===== CARDS ===== */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: all var(--transition);
}
.card:hover {
  border-color: rgba(201,162,39,0.2);
  box-shadow: var(--shadow-gold);
  transform: translateY(-2px);
}

/* ===== SECTION ===== */
.section { padding: 72px 0; }
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}
.section-title {
  font-size: 21px;
  font-weight: 700;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-title::before {
  content: '';
  display: block;
  width: 3px;
  height: 20px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  border-radius: 2px;
}

/* ===== HERO ===== */
.hero {
  padding: 96px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -100px; left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 500px;
  background: radial-gradient(ellipse at center top, rgba(201,162,39,0.06) 0%, transparent 65%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border), transparent);
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold-glow-2);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 6px 18px;
  font-size: 12px;
  color: var(--gold);
  margin-bottom: 28px;
  letter-spacing: 0.3px;
}
.hero-eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse 2.5s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}
.hero h1 {
  font-size: clamp(34px, 5.5vw, 60px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}
.hero h1 span { color: var(--gold); }
.hero-sub {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto 44px;
  line-height: 1.8;
}
.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* ===== PRICE GRID ===== */
.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 14px;
}
.price-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.price-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, var(--gold-glow-2), transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
}
.price-card:hover {
  border-color: rgba(201,162,39,0.25);
  box-shadow: 0 4px 24px rgba(0,0,0,0.4);
  transform: translateY(-2px);
}
.price-card:hover::before { opacity: 1; }
.price-card .label {
  font-size: 11.5px;
  color: var(--text-muted);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.price-card .value {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.3px;
}
.price-card .unit  { font-size: 11px; color: var(--text-dim); }
.price-card .change {
  font-size: 12.5px;
  font-weight: 600;
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 3px;
}
.price-card .chart-hint {
  font-size: 10px;
  color: var(--text-dim);
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 4px;
  opacity: 0;
  transition: opacity var(--transition);
}
.price-card:hover .chart-hint { opacity: 1; }
.up   { color: var(--green); }
.down { color: var(--red); }

/* ===== FUND CARDS ===== */
.funds-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 18px;
}
.fund-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.fund-card::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(to left, var(--gold), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}
.fund-card:hover {
  border-color: rgba(201,162,39,0.2);
  transform: translateY(-3px);
  box-shadow: var(--shadow-gold);
}
.fund-card:hover::before { opacity: 1; }
.fund-card .fund-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.fund-symbol {
  font-size: 11px;
  font-weight: 700;
  color: var(--gold);
  background: var(--gold-glow);
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: 1px;
}
.health-badge {
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
}
.health-high { background: rgba(34,197,94,0.08);  color: var(--green); }
.health-mid  { background: rgba(245,158,11,0.08); color: var(--yellow); }
.health-low  { background: rgba(239,68,68,0.08);  color: var(--red); }
.fund-name    { font-size: 15.5px; font-weight: 700; margin-bottom: 4px; }
.fund-manager { font-size: 12px; color: var(--text-muted); margin-bottom: 18px; }
.fund-stats {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  padding: 16px 0;
  border-top: 1px solid var(--border-2);
  border-bottom: 1px solid var(--border-2);
  margin-bottom: 16px;
}
.stat-item    { text-align: center; }
.stat-label   { font-size: 10.5px; color: var(--text-dim); margin-bottom: 5px; }
.stat-value   { font-size: 14px; font-weight: 700; }
.fund-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-value        { font-size: 12.5px; color: var(--text-muted); }
.nav-value strong { color: var(--text); }
.bubble-chip {
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 6px;
  font-weight: 600;
}
.bubble-pos  { background: rgba(239,68,68,0.08);  color: var(--red); }
.bubble-neg  { background: rgba(34,197,94,0.08);  color: var(--green); }
.bubble-zero { background: var(--bg-3); color: var(--text-muted); }

/* ===== SPARKLINE ===== */
.sparkline { width: 80px; height: 32px; }

/* ===== TABS ===== */
.tabs {
  display: flex;
  gap: 3px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 4px;
  width: fit-content;
}
.tab-btn {
  padding: 8px 20px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  background: none;
  border: none;
  transition: all var(--transition);
  white-space: nowrap;
}
.tab-btn.active {
  background: var(--bg-card);
  color: var(--gold);
  border: 1px solid var(--border);
  font-weight: 600;
}
.tab-btn:hover:not(.active) { color: var(--text); background: var(--bg-3); }

/* ===== TABLE ===== */
.table-wrap { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.data-table th {
  text-align: right;
  padding: 12px 16px;
  color: var(--text-muted);
  font-weight: 500;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.data-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-2);
  vertical-align: middle;
}
.data-table tr:hover td { background: rgba(255,255,255,0.015); }

/* ===== SEARCH ===== */
.search-bar { position: relative; max-width: 600px; margin: 0 auto; }
.search-bar input {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 14px 52px 14px 20px;
  font-size: 15px;
  color: var(--text);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.search-bar input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,162,39,0.08);
}
.search-bar input::placeholder { color: var(--text-dim); }
.search-bar .search-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-dim);
  font-size: 16px;
}

/* ===== BADGE / CHIP ===== */
.chip {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2px;
}
.chip-gold  { background: var(--gold-glow); color: var(--gold); border: 1px solid rgba(201,162,39,0.15); }
.chip-green { background: rgba(34,197,94,0.08); color: var(--green); }
.chip-red   { background: rgba(239,68,68,0.08); color: var(--red); }

/* ===== FILTER BAR ===== */
.filter-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.filter-btn {
  padding: 7px 18px;
  border-radius: 20px;
  font-size: 13px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  transition: all var(--transition);
  font-weight: 500;
}
.filter-btn:hover, .filter-btn.active {
  background: var(--gold-glow);
  border-color: rgba(201,162,39,0.25);
  color: var(--gold);
}

/* ===== COMPARE BAR ===== */
.compare-bar {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(120px);
  background: var(--bg-card);
  border: 1px solid rgba(201,162,39,0.3);
  border-radius: var(--radius-lg);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.6), 0 0 0 1px rgba(201,162,39,0.1);
  z-index: 200;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  min-width: 320px;
}
.compare-bar.show { transform: translateX(-50%) translateY(0); }

/* ===== FORM ===== */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 13px; color: var(--text-muted); margin-bottom: 8px; font-weight: 500; }
.form-input {
  width: 100%;
  background: var(--bg-3);
  border: 1px solid var(--border-3);
  border-radius: var(--radius);
  padding: 12px 16px;
  font-size: 14px;
  color: var(--text);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,162,39,0.08);
}

/* ===== ALERT ===== */
.alert {
  padding: 14px 18px;
  border-radius: var(--radius);
  font-size: 14px;
  margin-bottom: 16px;
  border: 1px solid;
}
.alert-success { background: rgba(34,197,94,0.06);  border-color: rgba(34,197,94,0.2);  color: var(--green); }
.alert-error   { background: rgba(239,68,68,0.06);  border-color: rgba(239,68,68,0.2);  color: var(--red); }
.alert-info    { background: rgba(59,130,246,0.06); border-color: rgba(59,130,246,0.2); color: var(--blue); }

/* ===== FOOTER ===== */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 72px 0 36px;
  margin-top: 80px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 52px;
  margin-bottom: 52px;
}
.footer-brand p {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 16px;
  line-height: 1.9;
  max-width: 280px;
}
.footer-socials { display: flex; gap: 10px; margin-top: 20px; }
.footer-socials a {
  width: 38px; height: 38px;
  background: var(--bg-3);
  border: 1px solid var(--border-2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 14px;
  transition: all var(--transition);
}
.footer-socials a:hover { border-color: var(--gold); color: var(--gold); background: var(--gold-glow); }
.footer-col h4 {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-dim);
  margin-bottom: 18px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul a {
  font-size: 13.5px;
  color: var(--text-muted);
  transition: color var(--transition);
}
.footer-col ul a:hover { color: var(--text); }
.footer-newsletter-desc { font-size: 12.5px; color: var(--text-muted); margin-bottom: 14px; line-height: 1.7; }
.newsletter-form { display: flex; gap: 8px; }
.newsletter-form input {
  flex: 1;
  background: var(--bg-3);
  border: 1px solid var(--border-3);
  border-radius: var(--radius);
  padding: 10px 14px;
  font-size: 13px;
  color: var(--text);
  outline: none;
  transition: border-color var(--transition);
}
.newsletter-form input:focus { border-color: var(--gold); }
.newsletter-form button {
  background: var(--gold);
  color: #000;
  border: none;
  border-radius: var(--radius);
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 700;
  transition: all var(--transition);
  white-space: nowrap;
}
.newsletter-form button:hover { background: var(--gold-light); }
.footer-bottom {
  border-top: 1px solid var(--border-2);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom p { font-size: 12px; color: var(--text-dim); }
.disclaimer { font-style: italic; }

/* ===== LOADING ===== */
.skeleton {
  background: linear-gradient(90deg, var(--bg-3) 25%, rgba(255,255,255,0.03) 50%, var(--bg-3) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.8s infinite;
  border-radius: 6px;
}
@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: var(--bg-2); }
::-webkit-scrollbar-thumb { background: var(--border-2); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold-dim); }

/* ===== CHART MODAL ===== */
.chart-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.22s ease;
}
.chart-modal-overlay.open { opacity: 1; visibility: visible; }
.chart-modal {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px;
  width: min(700px, 95vw);
  box-shadow: 0 32px 80px rgba(0,0,0,0.7), 0 0 0 1px var(--border);
  transform: translateY(24px) scale(0.98);
  transition: transform 0.25s cubic-bezier(0.34, 1.2, 0.64, 1);
  position: relative;
}
.chart-modal-overlay.open .chart-modal { transform: translateY(0) scale(1); }
.chart-modal-header { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 24px; }
.chart-modal-title  { font-size: 16px; font-weight: 700; color: var(--text); }
.chart-modal-price  { font-size: 26px; font-weight: 800; color: var(--gold); margin-top: 4px; letter-spacing: -0.5px; }
.chart-modal-change { font-size: 13px; font-weight: 600; margin-top: 3px; }
.chart-modal-close  {
  width: 34px; height: 34px;
  background: var(--bg-3);
  border: 1px solid var(--border-2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 16px;
  transition: all var(--transition);
  flex-shrink: 0;
}
.chart-modal-close:hover { background: var(--red); color: #fff; border-color: var(--red); }
.chart-range-tabs {
  display: flex;
  gap: 3px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 4px;
  margin-bottom: 22px;
  width: fit-content;
}
.chart-range-btn {
  padding: 6px 16px;
  border-radius: 7px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-muted);
  background: none;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}
.chart-range-btn.active { background: var(--bg-card); color: var(--gold); border: 1px solid var(--border); }
.chart-canvas-wrap { position: relative; height: 230px; margin-bottom: 16px; }
.chart-loading { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--text-dim); font-size: 13px; }
.chart-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--border-2);
}
.chart-stat       { text-align: center; }
.chart-stat-label { font-size: 11px; color: var(--text-dim); margin-bottom: 5px; }
.chart-stat-value { font-size: 13.5px; font-weight: 700; color: var(--text); }
.chart-simulated-note { font-size: 11px; color: var(--text-dim); text-align: center; margin-top: 14px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 768px) {
  .nav-inner { height: 60px; }
  .info-bar  { top: 60px; }
  .nav-links {
    display: none;
    position: fixed;
    top: 94px; right: 0; left: 0;
    background: rgba(8,8,9,0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    gap: 4px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { width: 100%; padding: 12px 16px; }
  .nav-toggle { display: flex; }
  .hero { padding: 64px 0 40px; }
  .hero h1 { font-size: 28px; }
  .hero-sub { font-size: 14.5px; }
  .price-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .funds-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .section-header { flex-direction: column; align-items: flex-start; gap: 12px; }
  .section { padding: 48px 0; }
}
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .price-grid { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; width: 100%; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .tabs { width: 100%; overflow-x: auto; }
  .chart-stats { grid-template-columns: 1fr; gap: 10px; }
}

/* ===== STICKY MOBILE NAV ===== */
@media (max-width: 768px) {
  .mobile-nav {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: rgba(13,13,16,0.97);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 60px;
    z-index: 300;
    padding-bottom: env(safe-area-inset-bottom);
  }
  .mobile-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    color: var(--text-dim);
    font-size: 10px;
    padding: 8px 16px;
    border-radius: 10px;
    transition: all var(--transition);
  }
  .mobile-nav a i { font-size: 20px; }
  .mobile-nav a.active { color: var(--gold); }
  .main-content { padding-bottom: 64px; }
}
@media (min-width: 769px) { .mobile-nav { display: none; } }