/* ============================================================
   Indicators Guide — indicators-guide.css
   Design tokens: gold/black RTL, matches existing guide pages
   ============================================================ */
@import url("/static/fonts/vazirmatn.css");

:root {
  --gold:         #c9a961;
  --gold-light:   #e5d4a1;
  --gold-dark:    #8b7355;
  --black:        #0a0a0a;
  --black-light:  #111111;
  --black-mid:    #161616;
  --black-lighter:#1a1a1a;
  --gray-dark:    #2a2a2a;
  --gray:         #666666;
  --gray-light:   #999999;
  --white:        #ffffff;
  --green:        #22c55e;
  --red:          #ef4444;
  --blue:         #3b82f6;
  --orange:       #f97316;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Vazirmatn", sans-serif;
  background: var(--black);
  color: var(--white);
  direction: rtl;
  line-height: 1.8;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ── Hero ────────────────────────────────────────────────── */
.ind-hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding-top: 80px;
  overflow: hidden;
}
#chartCanvas {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  opacity: 0.28;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0.65) 0%, rgba(10,10,10,0.92) 100%);
}
.hero-content {
  position: relative; z-index: 10;
  text-align: center; max-width: 820px; margin: 0 auto;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(201,169,97,0.12);
  border: 1px solid rgba(201,169,97,0.35);
  color: var(--gold);
  padding: 7px 18px; border-radius: 50px;
  font-size: 0.9rem; margin-bottom: 1.5rem;
}
.hero-title {
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 800;
  background: linear-gradient(135deg, var(--white) 0%, var(--gold-light) 50%, var(--gold) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2; margin-bottom: 1.2rem;
}
.hero-subtitle { font-size: 1.1rem; color: var(--gray-light); margin-bottom: 2.5rem; line-height: 1.7; }
.hero-stats { display: flex; gap: 2rem; justify-content: center; flex-wrap: wrap; }
.stat-item { text-align: center; }
.stat-number {
  font-size: 2.4rem; font-weight: 800; color: var(--gold);
  font-variant-numeric: tabular-nums;
}
.stat-label { font-size: 0.82rem; color: var(--gray-light); margin-top: 2px; }

/* scroll indicator */
.scroll-indicator {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--gray-light); font-size: 0.8rem; z-index: 10;
}
.mouse {
  width: 22px; height: 36px; border: 2px solid rgba(201,169,97,0.5);
  border-radius: 12px; display: flex; justify-content: center; padding-top: 5px;
}
.wheel {
  width: 4px; height: 8px; background: var(--gold);
  border-radius: 2px;
  animation: scrollWheel 1.6s ease-in-out infinite;
}
@keyframes scrollWheel { 0%,100%{opacity:1;transform:translateY(0)} 50%{opacity:0.3;transform:translateY(6px)} }

/* ── Reading Progress ─────────────────────────────────── */
.reading-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 2000;
  background: rgba(255,255,255,0.06);
}
.progress-bar { height: 100%; width: 0; background: var(--gold); transition: width 0.1s linear; }

/* ── TOC ──────────────────────────────────────────────── */
.toc-section { padding: 70px 0 60px; background: var(--black-mid); }
.section-title {
  font-size: 1.6rem; font-weight: 700; color: var(--gold);
  text-align: center; margin-bottom: 2rem;
}
.toc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}
.toc-item {
  display: flex; align-items: center; gap: 12px;
  background: var(--black-lighter);
  border: 1px solid rgba(201,169,97,0.1);
  border-radius: 10px;
  padding: 14px 16px;
  text-decoration: none; color: var(--white);
  transition: border-color 0.25s, background 0.25s, transform 0.2s;
}
.toc-item:hover {
  border-color: var(--gold);
  background: rgba(201,169,97,0.06);
  transform: translateY(-2px);
}
.toc-number {
  min-width: 32px; height: 32px;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.78rem; font-weight: 700; color: var(--black);
}
.toc-text { font-size: 0.9rem; }

/* ── Chapters ─────────────────────────────────────────── */
.chapter { padding: 80px 0; }
.chapter-alt { background: var(--black-mid); }

.chapter-header {
  display: flex; align-items: flex-start; gap: 20px; margin-bottom: 2.5rem;
}
.chapter-number {
  min-width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; font-weight: 800; color: var(--black);
  flex-shrink: 0;
}
.chapter-title { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; color: var(--white); line-height: 1.3; }
.chapter-subtitle { color: var(--gold); font-size: 0.95rem; margin-top: 4px; }

