/* ============================================
   FinanceHub - Dark Premium Design System
   Global styles for header, footer, homepage
   ============================================ */

:root {
  --fh-dark-950: #050816;
  --fh-dark-900: #0a0e27;
  --fh-dark-800: #0f1535;
  --fh-dark-700: #151d45;
  --fh-dark-600: #1c2555;
  --fh-gold: #D4AF37;
  --fh-gold-light: #F4CF67;
  --fh-gold-dim: rgba(212, 175, 55, 0.15);
  --fh-indigo: #6366F1;
  --fh-indigo-dim: rgba(99, 102, 241, 0.12);
  --fh-glass: rgba(255, 255, 255, 0.03);
  --fh-glass-border: rgba(255, 255, 255, 0.06);
  --fh-glass-hover: rgba(255, 255, 255, 0.06);
  --fh-text-bright: #F1F5F9;
  --fh-text-dim: #94A3B8;
  --fh-text-muted: #64748B;
  --fh-bull: #10B981;
  --fh-bull-dim: rgba(16, 185, 129, 0.12);
  --fh-bear: #EF4444;
  --fh-bear-dim: rgba(239, 68, 68, 0.12);
  --fh-radius: 12px;
  --fh-radius-lg: 16px;
  --fh-radius-xl: 24px;
  --fh-shadow-card: 0 4px 24px rgba(0, 0, 0, 0.3);
  --fh-shadow-glow: 0 0 40px rgba(212, 175, 55, 0.08);
}

/* Container */
.fh-container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 32px;
}

@media (max-width: 768px) {
  .fh-container { padding: 0 16px; }
}

/* ============================================
   TOP BAR
   ============================================ */
.fh-topbar {
  background: var(--fh-dark-950);
  border-bottom: 1px solid var(--fh-glass-border);
  padding: 6px 0;
  font-size: 12px;
  color: var(--fh-text-muted);
}

.fh-topbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.fh-topbar__left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.fh-topbar__date {
  display: flex;
  align-items: center;
  gap: 6px;
}

.fh-topbar__icon {
  color: var(--fh-gold);
}

.fh-topbar__status {
  color: var(--fh-bull);
  font-weight: 600;
}

.fh-topbar__sep {
  width: 1px;
  height: 14px;
  background: var(--fh-glass-border);
}

.fh-topbar__readers {
  display: flex;
  align-items: center;
  gap: 6px;
}

.fh-topbar__muted {
  color: var(--fh-text-muted);
}

.fh-topbar__val {
  color: var(--fh-text-bright);
  font-weight: 600;
}

.fh-topbar__globe {
  color: var(--fh-indigo);
}

.fh-topbar__right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.fh-topbar__social {
  display: flex;
  gap: 8px;
}

.fh-topbar__social a {
  color: var(--fh-text-muted);
  transition: color 0.2s;
}

.fh-topbar__social a:hover {
  color: var(--fh-text-bright);
}

.fh-topbar .language-switcher select {
  background: var(--fh-glass);
  border: 1px solid var(--fh-glass-border);
  color: var(--fh-text-dim);
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 12px;
  cursor: pointer;
}

@media (max-width: 768px) {
  .fh-topbar__left { gap: 8px; font-size: 11px; }
  .fh-topbar__social { display: none; }
}

/* ============================================
   BREAKING NEWS
   ============================================ */
.fh-breaking {
  background: linear-gradient(90deg, #DC2626, #B91C1C);
  color: #fff;
  padding: 6px 0;
  font-size: 13px;
  overflow: hidden;
}

.fh-breaking__inner {
  display: flex;
  align-items: center;
  gap: 12px;
}

.fh-breaking__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.2);
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  white-space: nowrap;
  flex-shrink: 0;
}

.fh-breaking__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  animation: fh-pulse 2s ease-in-out infinite;
}

.fh-breaking__scroll {
  white-space: nowrap;
  overflow: hidden;
  flex: 1;
}

/* ============================================
   MAIN HEADER
   ============================================ */
.fh-header {
  background: var(--fh-dark-900);
  border-bottom: 1px solid var(--fh-glass-border);
  position: sticky;
  top: 0;
  z-index: 999;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.fh-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  gap: 24px;
}

.fh-header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.fh-header__logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--fh-gold), var(--fh-gold-light));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fh-dark-900);
  font-weight: 800;
  font-size: 16px;
  font-family: 'Inter', sans-serif;
}

.fh-header__logo-text {
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: var(--fh-text-bright);
  letter-spacing: -0.02em;
}

/* Navigation */
.fh-header__nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.fh-nav-link {
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--fh-text-dim);
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.fh-nav-link:hover {
  color: var(--fh-text-bright);
  background: var(--fh-glass);
}

.fh-nav-link--gold {
  color: var(--fh-gold);
}

.fh-nav-link--gold:hover {
  color: var(--fh-gold-light);
}

/* Dropdown */
.fh-nav-dropdown {
  position: relative;
}

.fh-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  background: var(--fh-dark-800);
  border: 1px solid var(--fh-glass-border);
  border-radius: var(--fh-radius);
  padding: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.2s ease;
  z-index: 1000;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
}

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

.fh-dropdown a {
  display: block;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--fh-text-dim);
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.15s;
}

.fh-dropdown a:hover {
  background: var(--fh-glass-hover);
  color: var(--fh-text-bright);
  padding-left: 16px;
}

/* Header Actions */
.fh-header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.fh-watchlist-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: var(--fh-gold-dim);
  border: 1px solid rgba(212, 175, 55, 0.2);
  color: var(--fh-gold);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.fh-watchlist-btn:hover {
  background: rgba(212, 175, 55, 0.2);
  border-color: rgba(212, 175, 55, 0.3);
}

.fh-watchlist-badge {
  background: var(--fh-gold);
  color: var(--fh-dark-900);
  padding: 1px 6px;
  border-radius: 10px;
  font-size: 10px;
  font-weight: 700;
  min-width: 18px;
  text-align: center;
}

.fh-header__search {
  position: relative;
}

.fh-header__search-input {
  width: 140px;
  padding: 7px 12px;
  background: var(--fh-glass);
  border: 1px solid var(--fh-glass-border);
  border-radius: 8px;
  color: var(--fh-text-bright);
  font-size: 12px;
  transition: all 0.2s;
}

.fh-header__search-input:focus {
  outline: none;
  border-color: rgba(212, 175, 55, 0.3);
  width: 180px;
}

.fh-header__search-input::placeholder {
  color: var(--fh-text-muted);
}

.fh-btn--sm {
  padding: 8px 18px;
  font-size: 12px;
}

/* Watchlist Dropdown */
.fh-watchlist-dropdown {
  position: fixed;
  top: 60px;
  right: 32px;
  width: 320px;
  background: var(--fh-dark-800);
  border: 1px solid var(--fh-glass-border);
  border-radius: var(--fh-radius);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.25s ease;
}

.fh-watchlist-dropdown.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.fh-watchlist-dropdown__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  border-bottom: 1px solid var(--fh-glass-border);
}

.fh-watchlist-dropdown__header h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--fh-text-bright);
  margin: 0;
}

.fh-watchlist-dropdown__actions {
  display: flex;
  gap: 6px;
}

.fh-watchlist-dropdown__btn {
  background: var(--fh-glass);
  border: 1px solid var(--fh-glass-border);
  color: var(--fh-text-dim);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 11px;
  cursor: pointer;
}

.fh-watchlist-dropdown__btn--gold {
  background: var(--fh-gold-dim);
  border-color: rgba(212, 175, 55, 0.2);
  color: var(--fh-gold);
}

.fh-watchlist-dropdown__content {
  max-height: 300px;
  overflow-y: auto;
}

