/* Forex Guide Styles */
/* Vazirmatn font is self-hosted via @font-face in styles.css (loaded by base.html) */

:root {
  --gold: #c9a961;
  --gold-light: #d4b96e;
  --gold-dark: #8b7355;
  --black: #0a0a0a;
  --black-light: #111111;
  --black-lighter: #1a1a1a;
  --gray-dark: #2a2a2a;
  --gray: #3a3a3a;
  --gray-light: #888888;
  --white: #ffffff;
  --green: #22c55e;
  --red: #ef4444;
  --blue: #3b82f6;
}

body {
  font-family: "Vazirmatn", sans-serif;
  background: var(--black);
  color: var(--white);
  direction: rtl;
  line-height: 1.8;
  font-size: 15px;
}

/* Hero Section */
.forex-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  overflow: hidden;
  background: linear-gradient(180deg, var(--black) 0%, var(--black-light) 100%);
}

.hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-chart {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 200px;
  opacity: 0.15;
}

.forex-hero .container {
  position: relative;
  z-index: 10;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201, 169, 97, 0.1);
  border: 1px solid rgba(201, 169, 97, 0.3);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  color: var(--gold);
  margin-bottom: 25px;
  animation: fadeInUp 0.6s ease;
}

.hero-badge svg {
  width: 18px;
  height: 18px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 15px;
  animation: fadeInUp 0.6s ease 0.1s both;
}

.hero-subtitle {
  font-size: 1.3rem;
  color: var(--gray-light);
  margin-bottom: 40px;
  animation: fadeInUp 0.6s ease 0.2s both;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 60px;
  animation: fadeInUp 0.6s ease 0.3s both;
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--gold);
  font-feature-settings: "tnum";
}

.stat-label {
  font-size: 0.9rem;
  color: var(--gray-light);
}

/* Live Rates Banner in Hero */
.live-rates-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
  margin-top: 40px;
  padding: 15px 30px;
  background: rgba(201, 169, 97, 0.1);
  border: 1px solid rgba(201, 169, 97, 0.3);
  border-radius: 50px;
  animation: fadeInUp 0.6s ease 0.4s both;
  flex-wrap: wrap;
}

.rates-label {
  font-size: 0.85rem;
  color: var(--gray-light);
}

.rate-item {
  font-size: 0.9rem;
  color: var(--white);
}

.rate-item strong {
  color: var(--gold);
  font-feature-settings: "tnum";
}

.rates-update {
  font-size: 0.75rem;
  color: var(--gray-light);
  opacity: 0.7;
}

/* Table of Contents */
.toc-section {
  padding: 60px 0;
  background: var(--black-light);
}

.toc-card {
  background: var(--black-lighter);
  border: 1px solid var(--gray-dark);
  border-radius: 16px;
  padding: 40px;
}

.toc-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.4rem;
  color: var(--gold);
  margin-bottom: 30px;
}

.toc-title svg {
  width: 24px;
  height: 24px;
}

.toc-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.toc-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--gray-dark);
  border-radius: 10px;
  text-decoration: none;
  color: var(--white);
  transition: all 0.3s;
}

.toc-item:hover {
  background: var(--gold);
  color: var(--black);
  transform: translateY(-2px);
}

.toc-number {
  width: 28px;
  height: 28px;
  background: rgba(201, 169, 97, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold);
  flex-shrink: 0;
}

.toc-item:hover .toc-number {
  background: var(--black);
  color: var(--gold);
}

.toc-text {
  font-size: 0.85rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Chapter Sections */
.chapter-section {
  padding: 80px 0;
}

.chapter-section.alt-bg {
  background: var(--black-light);
}

.chapter-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 40px;
}

.chapter-number {
  font-size: 4rem;
  font-weight: 900;
  color: var(--gold);
  opacity: 0.3;
  line-height: 1;
}

.chapter-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
}

.chapter-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.content-block.full-width {
  grid-column: 1 / -1;
}

.lead-text {
  font-size: 1.1rem;
  color: var(--gray-light);
  line-height: 2;
  margin-bottom: 30px;
}

.lead-text strong {
  color: var(--gold);
}

/* Info Cards */
.info-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.info-card {
  background: var(--gray-dark);
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  transition: transform 0.3s;
}