/* reveal animation */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.visible { opacity: 1; transform: none; }

.body-text { color: rgba(255,255,255,0.8); line-height: 1.85; margin-bottom: 1.2rem; }
.sub-title { font-size: 1.2rem; font-weight: 700; color: var(--gold); margin-bottom: 1.2rem; }

/* ── Two / Three column grids ─────────────────────────── */
.two-col-grid   { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; }
.three-col-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }

/* ── Highlight Box ────────────────────────────────────── */
.highlight-box {
  display: flex; align-items: flex-start; gap: 14px;
  background: rgba(201,169,97,0.07);
  border: 1px solid rgba(201,169,97,0.25);
  border-right: 4px solid var(--gold);
  border-radius: 10px;
  padding: 18px 20px;
  margin-top: 1.8rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
}
.hl-icon { flex-shrink: 0; color: var(--gold); margin-top: 2px; }
.compact-hl { margin-top: 1rem; font-size: 0.9rem; }

/* ── Info Card ────────────────────────────────────────── */
.info-card {
  background: var(--black-lighter);
  border: 1px solid rgba(201,169,97,0.2);
  border-radius: 14px;
  padding: 24px;
}
.info-card-title { font-size: 1rem; font-weight: 700; color: var(--gold); margin-bottom: 1rem; }
.styled-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.styled-list li {
  display: flex; align-items: center; gap: 10px;
  color: rgba(255,255,255,0.8); font-size: 0.9rem; padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.styled-list li::before { content: "◆"; color: var(--gold); font-size: 0.6rem; flex-shrink: 0; }

/* ── Type Cards ───────────────────────────────────────── */
.type-cards-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem; margin-bottom: 3rem;
}
.type-card {
  background: var(--black-lighter);
  border: 1px solid rgba(201,169,97,0.1);
  border-radius: 14px; padding: 24px;
  transition: border-color 0.25s, transform 0.25s;
}
.type-card:hover { border-color: var(--gold); transform: translateY(-3px); }
.type-icon {
  width: 52px; height: 52px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.trend-col     { background: rgba(34,197,94,0.12); color: var(--green); }
.momentum-col  { background: rgba(201,169,97,0.12); color: var(--gold); }
.volume-col    { background: rgba(59,130,246,0.12); color: var(--blue); }
.volatility-col{ background: rgba(249,115,22,0.12); color: var(--orange); }
.type-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.6rem; }
.type-card p  { font-size: 0.88rem; color: var(--gray-light); margin-bottom: 1rem; line-height: 1.6; }
.tag-row { display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  background: rgba(201,169,97,0.1);
  border: 1px solid rgba(201,169,97,0.2);
  color: var(--gold-light); font-size: 0.75rem;
  padding: 3px 10px; border-radius: 20px;
}

/* ── Comparison Table ─────────────────────────────────── */
.compare-table { border-radius: 12px; overflow: hidden; border: 1px solid rgba(201,169,97,0.15); }
.ct-head { display: grid; grid-template-columns: 1.2fr 1fr 1fr; }
.ct-row  { display: grid; grid-template-columns: 1.2fr 1fr 1fr; border-top: 1px solid rgba(255,255,255,0.05); }
.ct-cell { padding: 13px 16px; font-size: 0.88rem; }
.ct-label { background: rgba(255,255,255,0.03); color: var(--gray-light); font-weight: 600; }
.ct-gold  { background: rgba(201,169,97,0.15); color: var(--gold); font-weight: 700; text-align: center; }
.ct-dark  { background: rgba(255,255,255,0.04); color: var(--gray-light); font-weight: 700; text-align: center; }
.ct-row .ct-cell { background: var(--black-lighter); color: rgba(255,255,255,0.8); }
.text-red   { color: var(--red); }
.text-green { color: var(--green); }

