/* =============================================
   Flyntio — style.css
   Vanilla CSS with logical properties for RTL
   ============================================= */

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ===== TOKENS ===== */
:root {
  --blue:          #4f8ef7;
  --blue-dark:     #1a56db;
  --blue-light:    #eef4ff;
  --purple:        #7e3af2;
  --purple-light:  #f3eeff;
  --green:         #059669;
  --green-light:   #d1fae5;
  --red-light:     #fff1f0;
  --red-text:      #b91c1c;

  --bg:            #ffffff;
  --surface:       #f8faff;
  --surface-alt:   #f3f4f6;
  --text:          #1a1a2e;
  --text-muted:    #6b7280;
  --border:        #e5e7eb;

  --font-sans:     'Heebo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --radius-sm:     6px;
  --radius-md:     10px;
  --radius-lg:     16px;
  --radius-xl:     24px;

  --shadow-sm:     0 1px 3px rgba(0,0,0,0.08);
  --shadow-md:     0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg:     0 8px 32px rgba(0,0,0,0.12);

  --header-h:      80px;
  --max-w:         1160px;
}

/* ===== BASE ===== */
body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  line-height: 1.25;
  font-weight: 700;
  color: var(--text);
}

h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.1rem; }

p { color: #374151; }
cite { font-style: normal; }

/* ===== LAYOUT ===== */
.container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}

section { padding-block: clamp(4rem, 8vw, 6rem); }

.section-intro {
  text-align: center;
  margin-block-end: 3rem;
}

.section-intro h2 { margin-block-end: 0.5rem; }

.section-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 60ch;
  margin-inline: auto;
  margin-block-start: 0.5rem;
}

/* ===== FADE-IN ===== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.fade-in.visible { opacity: 1; transform: none; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 600;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.15s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 2px 8px rgba(79,142,247,0.35);
}
.btn-primary:hover { background: var(--blue-dark); box-shadow: 0 4px 14px rgba(26,86,219,0.4); }

.btn-ghost {
  background: transparent;
  color: var(--blue);
  border: 2px solid var(--blue);
}
.btn-ghost:hover { background: var(--blue-light); }

.btn-lg { padding: 0.8rem 1.8rem; font-size: 1.05rem; }

.btn-whatsapp {
  background: #25d366;
  color: #fff;
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius-md);
  box-shadow: 0 2px 8px rgba(37,211,102,0.35);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.btn-whatsapp:hover { background: #1ebe5c; }

/* ===== LANG SWITCHER ===== */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.lang-switcher button {
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: background 0.15s, color 0.15s;
}
.lang-switcher button:hover { color: var(--blue); }
.lang-switcher button.active { color: var(--blue); background: var(--blue-light); }
.lang-switcher span { color: var(--border); }

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-block-end: 1px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.site-header.scrolled {
  border-block-end-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1.5rem;
}

.logo img, .logo svg { height: calc(var(--header-h) * 0.9); width: auto; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.main-nav a {
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.15s, background 0.15s;
}
.main-nav a:hover { color: var(--blue); background: var(--blue-light); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  border-radius: var(--radius-sm);
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== HERO ===== */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--blue-light) 0%, var(--purple-light) 100%);
  padding-block: clamp(5rem, 12vw, 8rem);
  text-align: center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(79,142,247,0.22) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 0;
}

.hero .container { max-width: 780px; position: relative; z-index: 1; }

.hero-headline {
  font-size: clamp(2rem, 5vw, 3.8rem);
  color: var(--text);
  margin-block-end: 1.2rem;
  letter-spacing: -0.02em;
}

.hero-sub1 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--blue-dark);
  margin-block-end: 0.75rem;
}

.hero-sub2 {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 55ch;
  margin-inline: auto;
  margin-block-end: 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== PROBLEM ===== */
.problem { background: var(--surface); }

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-block-start: 2.5rem;
}

.problem-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-left: 3px solid var(--red-text);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  color: #1a1a2e;
  box-shadow: var(--shadow-sm);
}

.problem-icon {
  width: 0.9rem;
  height: 0.9rem;
  flex-shrink: 0;
  margin-block-start: 0.2rem;
}

