/* ===== TRADER LOCKBOX — VAULT/SECURITY DARK STEEL + ELECTRIC GREEN ===== */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500;600;700&display=swap');

/* --- CSS Variables --- */
:root {
  --bg: #06080a;
  --surface: #0e1114;
  --surface-2: #141a1f;
  --surface-3: #1a2229;
  --primary: #22c55e;
  --primary-light: #4ade80;
  --primary-dark: #16a34a;
  --secondary: #94a3b8;
  --accent: #eab308;
  --accent-light: #facc15;
  --danger: #ef4444;
  --danger-light: #f87171;
  --text: #e2e8f0;
  --text-bright: #f8fafc;
  --muted: #64748b;
  --border: #1e293b;
  --border-chrome: linear-gradient(135deg, #475569, #94a3b8, #475569);
  --shadow-green: 0 0 20px rgba(34, 197, 94, 0.15);
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.4);
  --font-head: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --radius: 4px;
  --max-width: 1200px;
}

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

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

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--primary-light);
}

img {
  max-width: 100%;
  height: auto;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  color: var(--text-bright);
  line-height: 1.2;
  font-weight: 700;
}

h1 { font-size: 2.75rem; margin-bottom: 1rem; }
h2 { font-size: 2rem; margin-bottom: 0.85rem; }
h3 { font-size: 1.5rem; margin-bottom: 0.75rem; }
h4 { font-size: 1.25rem; margin-bottom: 0.5rem; }

p { margin-bottom: 1rem; }

.mono {
  font-family: var(--font-mono);
}

/* --- Candlestick Background Decoration --- */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.03;
  background-image:
    /* green candles */
    linear-gradient(var(--primary), var(--primary)),
    linear-gradient(var(--primary), var(--primary)),
    linear-gradient(var(--primary), var(--primary)),
    linear-gradient(var(--primary), var(--primary)),
    linear-gradient(var(--primary), var(--primary)),
    /* red candles */
    linear-gradient(var(--danger), var(--danger)),
    linear-gradient(var(--danger), var(--danger)),
    linear-gradient(var(--danger), var(--danger)),
    /* wicks */
    linear-gradient(var(--secondary), var(--secondary)),
    linear-gradient(var(--secondary), var(--secondary)),
    linear-gradient(var(--secondary), var(--secondary)),
    linear-gradient(var(--secondary), var(--secondary)),
    linear-gradient(var(--secondary), var(--secondary)),
    linear-gradient(var(--secondary), var(--secondary)),
    linear-gradient(var(--secondary), var(--secondary)),
    linear-gradient(var(--secondary), var(--secondary));
  background-size:
    20px 80px, 20px 50px, 20px 110px, 20px 65px, 20px 90px,
    20px 70px, 20px 45px, 20px 95px,
    2px 120px, 2px 90px, 2px 150px, 2px 100px, 2px 130px,
    2px 110px, 2px 80px, 2px 135px;
  background-position:
    10% 20%, 25% 40%, 40% 15%, 60% 50%, 80% 30%,
    18% 60%, 50% 70%, 72% 45%,
    10.7% 15%, 25.7% 32%, 40.7% 8%, 60.7% 42%, 80.7% 22%,
    18.7% 52%, 50.7% 63%, 72.7% 37%;
  background-repeat: no-repeat;
}

/* --- Ticker Bar --- */
.ticker-bar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  height: 36px;
  display: flex;
  align-items: center;
}

.ticker-track {
  display: inline-flex;
  animation: tickerScroll 40s linear infinite;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 24px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--secondary);
}

.ticker-item .pair {
  color: var(--text);
  font-weight: 600;
}

.ticker-item .price {
  color: var(--text);
}

.ticker-item .change.up {
  color: var(--primary);
}

.ticker-item .change.down {
  color: var(--danger);
}

.arrow-up {
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-bottom: 6px solid var(--primary);
  margin-right: 2px;
}

.arrow-down {
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 6px solid var(--danger);
  margin-right: 2px;
}

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

/* --- Header --- */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(14, 17, 20, 0.92);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

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

.logo-icon {
  width: 36px;
  height: 36px;
  border: 2px solid var(--primary);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.logo-icon::before {
  content: '';
  width: 14px;
  height: 14px;
  border: 2px solid var(--primary);
  border-radius: 50%;
  position: absolute;
}

.logo-icon::after {
  content: '';
  width: 4px;
  height: 10px;
  background: var(--primary);
  position: absolute;
  bottom: 4px;
  border-radius: 1px;
}

.logo-text {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-bright);
}