.fh-watchlist-dropdown__empty {
  padding: 32px 20px;
  text-align: center;
  color: var(--fh-text-muted);
}

.fh-watchlist-dropdown__empty-icon {
  font-size: 36px;
  margin-bottom: 8px;
}

.fh-watchlist-dropdown__empty p {
  margin: 0;
  font-size: 13px;
  color: var(--fh-text-dim);
}

.fh-watchlist-dropdown__empty span {
  font-size: 12px;
}

.fh-watchlist-dropdown__footer {
  padding: 12px 16px;
  border-top: 1px solid var(--fh-glass-border);
}

.fh-watchlist-dropdown__footer a {
  display: block;
  text-align: center;
  padding: 8px;
  background: var(--fh-gold-dim);
  color: var(--fh-gold);
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
}

.fh-watchlist-item {
  display: flex;
  align-items: center;
  padding: 10px 16px;
  border-bottom: 1px solid var(--fh-glass-border);
  gap: 8px;
}

.fh-watchlist-item__symbol {
  font-weight: 600;
  color: var(--fh-text-bright);
  font-size: 13px;
}

.fh-watchlist-item__name {
  font-size: 11px;
  color: var(--fh-text-muted);
}

.fh-watchlist-item__right {
  margin-left: auto;
  text-align: right;
}

.fh-watchlist-item__price {
  font-weight: 600;
  color: var(--fh-text-bright);
  font-size: 13px;
}

.fh-watchlist-item__remove {
  background: none;
  border: none;
  color: var(--fh-text-muted);
  cursor: pointer;
  font-size: 16px;
  padding: 2px 6px;
}

.fh-watchlist-item__remove:hover {
  color: var(--fh-bear);
}

@media (max-width: 1024px) {
  .fh-header__nav { display: none; }
  .fh-header__search { display: none; }
}

@media (max-width: 640px) {
  .fh-watchlist-btn span:not(.fh-watchlist-badge) { display: none; }
  .fh-watchlist-dropdown { right: 16px; width: 290px; }
}

/* ============================================
   BUTTONS (shared)
   ============================================ */
.fh-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  transition: all 0.25s ease;
  cursor: pointer;
  text-decoration: none;
  border: none;
}

.fh-btn--primary {
  background: linear-gradient(135deg, var(--fh-gold) 0%, var(--fh-gold-light) 100%);
  color: var(--fh-dark-900);
  box-shadow: 0 4px 16px rgba(212, 175, 55, 0.3);
}

.fh-btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(212, 175, 55, 0.4);
}

.fh-btn--ghost {
  background: transparent;
  color: var(--fh-text-bright);
  border: 1px solid var(--fh-glass-border);
}

.fh-btn--ghost:hover {
  background: var(--fh-glass);
  border-color: rgba(255, 255, 255, 0.12);
}

/* ============================================
   HERO SECTION
   ============================================ */
.fh-hero {
  position: relative;
  min-height: 600px;
  background: linear-gradient(160deg, #050816 0%, #0a0e27 30%, #0f1535 60%, #0a0e27 100%);
  overflow: hidden;
  padding: 80px 0 60px;
}

.fh-hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
}

.fh-hero__glow--indigo {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
  top: -200px;
  right: -100px;
}

.fh-hero__glow--gold {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
  bottom: -150px;
  left: -100px;
}

.fh-hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 30%, transparent 100%);
}

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

@media (max-width: 1024px) {
  .fh-hero__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .fh-hero { min-height: auto; padding: 60px 0 40px; }
}

.fh-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--fh-glass);
  border: 1px solid var(--fh-glass-border);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 13px;
  color: var(--fh-text-dim);
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.fh-hero__badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--fh-bull);
  animation: fh-pulse 2s ease-in-out infinite;
}

@keyframes fh-pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
  50% { opacity: 0.8; box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
}

.fh-hero__title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--fh-text-bright);
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.fh-hero__title-accent {
  background: linear-gradient(135deg, var(--fh-gold) 0%, var(--fh-gold-light) 50%, var(--fh-gold) 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fh-shimmer 3s ease-in-out infinite;
}

@keyframes fh-shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.fh-hero__desc {
  font-size: 17px;
  line-height: 1.7;
  color: var(--fh-text-dim);
  max-width: 520px;
  margin-bottom: 32px;
}

.fh-hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.fh-hero__trust {
  display: flex;
  align-items: center;
  gap: 16px;
}

.fh-hero__trust-label {
  font-size: 12px;
  color: var(--fh-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.fh-hero__trust-logos {
  display: flex;
  gap: 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--fh-text-muted);
}

@media (max-width: 640px) {
  .fh-hero__trust { flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* Hero Stats */
.fh-hero__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.fh-stat-card {
  background: var(--fh-glass);
  border: 1px solid var(--fh-glass-border);
  border-radius: var(--fh-radius);
  padding: 20px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  animation: fh-fade-up 0.6s ease both;
  animation-delay: var(--delay, 0s);
  transition: all 0.25s ease;
}

.fh-stat-card:hover {
  background: var(--fh-glass-hover);
  border-color: rgba(212, 175, 55, 0.15);
  box-shadow: var(--fh-shadow-glow);
}

@keyframes fh-fade-up {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.fh-stat-card__value {
  font-family: 'Inter', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: var(--fh-text-bright);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.fh-stat-card__label {
  font-size: 13px;
  font-weight: 600;
  color: var(--fh-text-dim);
  margin-top: 4px;
}

.fh-stat-card__sub {
  font-size: 11px;
  color: var(--fh-text-muted);
  margin-top: 2px;
}

.fh-hero__live {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--fh-glass);
  border: 1px solid var(--fh-glass-border);
  border-radius: 100px;
  padding: 10px 20px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.fh-hero__live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--fh-bull);
  animation: fh-pulse 2s ease-in-out infinite;
}

.fh-hero__live-text {
  font-size: 12px;
  font-weight: 700;
  color: var(--fh-bull);
  letter-spacing: 0.1em;
}

.fh-hero__live-desc {
  font-size: 13px;
  color: var(--fh-text-dim);
}

/* ============================================
   MARKET TICKER STRIP
   ============================================ */
.fh-ticker {
  background: var(--fh-dark-950);
  border-top: 1px solid var(--fh-glass-border);
  border-bottom: 1px solid var(--fh-glass-border);
  padding: 10px 0;
  overflow: hidden;
}

.fh-ticker__inner {
  display: flex;
  gap: 32px;
  animation: fh-ticker-scroll 30s linear infinite;
  width: max-content;
}

.fh-ticker__inner:hover {
  animation-play-state: paused;
}

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

.fh-ticker__item {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  font-size: 13px;
}

.fh-ticker__name {
  color: var(--fh-text-dim);
  font-weight: 500;
}

.fh-ticker__value {
  color: var(--fh-text-bright);
  font-weight: 600;
  font-family: 'Inter', sans-serif;
}

.fh-ticker__change {
  font-weight: 600;
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 4px;
}

.fh-ticker__change--up {
  color: var(--fh-bull);
  background: var(--fh-bull-dim);
}

.fh-ticker__change--down {
  color: var(--fh-bear);
  background: var(--fh-bear-dim);
}

/* ============================================
   SECTIONS
   ============================================ */
.fh-section {
  padding: 80px 0;
}

.fh-section--dark {
  background: var(--fh-dark-900);
}

.fh-section--gray {
  background: #0c1029;
}

.fh-section__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 16px;
}

.fh-section__title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--fh-text-bright);
  letter-spacing: -0.02em;
}

.fh-section__subtitle {
  font-size: 15px;
  color: var(--fh-text-muted);
  margin-top: 4px;
}

.fh-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--fh-gold);
  text-decoration: none;
  transition: color 0.2s;
}

