/* ===== XMvsExness — Versus Comparison Design System ===== */

/* --- Google Fonts loaded in HTML: Sora (headings), Inter (body) --- */

:root {
  --vs-bg: #0a0e17;
  --vs-surface: #0f1520;
  --vs-card: #141c2b;
  --vs-card-hover: #1a2436;
  --vs-primary: #06b6d4;
  --vs-primary-light: #22d3ee;
  --vs-primary-dark: #0891b2;
  --vs-primary-glow: rgba(6, 182, 212, 0.15);
  --vs-xm-color: #1a73e8;
  --vs-xm-bg: rgba(26, 115, 232, 0.08);
  --vs-xm-border: rgba(26, 115, 232, 0.25);
  --vs-exness-color: #f59e0b;
  --vs-exness-bg: rgba(245, 158, 11, 0.08);
  --vs-exness-border: rgba(245, 158, 11, 0.25);
  --vs-text: #cbd5e1;
  --vs-text-bright: #f1f5f9;
  --vs-text-muted: #64748b;
  --vs-border: #1e293b;
  --vs-glass: rgba(15, 21, 32, 0.7);
  --vs-glass-border: rgba(6, 182, 212, 0.12);
  --vs-radius: 16px;
  --vs-radius-sm: 10px;
  --vs-radius-xs: 6px;
  --vs-transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --vs-max-width: 1200px;
  --vs-article-width: 860px;
  --vs-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
  --vs-shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.4);
}

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

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

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--vs-bg);
  color: var(--vs-text);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a { color: var(--vs-primary-light); text-decoration: none; transition: color var(--vs-transition); }
a:hover { color: var(--vs-primary); }

h1, h2, h3, h4, h5, h6 {
  font-family: 'Sora', sans-serif;
  color: var(--vs-text-bright);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.1rem); margin-top: 2.5rem; margin-bottom: 1rem; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.55rem); margin-top: 2rem; margin-bottom: 0.75rem; }
h4 { font-size: 1.15rem; margin-top: 1.5rem; margin-bottom: 0.5rem; }

p { margin-bottom: 1.1rem; }

ul, ol { margin: 0 0 1.2rem 1.6rem; }
li { margin-bottom: 0.4rem; }

hr {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--vs-primary), transparent);
  margin: 3rem 0;
  opacity: 0.4;
}

/* --- Utility --- */
.container {
  max-width: var(--vs-max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.article-container {
  max-width: var(--vs-article-width);
  margin: 0 auto;
  padding: 0 24px;
}

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

/* --- Glass Morphism Base --- */
.glass {
  background: var(--vs-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--vs-glass-border);
  border-radius: var(--vs-radius);
}

/* --- Gradient Border Utility --- */
.gradient-border {
  position: relative;
  border-radius: var(--vs-radius);
  background: var(--vs-card);
}
.gradient-border::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: calc(var(--vs-radius) + 1px);
  background: linear-gradient(135deg, var(--vs-primary), transparent 50%, var(--vs-primary-dark));
  z-index: -1;
  opacity: 0.5;
  transition: opacity var(--vs-transition);
}
.gradient-border:hover::before {
  opacity: 0.8;
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 14, 23, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--vs-border);
  transition: background var(--vs-transition), box-shadow var(--vs-transition);
}

.site-header.scrolled {
  background: rgba(10, 14, 23, 0.95);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

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

.site-logo {
  font-family: 'Sora', sans-serif;
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--vs-text-bright);
  letter-spacing: -0.03em;
  text-decoration: none;
}
.site-logo span {
  color: var(--vs-primary);
}
.site-logo .vs-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--vs-primary);
  color: var(--vs-bg);
  font-size: 0.65rem;
  font-weight: 800;
  width: 22px;
  height: 22px;
  border-radius: 5px;
  margin: 0 3px;
  vertical-align: middle;
  letter-spacing: 0;
}

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

.header-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--vs-text-muted);
  transition: color var(--vs-transition);
}
.header-nav a:hover {
  color: var(--vs-text-bright);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 20px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--vs-bg) !important;
  background: var(--vs-primary);
  border-radius: 8px;
  transition: all var(--vs-transition);
  text-decoration: none;
}
.nav-cta:hover {
  background: var(--vs-primary-light);
  color: var(--vs-bg) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(6, 182, 212, 0.35);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--vs-text);
  margin: 5px 0;
  transition: all var(--vs-transition);
}

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .header-nav {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(10, 14, 23, 0.97);
    backdrop-filter: blur(20px);
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid var(--vs-border);
    transform: translateY(-120%);
    opacity: 0;
    transition: all 0.35s ease;
  }
  .header-nav.open {
    transform: translateY(0);
    opacity: 1;
  }
}