.logo-text span {
  color: var(--primary);
}

/* Navigation */
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
}

.main-nav a {
  color: var(--secondary);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
  position: relative;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--primary);
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: 0.3s;
}

/* --- Hero Section --- */
.hero {
  position: relative;
  padding: 100px 24px 80px;
  text-align: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 6px 16px;
  font-size: 0.8rem;
  color: var(--secondary);
  margin-bottom: 24px;
  font-family: var(--font-mono);
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero h1 {
  font-size: 3.5rem;
  max-width: 800px;
  margin: 0 auto 16px;
  line-height: 1.1;
}

.hero h1 .green {
  color: var(--primary);
}

.hero .subtitle {
  font-size: 1.15rem;
  color: var(--secondary);
  max-width: 600px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 48px;
}

.hero-stat {
  text-align: center;
}

.hero-stat .number {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
}

.hero-stat .label {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 4px;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: all 0.25s ease;
  text-decoration: none;
}

.btn-primary {
  background: var(--primary);
  color: var(--bg);
}

.btn-primary:hover {
  background: var(--primary-light);
  color: var(--bg);
  box-shadow: 0 0 24px rgba(34, 197, 94, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
}

.btn-outline:hover {
  background: rgba(34, 197, 94, 0.1);
  color: var(--primary-light);
}

.btn-gold {
  background: var(--accent);
  color: var(--bg);
}

.btn-gold:hover {
  background: var(--accent-light);
  color: var(--bg);
  box-shadow: 0 0 24px rgba(234, 179, 8, 0.3);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
}

/* --- Container --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* --- Section --- */
.section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 48px;
}

.section-title h2 {
  font-size: 2.25rem;
  margin-bottom: 12px;
}

.section-title p {
  color: var(--muted);
  max-width: 550px;
  margin: 0 auto;
}

.section-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

/* --- Watchlist / Terminal Table --- */
.watchlist {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.watchlist-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
}

.watchlist-header h3 {
  font-size: 1rem;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.terminal-dots {
  display: flex;
  gap: 6px;
}

.terminal-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.terminal-dots .dot-r { background: var(--danger); }
.terminal-dots .dot-y { background: var(--accent); }
.terminal-dots .dot-g { background: var(--primary); }

.watchlist table {
  width: 100%;
  border-collapse: collapse;
}

.watchlist th {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--muted);
  padding: 12px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-weight: 500;
}

.watchlist td {
  padding: 16px 20px;
  border-bottom: 1px solid rgba(30, 41, 59, 0.5);
  font-size: 0.9rem;
}

.watchlist tr:last-child td {
  border-bottom: none;
}

.watchlist tr:hover {
  background: rgba(34, 197, 94, 0.03);
}

.watchlist .rank {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--muted);
  font-size: 0.85rem;
}

.watchlist .rank-1 { color: var(--accent); }

.watchlist .broker-name {
  font-weight: 600;
  color: var(--text-bright);
}

.watchlist .broker-tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  background: rgba(34, 197, 94, 0.1);
  color: var(--primary);
  padding: 2px 8px;
  border-radius: 2px;
  margin-left: 8px;
}

.watchlist .spread,
.watchlist .leverage,
.watchlist .score-val {
  font-family: var(--font-mono);
  font-weight: 600;
}

.watchlist .score-val {
  color: var(--primary);
  font-size: 1.05rem;
}

.watchlist .score-bar {
  width: 60px;
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  margin-top: 4px;
  overflow: hidden;
}

.watchlist .score-bar-fill {
  height: 100%;
  background: var(--primary);
  border-radius: 2px;
}

/* --- Broker Cards --- */
.broker-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

.broker-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--secondary);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.broker-card.recommended {
  border-left-color: var(--primary);
  box-shadow: var(--shadow-green);
}

.broker-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.broker-card .card-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 3px 10px;
  border-radius: 2px;
}

.broker-card .card-badge.top {
  background: rgba(34, 197, 94, 0.12);
  color: var(--primary);
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.broker-card .card-badge.premium {
  background: rgba(234, 179, 8, 0.12);
  color: var(--accent);
  border: 1px solid rgba(234, 179, 8, 0.3);
}

.broker-card h3 {
  margin-bottom: 4px;
}

.broker-card .broker-meta {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 16px;
}

.broker-card .card-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}