.info-card:hover {
  transform: translateY(-5px);
}

.info-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
}

.info-icon svg {
  width: 26px;
  height: 26px;
  color: var(--black);
}

.info-card h4 {
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 8px;
}

.info-card p {
  font-size: 0.85rem;
  color: var(--gray-light);
}

/* Visual Block */
.visual-block {
  display: flex;
  align-items: center;
  justify-content: center;
}

.forex-illustration {
  background: var(--gray-dark);
  border-radius: 16px;
  padding: 40px;
  width: 100%;
}

.currency-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  margin-bottom: 30px;
}

.currency-item {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
}

.currency-item.usd {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: white;
}

.currency-item.eur {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: white;
}

.flow-arrow {
  animation: pulse 1.5s ease infinite;
}

.flow-arrow svg {
  width: 40px;
  height: 40px;
  color: var(--gold);
}

.exchange-rate {
  text-align: center;
  padding: 20px;
  background: var(--black-lighter);
  border-radius: 10px;
}

.rate-label {
  display: block;
  font-size: 0.85rem;
  color: var(--gray-light);
  margin-bottom: 5px;
}

.rate-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  font-feature-settings: "tnum";
}

/* Process Timeline */
.process-timeline {
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin-top: 30px;
}

.timeline-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: var(--gray-dark);
  border-radius: 12px;
  transition: all 0.3s;
}

.timeline-item:hover {
  background: var(--gray);
  transform: translateX(-10px);
}

.timeline-dot {
  width: 40px;
  height: 40px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--black);
  flex-shrink: 0;
}

.timeline-content h4 {
  font-size: 1.05rem;
  color: var(--white);
  margin-bottom: 5px;
}

.timeline-content p {
  font-size: 0.9rem;
  color: var(--gray-light);
}

/* Currency Pairs */
.pairs-showcase {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin: 30px 0;
}

.pairs-category {
  background: var(--gray-dark);
  border-radius: 12px;
  padding: 25px;
}

.category-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 20px;
}

.category-badge {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}

.category-badge.major {
  background: var(--gold);
  color: var(--black);
}

.category-badge.minor {
  background: var(--blue);
  color: white;
}

.pairs-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pair-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: var(--black-lighter);
  border-radius: 8px;
  transition: background 0.3s;
}

.pair-item:hover {
  background: var(--black);
}

.pair-flags {
  font-size: 1.2rem;
}

.pair-name {
  font-weight: 600;
  color: var(--white);
  font-size: 0.95rem;
}

.pair-nickname {
  font-size: 0.8rem;
  color: var(--gray-light);
  margin-right: auto;
}

/* Pair Explanation */
.pair-explanation {
  margin-top: 30px;
}

.explanation-card {
  background: linear-gradient(135deg, var(--gray-dark), var(--black-lighter));
  border: 1px solid var(--gold);
  border-radius: 16px;
  overflow: hidden;
}

.exp-header {
  background: var(--gold);
  padding: 15px 25px;
  text-align: center;
}

.exp-pair {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--black);
  font-feature-settings: "tnum";
}

.exp-body {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  padding: 30px;
}

.exp-item {
  text-align: center;
}

.exp-label {
  display: block;
  font-size: 0.8rem;
  color: var(--gray-light);
  margin-bottom: 5px;
}

.exp-value {
  display: block;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 5px;
}

.exp-desc {
  font-size: 0.85rem;
  color: var(--gray-light);
}

.exp-divider {
  font-size: 2rem;
  color: var(--gray);
}

.exp-footer {
  background: var(--black);
  padding: 15px 25px;
  text-align: center;
}

.exp-footer p {
  color: var(--gray-light);
  font-size: 0.95rem;
}

.exp-footer strong {
  color: var(--gold);
}

/* Trading Sessions */
.sessions-visual {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 30px 0;
}

.session-card {
  background: var(--gray-dark);
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  transition: all 0.3s;
  border: 2px solid transparent;
}

.session-card:hover {
  transform: translateY(-5px);
}

.session-card.sydney {
  border-color: #a855f7;
}

.session-card.tokyo {
  border-color: #ec4899;
}