.fh-link:hover {
  color: var(--fh-gold-light);
}

/* Region Tabs */
.fh-region-tabs {
  display: flex;
  gap: 4px;
  background: var(--fh-glass);
  border: 1px solid var(--fh-glass-border);
  border-radius: 10px;
  padding: 4px;
}

.fh-region-tab {
  padding: 8px 20px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--fh-text-dim);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.fh-region-tab:hover {
  color: var(--fh-text-bright);
}

.fh-region-tab--active {
  background: var(--fh-gold);
  color: #0a0e27;
  box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
}

@media (max-width: 640px) {
  .fh-region-tabs { flex-wrap: wrap; }
  .fh-region-tab { padding: 6px 14px; font-size: 12px; }
}

/* ============================================
   BENTO GRID - MARKET CARDS
   ============================================ */
.fh-bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

@media (max-width: 1024px) {
  .fh-bento { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .fh-bento { grid-template-columns: 1fr; }
}

.fh-market-card {
  position: relative;
  background: var(--fh-glass);
  border: 1px solid var(--fh-glass-border);
  border-radius: var(--fh-radius);
  padding: 20px;
  overflow: hidden;
  transition: all 0.25s ease;
}

.fh-market-card:hover {
  background: var(--fh-glass-hover);
  border-color: rgba(212, 175, 55, 0.12);
  box-shadow: var(--fh-shadow-glow);
  transform: translateY(-2px);
}

.fh-market-card--featured {
  grid-column: span 2;
}

@media (max-width: 640px) {
  .fh-market-card--featured { grid-column: span 1; }
}

.fh-market-card__accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
}

.fh-market-card__accent--up {
  background: linear-gradient(90deg, var(--fh-bull), transparent);
}

.fh-market-card__accent--down {
  background: linear-gradient(90deg, var(--fh-bear), transparent);
}

.fh-market-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.fh-market-card__identity {
  display: flex;
  align-items: center;
  gap: 8px;
}

.fh-market-card__flag {
  font-size: 20px;
}

.fh-market-card__name {
  font-size: 14px;
  font-weight: 600;
  color: var(--fh-text-dim);
}

.fh-market-card__badge {
  font-size: 12px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
}

.fh-market-card__badge--up {
  color: var(--fh-bull);
  background: var(--fh-bull-dim);
}

.fh-market-card__badge--down {
  color: var(--fh-bear);
  background: var(--fh-bear-dim);
}

.fh-market-card__price {
  font-family: 'Inter', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: var(--fh-text-bright);
  letter-spacing: -0.02em;
}

.fh-market-card--featured .fh-market-card__price {
  font-size: 36px;
}

.fh-market-card__sparkline {
  width: 100%;
  height: 40px;
  margin-top: 12px;
  opacity: 0.6;
}

.fh-sparkline--up {
  stroke: var(--fh-bull);
}

.fh-sparkline--down {
  stroke: var(--fh-bear);
}

.fh-market-card--commodities {
  grid-column: span 2;
}

@media (max-width: 640px) {
  .fh-market-card--commodities { grid-column: span 1; }
}

.fh-commodities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 12px;
}

@media (max-width: 640px) {
  .fh-commodities-grid { grid-template-columns: repeat(2, 1fr); }
}

.fh-commodity {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 8px;
  font-size: 12px;
}

.fh-commodity__icon { font-size: 14px; }
.fh-commodity__name { color: var(--fh-text-dim); font-weight: 500; }
.fh-commodity__price { color: var(--fh-text-bright); font-weight: 600; margin-left: auto; }
.fh-commodity__change { font-weight: 600; font-size: 11px; }
.fh-commodity__change--up { color: var(--fh-bull); }
.fh-commodity__change--down { color: var(--fh-bear); }

/* ============================================
   SECTOR HEATMAP
   ============================================ */
.fh-heatmap {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 4px;
}

@media (max-width: 640px) {
  .fh-heatmap { grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); }
}

.fh-heatmap__cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  grid-column: span var(--weight, 1);
}

.fh-heatmap__cell--up {
  background: rgba(16, 185, 129, var(--opacity, 0.15));
  border: 1px solid rgba(16, 185, 129, calc(var(--opacity, 0.15) * 0.5));
}

.fh-heatmap__cell--down {
  background: rgba(239, 68, 68, var(--opacity, 0.15));
  border: 1px solid rgba(239, 68, 68, calc(var(--opacity, 0.15) * 0.5));
}

.fh-heatmap__cell:hover { transform: scale(1.03); z-index: 2; }
.fh-heatmap__name { font-size: 13px; font-weight: 600; color: var(--fh-text-bright); text-align: center; }
.fh-heatmap__change { font-size: 15px; font-weight: 800; margin-top: 4px; }
.fh-heatmap__cell--up .fh-heatmap__change { color: var(--fh-bull); }
.fh-heatmap__cell--down .fh-heatmap__change { color: var(--fh-bear); }

/* ============================================
   SPLIT LAYOUT
   ============================================ */
.fh-split {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 24px;
}

@media (max-width: 1024px) {
  .fh-split { grid-template-columns: 1fr; }
}

.fh-split__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.fh-calendar {
  background: var(--fh-glass);
  border: 1px solid var(--fh-glass-border);
  border-radius: var(--fh-radius);
  overflow: hidden;
}

.fh-calendar__head {
  display: grid;
  grid-template-columns: 80px 1fr 100px 80px;
  gap: 12px;
  padding: 12px 16px;
  font-size: 11px;
  font-weight: 700;
  color: var(--fh-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid var(--fh-glass-border);
}

@media (max-width: 640px) {
  .fh-calendar__head { grid-template-columns: 60px 1fr 70px 60px; font-size: 10px; }
}

.fh-calendar__row {
  display: grid;
  grid-template-columns: 80px 1fr 100px 80px;
  gap: 12px;
  padding: 12px 16px;
  font-size: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  transition: background 0.15s;
}

@media (max-width: 640px) {
  .fh-calendar__row { grid-template-columns: 60px 1fr 70px 60px; font-size: 12px; }
}

.fh-calendar__row:hover { background: var(--fh-glass-hover); }
.fh-calendar__row--alt { background: rgba(255, 255, 255, 0.01); }
.fh-calendar__time { color: var(--fh-text-muted); font-family: 'Inter', sans-serif; font-weight: 500; }
.fh-calendar__event { color: var(--fh-text-bright); font-weight: 500; }
.fh-calendar__forecast { color: var(--fh-text-dim); font-family: 'Inter', sans-serif; }

.fh-impact {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 2px 8px;
  border-radius: 4px;
  text-align: center;
}

.fh-impact--high { color: var(--fh-bear); background: var(--fh-bear-dim); }
.fh-impact--medium { color: var(--fh-gold); background: var(--fh-gold-dim); }
.fh-impact--low { color: var(--fh-text-muted); background: rgba(100, 116, 139, 0.12); }

/* Central Bank Rates */
.fh-cbrates { display: flex; flex-direction: column; gap: 8px; }

.fh-cbrate {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--fh-glass);
  border: 1px solid var(--fh-glass-border);
  border-radius: 10px;
  transition: all 0.2s ease;
}

.fh-cbrate:hover { background: var(--fh-glass-hover); border-color: rgba(212, 175, 55, 0.1); }
.fh-cbrate__flag { font-size: 22px; }
.fh-cbrate__name { font-size: 14px; font-weight: 600; color: var(--fh-text-dim); flex: 1; }
.fh-cbrate__rate { font-family: 'Inter', sans-serif; font-size: 16px; font-weight: 800; color: var(--fh-text-bright); }
.fh-cbrate__trend { font-size: 18px; font-weight: 700; width: 24px; text-align: center; }