/* ============================================
   BREADCRUMB
   ============================================ */
.breadcrumb {
  padding: 20px 0 8px;
  font-size: 0.82rem;
  color: var(--vs-text-muted);
}
.breadcrumb a {
  color: var(--vs-text-muted);
}
.breadcrumb a:hover {
  color: var(--vs-primary);
}
.breadcrumb .sep {
  margin: 0 8px;
  opacity: 0.5;
}

/* ============================================
   HERO — VERSUS STYLE
   ============================================ */
.hero {
  padding: 120px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, var(--vs-primary-glow) 0%, transparent 70%);
  pointer-events: none;
}

.hero-vs-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  padding: 6px 20px;
  background: rgba(6, 182, 212, 0.08);
  border: 1px solid rgba(6, 182, 212, 0.2);
  border-radius: 40px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--vs-primary-light);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero-vs-badge .vs-icon {
  width: 24px;
  height: 24px;
  background: var(--vs-primary);
  color: var(--vs-bg);
  font-size: 0.6rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
}

.hero h1 {
  font-size: clamp(2.2rem, 5.5vw, 3.5rem);
  max-width: 800px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--vs-text-bright) 0%, var(--vs-primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--vs-text-muted);
  max-width: 600px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

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

.hero-stat {
  text-align: center;
}
.hero-stat .num {
  font-family: 'Sora', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--vs-primary);
}
.hero-stat .label {
  font-size: 0.78rem;
  color: var(--vs-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ============================================
   VS SPLIT CARDS — core comparison component
   ============================================ */
.vs-split {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  align-items: stretch;
  margin: 2rem 0;
}

.vs-split-card {
  padding: 28px;
  border-radius: var(--vs-radius);
  position: relative;
}

.vs-split-card.xm-side {
  background: var(--vs-xm-bg);
  border: 1px solid var(--vs-xm-border);
  border-right: none;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.vs-split-card.exness-side {
  background: var(--vs-exness-bg);
  border: 1px solid var(--vs-exness-border);
  border-left: none;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.vs-split-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  background: var(--vs-card);
  border-top: 1px solid var(--vs-border);
  border-bottom: 1px solid var(--vs-border);
  position: relative;
  z-index: 2;
}

.vs-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--vs-primary);
  color: var(--vs-bg);
  font-family: 'Sora', sans-serif;
  font-size: 0.75rem;
  font-weight: 800;
  border-radius: 10px;
  box-shadow: 0 0 20px var(--vs-primary-glow);
}

.vs-split-card h4 {
  font-size: 1.1rem;
  margin-bottom: 12px;
  color: var(--vs-text-bright);
}

.vs-split-card.xm-side h4 { color: var(--vs-xm-color); }
.vs-split-card.exness-side h4 { color: var(--vs-exness-color); }

@media (max-width: 700px) {
  .vs-split {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .vs-split-card.xm-side {
    border-right: 1px solid var(--vs-xm-border);
    border-bottom: none;
    border-radius: var(--vs-radius) var(--vs-radius) 0 0;
  }
  .vs-split-card.exness-side {
    border-left: 1px solid var(--vs-exness-border);
    border-top: none;
    border-radius: 0 0 var(--vs-radius) var(--vs-radius);
  }
  .vs-split-divider {
    width: 100%;
    height: 52px;
    border-top: none;
    border-bottom: none;
    border-left: 1px solid var(--vs-border);
    border-right: 1px solid var(--vs-border);
  }
}

/* ============================================
   ARTICLE CARDS GRID
   ============================================ */
.articles-section {
  padding: 60px 0;
}

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

.section-heading h2 {
  margin-top: 0;
}

.section-heading p {
  color: var(--vs-text-muted);
  max-width: 520px;
  margin: 8px auto 0;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

.article-card {
  background: var(--vs-card);
  border: 1px solid var(--vs-border);
  border-radius: var(--vs-radius);
  padding: 28px;
  transition: all var(--vs-transition);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  display: block;
}

.article-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--vs-xm-color), var(--vs-primary), var(--vs-exness-color));
  opacity: 0;
  transition: opacity var(--vs-transition);
}

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

.article-card:hover::before {
  opacity: 1;
}

.article-card .card-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 5px;
  margin-bottom: 14px;
}

.card-tag.comparison {
  background: var(--vs-primary-glow);
  color: var(--vs-primary);
  border: 1px solid rgba(6, 182, 212, 0.2);
}

.card-tag.guide {
  background: rgba(139, 92, 246, 0.1);
  color: #a78bfa;
  border: 1px solid rgba(139, 92, 246, 0.2);
}