.problem-icon circle,
.problem-icon path {
  stroke: var(--red-text);
}

.problem-card p {
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.5;
}

/* ===== SERVICES ===== */
.services { background: var(--bg); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-block-start: 2.5rem;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}

.service-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: var(--blue);
}

.service-icon {
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blue-light);
  border-radius: var(--radius-md);
  margin-block-end: 1rem;
  color: var(--blue);
}

.service-icon svg {
  width: 1.4rem;
  height: 1.4rem;
  flex-shrink: 0;
}

.service-card h3 {
  margin-block-end: 0.4rem;
  color: var(--text);
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ===== HOW IT WORKS ===== */
.how-it-works { background: var(--surface); }

.steps {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-block-start: 3rem;
}

.step {
  flex: 1;
  text-align: center;
  padding-inline: 0.5rem;
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 1.4rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-inline: auto;
  margin-block-end: 1rem;
  box-shadow: 0 4px 12px rgba(79,142,247,0.35);
}

.step h3 { margin-block-end: 0.5rem; }
.step p { font-size: 0.93rem; color: var(--text-muted); max-width: 30ch; margin-inline: auto; }

.step-connector {
  flex-shrink: 0;
  width: 48px;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--purple));
  border-radius: 2px;
  margin-block-start: 27px;
}

/* ===== RESULTS ===== */
.results { background: #0f172a; }
.results .section-intro h2 { color: #f1f5f9; }
.results .section-sub { color: rgba(255,255,255,0.55); }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
  margin-block-start: 2.5rem;
}

.stat-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  text-align: center;
}

.stat-value {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--blue);
  line-height: 1;
  margin-block-end: 0.75rem;
}

.stat-card p {
  font-size: 0.9rem;
  line-height: 1.5;
  margin-block-end: 0.6rem;
  color: rgba(255,255,255,0.8);
}

.stat-card cite {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
}

/* ===== ABOUT ===== */
.about { background: var(--surface); }

.about-inner {
  max-width: 900px;
}

.about h2 { margin-block-end: 1rem; }
.about .bio { font-size: 1.05rem; margin-block-end: 1.75rem; line-height: 1.7; }

.differentiators {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.differentiators li {
  background: var(--bg);
  border: 1px solid var(--border);
  border-inline-start: 4px solid var(--blue);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 0.85rem 1.2rem;
  font-size: 0.93rem;
  line-height: 1.55;
  color: #374151;
}

[dir="rtl"] .differentiators li {
  border-inline-start: 1px solid var(--border);
  border-inline-end: 4px solid var(--blue);
  border-radius: var(--radius-md) 0 0 var(--radius-md);
}

.differentiators li strong { color: var(--text); }

/* ===== ABOUT PHOTO LAYOUT ===== */
.about-layout {
  display: flex;
  gap: 3rem;
  align-items: flex-start;
}

.about-photo { flex-shrink: 0; }

.about-photo-img,
.about-photo-placeholder {
  width: 160px;
  height: 160px;
  border-radius: 50%;
}

.about-photo-img {
  display: block;
  object-fit: cover;
  border: 4px solid var(--blue-light);
}

.about-photo-placeholder {
  background: linear-gradient(135deg, var(--blue) 0%, var(--purple) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 3rem;
  font-weight: 800;
  border: 4px solid var(--blue-light);
  user-select: none;
}

.about-content { flex: 1; min-width: 0; }

[dir="rtl"] .about-layout { flex-direction: row-reverse; }

@media (max-width: 640px) {
  .about-layout { flex-direction: column; align-items: center; }
  .about-content { text-align: center; }
  [dir="rtl"] .about-layout { flex-direction: column; }
}

/* ===== TECH STACK ===== */
.tech-stack { background: var(--bg); }

.tech-group { margin-block-end: 2rem; }

.tech-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-block-end: 1rem;
}

.tech-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.tech-logo {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-width: 100px;
  transition: border-color 0.2s, background 0.2s;
  cursor: default;
}

.tech-logo img {
  height: 32px;
  width: auto;
  max-width: 80px;
  object-fit: contain;
}

.tech-logo span {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-align: center;
}

.tech-logo:hover {
  border-color: var(--blue);
  background: var(--blue-light);
}

.tech-note {
  margin-block-start: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
}

/* ===== FAQ ===== */
.faq { background: var(--surface); }

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-block-start: 2.5rem;
  max-width: 820px;
}

