/* ── Arabic page overrides ───────────────────────────────── */

/* Arabic font stack */
.ar-font {
  font-family: 'Cairo', 'Arial', sans-serif;
}

/* RTL base overrides */
body {
  direction: rtl;
  text-align: right;
}

/* Nav RTL */
.nav__inner {
  flex-direction: row-reverse;
}
.nav__links {
  margin-left: 0;
  margin-right: auto;
}
.nav__actions {
  flex-direction: row-reverse;
}

/* Hero RTL */
.hero__inner {
  text-align: center;
}

/* Trust bar RTL */
.trust-bar .container {
  flex-direction: row-reverse;
}

/* Problem grid RTL */
.problem__grid {
  direction: rtl;
}
.problem__text p,
.pain-card p {
  max-width: none;
}

/* Steps RTL */
.steps--ar {
  flex-direction: row-reverse;
}
.steps--ar .step__arrow {
  margin-top: var(--space-2);
}

/* Section labels and titles */
.section__label,
.section__title,
.section__sub {
  text-align: right;
}

/* Pricing grid: RTL single row, centered */
.pricing__grid--5 {
  direction: rtl;
  grid-template-columns: repeat(5, minmax(0, 240px));
  justify-content: center;
}
/* Card content stays RTL */
.pricing-card {
  direction: rtl;
  text-align: right;
}
/* Price row: number right-aligned, period after */
.pricing-card__price {
  flex-direction: row-reverse;
  justify-content: flex-end;
}
.price__amount {
  direction: ltr;
  unicode-bidi: embed;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}
.price__period {
  align-self: flex-end;
  padding-bottom: 0.2em;
}
/* calls/per alignment */
.pricing-card__calls,
.pricing-card__per {
  text-align: right;
}
/* Medium screens: 3 columns RTL */
@media (max-width: 1100px) {
  .pricing__grid--5 {
    grid-template-columns: repeat(3, minmax(0, 240px));
    justify-content: center;
  }
  .pricing__grid--5 .pricing-card:last-child {
    grid-column: span 1;
    max-width: none;
    margin-inline: 0;
  }
}

/* Pricing badge RTL */
.pricing-card__badge {
  font-family: 'Cairo', 'Arial', sans-serif;
}

/* Features RTL */
.feature-card h3,
.feature-card p {
  text-align: right;
}

/* Contact RTL */
.contact__inner {
  text-align: right;
}
.contact__grid {
  direction: rtl;
}
.contact-card {
  flex-direction: row-reverse;
  text-align: right;
}

/* Waitlist RTL */
.waitlist__inner {
  text-align: right;
}
.waitlist__form {
  text-align: right;
}
.form-row {
  direction: rtl;
}
.form-select {
  background-position: left 0.75em center;
  padding-right: 1em;
  padding-left: 2.5em;
}

/* Footer RTL */
.footer__inner {
  flex-direction: row-reverse;
}
.footer__links {
  flex-direction: row-reverse;
}
.footer__copy {
  text-align: right;
}
.footer__tagline {
  margin-left: 0;
  margin-right: 30px;
}

/* Score card stays LTR for numbers */
.score-card {
  direction: ltr;
  text-align: left;
}
.score-card__coaching {
  direction: rtl;
  text-align: right;
}

/* Pricing features list */
.pricing-card__features li {
  flex-direction: row;
  text-align: right;
  justify-content: flex-end;
}
.pricing-card__features li::before {
  order: 1;
  margin-right: 0;
  margin-left: 0.5rem;
  flex-shrink: 0;
}

/* Form success/error RTL */
.form-success,
.form-error {
  flex-direction: row-reverse;
  text-align: right;
}

/* Arabic font size bump for readability */
.ar-font {
  font-size: calc(1em * 1.05);
  line-height: 1.9;
}
h1.ar-font, h2.ar-font, h3.ar-font {
  line-height: 1.4;
}

/* Mobile RTL adjustments */
@media (max-width: 768px) {
  .nav__inner {
    flex-direction: row;
  }
  .nav__links {
    margin-right: 0;
  }
  .steps--ar {
    flex-direction: column;
  }
  .steps--ar .step__arrow {
    transform: rotate(90deg);
    margin: 0 auto;
  }
  .trust-bar .container {
    flex-direction: column;
  }
  .footer__inner {
    flex-direction: column;
  }
  .footer__links {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
}