/* ── Moving Average blocks ────────────────────────────── */
.ma-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 1.5rem; }
.ma-block {
  background: var(--black-lighter);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px; padding: 24px;
}
.ma-block-head { display: flex; align-items: center; gap: 12px; margin-bottom: 0.8rem; }
.ma-block-head h4 { font-size: 1rem; font-weight: 700; }
.ma-badge {
  padding: 4px 12px; border-radius: 6px;
  font-size: 0.8rem; font-weight: 700;
}
.sma-badge { background: rgba(59,130,246,0.2); color: #60a5fa; border: 1px solid rgba(59,130,246,0.3); }
.ema-badge { background: rgba(201,169,97,0.2); color: var(--gold); border: 1px solid rgba(201,169,97,0.3); }
.sma-block { border-color: rgba(59,130,246,0.2); }
.ema-block { border-color: rgba(201,169,97,0.2); }
.formula {
  font-family: 'Courier New', monospace; font-size: 0.82rem;
  background: rgba(0,0,0,0.4); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px; padding: 10px 14px;
  color: var(--gold-light); margin: 10px 0; direction: ltr; text-align: left;
  white-space: pre-wrap; line-height: 1.5;
}
.ma-note { font-size: 0.82rem; color: var(--gray-light); margin-top: 6px; }

/* ── Signal Panel ─────────────────────────────────────── */
.signal-panel {
  background: var(--black-lighter);
  border: 1px solid rgba(201,169,97,0.12);
  border-radius: 14px; padding: 22px;
}
.signal-panel-title { font-size: 1rem; font-weight: 700; color: var(--gold); margin-bottom: 1.2rem; }
.signal-row {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.05);
}
.signal-row:last-child { border-bottom: none; }
.signal-row strong { display: block; font-size: 0.9rem; margin-bottom: 3px; }
.signal-row p { font-size: 0.82rem; color: var(--gray-light); margin: 0; }
.sig-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; margin-top: 5px; }
.green-dot  { background: var(--green); box-shadow: 0 0 8px rgba(34,197,94,0.5); }
.red-dot    { background: var(--red);   box-shadow: 0 0 8px rgba(239,68,68,0.5); }
.gold-dot   { background: var(--gold);  box-shadow: 0 0 8px rgba(201,169,97,0.5); }
.gray-dot   { background: var(--gray);  }
.blue-dot   { background: var(--blue);  }
.orange-dot { background: var(--orange);}

/* ── Settings Panel ───────────────────────────────────── */
.settings-panel {
  background: var(--black-lighter);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px; padding: 20px;
}
.settings-title { font-size: 1rem; font-weight: 700; color: var(--gold); margin-bottom: 1rem; }
.setting-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.05);
}
.setting-row:last-child { border-bottom: none; }
.sr-label { font-weight: 700; color: var(--gold-light); font-size: 0.9rem; }
.sr-desc  { font-size: 0.82rem; color: var(--gray-light); }

/* ── RSI meter ────────────────────────────────────────── */
.rsi-meter {
  background: var(--black-lighter);
  border: 1px solid rgba(201,169,97,0.12);
  border-radius: 14px; overflow: hidden; margin-bottom: 1rem;
}
.rsi-zone {
  position: relative;
  display: flex; align-items: center; gap: 14px;
  padding: 12px 18px; border-bottom: 1px solid rgba(255,255,255,0.05);
}
.rsi-zone:last-child { border-bottom: none; }
.rz-fill { position: absolute; inset: 0; pointer-events: none; }
.rz-label { position: relative; display: flex; align-items: center; gap: 14px; width: 100%; }
.rz-val { font-size: 1rem; font-weight: 700; color: var(--gold); min-width: 36px; }
.rz-desc { font-size: 0.85rem; color: rgba(255,255,255,0.75); }
.rsi-canvas { width: 100%; height: 120px; border-radius: 10px; display: block; }

/* ── Advanced cards ───────────────────────────────────── */
.adv-cards-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 1.5rem; }
.adv-card {
  background: var(--black-lighter);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px; padding: 16px;
}
.adv-card h4 { font-size: 0.9rem; font-weight: 700; margin-bottom: 6px; }
.adv-card p  { font-size: 0.82rem; color: var(--gray-light); margin-bottom: 10px; line-height: 1.55; }
.badge { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 0.75rem; font-weight: 600; }
.green-badge { background: rgba(34,197,94,0.15); color: var(--green); border: 1px solid rgba(34,197,94,0.3); }
.red-badge   { background: rgba(239,68,68,0.15); color: var(--red);   border: 1px solid rgba(239,68,68,0.3); }
.gold-badge  { background: rgba(201,169,97,0.15); color: var(--gold); border: 1px solid rgba(201,169,97,0.3); }

