/* Dinamic5 English — LTR Overrides */
/* Loaded after style.css to flip RTL → LTR */

html[dir="ltr"],
html:lang(en) {
  direction: ltr;
}

/* ── Base & Typography ── */
html[dir="ltr"] body {
  font-family: 'Plus Jakarta Sans', 'Heebo', -apple-system, BlinkMacSystemFont, sans-serif;
  text-align: left;
}

/* Headlines: use English font weights (Heebo 800/900 is for Hebrew) */
html[dir="ltr"] h1,
html[dir="ltr"] h2,
html[dir="ltr"] h3,
html[dir="ltr"] h4 {
  font-family: 'Plus Jakarta Sans', 'Heebo', sans-serif;
  letter-spacing: -0.02em;
}

/* ── Section headers ── */
html[dir="ltr"] .section-header {
  text-align: center;
}

/* ══════════════════════════════════
   NAV
   ══════════════════════════════════ */
html[dir="ltr"] .nav-inner {
  flex-direction: row;
}

html[dir="ltr"] .nav-links {
  margin-left: auto;
  margin-right: 0;
}

/* Dropdown panel: open to the left in LTR */
html[dir="ltr"] .nav-dropdown {
  left: 0;
  right: auto;
}

/* Dropdown arrow — already uses inset-inline, but ensure no flip issues */
html[dir="ltr"] .nav-drop > summary::after {
  margin-left: 2px;
  margin-right: 0;
}

/* Mobile nav open state */
@media (max-width: 968px) {
  html[dir="ltr"] .nav-links.open {
    text-align: left;
  }

  html[dir="ltr"] .nav-actions {
    margin-left: auto;
    margin-right: 0;
  }
}

/* ══════════════════════════════════
   HERO
   ══════════════════════════════════ */
html[dir="ltr"] .hero h1,
html[dir="ltr"] .hero-sub,
html[dir="ltr"] .hero-badge {
  text-align: left;
}

html[dir="ltr"] .hero-actions {
  justify-content: flex-start;
}

/* Hero arrow icon flip (Hebrew arrows point left ←, English should point right →) */
html[dir="ltr"] .btn-hero svg,
html[dir="ltr"] .btn-ghost svg {
  transform: scaleX(-1);
}

/* Hero form card decorative rings — flip inline positions via logical props (already handled by inset-inline) */

/* Hero stats: LTR direction */
html[dir="ltr"] .hero-stats {
  direction: ltr;
}

/* ── Language card hover direction (translateX) ── */
html[dir="ltr"] .lc:hover {
  transform: translateX(6px);  /* was -6px for RTL */
}

/* ══════════════════════════════════
   PRICING
   ══════════════════════════════════ */
html[dir="ltr"] .price-card {
  text-align: left;
}

/* Popular badge — RTL uses translateX(50%), LTR needs translateX(-50%) */
/* Already handled by [dir="ltr"] .pop-badge rule in style.css */

/* Price amount & currency alignment */
html[dir="ltr"] .price-amount {
  direction: ltr;
}

/* Pricing features list: checkmark position */
html[dir="ltr"] .price-features li {
  padding-left: 24px;
  padding-right: 0;
}

html[dir="ltr"] .price-features li::before {
  left: 0;
  right: auto;
}

html[dir="ltr"] .price-features li.pf-all {
  padding-left: 0;
}

/* Price per — margin flip */
html[dir="ltr"] .price-per {
  margin-left: 6px;
  margin-right: 0;
}

/* Toggle labels */
html[dir="ltr"] .pricing-toggle {
  direction: ltr;
}

/* ══════════════════════════════════
   FAQ
   ══════════════════════════════════ */
html[dir="ltr"] .faq-q {
  text-align: left;
}

html[dir="ltr"] .faq-a p {
  text-align: left;
}

html[dir="ltr"] .faq-header {
  text-align: left;
}

html[dir="ltr"] .faq-header h2 {
  text-align: left;
}

/* ══════════════════════════════════
   FOOTER
   ══════════════════════════════════ */
html[dir="ltr"] .footer-top {
  direction: ltr;
}

html[dir="ltr"] .footer-brand p {
  text-align: left;
}

html[dir="ltr"] .footer-col {
  text-align: left;
}

html[dir="ltr"] .footer-col h4 {
  text-align: left;
}

html[dir="ltr"] .footer-col a {
  text-align: left;
}

html[dir="ltr"] .footer-bottom {
  direction: ltr;
}

html[dir="ltr"] .footer-bottom p {
  text-align: left;
}

/* ══════════════════════════════════
   FEATURES SECTION
   ══════════════════════════════════ */
/* Feature card left border — already uses border-inline-start (logical), works in LTR */

html[dir="ltr"] .feature-card h3,
html[dir="ltr"] .feature-card p {
  text-align: left;
}

/* ══════════════════════════════════
   VALUE PROPS
   ══════════════════════════════════ */
html[dir="ltr"] .vp-card {
  text-align: center;
}

/* ══════════════════════════════════
   SPEAK YOUR LANGUAGE / LANG SECTION
   ══════════════════════════════════ */
html[dir="ltr"] .lang-text h2,
html[dir="ltr"] .lang-text p {
  text-align: left;
}

html[dir="ltr"] .lc h4,
html[dir="ltr"] .lc p {
  text-align: left;
}

/* ══════════════════════════════════
   EASY CONNECT (Steps)
   ══════════════════════════════════ */
