/* RTL Overrides for Arabic */

body {
  font-family: 'Noto Sans Arabic', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  direction: rtl;
  text-align: right;
}

/* Header */
.header-inner { justify-content: space-between; }
.lang-switch a { border-right: none; border-left: 1px solid var(--blue-200); }
.lang-switch a:last-child { border-left: none; }

/* Hero */
.hero-left { text-align: right; }
.hero-actions { justify-content: flex-start; }
.hero-trust { justify-content: flex-start; }
.trust-avatars .avatar { margin-left: 0; margin-right: -8px; }
.trust-avatars .avatar:first-child { margin-right: 0; }

/* Steps - flip arrows */
.process-arrow svg { transform: scaleX(1); }

/* Table */
.comparison-table th,
.comparison-table td { text-align: right; }

/* Broker cards */
.broker-card-header { flex-direction: row-reverse; }
.broker-specs .spec { flex-direction: row-reverse; }
.broker-features li { padding: 4px 20px 4px 0; }
.broker-features li::before { left: auto; right: 0; }
.rating-row { flex-direction: row-reverse; }
.rating-label { text-align: right; }
.rating-val { text-align: left; }
.broker-card-footer { flex-direction: row-reverse; }
.broker-bonus { flex-direction: row-reverse; }

/* Guide */
.guide-step { flex-direction: row-reverse; }
.step-content { text-align: right; }

/* Section headers */
.section h2 { text-align: center; }
.section-desc { text-align: center; }

/* Top Pick */
.top-pick-banner { flex-direction: row-reverse; }
.top-pick-left { text-align: right; }
.top-pick-banner h2 { text-align: right; }
.top-pick-highlights { justify-content: flex-start; }

/* CTA */
.cta-box { text-align: center; }

/* FAQ */
.faq-item summary { flex-direction: row-reverse; }
.faq-item summary::after { margin-left: 0; margin-right: 16px; }

/* Dashboard cards */
.dash-card-head { flex-direction: row-reverse; }
.dash-row { flex-direction: row-reverse; }
.dash-ok::before { content: '\2713 '; }
.sentiment-labels { flex-direction: row-reverse; }

/* Footer */
.footer-brand p { text-align: right; }
.footer-links h4 { text-align: right; }
.footer-links ul { text-align: right; }
.footer-disclaimer p { text-align: right; }

/* Cookie bar */
.cookie-bar-inner { flex-direction: row-reverse; }
.cookie-bar p { text-align: right; }

/* Why section */
.why-card { text-align: center; }

/* Glossary */
.glossary-card h3 { text-align: right; }
.glossary-card p { text-align: right; }

/* Tips */
.tip-card { text-align: right; }
.tip-num { text-align: right; }

/* Responsive RTL fixes */
@media (max-width: 960px) {
  .hero-left { text-align: center; }
  .hero-actions { justify-content: center; }
  .hero-trust { justify-content: center; }
  .top-pick-banner { text-align: center; }
  .top-pick-banner h2 { text-align: center; }
  .top-pick-highlights { justify-content: center; }
  .broker-card-header { flex-direction: row; }
  .broker-card-footer { flex-direction: column; }
}

@media (max-width: 640px) {
  .guide-step { flex-direction: column; text-align: center; }
  .step-content { text-align: center; }
}