/* ============================================
   NEWS GRID
   ============================================ */
.fh-news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

@media (max-width: 1024px) { .fh-news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .fh-news-grid { grid-template-columns: 1fr; } }

.fh-news-card {
  background: var(--fh-glass);
  border: 1px solid var(--fh-glass-border);
  border-radius: var(--fh-radius);
  overflow: hidden;
  transition: all 0.25s ease;
}

.fh-news-card:hover {
  background: var(--fh-glass-hover);
  border-color: rgba(212, 175, 55, 0.12);
  box-shadow: var(--fh-shadow-glow);
  transform: translateY(-2px);
}

.fh-news-card--featured { grid-column: span 2; grid-row: span 2; }

@media (max-width: 640px) {
  .fh-news-card--featured { grid-column: span 1; grid-row: span 1; }
}

.fh-news-card__img { display: block; width: 100%; height: 200px; overflow: hidden; }
.fh-news-card--featured .fh-news-card__img { height: 320px; }
.fh-news-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.fh-news-card:hover .fh-news-card__img img { transform: scale(1.05); }

.fh-news-card__body { padding: 20px; }
.fh-news-card__cat { display: inline-block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--fh-gold); margin-bottom: 8px; }
.fh-news-card__title { font-family: 'Inter', sans-serif; font-size: 16px; font-weight: 700; line-height: 1.4; color: var(--fh-text-bright); margin-bottom: 12px; }
.fh-news-card--featured .fh-news-card__title { font-size: 20px; }
.fh-news-card__title a { color: inherit; text-decoration: none; }
.fh-news-card__title a:hover { color: var(--fh-gold); }
.fh-news-card__meta { display: flex; gap: 12px; font-size: 12px; color: var(--fh-text-muted); }

/* ============================================
   TOOLS GRID
   ============================================ */
.fh-tools-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

@media (max-width: 1024px) { .fh-tools-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .fh-tools-grid { grid-template-columns: 1fr; } }

.fh-tool-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px 20px;
  background: var(--fh-glass);
  border: 1px solid var(--fh-glass-border);
  border-radius: var(--fh-radius);
  text-decoration: none;
  transition: all 0.25s ease;
  position: relative;
}

.fh-tool-card:hover {
  background: var(--fh-glass-hover);
  border-color: rgba(212, 175, 55, 0.15);
  box-shadow: var(--fh-shadow-glow);
  transform: translateY(-2px);
}

.fh-tool-card__icon { font-size: 28px; }
.fh-tool-card__name { font-size: 15px; font-weight: 700; color: var(--fh-text-bright); }
.fh-tool-card__desc { font-size: 13px; color: var(--fh-text-muted); line-height: 1.4; }

.fh-tool-card__arrow {
  position: absolute;
  top: 20px;
  right: 20px;
  color: var(--fh-text-muted);
  transition: all 0.25s ease;
  opacity: 0;
  transform: translateX(-4px);
}

.fh-tool-card:hover .fh-tool-card__arrow {
  opacity: 1;
  transform: translateX(0);
  color: var(--fh-gold);
}

/* ============================================
   CTA SECTION
   ============================================ */
.fh-cta {
  position: relative;
  padding: 100px 0;
  background: linear-gradient(160deg, #050816 0%, #0a0e27 40%, #0f1535 70%, #0a0e27 100%);
  overflow: hidden;
}

.fh-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 50% at 50% 50%, black 20%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 70% 50% at 50% 50%, black 20%, transparent 100%);
}

.fh-cta__inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.fh-cta__title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--fh-text-bright);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.fh-cta__desc {
  font-size: 16px;
  color: var(--fh-text-dim);
  line-height: 1.6;
  margin-bottom: 32px;
}

.fh-cta__actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ============================================
   NEWSLETTER
   ============================================ */
.fh-newsletter {
  background: var(--fh-dark-800);
  border-top: 1px solid var(--fh-glass-border);
  padding: 60px 0;
}

.fh-newsletter__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

@media (max-width: 768px) {
  .fh-newsletter__inner { flex-direction: column; text-align: center; }
}

.fh-newsletter__title {
  font-family: 'Inter', sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: var(--fh-text-bright);
  margin-bottom: 8px;
}

.fh-newsletter__desc {
  font-size: 15px;
  color: var(--fh-text-dim);
  margin: 0;
}

.fh-newsletter__form {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.fh-newsletter__input {
  width: 280px;
  padding: 12px 16px;
  background: var(--fh-glass);
  border: 1px solid var(--fh-glass-border);
  border-radius: 10px;
  color: var(--fh-text-bright);
  font-size: 14px;
}

.fh-newsletter__input:focus {
  outline: none;
  border-color: rgba(212, 175, 55, 0.3);
}

.fh-newsletter__input::placeholder {
  color: var(--fh-text-muted);
}

@media (max-width: 640px) {
  .fh-newsletter__form { flex-direction: column; width: 100%; }
  .fh-newsletter__input { width: 100%; }
}

/* ============================================
   FOOTER
   ============================================ */
.fh-footer {
  background: var(--fh-dark-950);
  padding: 60px 0 0;
  border-top: 1px solid var(--fh-glass-border);
}

.fh-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--fh-glass-border);
}

@media (max-width: 1024px) {
  .fh-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .fh-footer__grid { grid-template-columns: 1fr; gap: 24px; }
}

.fh-footer__brand {
  margin-bottom: 16px;
}

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

.fh-footer__logo span {
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: var(--fh-text-bright);
}

.fh-footer__about {
  font-size: 14px;
  color: var(--fh-text-muted);
  line-height: 1.6;
  margin-top: 12px;
  max-width: 360px;
}

.fh-footer__heading {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--fh-text-bright);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.fh-footer__links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fh-footer__links a {
  font-size: 14px;
  color: var(--fh-text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.fh-footer__links a:hover {
  color: var(--fh-gold);
}

.fh-footer__certs {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 24px 0;
  font-size: 12px;
  color: var(--fh-text-muted);
}

.fh-footer__certs span {
  padding: 6px 14px;
  background: var(--fh-glass);
  border-radius: 6px;
}

.fh-footer__bottom {
  padding: 20px 0;
  text-align: center;
}

.fh-footer__bottom p {
  font-size: 12px;
  color: var(--fh-text-muted);
  margin: 0;
}

/* ============================================
   BACK TO TOP
   ============================================ */
.fh-back-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: var(--fh-gold);
  border: none;
  border-radius: 50%;
  color: var(--fh-dark-900);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(212, 175, 55, 0.3);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.3s ease;
}

.fh-back-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.fh-back-top:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(212, 175, 55, 0.4);
}

/* ============================================
   AI CHATBOT
   ============================================ */
.fh-chat-btn {
  position: fixed;
  bottom: 24px;
  right: 80px;
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--fh-gold), var(--fh-gold-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.4);
  z-index: 9998;
  transition: transform 0.3s;
  border: none;
}

.fh-chat-btn:hover { transform: scale(1.1); }

.fh-chat {
  position: fixed;
  bottom: 90px;
  right: 24px;
  width: 380px;
  max-height: 520px;
  background: var(--fh-dark-800);
  border: 1px solid var(--fh-glass-border);
  border-radius: var(--fh-radius-lg);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
  z-index: 9997;
  display: none;
  flex-direction: column;
  overflow: hidden;
}

.fh-chat__header {
  background: var(--fh-dark-900);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--fh-glass-border);
}