.card-tag.regional {
  background: rgba(16, 185, 129, 0.1);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.article-card h3 {
  font-size: 1.15rem;
  margin: 0 0 10px;
  color: var(--vs-text-bright);
  line-height: 1.35;
}

.article-card p {
  font-size: 0.9rem;
  color: var(--vs-text-muted);
  margin-bottom: 16px;
  line-height: 1.6;
}

.card-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.78rem;
  color: var(--vs-text-muted);
}

.card-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ============================================
   ARTICLE BODY
   ============================================ */
.article-body {
  padding: 40px 0 60px;
}

.article-body p {
  font-size: 1.02rem;
  color: var(--vs-text);
}

.article-body a {
  color: var(--vs-primary);
  text-decoration: underline;
  text-decoration-color: rgba(6, 182, 212, 0.3);
  text-underline-offset: 3px;
  transition: all var(--vs-transition);
}
.article-body a:hover {
  color: var(--vs-primary-light);
  text-decoration-color: var(--vs-primary);
}

.article-body ul, .article-body ol {
  margin: 0.5rem 0 1.4rem 1.6rem;
}

.article-body li {
  margin-bottom: 0.5rem;
  color: var(--vs-text);
}

.article-body blockquote {
  border-left: 3px solid var(--vs-primary);
  background: var(--vs-primary-glow);
  padding: 16px 20px;
  margin: 1.5rem 0;
  border-radius: 0 var(--vs-radius-sm) var(--vs-radius-sm) 0;
  font-style: italic;
  color: var(--vs-text);
}

.article-body strong {
  color: var(--vs-text-bright);
  font-weight: 600;
}

/* ============================================
   COMPARISON TABLE — Special Styled
   ============================================ */
.comparison-table-wrap {
  margin: 2rem 0;
  overflow-x: auto;
  border-radius: var(--vs-radius);
  border: 1px solid var(--vs-border);
  background: var(--vs-card);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.comparison-table thead th {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 16px 20px;
  background: var(--vs-surface);
  border-bottom: 2px solid var(--vs-border);
  text-align: left;
  color: var(--vs-text-muted);
  white-space: nowrap;
}

.comparison-table thead th:nth-child(2) {
  color: var(--vs-xm-color);
  border-bottom-color: var(--vs-xm-color);
}

.comparison-table thead th:nth-child(3) {
  color: var(--vs-exness-color);
  border-bottom-color: var(--vs-exness-color);
}

.comparison-table tbody td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--vs-border);
  vertical-align: middle;
}

.comparison-table tbody tr:last-child td {
  border-bottom: none;
}

.comparison-table tbody tr:hover {
  background: rgba(6, 182, 212, 0.03);
}

.comparison-table tbody td:first-child {
  font-weight: 600;
  color: var(--vs-text-bright);
  white-space: nowrap;
}

.comparison-table .winner-cell {
  background: rgba(6, 182, 212, 0.06);
  color: var(--vs-primary);
  font-weight: 600;
}

.comparison-table .draw-cell {
  background: rgba(139, 92, 246, 0.06);
  color: #a78bfa;
}

/* ============================================
   SCORE BADGE
   ============================================ */
.score-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 8px;
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
}

.score-badge.xm {
  background: var(--vs-xm-bg);
  color: var(--vs-xm-color);
  border: 1px solid var(--vs-xm-border);
}

.score-badge.exness {
  background: var(--vs-exness-bg);
  color: var(--vs-exness-color);
  border: 1px solid var(--vs-exness-border);
}

.score-badge.tie {
  background: var(--vs-primary-glow);
  color: var(--vs-primary);
  border: 1px solid rgba(6, 182, 212, 0.2);
}

.score-badge .score-num {
  font-size: 1.3rem;
}

.score-badge .score-max {
  font-size: 0.75rem;
  color: var(--vs-text-muted);
  font-weight: 500;
}

/* ============================================
   VERDICT BOX
   ============================================ */
.verdict-box {
  margin: 2.5rem 0;
  padding: 32px;
  border-radius: var(--vs-radius);
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.06) 0%, rgba(6, 182, 212, 0.02) 100%);
  border: 1px solid rgba(6, 182, 212, 0.2);
  position: relative;
  overflow: hidden;
}

.verdict-box::before {
  content: 'VERDICT';
  position: absolute;
  top: -8px;
  right: 24px;
  font-family: 'Sora', sans-serif;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: var(--vs-bg);
  background: var(--vs-primary);
  padding: 4px 14px;
  border-radius: 0 0 8px 8px;
}

.verdict-box h3 {
  color: var(--vs-primary);
  margin-top: 0;
  margin-bottom: 12px;
}