/* ── Formula block ────────────────────────────────────── */
.formula-block { display: flex; flex-direction: column; gap: 10px; margin: 1rem 0; }
.formula-step {
  display: flex; align-items: flex-start; gap: 12px;
  background: rgba(0,0,0,0.35); border-radius: 10px; padding: 12px 16px;
}
.step-badge {
  min-width: 36px; height: 28px; border-radius: 6px;
  background: rgba(201,169,97,0.2); color: var(--gold);
  font-size: 0.78rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.formula-step code { font-family: 'Courier New', monospace; font-size: 0.82rem; color: var(--gold-light); direction: ltr; }
.formula-step small { display: block; color: var(--gray-light); font-size: 0.78rem; margin-top: 4px; }

/* ── MACD Components ──────────────────────────────────── */
.macd-components-row { display: flex; flex-direction: column; gap: 14px; }
.macd-comp { display: flex; align-items: flex-start; gap: 16px; background: var(--black-lighter); border-radius: 12px; padding: 18px; }
.mc-dot { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; margin-top: 6px; }
.macd-comp strong { display: block; font-size: 0.95rem; margin-bottom: 4px; }
.macd-comp p { font-size: 0.85rem; color: var(--gray-light); margin: 0; }
.macd-comp .formula { margin: 6px 0 0; }

/* ── Settings Group ───────────────────────────────────── */
.settings-group { display: flex; flex-direction: column; gap: 12px; }
.settings-card {
  background: var(--black-lighter); border: 1px solid rgba(201,169,97,0.12);
  border-radius: 12px; padding: 16px;
}
.sc-title { font-size: 0.85rem; color: var(--gold); font-weight: 700; display: block; margin-bottom: 8px; }
.sc-vals { display: flex; gap: 14px; flex-wrap: wrap; }
.sc-vals span { font-size: 0.82rem; color: var(--gray-light); }
.sc-vals b { color: var(--white); }

/* ── Bollinger Canvas ─────────────────────────────────── */
.bb-canvas { width: 100%; height: 200px; border-radius: 12px; display: block; background: rgba(0,0,0,0.3); }

/* ── Band Cards ───────────────────────────────────────── */
.band-card {
  background: var(--black-lighter); border-radius: 14px;
  padding: 22px; text-align: center;
}
.band-name { font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }
.band-formula { font-family: 'Courier New', monospace; font-size: 1rem; font-weight: 700; margin-bottom: 10px; }
.band-card p { font-size: 0.85rem; color: var(--gray-light); line-height: 1.55; }
.upper-card { border: 1px solid rgba(239,68,68,0.25); }
.upper-card .band-name   { color: var(--red); }
.upper-card .band-formula{ color: #f87171; }
.mid-card   { border: 1px solid rgba(201,169,97,0.25); }
.mid-card .band-name     { color: var(--gold); }
.mid-card .band-formula  { color: var(--gold-light); }
.lower-card { border: 1px solid rgba(34,197,94,0.25); }
.lower-card .band-name   { color: var(--green); }
.lower-card .band-formula{ color: #4ade80; }

/* ── Strategy Row ─────────────────────────────────────── */
.strategy-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.strat-card {
  background: var(--black-lighter);
  border: 1px solid rgba(201,169,97,0.1);
  border-radius: 14px; padding: 22px;
  transition: border-color 0.25s, transform 0.25s;
}
.strat-card:hover { border-color: var(--gold); transform: translateY(-3px); }
.strat-num {
  width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: var(--black); font-weight: 800; font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 12px;
}
.strat-card h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 8px; }
.strat-card p  { font-size: 0.85rem; color: var(--gray-light); line-height: 1.6; margin-bottom: 12px; }
.strat-badge {
  display: inline-block; padding: 3px 12px; border-radius: 20px;
  font-size: 0.75rem; font-weight: 600;
  background: rgba(201,169,97,0.12); color: var(--gold);
  border: 1px solid rgba(201,169,97,0.25);
}

/* ── Stochastic types ─────────────────────────────────── */
.stoch-types { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 1rem; }
.stoch-type { background: rgba(0,0,0,0.3); border-radius: 10px; padding: 14px; }
.stoch-type h4 { font-size: 0.9rem; font-weight: 700; margin-bottom: 6px; color: var(--gold-light); }
.stoch-type p  { font-size: 0.82rem; color: var(--gray-light); }

/* ── Volume Cards ─────────────────────────────────────── */
.vol-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.vol-card {
  background: var(--black-lighter);
  border: 1px solid rgba(59,130,246,0.15);
  border-radius: 14px; padding: 24px;
  transition: border-color 0.25s, transform 0.25s;
}
.vol-card:hover { border-color: var(--blue); transform: translateY(-3px); }
.vol-icon {
  width: 50px; height: 50px; border-radius: 12px;
  background: rgba(59,130,246,0.12); color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.vol-card h3 { font-size: 0.95rem; font-weight: 700; margin-bottom: 8px; }
.vol-card p  { font-size: 0.85rem; color: var(--gray-light); line-height: 1.6; margin-bottom: 10px; }
.small-formula {
  font-family: 'Courier New', monospace; font-size: 0.78rem;
  background: rgba(0,0,0,0.5); color: var(--gold-light);
  padding: 8px 12px; border-radius: 6px; direction: ltr;
}

/* Volume rules */
.vol-rules-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.vol-rule {
  display: flex; align-items: center; gap: 14px;
  border-radius: 12px; padding: 16px 18px;
}
.green-rule { background: rgba(34,197,94,0.06); border: 1px solid rgba(34,197,94,0.2); }
.red-rule   { background: rgba(239,68,68,0.06); border: 1px solid rgba(239,68,68,0.2); }
.vr-arrow { font-size: 1.2rem; flex-shrink: 0; }
.green-rule .vr-arrow { color: var(--green); }
.red-rule   .vr-arrow { color: var(--red); }
.vol-rule p { font-size: 0.85rem; color: rgba(255,255,255,0.8); line-height: 1.5; }

/* ── Ichimoku ─────────────────────────────────────────── */
.ichi-lines { display: flex; flex-direction: column; gap: 12px; margin: 1.5rem 0; }
.ichi-line {
  display: flex; align-items: flex-start; gap: 16px;
  background: var(--black-lighter); border-radius: 12px; padding: 18px;
}
.ichi-dot { width: 14px; height: 14px; border-radius: 50%; flex-shrink: 0; margin-top: 5px; }
.tenkan-dot { background: #3b82f6; }
.kijun-dot  { background: #ef4444; }
.spana-dot  { background: #22c55e; }
.spanb-dot  { background: #f97316; }
.chikou-dot { background: #a855f7; }
.ichi-content h4 { font-size: 0.92rem; font-weight: 700; margin-bottom: 6px; }
.ichi-content p  { font-size: 0.84rem; color: var(--gray-light); margin-top: 6px; line-height: 1.55; }

.ichi-rule-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 2rem; }
.ichi-rule-card { border-radius: 14px; padding: 22px; }
.bull-card { background: rgba(34,197,94,0.05); border: 1px solid rgba(34,197,94,0.25); }
.bear-card { background: rgba(239,68,68,0.05); border: 1px solid rgba(239,68,68,0.25); }
.ichi-rule-card h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 12px; }
.bull-card h4 { color: var(--green); }
.bear-card h4 { color: var(--red); }
.ichi-rule-card ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.ichi-rule-card li { font-size: 0.85rem; color: rgba(255,255,255,0.8); padding-right: 16px; position: relative; }
.ichi-rule-card li::before { content: "•"; position: absolute; right: 0; color: var(--gold); }

/* ── ATR Uses ─────────────────────────────────────────── */
.atr-uses { display: flex; flex-direction: column; gap: 10px; margin-top: 1rem; }
.atr-use {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.88rem; color: rgba(255,255,255,0.8);
}
.au-icon { color: var(--gold); font-size: 0.6rem; flex-shrink: 0; margin-top: 7px; }

/* ── Calculator ───────────────────────────────────────── */
.calculator {
  background: var(--black-lighter);
  border: 1px solid rgba(201,169,97,0.2);
  border-radius: 16px; padding: 26px;
}
.calc-title { font-size: 1rem; font-weight: 700; color: var(--gold); margin-bottom: 1.5rem; }
.calc-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 16px; }
.calc-field { display: flex; flex-direction: column; gap: 6px; }
.calc-field label { font-size: 0.82rem; color: var(--gray-light); }
.calc-field input {
  background: rgba(0,0,0,0.4);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px; padding: 10px 12px;
  color: var(--white); font-size: 0.9rem;
  font-family: "Vazirmatn", sans-serif;
  direction: ltr; text-align: center;
  transition: border-color 0.2s;
}
.calc-field input:focus { outline: none; border-color: var(--gold); }
.calc-btn {
  width: 100%; padding: 12px;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: var(--black); font-size: 0.95rem; font-weight: 700;
  border: none; border-radius: 10px; cursor: pointer;
  font-family: "Vazirmatn", sans-serif;
  transition: opacity 0.2s, transform 0.15s;
}
.calc-btn:hover { opacity: 0.9; transform: translateY(-1px); }
.calc-results { margin-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.cr-item {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 14px; background: rgba(0,0,0,0.3); border-radius: 8px;
  font-size: 0.88rem;
}
.cr-val { font-weight: 700; font-size: 0.95rem; }
.red-val   { color: var(--red); }
.green-val { color: var(--green); }
.gold-val  { color: var(--gold); }

/* ── Combo Cards ──────────────────────────────────────── */
.combo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.combo-card {
  background: var(--black-lighter);
  border: 1px solid rgba(201,169,97,0.1);
  border-radius: 14px; padding: 22px;
  transition: border-color 0.25s;
}
.combo-card:hover { border-color: var(--gold); }
.combo-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.combo-num { font-size: 0.75rem; font-weight: 700; color: var(--gold); background: rgba(201,169,97,0.1); padding: 4px 10px; border-radius: 20px; }
.combo-head h3 { font-size: 0.95rem; font-weight: 700; }
.combo-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 14px; }
.ci-tag {
  background: rgba(201,169,97,0.08); border: 1px solid rgba(201,169,97,0.2);
  color: var(--gold-light); padding: 3px 10px; border-radius: 6px; font-size: 0.78rem;
}
.ci-plus { color: var(--gray); font-size: 0.9rem; }
.combo-rule { font-size: 0.83rem; padding: 8px 12px; border-radius: 8px; margin-bottom: 8px; line-height: 1.55; }
.buy-rule  { background: rgba(34,197,94,0.06); border-right: 3px solid var(--green); }
.sell-rule { background: rgba(239,68,68,0.06); border-right: 3px solid var(--red); }
.combo-tf { font-size: 0.8rem; color: var(--gray-light); margin-top: 6px; }

/* ── Mistakes Grid ────────────────────────────────────── */
.mistakes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.mistake-card {
  background: var(--black-lighter);
  border: 1px solid rgba(239,68,68,0.1);
  border-radius: 14px; padding: 22px;
  transition: border-color 0.25s, transform 0.25s;
}
.mistake-card:hover { border-color: rgba(239,68,68,0.35); transform: translateY(-3px); }
.mk-num {
  width: 36px; height: 36px; border-radius: 10px;
  background: rgba(239,68,68,0.15); color: var(--red);
  font-weight: 800; font-size: 0.95rem;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 12px;
}
.mistake-card h4 { font-size: 0.9rem; font-weight: 700; margin-bottom: 8px; }
.mistake-card p  { font-size: 0.84rem; color: var(--gray-light); line-height: 1.6; margin-bottom: 12px; }
.mk-fix {
  font-size: 0.82rem; padding: 8px 12px; border-radius: 8px;
  background: rgba(34,197,94,0.06); border-right: 3px solid var(--green);
}
.mk-fix span { font-weight: 700; color: var(--green); margin-left: 6px; }

/* ── Final CTA ────────────────────────────────────────── */
.final-cta {
  margin-top: 3rem;
  background: linear-gradient(135deg, rgba(201,169,97,0.08) 0%, rgba(139,115,85,0.08) 100%);
  border: 1px solid rgba(201,169,97,0.2);
  border-radius: 20px; padding: 50px 40px;
  text-align: center;
}
.final-cta h3 { font-size: 1.6rem; font-weight: 700; margin-bottom: 0.8rem; }
.final-cta p  { color: var(--gray-light); margin-bottom: 2rem; font-size: 1rem; }
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-btn {
  padding: 13px 32px; border-radius: 10px;
  font-size: 0.95rem; font-weight: 700; text-decoration: none;
  transition: transform 0.2s, opacity 0.2s;
}
.cta-btn:hover { transform: translateY(-2px); opacity: 0.9; }
.primary-cta   { background: linear-gradient(135deg, var(--gold-dark), var(--gold)); color: var(--black); }
.secondary-cta { background: transparent; border: 1px solid rgba(201,169,97,0.4); color: var(--gold); }

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 900px) {
  .two-col-grid, .ma-row, .ichi-rule-grid, .combo-grid { grid-template-columns: 1fr; }
  .three-col-grid, .vol-grid, .strategy-row { grid-template-columns: 1fr 1fr; }
  .mistakes-grid { grid-template-columns: 1fr 1fr; }
  .type-cards-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .three-col-grid, .vol-grid, .strategy-row,
  .mistakes-grid, .type-cards-grid, .adv-cards-grid,
  .stoch-types, .vol-rules-grid, .calc-fields { grid-template-columns: 1fr; }
  .hero-stats { gap: 1.2rem; }
  .stat-number { font-size: 1.8rem; }
  .nav-links { display: none; }
  .mobile-menu-btn { display: flex; }
  .toc-grid { grid-template-columns: 1fr 1fr; }
  .final-cta { padding: 32px 20px; }
}