.faq-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.faq-item[open] { box-shadow: var(--shadow-sm); border-color: var(--blue); }

.faq-item summary {
  padding: 1.1rem 1.4rem;
  font-weight: 600;
  font-size: 0.97rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  list-style: none;
  color: var(--text);
  transition: background 0.15s;
}

.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { display: none; }
.faq-item summary:hover { background: var(--blue-light); }

.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--blue);
  flex-shrink: 0;
  transition: transform 0.25s;
  line-height: 1;
}

.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-item > p {
  padding: 0 1.4rem 1.2rem;
  font-size: 0.93rem;
  line-height: 1.65;
  color: #374151;
  border-block-start: 1px solid var(--border);
  padding-block-start: 1rem;
}

/* ===== CONTACT ===== */
.contact { background: var(--bg); }

.contact .container { max-width: 860px; }
.contact h2 { margin-block-end: 0.75rem; text-align: center; }
.contact .subheading {
  text-align: center;
  color: var(--text-muted);
  max-width: 55ch;
  margin-inline: auto;
  margin-block-end: 2.5rem;
  font-size: 1.05rem;
}

.calendly-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-block-end: 2rem;
  min-height: 660px;
}

.contact-alt {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.contact-alt p { color: var(--text-muted); font-size: 0.95rem; }

.contact-email {
  color: var(--blue);
  font-size: 0.95rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--text);
  color: rgba(255,255,255,0.75);
  padding-block: 1.25rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  column-gap: 2rem;
  row-gap: 0.75rem;
}

.footer-brand { display: flex; flex-direction: column; gap: 0.4rem; }

.footer-brand img, .footer-brand svg {
  height: 48px;
  width: auto;
  align-self: flex-start;
  mix-blend-mode: screen;
}

.footer-brand p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
}