.verdict-box p {
  color: var(--vs-text);
}

/* ============================================
   PROS / CONS CARDS
   ============================================ */
.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 2rem 0;
}

@media (max-width: 600px) {
  .pros-cons {
    grid-template-columns: 1fr;
  }
}

.pros-card, .cons-card {
  padding: 24px;
  border-radius: var(--vs-radius);
}

.pros-card {
  background: rgba(16, 185, 129, 0.06);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.cons-card {
  background: rgba(239, 68, 68, 0.06);
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.pros-card h4 {
  color: #34d399;
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.cons-card h4 {
  color: #f87171;
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pros-card ul, .cons-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pros-card li, .cons-card li {
  padding: 6px 0 6px 22px;
  position: relative;
  font-size: 0.92rem;
  color: var(--vs-text);
}

.pros-card li::before {
  content: '+';
  position: absolute;
  left: 0;
  color: #34d399;
  font-weight: 700;
  font-size: 1rem;
}

.cons-card li::before {
  content: '−';
  position: absolute;
  left: 0;
  color: #f87171;
  font-weight: 700;
  font-size: 1rem;
}

/* ============================================
   CTA BLOCK — Dual Broker
   ============================================ */
.cta-block {
  margin: 3rem 0;
  padding: 40px 32px;
  border-radius: var(--vs-radius);
  background: var(--vs-card);
  border: 1px solid var(--vs-border);
  text-align: center;
  position: relative;
  overflow: hidden;
}

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

.cta-block h3 {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 1.4rem;
}

.cta-block p {
  color: var(--vs-text-muted);
  margin-bottom: 24px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* CTA Buttons — two broker variants */
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--vs-radius-sm);
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all var(--vs-transition);
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.cta-btn::after {
  content: '→';
  transition: transform var(--vs-transition);
}

.cta-btn:hover::after {
  transform: translateX(4px);
}

.cta-btn.xm-btn {
  background: var(--vs-xm-color);
  color: #fff;
  box-shadow: 0 4px 20px rgba(26, 115, 232, 0.3);
}

.cta-btn.xm-btn:hover {
  background: #2b80ea;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(26, 115, 232, 0.45);
}

.cta-btn.exness-btn {
  background: var(--vs-exness-color);
  color: #1a1a1a;
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.3);
}

.cta-btn.exness-btn:hover {
  background: #fbbf24;
  color: #1a1a1a;
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(245, 158, 11, 0.45);
}

/* Generic cyan CTA */
.cta-btn.primary-btn {
  background: var(--vs-primary);
  color: var(--vs-bg);
  box-shadow: 0 4px 20px var(--vs-primary-glow);
}

.cta-btn.primary-btn:hover {
  background: var(--vs-primary-light);
  color: var(--vs-bg);
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(6, 182, 212, 0.4);
}

/* ============================================
   TABLE OF CONTENTS
   ============================================ */
.toc {
  margin: 2rem 0;
  padding: 24px 28px;
  background: var(--vs-card);
  border: 1px solid var(--vs-border);
  border-radius: var(--vs-radius);
  position: relative;
}

.toc::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 3px;
  background: var(--vs-primary);
  border-radius: 3px 0 0 3px;
}

.toc h4 {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--vs-primary);
  margin: 0 0 14px;
}

.toc ol {
  margin: 0;
  padding-left: 1.3rem;
  counter-reset: toc-counter;
}

.toc li {
  margin-bottom: 8px;
  list-style: none;
  counter-increment: toc-counter;
  position: relative;
  padding-left: 8px;
}

.toc li::before {
  content: counter(toc-counter) '.';
  position: absolute;
  left: -22px;
  font-family: 'Sora', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--vs-primary);
}

.toc a {
  color: var(--vs-text);
  font-size: 0.92rem;
  text-decoration: none;
  transition: color var(--vs-transition);
}

.toc a:hover {
  color: var(--vs-primary);
}

/* ============================================
   RISK DISCLAIMER
   ============================================ */
.risk-disclaimer {
  margin: 3rem 0;
  padding: 20px 24px;
  background: rgba(239, 68, 68, 0.05);
  border: 1px solid rgba(239, 68, 68, 0.15);
  border-radius: var(--vs-radius-sm);
  font-size: 0.8rem;
  color: var(--vs-text-muted);
  line-height: 1.7;
}

.risk-disclaimer strong {
  color: #f87171;
  font-weight: 600;
}

/* ============================================
   AUTHOR BIO
   ============================================ */