.fh-chat__header-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.fh-chat__avatar {
  width: 30px;
  height: 30px;
  background: linear-gradient(135deg, var(--fh-gold), var(--fh-gold-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--fh-dark-900);
}

.fh-chat__name { color: var(--fh-text-bright); font-size: 14px; font-weight: 600; }
.fh-chat__sub { color: var(--fh-text-muted); font-size: 11px; }

.fh-chat__close {
  background: none;
  border: none;
  color: var(--fh-text-muted);
  cursor: pointer;
  font-size: 16px;
}

.fh-chat__messages {
  flex: 1;
  padding: 16px;
  overflow-y: auto;
  max-height: 340px;
  min-height: 200px;
}

.fh-chat__welcome {
  background: var(--fh-glass);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 13px;
  color: var(--fh-text-dim);
  line-height: 1.5;
}

.fh-chat__msg {
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.5;
  max-width: 85%;
  margin-bottom: 12px;
}

.fh-chat__msg--user {
  background: var(--fh-gold-dim);
  color: var(--fh-text-bright);
  margin-left: auto;
  border-radius: 10px 10px 2px 10px;
}

.fh-chat__msg--ai {
  background: var(--fh-glass);
  color: var(--fh-text-dim);
}

.fh-chat__msg--error {
  background: var(--fh-bear-dim);
  color: var(--fh-bear);
}

.fh-chat__loading {
  color: var(--fh-text-muted);
  font-size: 13px;
  margin-bottom: 12px;
}

.fh-chat__input-wrap {
  padding: 12px;
  border-top: 1px solid var(--fh-glass-border);
  display: flex;
  gap: 8px;
}

.fh-chat__input-wrap input {
  flex: 1;
  padding: 10px 14px;
  background: var(--fh-glass);
  border: 1px solid var(--fh-glass-border);
  border-radius: 8px;
  color: var(--fh-text-bright);
  font-size: 13px;
  outline: none;
}

.fh-chat__input-wrap input:focus {
  border-color: rgba(212, 175, 55, 0.3);
}

.fh-chat__send {
  padding: 10px 16px;
  background: linear-gradient(135deg, var(--fh-gold), var(--fh-gold-light));
  color: var(--fh-dark-900);
  border: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

@media (max-width: 640px) {
  .fh-chat { width: calc(100vw - 32px); right: 16px; }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .fh-section { padding: 60px 0; }
  .fh-hero { padding: 60px 0 40px; }
  .fh-hero__title { font-size: clamp(2rem, 4vw, 3rem); }
  .fh-stat-card__value { font-size: 24px; }
  .fh-market-card__price { font-size: 24px; }
  .fh-market-card--featured .fh-market-card__price { font-size: 30px; }
}

@media (max-width: 640px) {
  .fh-section { padding: 40px 0; }
  .fh-hero { padding: 40px 0 24px; }
  .fh-hero__stats { grid-template-columns: 1fr 1fr; gap: 8px; }
  .fh-stat-card { padding: 14px; }
  .fh-stat-card__value { font-size: 20px; }
  .fh-hero__actions { flex-direction: column; }
  .fh-btn { width: 100%; justify-content: center; }
  .fh-cta { padding: 60px 0; }
  .fh-heatmap__cell { padding: 14px 8px; }
}

/* ============================================
   ANIMATIONS
   ============================================ */
.fh-market-card,
.fh-heatmap__cell,
.fh-news-card,
.fh-tool-card,
.fh-cbrate {
  opacity: 0;
  animation: fh-fade-up 0.5s ease forwards;
}

.fh-market-card:nth-child(1) { animation-delay: 0.05s; }
.fh-market-card:nth-child(2) { animation-delay: 0.1s; }
.fh-market-card:nth-child(3) { animation-delay: 0.15s; }
.fh-market-card:nth-child(4) { animation-delay: 0.2s; }
.fh-market-card:nth-child(5) { animation-delay: 0.25s; }
.fh-market-card:nth-child(6) { animation-delay: 0.3s; }

.fh-tool-card:nth-child(1) { animation-delay: 0.05s; }
.fh-tool-card:nth-child(2) { animation-delay: 0.1s; }
.fh-tool-card:nth-child(3) { animation-delay: 0.15s; }
.fh-tool-card:nth-child(4) { animation-delay: 0.2s; }
.fh-tool-card:nth-child(5) { animation-delay: 0.25s; }
.fh-tool-card:nth-child(6) { animation-delay: 0.3s; }
.fh-tool-card:nth-child(7) { animation-delay: 0.35s; }
.fh-tool-card:nth-child(8) { animation-delay: 0.4s; }

.fh-news-card:nth-child(1) { animation-delay: 0.05s; }
.fh-news-card:nth-child(2) { animation-delay: 0.1s; }
.fh-news-card:nth-child(3) { animation-delay: 0.15s; }
.fh-news-card:nth-child(4) { animation-delay: 0.2s; }
.fh-news-card:nth-child(5) { animation-delay: 0.25s; }
.fh-news-card:nth-child(6) { animation-delay: 0.3s; }

.fh-cbrate:nth-child(1) { animation-delay: 0.05s; }
.fh-cbrate:nth-child(2) { animation-delay: 0.1s; }
.fh-cbrate:nth-child(3) { animation-delay: 0.15s; }
.fh-cbrate:nth-child(4) { animation-delay: 0.2s; }
.fh-cbrate:nth-child(5) { animation-delay: 0.25s; }

/* ============================================
   HEADER SHRINK & HIDE (#1)
   ============================================ */
.fh-header--scrolled {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
  border-bottom-color: rgba(212, 175, 55, 0.08);
}

.fh-header--scrolled .fh-header__inner {
  height: 48px;
}

.fh-header--scrolled .fh-header__logo-icon {
  width: 28px;
  height: 28px;
  font-size: 13px;
}

.fh-header--scrolled .fh-header__logo-text {
  font-size: 17px;
}

.fh-header--hidden {
  transform: translateY(-100%);
  transition: transform 0.3s ease;
}

.fh-header {
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-bottom-color 0.3s ease;
}

/* ============================================
   NAV ACTIVE & UNDERLINE (#13, #15)
   ============================================ */
.fh-nav-link--active {
  color: var(--fh-gold);
  position: relative;
}

.fh-nav-link--active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--fh-gold);
  border-radius: 2px;
}

.fh-nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  right: 50%;
  height: 2px;
  background: var(--fh-gold);
  border-radius: 2px;
  transition: left 0.25s ease, right 0.25s ease;
}

.fh-nav-link:hover::after {
  left: 14px;
  right: 14px;
}

/* ============================================
   DROPDOWN ENHANCEMENTS (#20, #34)
   ============================================ */
.fh-dropdown__group {
  padding: 4px 0;
}

.fh-dropdown__heading {
  display: block;
  padding: 6px 12px 4px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fh-text-muted);
}

.fh-dropdown__divider {
  height: 1px;
  background: var(--fh-glass-border);
  margin: 4px 0;
}

.fh-dropdown__icon {
  display: inline-block;
  width: 20px;
  text-align: center;
  margin-right: 4px;
}

/* ============================================
   MARKET STATUS DOT (#12)
   ============================================ */
.fh-topbar__status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin-right: 4px;
  vertical-align: middle;
}

.fh-topbar__status--open .fh-topbar__status-dot {
  background: var(--fh-bull);
  box-shadow: 0 0 6px rgba(16, 185, 129, 0.5);
  animation: fh-pulse 2s ease-in-out infinite;
}

.fh-topbar__status--closed .fh-topbar__status-dot {
  background: var(--fh-bear);
}

.fh-topbar__status--open {
  color: var(--fh-bull);
}

.fh-topbar__status--closed {
  color: var(--fh-text-muted);
}

