/* ============================================================
   SamaKeur — i18n / Lang Switcher Styles
   ============================================================ */

/* ---- Language switcher ---- */
.lang-switcher { position: relative; }

.lang-btn {
  display: flex; align-items: center; gap: 6px;
  padding: 7px 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 999px;
  font-size: 13px; font-weight: 700;
  color: rgba(255,255,255,0.65);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  font-family: inherit;
  white-space: nowrap;
}
.lang-btn:hover {
  border-color: rgba(249,115,22,0.45);
  color: #fff;
  background: rgba(249,115,22,0.08);
}
.lang-btn svg { transition: transform 0.2s; flex-shrink: 0; }

.lang-dropdown {
  display: none;
  position: absolute; top: calc(100% + 8px); right: 0;
  background: #1a1a1a;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.55);
  min-width: 148px;
  z-index: 300;
}
[dir="rtl"] .lang-dropdown { right: auto; left: 0; }

.lang-dropdown.open { display: block; }

.lang-option {
  display: flex; align-items: center; gap: 10px;
  width: 100%; padding: 11px 16px;
  background: none; border: none;
  font-size: 14px; font-weight: 700;
  color: rgba(255,255,255,0.65);
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  transition: background 0.15s, color 0.15s;
}
[dir="rtl"] .lang-option { text-align: right; flex-direction: row-reverse; }
.lang-option:hover { background: rgba(255,255,255,0.06); color: #fff; }
.lang-option.active { color: #F97316; }
.lang-option + .lang-option { border-top: 1px solid rgba(255,255,255,0.06); }

/* Footer lang links */
.footer-lang-link {
  cursor: pointer;
  transition: color 0.2s;
}
.footer-lang-link.active { color: #F97316 !important; }

/* ---- RTL Overrides ---- */
[dir="rtl"] body { font-family: 'Cairo', 'Nunito', sans-serif; }

[dir="rtl"] .nav-inner { flex-direction: row-reverse; }
[dir="rtl"] .nav-links { flex-direction: row-reverse; }
[dir="rtl"] .hero-inner { direction: rtl; }
[dir="rtl"] .hero-text { text-align: right; }
[dir="rtl"] .hero-actions { flex-direction: row-reverse; justify-content: flex-end; }
[dir="rtl"] .hero-badges { flex-direction: row-reverse; justify-content: flex-end; }
[dir="rtl"] .section-label { direction: rtl; }
[dir="rtl"] .hero-sub { direction: rtl; }

[dir="rtl"] .features-header { direction: rtl; }
[dir="rtl"] .feature-card { text-align: right; direction: rtl; }
[dir="rtl"] .feature-icon { margin-right: 0; }

[dir="rtl"] .how-header { direction: rtl; }
[dir="rtl"] .step { direction: rtl; }

[dir="rtl"] .audience-header { direction: rtl; }
[dir="rtl"] .persona-card { direction: rtl; text-align: right; }
[dir="rtl"] .persona-checks { direction: rtl; }
[dir="rtl"] .persona-check { flex-direction: row-reverse; }

[dir="rtl"] .payments-inner { flex-direction: row-reverse; }
[dir="rtl"] .payments-left { text-align: right; direction: rtl; }
[dir="rtl"] .payments-methods { justify-content: flex-end; }
[dir="rtl"] .payment-method { flex-direction: row-reverse; }
[dir="rtl"] .wa-step { flex-direction: row-reverse; }
[dir="rtl"] .whatsapp-flow { direction: rtl; text-align: right; }

[dir="rtl"] .testimonials-header { direction: rtl; }
[dir="rtl"] .quote-author { flex-direction: row-reverse; }
[dir="rtl"] .author-info { text-align: right; }

[dir="rtl"] .stats-grid { direction: rtl; }
[dir="rtl"] .stat-item { direction: rtl; }

[dir="rtl"] #download { direction: rtl; }
[dir="rtl"] .download-actions { flex-direction: row-reverse; }

[dir="rtl"] .footer-top { direction: rtl; }
[dir="rtl"] .footer-tagline { text-align: right; }
[dir="rtl"] .footer-links { text-align: right; }
[dir="rtl"] .footer-bottom { flex-direction: row-reverse; }
[dir="rtl"] .footer-socials { flex-direction: row-reverse; }

[dir="rtl"] .nav-mobile { direction: rtl; }

/* Features page RTL */
[dir="rtl"] .page-hero { direction: rtl; }
[dir="rtl"] .feature-category { direction: rtl; }
[dir="rtl"] .category-header { flex-direction: row-reverse; }
[dir="rtl"] .category-title, [dir="rtl"] .category-sub { text-align: right; }
[dir="rtl"] .feat-item { flex-direction: row-reverse; }
[dir="rtl"] .feat-text-title, [dir="rtl"] .feat-text-desc { text-align: right; }
[dir="rtl"] .payment-modes { flex-direction: row-reverse; justify-content: flex-end; }
[dir="rtl"] .pm-chip { flex-direction: row-reverse; }
[dir="rtl"] .currency-grid { direction: rtl; }
[dir="rtl"] .cta-banner { direction: rtl; }

/* Contact page RTL */
[dir="rtl"] .contact-grid { direction: rtl; }
[dir="rtl"] .info-card { flex-direction: row-reverse; }
[dir="rtl"] .info-title, [dir="rtl"] .info-value { text-align: right; }
[dir="rtl"] .form-card { direction: rtl; }
[dir="rtl"] .form-group label { text-align: right; }
[dir="rtl"] .form-group input,
[dir="rtl"] .form-group select,
[dir="rtl"] .form-group textarea { text-align: right; direction: rtl; }
[dir="rtl"] .form-title, [dir="rtl"] .form-sub { text-align: right; }