.session-card.london {
  border-color: var(--gold);
}

.session-card.newyork {
  border-color: #3b82f6;
}

.session-icon {
  width: 50px;
  height: 50px;
  margin: 0 auto 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.session-icon svg {
  width: 35px;
  height: 35px;
  color: var(--gold);
}

.session-card h4 {
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 5px;
}

.session-time {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--gold);
  font-feature-settings: "tnum";
}

.session-tehran {
  font-size: 0.75rem;
  color: var(--gray-light);
  display: block;
  margin-bottom: 15px;
}

.session-volatility {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.8rem;
  color: var(--gray-light);
}

.volatility-bar {
  width: 60px;
  height: 6px;
  border-radius: 3px;
  background: var(--gray);
}

.volatility-bar.low {
  background: linear-gradient(90deg, var(--green), var(--gray) 40%);
}

.volatility-bar.medium {
  background: linear-gradient(90deg, var(--gold), var(--gray) 60%);
}

.volatility-bar.high {
  background: linear-gradient(90deg, var(--gold), var(--gold-dark));
}

/* Best Time Box */
.best-time-box {
  display: flex;
  align-items: center;
  gap: 20px;
  background: linear-gradient(135deg, rgba(201, 169, 97, 0.1), rgba(201, 169, 97, 0.05));
  border: 1px solid var(--gold);
  border-radius: 12px;
  padding: 25px;
}

.best-time-icon {
  width: 50px;
  height: 50px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.best-time-icon svg {
  width: 26px;
  height: 26px;
  color: var(--black);
}

.best-time-content h4 {
  color: var(--gold);
  margin-bottom: 5px;
}

.best-time-content p {
  font-size: 0.95rem;
  color: var(--gray-light);
}

.best-time-content strong {
  color: var(--white);
}

/* Terminology Grid */
.terminology-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.term-card {
  background: var(--gray-dark);
  border-radius: 12px;
  padding: 20px;
  transition: transform 0.3s;
}

.term-card:hover {
  transform: translateY(-5px);
}

.term-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--gray);
}

.term-word {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
}

.term-persian {
  font-size: 0.85rem;
  color: var(--gray-light);
}

.term-definition {
  font-size: 0.9rem;
  color: var(--white);
  margin-bottom: 15px;
  line-height: 1.7;
}

.term-example {
  background: var(--black-lighter);
  padding: 10px;
  border-radius: 6px;
  font-size: 0.8rem;
  color: var(--gray-light);
}

.term-example span {
  color: var(--gold);
  font-weight: 600;
}

/* Technical Analysis */
.ta-principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 30px 0;
}

.principle-item {
  background: var(--gray-dark);
  border-radius: 12px;
  padding: 25px;
  text-align: center;
}

.principle-icon {
  width: 60px;
  height: 60px;
  background: rgba(201, 169, 97, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
}

.principle-icon svg {
  width: 30px;
  height: 30px;
  color: var(--gold);
}

.principle-item h4 {
  color: var(--white);
  margin-bottom: 10px;
}

.principle-item p {
  font-size: 0.9rem;
  color: var(--gray-light);
}

/* Chart Types */
.chart-types {
  margin-top: 40px;
}

.subsection-title {
  font-size: 1.2rem;
  color: var(--gold);
  margin-bottom: 20px;
}

.chart-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.chart-card {
  background: var(--gray-dark);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  position: relative;
  transition: all 0.3s;
}

.chart-card.featured {
  border: 2px solid var(--gold);
}

.chart-preview {
  height: 80px;
  background: var(--black-lighter);
  border-radius: 8px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.chart-preview svg {
  width: 100%;
  height: 100%;
}

.chart-card h5 {
  color: var(--white);
  margin-bottom: 8px;
}

.chart-card p {
  font-size: 0.85rem;
  color: var(--gray-light);
}

.recommended-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--gold);
  color: var(--black);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 600;
}