/* ============================================
   SESSION PROGRESS BAR
   ============================================ */
.fh-topbar__session {
  display: flex;
  align-items: center;
  gap: 8px;
}

.fh-topbar__session-bar {
  width: 60px;
  height: 4px;
  background: var(--fh-glass);
  border-radius: 2px;
  overflow: hidden;
}

.fh-topbar__session-fill {
  height: 100%;
  background: var(--fh-gold);
  border-radius: 2px;
  transition: width 0.5s ease;
}

.fh-topbar__sep--hide-mobile {
  display: inline;
}

@media (max-width: 768px) {
  .fh-topbar__sep--hide-mobile,
  .fh-topbar__session { display: none; }
}

/* ============================================
   DARK MODE TOGGLE (#11)
   ============================================ */
.fh-topbar__dark-toggle {
  background: var(--fh-glass);
  border: 1px solid var(--fh-glass-border);
  color: var(--fh-text-dim);
  padding: 4px 8px;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: all 0.2s;
}

.fh-topbar__dark-toggle:hover {
  background: var(--fh-glass-hover);
  color: var(--fh-gold);
}

/* ============================================
   MOBILE MENU (#4)
   ============================================ */
.fh-header__mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.fh-header__hamburger {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 22px;
}

.fh-header__hamburger span {
  display: block;
  height: 2px;
  background: var(--fh-text-dim);
  border-radius: 2px;
  transition: all 0.3s ease;
}

@media (max-width: 1024px) {
  .fh-header__mobile-toggle { display: flex; align-items: center; }
}

.fh-mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
}

.fh-mobile-menu.is-open {
  pointer-events: auto;
}

.fh-mobile-menu__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.fh-mobile-menu.is-open .fh-mobile-menu__overlay {
  opacity: 1;
}

.fh-mobile-menu__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  max-width: 85vw;
  height: 100%;
  background: var(--fh-dark-900);
  border-left: 1px solid var(--fh-glass-border);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.fh-mobile-menu.is-open .fh-mobile-menu__panel {
  transform: translateX(0);
}

.fh-mobile-menu__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--fh-glass-border);
}

.fh-mobile-menu__close {
  background: none;
  border: none;
  color: var(--fh-text-muted);
  font-size: 20px;
  cursor: pointer;
  padding: 4px;
}

.fh-mobile-menu__close:hover {
  color: var(--fh-text-bright);
}

.fh-mobile-menu__nav {
  padding: 16px 0;
  flex: 1;
}

.fh-mobile-menu__link {
  display: block;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 600;
  color: var(--fh-text-dim);
  text-decoration: none;
  transition: all 0.15s;
}

.fh-mobile-menu__link:hover {
  color: var(--fh-text-bright);
  background: var(--fh-glass);
  padding-left: 28px;
}

.fh-mobile-menu__link--gold {
  color: var(--fh-gold);
}

.fh-mobile-menu__actions {
  padding: 16px 20px;
  border-top: 1px solid var(--fh-glass-border);
}

body.fh-menu-open {
  overflow: hidden;
}

/* ============================================
   HERO PARTICLES (#81)
   ============================================ */
.fh-hero__particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

/* ============================================
   HERO SCROLL INDICATOR (#100)
   ============================================ */
.fh-hero__scroll-indicator {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--fh-text-muted);
  transition: opacity 0.3s ease;
  animation: fh-bounce-down 2s ease-in-out infinite;
}

@keyframes fh-bounce-down {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

.fh-hero__scroll-indicator svg {
  opacity: 0.5;
}

/* ============================================
   HERO SOCIAL PROOF (#131)
   ============================================ */
.fh-hero__social-proof {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--fh-text-dim);
  margin-top: 16px;
}

.fh-hero__social-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--fh-bull);
  animation: fh-pulse 2s ease-in-out infinite;
}

.fh-hero__social-proof strong {
  color: var(--fh-text-bright);
}

/* ============================================
   HERO TOP MOVERS (#121-124)
   ============================================ */
.fh-hero__movers {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--fh-glass);
  border: 1px solid var(--fh-glass-border);
  border-radius: 100px;
  padding: 8px 16px;
  font-size: 12px;
}

.fh-hero__movers-label {
  color: var(--fh-text-muted);
  font-weight: 600;
  white-space: nowrap;
}

.fh-hero__movers-list {
  display: flex;
  gap: 8px;
  overflow: hidden;
}

.fh-hero__mover {
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  white-space: nowrap;
}

.fh-hero__mover--up {
  color: var(--fh-bull);
  background: var(--fh-bull-dim);
}

.fh-hero__mover--down {
  color: var(--fh-bear);
  background: var(--fh-bear-dim);
}

/* ============================================
   HERO BADGE SLIDE-IN (#160)
   ============================================ */
.fh-hero__badge {
  animation: fh-slide-in 0.6s ease both;
  animation-delay: 0.2s;
}

@keyframes fh-slide-in {
  from { opacity: 0; transform: translateX(-20px); }
  to { opacity: 1; transform: translateX(0); }
}

/* ============================================
   HERO WORD CAROUSEL TRANSITION (#158)
   ============================================ */
#fh-hero-word {
  transition: opacity 0.3s ease, transform 0.3s ease;
  display: inline-block;
}

/* ============================================
   STAT CARD ICON
   ============================================ */
.fh-stat-card__icon {
  font-size: 20px;
  margin-bottom: 4px;
  display: block;
}

/* ============================================
   TICKER CONTROLS (#161-220)
   ============================================ */
.fh-ticker {
  position: relative;
}

.fh-ticker__controls {
  display: flex;
  gap: 4px;
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
}

.fh-ticker__control {
  width: 28px;
  height: 28px;
  background: var(--fh-glass);
  border: 1px solid var(--fh-glass-border);
  color: var(--fh-text-dim);
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: all 0.2s;
}

.fh-ticker__control:hover {
  background: var(--fh-glass-hover);
  color: var(--fh-text-bright);
}

.fh-ticker__fade-left,
.fh-ticker__fade-right {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 3;
  pointer-events: none;
}

.fh-ticker__fade-left {
  left: 0;
  background: linear-gradient(90deg, var(--fh-dark-950), transparent);
}

.fh-ticker__fade-right {
  right: 0;
  background: linear-gradient(270deg, var(--fh-dark-950), transparent);
}

.fh-ticker__inner {
  padding-left: 100px;
  padding-right: 80px;
}

/* ============================================
   MARKET CARD META & RANGE (#221-310)
   ============================================ */
.fh-market-card__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}

.fh-market-card__tag {
  font-size: 11px;
  font-weight: 600;
  color: var(--fh-text-muted);
  padding: 2px 8px;
  background: var(--fh-glass);
  border-radius: 4px;
}

.fh-market-card__pe {
  font-size: 11px;
  color: var(--fh-text-muted);
  font-family: 'Inter', sans-serif;
}

.fh-market-card__range {
  margin-top: 8px;
}

.fh-market-card__range-bar {
  position: relative;
  width: 100%;
  height: 4px;
  background: var(--fh-glass);
  border-radius: 2px;
  overflow: visible;
}

.fh-market-card__range-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--fh-bear), var(--fh-gold), var(--fh-bull));
  border-radius: 2px;
  transition: width 0.5s ease;
}

.fh-market-card__range-dot {
  position: absolute;
  top: 50%;
  width: 8px;
  height: 8px;
  background: var(--fh-gold);
  border: 2px solid var(--fh-dark-900);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 6px rgba(212, 175, 55, 0.4);
  transition: left 0.5s ease;
}

/* ============================================
   VIEW TOGGLE (#221-310)
   ============================================ */
