/* GoLove.AI — RTL overrides (ar, he, fa) */

html[dir="rtl"] body { direction: rtl; }

/* Keep icon glyphs upright, flip directional arrows */
html[dir="rtl"] .gl-btn .ic,
html[dir="rtl"] .hero__cta .ic { }
html[dir="rtl"] [href="#i-arrow"] { transform: scaleX(-1); transform-origin: center; }

/* Hero: text align + chat side */
html[dir="rtl"] .hero__lead { margin-left: 0; }
html[dir="rtl"] .chat { margin-left: 0; margin-right: auto; }
html[dir="rtl"] .msg--in { align-self: flex-start; border-bottom-left-radius: 18px; border-bottom-right-radius: 6px; }
html[dir="rtl"] .msg--out { align-self: flex-end; border-bottom-right-radius: 18px; border-bottom-left-radius: 6px; }

/* Floaty badges */
html[dir="rtl"] .floaty--1 { left: auto; right: -22px; }
html[dir="rtl"] .floaty--2 { right: auto; left: -18px; }

/* Section leading accents that use physical sides */
html[dir="rtl"] .chat__avatar { border: 2px solid var(--brand); }

/* Steps number stays leading; flex gap handles order automatically */

/* Matrix + tables read right-to-left naturally with direction:rtl */

/* Footer + nav flip via flex direction of text; keep layout */
html[dir="rtl"] .foot__grid,
html[dir="rtl"] .bento,
html[dir="rtl"] .steps,
html[dir="rtl"] .plans,
html[dir="rtl"] .quotes { direction: rtl; }

/* Rail scrolls RTL */
html[dir="rtl"] .rail { direction: rtl; }
html[dir="rtl"] .rail__hint { text-align: left; }