.card-stat {
  background: var(--surface-2);
  padding: 12px;
  border-radius: var(--radius);
}

.card-stat .label {
  font-size: 0.7rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: var(--font-mono);
}

.card-stat .value {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-bright);
  margin-top: 2px;
}

.card-stat .value.green { color: var(--primary); }

.broker-card .pros {
  list-style: none;
  margin-bottom: 20px;
}

.broker-card .pros li {
  padding: 4px 0;
  font-size: 0.85rem;
  color: var(--secondary);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.broker-card .pros li::before {
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 7px solid var(--primary);
  margin-top: 6px;
  flex-shrink: 0;
}

/* --- Feature Grid --- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.feature-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: border-color 0.3s;
}

.feature-box:hover {
  border-color: var(--primary);
}

.feature-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  border: 2px solid var(--primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.feature-icon::before {
  content: '';
  position: absolute;
  width: 24px;
  height: 24px;
  border: 2px solid var(--primary);
  border-radius: 50%;
}

.feature-icon.shield::before {
  border-radius: 4px 4px 50% 50%;
  height: 28px;
  width: 22px;
}

.feature-icon.chart::before {
  border: none;
  border-left: 2px solid var(--primary);
  border-bottom: 2px solid var(--primary);
  border-radius: 0;
  width: 22px;
  height: 18px;
}

.feature-icon.lock::before {
  border-radius: 50% 50% 0 0;
  width: 16px;
  height: 14px;
  top: 10px;
}

.feature-icon.lock::after {
  content: '';
  width: 22px;
  height: 16px;
  background: var(--primary);
  border-radius: 3px;
  position: absolute;
  bottom: 8px;
  opacity: 0.3;
}

.feature-box h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.feature-box p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* --- Article Cards --- */
.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

.article-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s;
}

.article-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
}

.article-card .card-img {
  height: 180px;
  background: var(--surface-2);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.article-card .card-img .chart-deco {
  width: 80%;
  height: 60%;
  border-left: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  position: relative;
}

.article-card .card-img .chart-deco::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 10%;
  width: 80%;
  height: 70%;
  background: linear-gradient(135deg, transparent 30%, rgba(34,197,94,0.15) 100%);
  clip-path: polygon(0 80%, 20% 40%, 40% 60%, 60% 20%, 80% 45%, 100% 10%, 100% 100%, 0 100%);
}

.article-card .card-body {
  padding: 24px;
}

.article-card .card-tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary);
  margin-bottom: 8px;
}

.article-card h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
  line-height: 1.35;
}

.article-card h3 a {
  color: var(--text-bright);
}

.article-card h3 a:hover {
  color: var(--primary);
}

.article-card p {
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.5;
  margin-bottom: 16px;
}

.article-card .read-more {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.article-card .read-more::after {
  content: '-->';
}

/* --- Vault Decorative --- */
.vault-deco {
  width: 80px;
  height: 80px;
  border: 3px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  position: relative;
}

.vault-deco::before {
  content: '';
  width: 40px;
  height: 40px;
  border: 3px solid var(--primary);
  border-radius: 50%;
}

.vault-deco::after {
  content: '';
  width: 12px;
  height: 12px;
  background: var(--primary);
  border-radius: 50%;
  position: absolute;
}

/* --- Risk Disclaimer --- */
.risk-disclaimer {
  background: var(--surface);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-left: 3px solid var(--danger);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin: 32px 0;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.6;
}

.risk-disclaimer strong {
  color: var(--danger);
  font-weight: 600;
}

/* --- CTA Section --- */
.cta-section {
  text-align: center;
  padding: 80px 24px;
  position: relative;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(34, 197, 94, 0.04) 50%, transparent 100%);
  pointer-events: none;
}

.cta-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 60px 40px;
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.cta-box h2 {
  font-size: 2rem;
  margin-bottom: 12px;
}

.cta-box p {
  color: var(--muted);
  margin-bottom: 28px;
}

/* --- Footer --- */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 60px 24px 24px;
  position: relative;
  z-index: 1;
}

.footer-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand .logo {
  margin-bottom: 16px;
}

.footer-brand p {
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.6;
  max-width: 300px;
}

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--muted);
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul a {
  color: var(--secondary);
  font-size: 0.85rem;
}

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