/* Fundamental Factors */
.fundamental-factors {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.factor-card {
  background: var(--gray-dark);
  border-radius: 12px;
  padding: 25px;
  transition: transform 0.3s;
}

.factor-card:hover {
  transform: translateY(-5px);
}

.factor-icon {
  width: 50px;
  height: 50px;
  background: rgba(201, 169, 97, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
}

.factor-icon svg {
  width: 26px;
  height: 26px;
  color: var(--gold);
}

.factor-card h4 {
  color: var(--white);
  margin-bottom: 10px;
}

.factor-card p {
  font-size: 0.9rem;
  color: var(--gray-light);
  margin-bottom: 15px;
}

.factor-impact span {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}

.impact-high {
  background: rgba(239, 68, 68, 0.2);
  color: var(--red);
}

.impact-medium {
  background: rgba(201, 169, 97, 0.2);
  color: var(--gold);
}

.impact-variable {
  background: rgba(59, 130, 246, 0.2);
  color: var(--blue);
}

/* Risk Management */
.risk-rules {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 30px 0;
}

.rule-card {
  background: var(--gray-dark);
  border-radius: 12px;
  padding: 25px;
  transition: transform 0.3s;
}

.rule-card:hover {
  transform: translateY(-5px);
}

.rule-card.golden {
  grid-column: span 2;
  background: linear-gradient(135deg, rgba(201, 169, 97, 0.2), rgba(201, 169, 97, 0.05));
  border: 1px solid var(--gold);
}

.rule-number {
  font-size: 0.8rem;
  color: var(--gold);
  margin-bottom: 10px;
}

.rule-icon {
  width: 45px;
  height: 45px;
  background: rgba(201, 169, 97, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
}

.rule-icon svg {
  width: 24px;
  height: 24px;
  color: var(--gold);
}

.rule-card h4 {
  color: var(--white);
  margin-bottom: 10px;
  font-size: 1.05rem;
}

.rule-card p {
  font-size: 0.9rem;
  color: var(--gray-light);
}

.rule-example {
  margin-top: 15px;
  padding: 12px;
  background: var(--black-lighter);
  border-radius: 8px;
  font-size: 0.85rem;
  color: var(--gray-light);
}

.rule-example span {
  color: var(--gold);
  font-weight: 600;
}

/* Risk Calculator */
.risk-calculator {
  background: var(--gray-dark);
  border-radius: 16px;
  padding: 30px;
  margin-top: 30px;
}

.calc-title {
  color: var(--gold);
  margin-bottom: 25px;
  text-align: center;
}

.calc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: end;
}

.calc-input label {
  display: block;
  font-size: 0.85rem;
  color: var(--gray-light);
  margin-bottom: 8px;
}

.calc-input input {
  width: 100%;
  padding: 12px 15px;
  background: var(--black-lighter);
  border: 1px solid var(--gray);
  border-radius: 8px;
  color: var(--white);
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.3s;
}

.calc-input input:focus {
  outline: none;
  border-color: var(--gold);
}

.calc-result {
  background: var(--gold);
  border-radius: 8px;
  padding: 15px;
  text-align: center;
}

.result-label {
  display: block;
  font-size: 0.8rem;
  color: var(--black);
  opacity: 0.7;
}

.result-value {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--black);
}

/* Strategies */
.strategies-showcase {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.strategy-card {
  background: var(--gray-dark);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s;
  position: relative;
}

.strategy-card:hover {
  transform: translateY(-5px);
}

.strategy-card.recommended {
  border: 2px solid var(--gold);
}

.strategy-header {
  padding: 20px;
  text-align: center;
}

.strategy-header.scalping {
  background: linear-gradient(135deg, #ef4444, #dc2626);
}

.strategy-header.day-trading {
  background: linear-gradient(135deg, #f97316, #ea580c);
}

.strategy-header.swing {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
}

.strategy-header.position {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.strategy-header h4 {
  color: white;
  margin-bottom: 5px;
}

.strategy-timeframe {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.8);
}

.strategy-body {
  padding: 20px;
}

.strategy-body p {
  font-size: 0.9rem;
  color: var(--gray-light);
  margin-bottom: 20px;
}

.strategy-specs {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.spec {
  display: flex;
  align-items: center;
  gap: 10px;
}

.spec-label {
  font-size: 0.8rem;
  color: var(--gray-light);
  width: 100px;
}

.spec-bar {
  flex: 1;
  height: 6px;
  background: var(--gray);
  border-radius: 3px;
}

.spec-bar.very-low {
  background: linear-gradient(90deg, var(--green), var(--gray) 20%);
}

.spec-bar.low {
  background: linear-gradient(90deg, var(--green), var(--gray) 35%);
}

.spec-bar.medium {
  background: linear-gradient(90deg, var(--gold), var(--gray) 55%);
}

.spec-bar.high {
  background: linear-gradient(90deg, var(--gold), var(--gold-dark) 75%);
}

.spec-bar.very-high {
  background: linear-gradient(90deg, var(--red), var(--red));
}

.recommended-tag {
  display: block;
  margin-top: 15px;
  padding: 6px 12px;
  background: rgba(201, 169, 97, 0.2);
  border-radius: 20px;
  font-size: 0.75rem;
  color: var(--gold);
  text-align: center;
}

/* Psychology */
.emotions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 30px 0;
}

.emotion-card {
  background: var(--gray-dark);
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  transition: transform 0.3s;
}

.emotion-card:hover {
  transform: translateY(-5px);
}

.emotion-card.fear {
  border-top: 3px solid #3b82f6;
}

.emotion-card.greed {
  border-top: 3px solid var(--gold);
}

.emotion-card.revenge {
  border-top: 3px solid var(--red);
}

.emotion-card.overconfidence {
  border-top: 3px solid #a855f7;
}

.emotion-icon {
  width: 50px;
  height: 50px;
  margin: 0 auto 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.emotion-icon svg {
  width: 40px;
  height: 40px;
  color: var(--gray-light);
}

.emotion-card h4 {
  color: var(--white);
  margin-bottom: 10px;
}

.emotion-card p {
  font-size: 0.9rem;
  color: var(--gray-light);
  margin-bottom: 15px;
}

.emotion-solution {
  background: var(--black-lighter);
  padding: 12px;
  border-radius: 8px;
  font-size: 0.85rem;
  color: var(--gray-light);
  text-align: right;
}

.emotion-solution strong {
  color: var(--gold);
}

/* Psychology Tips */
.psychology-tips {
  background: var(--gray-dark);
  border-radius: 16px;
  padding: 30px;
}

.tips-title {
  color: var(--gold);
  margin-bottom: 20px;
}

.tips-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.tips-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px;
  background: var(--black-lighter);
  border-radius: 8px;
  color: var(--white);
  font-size: 0.95rem;
}

.tips-list svg {
  width: 20px;
  height: 20px;
  color: var(--gold);
  flex-shrink: 0;
}

/* Broker Criteria */
.broker-criteria {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.criteria-card {
  background: var(--gray-dark);
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  transition: transform 0.3s;
}

.criteria-card:hover {
  transform: translateY(-5px);
}

.criteria-icon {
  width: 50px;
  height: 50px;
  background: rgba(201, 169, 97, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
}

.criteria-icon svg {
  width: 26px;
  height: 26px;
  color: var(--gold);
}

.criteria-card h4 {
  color: var(--white);
  margin-bottom: 10px;
}

.criteria-card p {
  font-size: 0.9rem;
  color: var(--gray-light);
}

/* Demo Account */
.demo-benefits {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-top: 25px;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px;
  background: var(--gray-dark);
  border-radius: 8px;
}

.benefit-check {
  width: 30px;
  height: 30px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.benefit-check svg {
  width: 16px;
  height: 16px;
  color: var(--black);
}

.benefit-item span {
  color: var(--white);
  font-size: 0.95rem;
}

/* Demo Warning */
.demo-warning {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid var(--red);
  border-radius: 12px;
  padding: 25px;
  margin-top: 30px;
}

.warning-icon {
  width: 50px;
  height: 50px;
  background: var(--red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.warning-icon svg {
  width: 26px;
  height: 26px;
  color: white;
}

.warning-content h4 {
  color: var(--red);
  margin-bottom: 8px;
}

.warning-content p {
  color: var(--gray-light);
  font-size: 0.95rem;
}

/* Indicators */
.indicators-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.indicator-card {
  background: var(--gray-dark);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  transition: transform 0.3s;
}

.indicator-card:hover {
  transform: translateY(-5px);
}

.indicator-visual {
  height: 80px;
  background: var(--black-lighter);
  border-radius: 8px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.indicator-visual svg {
  width: 100%;
  height: 100%;
}

.indicator-card h4 {
  color: var(--white);
  margin-bottom: 8px;
}

.indicator-card p {
  font-size: 0.85rem;
  color: var(--gray-light);
  margin-bottom: 15px;
}

.indicator-type {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(201, 169, 97, 0.2);
  border-radius: 20px;
  font-size: 0.75rem;
  color: var(--gold);
}

/* Patterns */
.patterns-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.pattern-card {
  background: var(--gray-dark);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  transition: transform 0.3s;
}

.pattern-card:hover {
  transform: translateY(-5px);
}

.pattern-visual {
  height: 80px;
  background: var(--black-lighter);
  border-radius: 8px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.pattern-visual svg {
  width: 100%;
  height: 100%;
}

.pattern-card h4 {
  color: var(--white);
  margin-bottom: 8px;
}

.pattern-card p {
  font-size: 0.85rem;
  color: var(--gray-light);
  margin-bottom: 15px;
}

.pattern-signal {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
}

.pattern-signal.reversal {
  background: rgba(239, 68, 68, 0.2);
  color: var(--red);
}

.pattern-signal.continuation {
  background: rgba(34, 197, 94, 0.2);
  color: var(--green);
}

/* Golden Tips */
.golden-tips {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.tip-item {
  display: flex;
  gap: 15px;
  padding: 25px;
  background: var(--gray-dark);
  border-radius: 12px;
  transition: transform 0.3s;
}

.tip-item:hover {
  transform: translateX(-10px);
}

.tip-number {
  width: 40px;
  height: 40px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--black);
  flex-shrink: 0;
}

.tip-content h4 {
  color: var(--white);
  margin-bottom: 8px;
}

.tip-content p {
  font-size: 0.9rem;
  color: var(--gray-light);
}

/* CTA Section */
.cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
}

.cta-content {
  text-align: center;
}

.cta-content h2 {
  font-size: 2.5rem;
  color: var(--black);
  margin-bottom: 15px;
}

.cta-content p {
  font-size: 1.2rem;
  color: var(--black);
  opacity: 0.8;
  margin-bottom: 30px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.cta-btn {
  padding: 15px 40px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
}

.cta-btn.primary {
  background: var(--black);
  color: var(--gold);
}

.cta-btn.primary:hover {
  background: var(--black-light);
  transform: translateY(-3px);
}

.cta-btn.secondary {
  background: transparent;
  color: var(--black);
  border: 2px solid var(--black);
}

.cta-btn.secondary:hover {
  background: var(--black);
  color: var(--gold);
}


/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

/* Responsive */
@media (max-width: 1200px) {
  .toc-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .terminology-grid,
  .emotions-grid,
  .indicators-grid,
  .patterns-grid,
  .strategies-showcase {
    grid-template-columns: repeat(2, 1fr);
  }

  .golden-tips {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  .chapter-content {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .sessions-visual {
    grid-template-columns: repeat(2, 1fr);
  }

  .pairs-showcase {
    grid-template-columns: 1fr;
  }

  .risk-rules {
    grid-template-columns: repeat(2, 1fr);
  }

  .rule-card.golden {
    grid-column: span 2;
  }

  .calc-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .broker-criteria,
  .fundamental-factors {
    grid-template-columns: repeat(2, 1fr);
  }

  .info-cards,
  .ta-principles,
  .chart-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hero-stats {
    flex-direction: column;
    gap: 20px;
  }

  .toc-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .terminology-grid,
  .emotions-grid,
  .indicators-grid,
  .patterns-grid,
  .strategies-showcase,
  .broker-criteria,
  .fundamental-factors,
  .golden-tips {
    grid-template-columns: 1fr;
  }

  .sessions-visual {
    grid-template-columns: 1fr;
  }

  .risk-rules {
    grid-template-columns: 1fr;
  }

  .rule-card.golden {
    grid-column: span 1;
  }

  .calc-grid {
    grid-template-columns: 1fr;
  }

  .demo-benefits {
    grid-template-columns: 1fr;
  }

  .tips-list {
    grid-template-columns: 1fr;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .exp-body {
    flex-direction: column;
  }
}