html[dir="ltr"] .easy-text h2,
html[dir="ltr"] .easy-text p {
  text-align: left;
}

html[dir="ltr"] .easy-step h4,
html[dir="ltr"] .easy-step p {
  text-align: left;
}

/* ══════════════════════════════════
   CONTACT / SUPPORT
   ══════════════════════════════════ */
html[dir="ltr"] .support-text h2,
html[dir="ltr"] .support-text p {
  text-align: left;
}

html[dir="ltr"] .contact-form {
  text-align: left;
}

html[dir="ltr"] .contact-form h3 {
  text-align: left;
}

html[dir="ltr"] label {
  text-align: left;
}

/* Contact form select dropdown arrow — flip from left to right */
html[dir="ltr"] .contact-form select {
  background-position: right 14px center;
}

/* ══════════════════════════════════
   CLOUD / MOBILE / SUPPORT SECTIONS
   ══════════════════════════════════ */
html[dir="ltr"] .cloud-text h2,
html[dir="ltr"] .cloud-text p,
html[dir="ltr"] .mobile-text h2,
html[dir="ltr"] .mobile-text p {
  text-align: left;
}

html[dir="ltr"] .mob-list li {
  text-align: left;
}

/* ══════════════════════════════════
   TESTIMONIALS
   ══════════════════════════════════ */
html[dir="ltr"] .testimonial-card {
  text-align: left;
}

html[dir="ltr"] .testimonial-card blockquote {
  text-align: left;
}

html[dir="ltr"] .tc-author {
  direction: ltr;
}

/* ══════════════════════════════════
   GROWTH BANNER
   ══════════════════════════════════ */
html[dir="ltr"] .growth-inner {
  direction: ltr;
}

html[dir="ltr"] .growth-content h3,
html[dir="ltr"] .growth-content p {
  text-align: left;
}

/* ══════════════════════════════════
   LOGO CAROUSEL
   ══════════════════════════════════ */
/* Flip scroll direction for LTR: RTL scrolls right-to-left, LTR should scroll left-to-right */
html[dir="ltr"] .logos-track {
  animation-name: scroll-ltr;
}

html[dir="ltr"] .logos-carousel--rev .logos-track {
  animation-name: scroll-rtl;
}

/* ══════════════════════════════════
   BREADCRUMB
   ══════════════════════════════════ */
html[dir="ltr"] .breadcrumb {
  direction: ltr;
  text-align: left;
}

/* ══════════════════════════════════
   INNER PAGES
   ══════════════════════════════════ */
html[dir="ltr"] .page-hero {
  text-align: center;
}

html[dir="ltr"] .page-content h2,
html[dir="ltr"] .page-content p {
  text-align: left;
}

/* Check list (feature pages) */
html[dir="ltr"] .check-list li {
  text-align: left;
  padding-left: 32px;
  padding-right: 0;
}

html[dir="ltr"] .check-list li::before {
  left: 0;
  right: auto;
}

/* Mobile list bullets */
html[dir="ltr"] .mob-list li {
  padding-left: 28px;
  padding-right: 0;
}

html[dir="ltr"] .mob-list li::before {
  left: 0;
  right: auto;
}

/* Icon items (inner pages) */
html[dir="ltr"] .icon-item h4,
html[dir="ltr"] .icon-item p {
  text-align: left;
}

/* Blog cards */
html[dir="ltr"] .blog-body {
  text-align: left;
}

html[dir="ltr"] .blog-card h3,
html[dir="ltr"] .blog-card p {
  text-align: left;
}

/* Legal pages */
html[dir="ltr"] .legal-content {
  text-align: left;
}

html[dir="ltr"] .legal-content h2,
html[dir="ltr"] .legal-content h3,
html[dir="ltr"] .legal-content p,
html[dir="ltr"] .legal-content li {
  text-align: left;
}

/* Key takeaways (blog articles) — flip border side */
html[dir="ltr"] .key-takeaways {
  border-left: 4px solid var(--orange);
  border-right: none;
}

/* Comparison table (blog articles) */
html[dir="ltr"] .article-content th,
html[dir="ltr"] .article-content td {
  text-align: left;
}

/* ══════════════════════════════════
   TEAM SECTION
   ══════════════════════════════════ */
html[dir="ltr"] .team-card {
  text-align: center;
}

/* ══════════════════════════════════
   BOTTOM CTA
   ══════════════════════════════════ */
html[dir="ltr"] .bottom-cta {
  text-align: center;
}

/* ══════════════════════════════════
   FLOATING WHATSAPP — move to bottom-right for LTR
   ══════════════════════════════════ */
/* inset-inline-start is already used, so logical property handles this automatically */

/* ══════════════════════════════════
   LANGUAGE SWITCHER
   ══════════════════════════════════ */
.lang-switch-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: transparent;
  color: var(--navy);
  font-size: .8rem;
  font-weight: 600;
  text-decoration: none;
  transition: all .2s;
}

.lang-switch-btn:hover {
  border-color: var(--orange);
  color: var(--orange);
}

/* ══════════════════════════════════
   RESPONSIVE OVERRIDES
   ══════════════════════════════════ */
@media (max-width: 968px) {
  html[dir="ltr"] .growth-inner {
    text-align: center;
  }

  html[dir="ltr"] .faq-header {
    text-align: center;
  }
}

@media (max-width: 640px) {
  html[dir="ltr"] .btn-primary-nav {
    display: none;
  }

  html[dir="ltr"] .footer-bottom {
    text-align: center;
  }
}