.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.75rem;
  color: var(--muted);
  margin: 0;
}

.footer-disclaimer {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 20px 0 0;
  font-size: 0.7rem;
  color: var(--muted);
  line-height: 1.6;
}

/* --- Article Page Layout --- */
.article-page {
  max-width: 820px;
  margin: 0 auto;
  padding: 60px 24px 80px;
  position: relative;
  z-index: 1;
}

.article-page .breadcrumb {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 32px;
}

.article-page .breadcrumb a {
  color: var(--muted);
}

.article-page .breadcrumb a:hover {
  color: var(--primary);
}

.article-page .article-meta {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 12px;
  display: flex;
  gap: 16px;
}

.article-page h1 {
  font-size: 2.75rem;
  margin-bottom: 20px;
  line-height: 1.15;
}

.article-page .article-intro {
  font-size: 1.1rem;
  color: var(--secondary);
  line-height: 1.7;
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}

.article-content h2 {
  margin-top: 48px;
  margin-bottom: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.article-content h3 {
  margin-top: 32px;
  margin-bottom: 12px;
}

.article-content p {
  margin-bottom: 16px;
  line-height: 1.8;
  color: var(--secondary);
}

.article-content ul, .article-content ol {
  margin-bottom: 16px;
  padding-left: 24px;
}

.article-content li {
  margin-bottom: 8px;
  color: var(--secondary);
  line-height: 1.7;
}

.article-content strong {
  color: var(--text-bright);
}

.article-content .inline-cta {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--primary);
  padding: 24px;
  border-radius: var(--radius);
  margin: 32px 0;
  text-align: center;
}

.article-content .inline-cta p {
  color: var(--text);
  margin-bottom: 16px;
}

/* --- FAQ Section --- */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 8px;
  overflow: hidden;
  background: var(--surface);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  cursor: pointer;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
  transition: background 0.2s;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
}

.faq-question:hover {
  background: var(--surface-2);
}

.faq-question .toggle {
  font-family: var(--font-mono);
  color: var(--primary);
  font-size: 1.2rem;
  transition: transform 0.3s;
}

.faq-item.active .faq-question .toggle {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-answer-inner {
  padding: 0 24px 18px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

/* --- Comparison Table (in articles) --- */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 0.88rem;
}

.comparison-table th {
  background: var(--surface-2);
  padding: 12px 16px;
  text-align: left;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
  border-bottom: 2px solid var(--border);
}

.comparison-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--secondary);
}

.comparison-table tr:hover {
  background: rgba(34, 197, 94, 0.03);
}

.comparison-table .highlight-row {
  background: rgba(34, 197, 94, 0.05);
  border-left: 3px solid var(--primary);
}

.comparison-table .mono-val {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--text-bright);
}

/* --- Scroll Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero h1 {
    font-size: 2.75rem;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
  }

  .main-nav.open {
    max-height: 400px;
  }

  .main-nav ul {
    flex-direction: column;
    padding: 16px 24px;
    gap: 0;
  }

  .main-nav li {
    border-bottom: 1px solid var(--border);
  }

  .main-nav li:last-child {
    border-bottom: none;
  }

  .main-nav a {
    display: block;
    padding: 12px 0;
  }

  h1 { font-size: 2rem; }
  h2 { font-size: 1.65rem; }

  .hero {
    padding: 60px 24px 50px;
  }

  .hero h1 {
    font-size: 2.25rem;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 24px;
  }

  .hero-stat {
    width: calc(50% - 12px);
  }

  .broker-cards {
    grid-template-columns: 1fr;
  }

  .article-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .article-page h1 {
    font-size: 2rem;
  }

  .watchlist {
    overflow-x: auto;
  }

  .watchlist table {
    min-width: 600px;
  }

  .cta-box {
    padding: 40px 24px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.85rem;
  }

  .hero-stats {
    flex-direction: column;
    align-items: center;
  }

  .hero-stat {
    width: 100%;
  }

  .btn-lg {
    padding: 14px 28px;
    font-size: 0.95rem;
    width: 100%;
    justify-content: center;
  }
}

/* --- Utility --- */
.text-center { text-align: center; }
.text-green { color: var(--primary); }
.text-red { color: var(--danger); }
.text-gold { color: var(--accent); }
.text-muted { color: var(--muted); }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.gap-2 { gap: 16px; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-wrap { flex-wrap: wrap; }