.footer-nav {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.footer-nav a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  transition: color 0.15s;
}
.footer-nav a:hover { color: #fff; }

.footer-lang .lang-switcher button { color: rgba(255,255,255,0.5); }
.footer-lang .lang-switcher button:hover { color: #fff; background: rgba(255,255,255,0.1); }
.footer-lang .lang-switcher button.active { color: #fff; background: rgba(255,255,255,0.15); }
.footer-lang .lang-switcher span { color: rgba(255,255,255,0.25); }

.footer-legal {
  grid-column: 1 / -1;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
  border-block-start: 1px solid rgba(255,255,255,0.1);
  padding-block-start: 1.5rem;
  margin-block-start: 0.5rem;
}

.footer-legal a {
  color: rgba(255,255,255,0.5);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ===== WHATSAPP FAB ===== */
.whatsapp-fab {
  position: fixed;
  inset-block-end: 1.5rem;
  inset-inline-end: 1.5rem;
  z-index: 50;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,0.45);
  transition: transform 0.2s, background 0.2s;
}
.whatsapp-fab:hover { transform: scale(1.08); background: #1ebe5c; }
.whatsapp-fab:active { transform: scale(0.96); }

/* ===== SECTION HEADING HELPERS ===== */
.section-heading-blue { color: var(--blue-dark); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .problem-grid { grid-template-columns: repeat(2, 1fr); }

  .steps {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }
  .step { max-width: 420px; width: 100%; }
  .step-connector {
    width: 4px;
    height: 40px;
    background: linear-gradient(180deg, var(--blue), var(--purple));
    margin-block-start: 0;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    row-gap: 1.5rem;
  }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 700px) {
  .hamburger { display: flex; }

  .main-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    inset-inline-start: 0;
    inset-inline-end: 0;
    background: var(--bg);
    border-block-end: 1px solid var(--border);
    flex-direction: column;
    padding: 0.75rem 1rem;
    box-shadow: var(--shadow-md);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 0.6rem 1rem; width: 100%; }

  .site-header { position: relative; }

  .header-actions .btn { display: none; }

  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn { width: 100%; max-width: 320px; justify-content: center; }

  .footer-inner { grid-template-columns: 1fr; gap: 1.25rem; }
  .footer-brand { grid-column: auto; }
  .footer-nav { flex-direction: column; gap: 0.6rem; }
}

@media (max-width: 480px) {
  .services-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .problem-grid { grid-template-columns: 1fr; }
}

/* ===== INDUSTRY SWITCHER ===== */
.industry-switcher {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-block-end: 2rem;
}

.industry-btn {
  padding: 0.4rem 1.1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  border: 1.5px solid var(--border);
  background: rgba(255,255,255,0.7);
  transition: background 0.18s, color 0.18s, border-color 0.18s, box-shadow 0.18s;
}

.industry-btn:hover {
  color: var(--blue);
  border-color: var(--blue);
  background: var(--blue-light);
}

.industry-btn.active {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
  box-shadow: 0 2px 8px rgba(79,142,247,0.3);
}

/* ===== PRICING ===== */
.pricing { background: var(--surface); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-block-start: 2.5rem;
  align-items: start;
}

.pricing-card {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  transition: box-shadow 0.2s, transform 0.2s;
}

.pricing-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.pricing-card--featured {
  background: #0f172a;
  border-color: var(--blue);
  box-shadow: 0 8px 40px rgba(79,142,247,0.25);
}

.pricing-card--featured .pricing-badge--featured { color: #93c5fd; }
.pricing-card--featured .pricing-amount { color: #f1f5f9; }
.pricing-card--featured .pricing-from,
.pricing-card--featured .pricing-period { color: rgba(255,255,255,0.5); }
.pricing-card--featured h3 { color: #f1f5f9; }
.pricing-card--featured .pricing-desc { color: rgba(255,255,255,0.65); }
.pricing-card--featured .pricing-features li { color: rgba(255,255,255,0.8); }
.pricing-card--featured .pricing-features li::before { color: #34d399; }
.pricing-card--featured .pricing-popular {
  background: var(--blue);
  box-shadow: 0 4px 12px rgba(79,142,247,0.4);
}

.pricing-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-muted);
}

.pricing-badge--featured {
  color: var(--blue);
}

.pricing-popular {
  position: absolute;
  top: -13px;
  inset-inline-start: 50%;
  transform: translateX(-50%);
  background: var(--blue);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.9rem;
  border-radius: 999px;
  white-space: nowrap;
}

[dir="rtl"] .pricing-popular {
  transform: translateX(50%);
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
}

.pricing-from {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.pricing-amount {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--text);
  line-height: 1;
}

.pricing-period {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
}

.pricing-card h3 {
  font-size: 1.05rem;
  color: var(--text);
  margin: 0;
}

.pricing-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex: 1;
}

.pricing-features li {
  font-size: 0.88rem;
  color: #374151;
  padding-inline-start: 1.4rem;
  position: relative;
  line-height: 1.4;
}

.pricing-features li::before {
  content: '✓';
  position: absolute;
  inset-inline-start: 0;
  color: var(--green);
  font-weight: 700;
}

.pricing-card .btn {
  margin-block-start: 0.5rem;
  justify-content: center;
  width: 100%;
}

.pricing-note {
  text-align: center;
  margin-block-start: 2rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
}

@media (max-width: 900px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
}

/* ===== RTL OVERRIDES ===== */
[dir="rtl"] body { font-family: 'Heebo', 'Arial Hebrew', var(--font-sans); }

[dir="rtl"] .hero {
  background: linear-gradient(225deg, var(--blue-light) 0%, var(--purple-light) 100%);
}

[dir="rtl"] .faq-item summary {
  flex-direction: row-reverse;
}

[dir="rtl"] .faq-item summary::after {
  content: '+';
}

[dir="rtl"] .problem-card {
  flex-direction: row-reverse;
  text-align: end;
}

/* Gradient step-connector in RTL column mode */
[dir="rtl"] .step-connector {
  background: linear-gradient(270deg, var(--blue), var(--purple));
}