.author-bio {
  display: flex;
  gap: 20px;
  padding: 28px;
  margin: 3rem 0;
  background: var(--vs-card);
  border: 1px solid var(--vs-border);
  border-radius: var(--vs-radius);
}

.author-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--vs-primary), var(--vs-primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--vs-bg);
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.author-info h4 {
  margin: 0 0 4px;
  font-size: 1rem;
  color: var(--vs-text-bright);
}

.author-info .author-title {
  font-size: 0.82rem;
  color: var(--vs-primary);
  margin-bottom: 8px;
}

.author-info p {
  font-size: 0.88rem;
  color: var(--vs-text-muted);
  margin: 0;
}

@media (max-width: 500px) {
  .author-bio {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

/* ============================================
   STICKY CTA (Bottom Bar)
   ============================================ */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: rgba(10, 14, 23, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--vs-border);
  padding: 12px 24px;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.sticky-cta.visible {
  transform: translateY(0);
}

.sticky-cta-inner {
  max-width: var(--vs-max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.sticky-cta .cta-btn {
  padding: 10px 24px;
  font-size: 0.85rem;
}

.sticky-cta .sticky-text {
  font-size: 0.85rem;
  color: var(--vs-text-muted);
  font-weight: 500;
}

@media (max-width: 600px) {
  .sticky-cta .sticky-text {
    display: none;
  }
  .sticky-cta .cta-btn {
    padding: 10px 18px;
    font-size: 0.8rem;
  }
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  border-top: 1px solid var(--vs-border);
  padding: 48px 0 32px;
  margin-top: 60px;
}

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

@media (max-width: 700px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

.footer-brand .site-logo {
  margin-bottom: 12px;
  display: inline-block;
}

.footer-brand p {
  font-size: 0.88rem;
  color: var(--vs-text-muted);
  max-width: 340px;
  line-height: 1.7;
}

.footer-links h5 {
  font-family: 'Sora', sans-serif;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--vs-text-bright);
  margin-bottom: 16px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.footer-links a {
  color: var(--vs-text-muted);
  font-size: 0.88rem;
  transition: color var(--vs-transition);
}

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

.footer-bottom {
  max-width: var(--vs-max-width);
  margin: 0 auto;
  padding: 24px 24px 0;
  border-top: 1px solid var(--vs-border);
  margin-top: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.78rem;
  color: var(--vs-text-muted);
}

/* ============================================
   ARTICLE PAGE SPECIFIC
   ============================================ */
.article-hero {
  padding: 100px 0 40px;
  text-align: center;
}

.article-hero .hero-vs-badge {
  margin-bottom: 16px;
}

.article-hero h1 {
  font-size: clamp(1.8rem, 4.5vw, 2.8rem);
  max-width: 760px;
  margin: 0 auto 16px;
}

.article-meta {
  display: flex;
  justify-content: center;
  gap: 20px;
  font-size: 0.82rem;
  color: var(--vs-text-muted);
  flex-wrap: wrap;
}

.article-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}

/* ============================================
   INFO BOX / CALLOUT
   ============================================ */
.info-box {
  margin: 1.5rem 0;
  padding: 20px 24px;
  background: rgba(6, 182, 212, 0.06);
  border: 1px solid rgba(6, 182, 212, 0.15);
  border-radius: var(--vs-radius-sm);
  font-size: 0.92rem;
}

.info-box.warning {
  background: rgba(245, 158, 11, 0.06);
  border-color: rgba(245, 158, 11, 0.15);
}

/* ============================================
   HOMEPAGE ARTICLE SECTION
   ============================================ */
.home-section {
  padding: 60px 0;
}

.vs-line {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 48px 0;
}

.vs-line::before,
.vs-line::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--vs-border), transparent);
}

.vs-line .vs-badge {
  width: 36px;
  height: 36px;
  font-size: 0.65rem;
}

/* ============================================
   RESPONSIVE TWEAKS
   ============================================ */
@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.8rem;
  }
  .hero-sub {
    font-size: 0.95rem;
  }
  .cta-btn {
    padding: 12px 24px;
    font-size: 0.88rem;
    width: 100%;
    justify-content: center;
  }
  .cta-buttons {
    flex-direction: column;
  }
  .hero-stats {
    gap: 24px;
  }
  .articles-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   LOADING ANIMATION
   ============================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
}

/* ============================================
   SCROLLBAR
   ============================================ */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--vs-bg);
}
::-webkit-scrollbar-thumb {
  background: var(--vs-border);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--vs-primary-dark);
}

/* ============================================
   PRINT
   ============================================ */
@media print {
  .site-header, .sticky-cta, .cta-block { display: none; }
  body { background: #fff; color: #333; }
  h1, h2, h3, h4 { color: #111; }
}