.fh-section__header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.fh-section__view-toggle {
  display: flex;
  gap: 4px;
  background: var(--fh-glass);
  border: 1px solid var(--fh-glass-border);
  border-radius: 6px;
  padding: 2px;
}

.fh-view-btn {
  width: 28px;
  height: 28px;
  background: transparent;
  border: none;
  color: var(--fh-text-muted);
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: all 0.2s;
}

.fh-view-btn:hover {
  color: var(--fh-text-bright);
}

.fh-view-btn--active {
  background: var(--fh-gold);
  color: var(--fh-dark-900);
}

.fh-bento--list {
  grid-template-columns: 1fr;
}

.fh-bento--list .fh-market-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
}

.fh-bento--list .fh-market-card__accent {
  display: none;
}

.fh-bento--list .fh-market-card__sparkline {
  display: none;
}

.fh-bento--list .fh-market-card__range {
  display: none;
}

.fh-bento--list .fh-market-card--featured {
  grid-column: span 1;
}

.fh-bento--list .fh-market-card--commodities {
  grid-column: span 1;
}

/* ============================================
   HEATMAP CONTROLS (#311-370)
   ============================================ */
.fh-heatmap__controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.fh-heatmap__time-tabs {
  display: flex;
  gap: 2px;
  background: var(--fh-glass);
  border: 1px solid var(--fh-glass-border);
  border-radius: 6px;
  padding: 2px;
}

.fh-heatmap__time-tab {
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--fh-text-muted);
  background: transparent;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
}

.fh-heatmap__time-tab:hover {
  color: var(--fh-text-bright);
}

.fh-heatmap__time-tab--active {
  background: var(--fh-gold);
  color: var(--fh-dark-900);
}

.fh-heatmap__fullscreen {
  width: 32px;
  height: 32px;
  background: var(--fh-glass);
  border: 1px solid var(--fh-glass-border);
  color: var(--fh-text-dim);
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: all 0.2s;
}

.fh-heatmap__fullscreen:hover {
  background: var(--fh-glass-hover);
  color: var(--fh-text-bright);
}

.fh-heatmap__icon {
  font-size: 16px;
  margin-bottom: 2px;
}

.fh-heatmap__legend {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  margin-top: 20px;
  font-size: 11px;
}

.fh-heatmap__legend-label {
  color: var(--fh-text-muted);
  font-weight: 600;
}

.fh-heatmap__legend-bar {
  width: 100px;
  height: 8px;
  background: linear-gradient(90deg, rgba(239, 68, 68, 0.4), rgba(100, 116, 139, 0.1));
  border-radius: 4px;
}

.fh-heatmap__legend-bar--up {
  background: linear-gradient(90deg, rgba(100, 116, 139, 0.1), rgba(16, 185, 129, 0.4));
}

/* ============================================
   CALENDAR FILTER (#371-440)
   ============================================ */
.fh-calendar__controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.fh-calendar__filter {
  background: var(--fh-glass);
  border: 1px solid var(--fh-glass-border);
  color: var(--fh-text-dim);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  cursor: pointer;
}

.fh-calendar__filter:focus {
  outline: none;
  border-color: rgba(212, 175, 55, 0.3);
}

/* ============================================
   CENTRAL BANK STANCE & NEXT MEETING (#441-500)
   ============================================ */
.fh-cbrate__info {
  flex: 1;
  min-width: 0;
}

.fh-cbrate__next {
  display: block;
  font-size: 11px;
  color: var(--fh-text-muted);
  margin-top: 2px;
}

.fh-cbrate__stance {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 2px 8px;
  border-radius: 4px;
  white-space: nowrap;
}

.fh-cbrate__stance--hawk {
  color: var(--fh-bear);
  background: var(--fh-bear-dim);
}

.fh-cbrate__stance--dove {
  color: var(--fh-bull);
  background: var(--fh-bull-dim);
}

.fh-cbrate__stance--neutral {
  color: var(--fh-gold);
  background: var(--fh-gold-dim);
}

/* ============================================
   NEWS BADGES, SENTIMENT, ACTIONS (#501-580)
   ============================================ */
.fh-news-card__badges {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.fh-news-card__sentiment {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 2px 8px;
  border-radius: 4px;
}

.fh-news-card__sentiment--bullish {
  color: var(--fh-bull);
  background: var(--fh-bull-dim);
}

.fh-news-card__sentiment--bearish {
  color: var(--fh-bear);
  background: var(--fh-bear-dim);
}

.fh-news-card__sentiment--neutral {
  color: var(--fh-gold);
  background: var(--fh-gold-dim);
}

.fh-news-card__new-badge {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 2px 8px;
  border-radius: 4px;
  color: #fff;
  background: linear-gradient(135deg, var(--fh-indigo), #818CF8);
  animation: fh-pulse 2s ease-in-out infinite;
}

.fh-news-card__views {
  color: var(--fh-text-muted);
}

.fh-news-card__actions {
  display: flex;
  gap: 4px;
  margin-top: 8px;
}

.fh-news-card__action {
  width: 28px;
  height: 28px;
  background: var(--fh-glass);
  border: 1px solid var(--fh-glass-border);
  color: var(--fh-text-muted);
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  transition: all 0.2s;
}

.fh-news-card__action:hover {
  background: var(--fh-glass-hover);
  color: var(--fh-text-bright);
}

.fh-news__controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.fh-news__tabs {
  display: flex;
  gap: 2px;
  background: var(--fh-glass);
  border: 1px solid var(--fh-glass-border);
  border-radius: 6px;
  padding: 2px;
}

.fh-news__tab {
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--fh-text-muted);
  background: transparent;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
}

.fh-news__tab:hover {
  color: var(--fh-text-bright);
}

.fh-news__tab--active {
  background: var(--fh-gold);
  color: var(--fh-dark-900);
}

/* ============================================
   TOOL CARD BADGES & SHORTCUTS (#581-650)
   ============================================ */
.fh-tool-card__badge {
  position: absolute;
  top: 8px;
  right: 8px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 2px 8px;
  border-radius: 4px;
}

.fh-tool-card__badge--popular {
  color: var(--fh-bull);
  background: var(--fh-bull-dim);
}

.fh-tool-card__badge--new {
  color: var(--fh-indigo);
  background: var(--fh-indigo-dim);
}

.fh-tool-card__shortcut {
  position: absolute;
  bottom: 8px;
  right: 8px;
  font-size: 10px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  color: var(--fh-text-muted);
  background: var(--fh-glass);
  border: 1px solid var(--fh-glass-border);
  border-radius: 4px;
  padding: 1px 6px;
  line-height: 1.4;
}

/* ============================================
   CTA ENHANCEMENTS (#651-700)
   ============================================ */
.fh-cta__social-proof {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--fh-glass);
  border: 1px solid var(--fh-glass-border);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 13px;
  color: var(--fh-text-dim);
  margin-bottom: 20px;
}

.fh-cta__avatars {
  display: flex;
}

.fh-cta__avatar {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  background: var(--fh-dark-700);
  border: 2px solid var(--fh-dark-900);
  border-radius: 50%;
  margin-left: -6px;
}

.fh-cta__avatar:first-child {
  margin-left: 0;
}

.fh-cta__features {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.fh-cta__feature {
  font-size: 13px;
  color: var(--fh-text-dim);
  font-weight: 500;
}

.fh-cta__stars {
  margin-top: 20px;
  font-size: 13px;
  color: var(--fh-text-muted);
}

.fh-cta__stars span:first-child {
  display: block;
  font-size: 18px;
  margin-bottom: 4px;
}

.fh-btn--lg {
  padding: 16px 36px;
  font-size: 17px;
}

.fh-btn--shimmer {
  position: relative;
  overflow: hidden;
}

.fh-btn--shimmer::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(255, 255, 255, 0.15) 50%,
    transparent 70%
  );
  animation: fh-btn-shimmer 3s ease-in-out infinite;
}

@keyframes fh-btn-shimmer {
  0% { transform: translateX(-100%) rotate(45deg); }
  100% { transform: translateX(100%) rotate(45deg); }
}

/* ============================================
   FOOTER SOCIAL ICONS (#702)
   ============================================ */
.fh-footer__social {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.fh-footer__social a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--fh-glass);
  border: 1px solid var(--fh-glass-border);
  border-radius: 8px;
  color: var(--fh-text-muted);
  transition: all 0.25s ease;
}

.fh-footer__social a:hover {
  background: var(--fh-gold-dim);
  border-color: rgba(212, 175, 55, 0.2);
  color: var(--fh-gold);
  transform: translateY(-2px);
}

/* ============================================
   FOOTER APP BADGES (#704)
   ============================================ */
.fh-footer__apps {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.fh-footer__app-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 14px;
  background: var(--fh-glass);
  border: 1px solid var(--fh-glass-border);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--fh-text-dim);
  text-decoration: none;
  transition: all 0.2s;
}

.fh-footer__app-badge:hover {
  background: var(--fh-glass-hover);
  color: var(--fh-text-bright);
}

/* ============================================
   FOOTER DATA ATTRIBUTION (#741)
   ============================================ */
.fh-footer__data-attr {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 16px 0;
  font-size: 11px;
  color: var(--fh-text-muted);
  border-top: 1px solid var(--fh-glass-border);
}

/* ============================================
   FOOTER CERTIFICATIONS (#745)
   ============================================ */
.fh-footer__certs {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 20px 0;
  border-top: 1px solid var(--fh-glass-border);
}

.fh-footer__certs span {
  font-size: 11px;
  font-weight: 600;
  color: var(--fh-text-muted);
  padding: 4px 12px;
  background: var(--fh-glass);
  border: 1px solid var(--fh-glass-border);
  border-radius: 6px;
}

/* ============================================
   COOKIE CONSENT BANNER (#757)
   ============================================ */
.fh-cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--fh-dark-800);
  border-top: 1px solid var(--fh-glass-border);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.3);
}

.fh-cookie-banner__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.fh-cookie-banner__inner p {
  margin: 0;
  font-size: 13px;
  color: var(--fh-text-dim);
  line-height: 1.5;
}

.fh-cookie-banner__inner a {
  color: var(--fh-gold);
  text-decoration: underline;
}

.fh-cookie-banner__actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .fh-cookie-banner__inner {
    flex-direction: column;
    text-align: center;
    padding: 16px;
  }
}

/* ============================================
   KEYBOARD SHORTCUTS OVERLAY (#72)
   ============================================ */
.fh-shortcuts-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
}

.fh-shortcuts-overlay.is-visible {
  opacity: 1;
  visibility: visible;
}

.fh-shortcuts-overlay__inner {
  background: var(--fh-dark-800);
  border: 1px solid var(--fh-glass-border);
  border-radius: var(--fh-radius-lg);
  padding: 32px;
  min-width: 320px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
}

.fh-shortcuts-overlay__inner h3 {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: var(--fh-text-bright);
  margin: 0 0 20px;
}

.fh-shortcuts-overlay__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fh-shortcuts-overlay__item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--fh-text-dim);
}

.fh-shortcuts-overlay__item kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 26px;
  padding: 0 6px;
  background: var(--fh-glass);
  border: 1px solid var(--fh-glass-border);
  border-radius: 4px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: var(--fh-text-bright);
}

.fh-shortcuts-overlay__close {
  margin-top: 20px;
  width: 100%;
  padding: 10px;
  background: var(--fh-glass);
  border: 1px solid var(--fh-glass-border);
  color: var(--fh-text-dim);
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s;
}

.fh-shortcuts-overlay__close:hover {
  background: var(--fh-glass-hover);
  color: var(--fh-text-bright);
}

/* ============================================
   TOAST NOTIFICATIONS (#763)
   ============================================ */
.fh-toast-container {
  position: fixed;
  top: 80px;
  right: 24px;
  z-index: 99998;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fh-toast {
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--fh-text-bright);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  transform: translateX(120%);
  transition: transform 0.3s ease;
  max-width: 340px;
}

.fh-toast--visible {
  transform: translateX(0);
}

.fh-toast--info {
  background: var(--fh-dark-700);
  border: 1px solid var(--fh-glass-border);
}

.fh-toast--success {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--fh-bull);
}

.fh-toast--error {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: var(--fh-bear);
}

.fh-toast--warning {
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: var(--fh-gold);
}

/* ============================================
   SCROLL REVEAL (#776)
   ============================================ */
.fh-market-card,
.fh-heatmap__cell,
.fh-news-card,
.fh-tool-card,
.fh-cbrate,
.fh-stat-card {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.fh-revealed {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* ============================================
   SKIP LINKS (#921-960)
   ============================================ */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--fh-gold);
  color: var(--fh-dark-900);
  padding: 8px 16px;
  border-radius: 0 0 8px 8px;
  font-size: 14px;
  font-weight: 700;
  z-index: 99999;
  text-decoration: none;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============================================
   LIGHT MODE OVERRIDES (#11)
   ============================================ */
body.fh-light-mode {
  --fh-dark-950: #f8fafc;
  --fh-dark-900: #ffffff;
  --fh-dark-800: #f1f5f9;
  --fh-dark-700: #e2e8f0;
  --fh-dark-600: #cbd5e1;
  --fh-glass: rgba(0, 0, 0, 0.03);
  --fh-glass-border: rgba(0, 0, 0, 0.08);
  --fh-glass-hover: rgba(0, 0, 0, 0.06);
  --fh-text-bright: #0f172a;
  --fh-text-dim: #475569;
  --fh-text-muted: #94a3b8;
}

body.fh-light-mode .fh-hero {
  background: linear-gradient(160deg, #f8fafc 0%, #ffffff 30%, #f1f5f9 60%, #ffffff 100%);
}

body.fh-light-mode .fh-hero__grid {
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
}

body.fh-light-mode .fh-cta {
  background: linear-gradient(160deg, #f8fafc 0%, #ffffff 40%, #f1f5f9 70%, #ffffff 100%);
}

body.fh-light-mode .fh-cta::before {
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.02) 1px, transparent 1px);
}

/* ============================================
   REDUCED MOTION (@media prefers-reduced-motion)
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .fh-ticker__inner {
    animation: none !important;
  }

  .fh-hero__particles {
    display: none;
  }

  .fh-hero__scroll-indicator {
    animation: none;
  }
}

/* ============================================
   RESPONSIVE FIXES
   ============================================ */
@media (max-width: 640px) {
  .fh-ticker__controls { display: none; }
  .fh-ticker__fade-left,
  .fh-ticker__fade-right { width: 40px; }
  .fh-ticker__inner { padding-left: 48px; padding-right: 48px; }
  .fh-heatmap__controls { flex-direction: column; align-items: flex-end; gap: 8px; }
  .fh-cta__features { flex-direction: column; align-items: center; }
  .fh-cta__social-proof { font-size: 12px; padding: 4px 12px; }
  .fh-news__controls { flex-direction: column; align-items: flex-end; gap: 8px; }
  .fh-calendar__controls { flex-direction: column; align-items: flex-end; gap: 8px; }
  .fh-section__header-actions { flex-direction: column; align-items: flex-end; gap: 8px; }
  .fh-toast-container { right: 16px; left: 16px; }
  .fh-toast { max-width: 100%; }
}
