/* mqas.app landing — custom styles.
   Design rules: consistent radii (8/12/999), subtle borders, no heavy shadows,
   Arabic-first, full RTL support, restrained color used on actions/status only. */

:root {
  --font-ar: "IBM Plex Sans Arabic", "Segoe UI", system-ui, sans-serif;
  --font-en: "Inter", system-ui, -apple-system, sans-serif;

  --bg: #ffffff;
  --bg-soft: #f7f7f9;
  --bg-dark: #0f1222;
  --ink: #14161f;
  --ink-soft: #565b6e;
  --ink-muted: #8a8f9e;
  --line: #e7e8ee;
  --line-strong: #d4d7e0;

  --brand: #4338ca; /* indigo-700 */
  --brand-ink: #312d81;
  --accent: #7c3aed; /* violet-600 */
  --success: #0f9d58;
  --warning: #b45309;

  --radius-sm: 8px;
  --radius: 12px;
  --radius-pill: 999px;

  --maxw: 1140px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-ar);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

html[lang="en"] body { font-family: var(--font-en); }

/* RTL/LTR helpers */
[dir="rtl"] { text-align: right; }
[dir="ltr"] { text-align: left; }

a { color: inherit; text-decoration: none; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 600; font-size: 16px; line-height: 1;
  padding: 14px 22px; border-radius: var(--radius-sm);
  border: 1px solid transparent; cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .08s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-ink); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-light { background: #fff; color: var(--brand-ink); }
.btn-light:hover { background: #f1f1f7; }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn-outline-light:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn-lg { padding: 16px 26px; font-size: 17px; }
.btn-block { width: 100%; }

/* ---- Top Navbar ---- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  transition: background .3s ease, box-shadow .3s ease, border-color .3s ease;
  background: transparent;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 6px 24px -18px rgba(16,18,31,.4);
}
.nav-inner { display: flex; align-items: center; gap: 22px; height: 70px; }
.brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 20px; letter-spacing: -.01em;
  color: #fff; transition: color .3s ease;
}
.nav.scrolled .brand { color: var(--ink); }
.brand-mark {
  width: 34px; height: 34px; border-radius: 9px;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  color: #fff; display: grid; place-items: center;
  font-weight: 700; font-size: 16px;
  box-shadow: 0 4px 14px -4px rgba(124,58,237,.6);
}
.nav-links { display: flex; gap: 28px; margin-inline-start: 14px; }
.nav-links a {
  color: rgba(255,255,255,.82); font-size: 15px; font-weight: 500;
  position: relative; padding: 6px 2px; transition: color .2s ease;
}
.nav-links a::after {
  content: ""; position: absolute; inset-inline-start: 0; bottom: 0;
  height: 2px; width: 0; background: #fff; transition: width .25s ease;
}
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { width: 100%; }
.nav.scrolled .nav-links a { color: var(--ink-soft); }
.nav.scrolled .nav-links a:hover { color: var(--ink); }
.nav.scrolled .nav-links a::after { background: var(--brand); }
.nav-actions { display: flex; align-items: center; gap: 12px; margin-inline-start: auto; }

.lang-toggle {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid rgba(255,255,255,.35); border-radius: var(--radius-pill);
  padding: 8px 15px; font-size: 14px; font-weight: 600; cursor: pointer;
  background: rgba(255,255,255,.08); color: #fff; transition: all .2s ease;
}
.lang-toggle:hover { background: rgba(255,255,255,.18); border-color: #fff; }
.nav.scrolled .lang-toggle { border-color: var(--line-strong); background: #fff; color: var(--ink); }
.nav.scrolled .lang-toggle:hover { border-color: var(--ink); }

.nav-cta {
  background: #fff; color: var(--brand-ink); border: 1px solid transparent;
}
.nav-cta:hover { background: #f1f1f7; }
.nav.scrolled .nav-cta { background: var(--brand); color: #fff; }
.nav.scrolled .nav-cta:hover { background: var(--brand-ink); }

.nav-burger {
  display: none; width: 42px; height: 42px; border-radius: 9px;
  border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.08);
  color: #fff; cursor: pointer; align-items: center; justify-content: center;
}
.nav.scrolled .nav-burger { border-color: var(--line-strong); background: #fff; color: var(--ink); }
.nav-burger svg { width: 22px; height: 22px; }

/* Mobile drawer */
.mobile-menu {
  position: fixed; inset: 70px 0 auto 0; z-index: 55;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  padding: 16px 24px 24px; display: none;
  flex-direction: column; gap: 6px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 14px 6px; font-size: 17px; font-weight: 500; color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.mobile-menu .btn { margin-top: 12px; }

/* ---- Section primitives ---- */
.section { padding: 88px 0; }
.section-soft { background: var(--bg-soft); }
.section-dark { background: var(--bg-dark); color: #eef0f7; }

.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 600;
  color: var(--brand); background: rgba(67,56,202,.08);
  padding: 6px 12px; border-radius: var(--radius-pill); margin-bottom: 16px;
}
.section-dark .eyebrow { color: #c7c9ff; background: rgba(199,201,255,.12); }

.section-title { font-size: clamp(26px, 3.4vw, 40px); line-height: 1.2; font-weight: 700; letter-spacing: -.02em; margin: 0 0 14px; }
.section-lead { font-size: 18px; color: var(--ink-soft); max-width: 640px; margin: 0; }
.section-dark .section-lead { color: #b9bdce; }
.center { text-align: center; }
.center .section-lead { margin-inline: auto; }

/* ---- Hero ---- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(124,58,237,.20), transparent 60%),
    radial-gradient(900px 500px at 10% 0%, rgba(67,56,202,.22), transparent 55%),
    linear-gradient(160deg, #1b1d3a 0%, #2a2150 45%, #3a2566 100%);
  color: #fff;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 22px 22px; opacity: .5;
}
.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center;
  padding: 92px 0 96px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.22);
  color: #e8e9ff; font-size: 14px; font-weight: 500;
  padding: 7px 14px; border-radius: var(--radius-pill); margin-bottom: 22px;
}
.hero h1 { font-size: clamp(30px, 4.4vw, 50px); line-height: 1.15; font-weight: 700; letter-spacing: -.02em; margin: 0 0 18px; }
.hero p.lead { font-size: 19px; color: rgba(255,255,255,.86); max-width: 560px; margin: 0 0 28px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.hero-note { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; color: rgba(255,255,255,.72); font-size: 14px; }
.hero-note .dot { width: 6px; height: 6px; border-radius: 50%; background: #6ee7a8; display: inline-block; margin-inline-end: 7px; }

/* ---- Storefront mockup ---- */
.mockup {
  position: relative; z-index: 1;
  background: #fff; color: var(--ink); border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.25);
  box-shadow: 0 18px 50px -20px rgba(0,0,0,.55);
  padding: 18px; transform: rotate(.6deg);
}
.mockup-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.mockup-head h4 { margin: 0; font-size: 16px; font-weight: 700; }
.mockup-prod { font-size: 13px; color: var(--ink-soft); margin-bottom: 12px; }
.mockup-tabs { display: inline-flex; background: var(--bg-soft); border-radius: var(--radius-sm); padding: 4px; margin-bottom: 14px; }
.mockup-tabs button {
  border: 0; background: transparent; cursor: pointer; font: inherit;
  font-size: 13px; font-weight: 600; color: var(--ink-soft);
  padding: 7px 14px; border-radius: 6px;
}
.mockup-tabs button.active { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.06); }
.mockup-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.mockup-table th, .mockup-table td { padding: 9px 10px; border-bottom: 1px solid var(--line); text-align: start; }
.mockup-table th { color: var(--ink-muted); font-weight: 600; font-size: 12px; }
.mockup-table tr.recommended { background: rgba(15,157,88,.08); }
.mockup-table tr.recommended td { font-weight: 600; }
.fit-banner {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  background: rgba(67,56,202,.07); border: 1px solid rgba(67,56,202,.18);
  border-radius: var(--radius-sm); padding: 10px 12px; margin-top: 14px; font-size: 13px;
}
.fit-banner .rec { font-weight: 700; color: var(--brand-ink); }

/* ---- Trust strip ---- */
/* ---- Trust strip (dark band, white wordmarks) ---- */
.trust-strip {
  padding: 40px 0; background: var(--bg-dark); color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.trust-row { display: flex; align-items: center; justify-content: center; gap: 36px; flex-wrap: wrap; }
.trust-label { color: rgba(255,255,255,.55); font-size: 13px; font-weight: 600; letter-spacing: .01em; }
.trust-logos { display: inline-flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.trust-logo { display: inline-flex; align-items: center; gap: 8px; }
.trust-logo img { height: 30px; width: auto; display: block; opacity: .92; }
.trust-logo.soon img { opacity: .5; }
.trust-logo em {
  font-style: normal; font-size: 11px; font-weight: 600; color: rgba(255,255,255,.5);
  background: rgba(255,255,255,.08); padding: 3px 9px; border-radius: var(--radius-pill);
}
.trust-sep { width: 1px; height: 26px; background: rgba(255,255,255,.14); }

/* ---- Grids ---- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; transition: border-color .18s ease, transform .18s ease;
  height: 100%;
}
.card:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.section-dark .card { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.10); }
.section-dark .card:hover { border-color: rgba(255,255,255,.24); }

.icon-box {
  width: 46px; height: 46px; border-radius: var(--radius-sm);
  display: grid; place-items: center; margin-bottom: 16px;
  background: rgba(67,56,202,.10); color: var(--brand);
}
.section-dark .icon-box { background: rgba(199,201,255,.14); color: #c7c9ff; }
.icon-box svg { width: 22px; height: 22px; }
.card h3 { margin: 0 0 8px; font-size: 18px; font-weight: 600; }
.card p { margin: 0; color: var(--ink-soft); font-size: 15px; }
.section-dark .card p { color: #b9bdce; }

/* ---- How it works ---- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; padding: 28px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.step .num {
  width: 38px; height: 38px; border-radius: 50%; background: var(--brand); color: #fff;
  display: grid; place-items: center; font-weight: 700; margin-bottom: 16px;
}
.step h3 { margin: 0 0 8px; font-size: 18px; font-weight: 600; }
.step p { margin: 0; color: var(--ink-soft); font-size: 15px; }

/* ---- Platforms ---- */
.platform-card {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; background: #fff;
  display: flex; flex-direction: column;
}
.platform-card .tag {
  display: inline-block; font-size: 12px; font-weight: 600; padding: 4px 10px;
  border-radius: var(--radius-pill); margin-bottom: 14px; align-self: flex-start;
}
.platform-card.primary .tag { background: rgba(67,56,202,.10); color: var(--brand); }
.platform-card.accent .tag { background: rgba(124,58,237,.10); color: var(--accent); }
.platform-card.muted .tag { background: var(--bg-soft); color: var(--ink-soft); }
.platform-card p { margin: 0; color: var(--ink-soft); font-size: 15px; line-height: 1.6; }

/* ---- Pricing ---- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; background: #fff;
  display: flex; flex-direction: column;
}
.plan.featured { border-color: var(--brand); box-shadow: 0 8px 24px -16px rgba(67,56,202,.45); position: relative; }
.plan-flag {
  position: absolute; inset-inline-end: 24px; top: -12px;
  background: var(--brand); color: #fff; font-size: 12px; font-weight: 600;
  padding: 4px 12px; border-radius: var(--radius-pill);
}
.plan h3 { margin: 0 0 6px; font-size: 18px; font-weight: 600; }
.plan .price { font-size: 28px; font-weight: 700; letter-spacing: -.02em; margin: 14px 0 2px; }
.plan .period { color: var(--ink-muted); font-size: 13px; margin: 0 0 22px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-direction: column; gap: 11px; }
.plan li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-soft); font-size: 15px; }
.plan li svg { width: 18px; height: 18px; color: var(--success); flex-shrink: 0; margin-top: 2px; }
.pricing-note { text-align: center; color: var(--ink-muted); font-size: 14px; margin-top: 26px; }

/* ---- Final CTA ---- */
.finalcta {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 400px at 80% -20%, rgba(124,58,237,.30), transparent 60%),
    linear-gradient(160deg, #2a2150 0%, #3a2566 100%);
  color: #fff; text-align: center;
}
.finalcta-inner { padding: 80px 0; position: relative; z-index: 1; }
.finalcta h2 { font-size: clamp(26px, 3.6vw, 40px); font-weight: 700; letter-spacing: -.02em; margin: 0 0 14px; }
.finalcta p { font-size: 18px; color: rgba(255,255,255,.85); max-width: 560px; margin: 0 auto 28px; }
.finalcta-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---- Footer ---- */
.footer { background: #0c0e1a; color: #b9bdce; padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; }
.footer .brand { color: #fff; margin-bottom: 14px; }
.footer p { margin: 0 0 18px; font-size: 14px; max-width: 300px; }
.footer h4 { color: #fff; font-size: 14px; font-weight: 600; margin: 0 0 14px; text-transform: none; }
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer a { font-size: 14px; color: #b9bdce; }
.footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.10); margin-top: 44px; padding-top: 22px; font-size: 13px; color: #8a8f9e; }

/* ---- Reveal animation ---- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---- Responsive ---- */
@media (max-width: 920px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; padding: 64px 0; }
  .nav-links { display: none; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .steps, .plans { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .section { padding: 64px 0; }
}
@media (max-width: 560px) {
  .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .nav-actions .btn-primary { display: none; }
  .wrap { padding: 0 18px; }
  .hero h1 { font-size: 30px; }
}

/* ============================================================
   ADDED: full styling for sfqa-inspired sections
   ============================================================ */

/* ---- Hero additions ---- */
.hero-copy { min-width: 0; }
.hero h1 .hl { color: #fde68a; position: relative; display: inline-block; }
.hero h1 .hl-unit { font-size: .55em; font-weight: 600; opacity: .9; }
.hero-badge .dot.live { width: 8px; height: 8px; background: #6ee7a8; border-radius: 50%; display: inline-block; }
.hero-trust { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; color: rgba(255,255,255,.78); font-size: 14px; }
.hero-trust-item { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust .dot { width: 7px; height: 7px; border-radius: 50%; background: #6ee7a8; display: inline-block; }
.hero-visual { position: relative; }
.float {
  position: absolute; z-index: 2; font-size: 13px; font-weight: 700;
  padding: 8px 14px; border-radius: var(--radius-pill);
  box-shadow: 0 8px 24px -10px rgba(0,0,0,.5);
  animation: floaty 5s ease-in-out infinite;
}
.float-tr { top: -14px; inset-inline-end: -10px; background: #fde68a; color: #5b4500; }
.float-bl { bottom: -14px; inset-inline-start: -10px; background: #6ee7a8; color: #064e2e; animation-delay: -2.5s; }
@keyframes floaty { 0%,100%{ transform: translateY(0); } 50%{ transform: translateY(-9px); } }
.hero-stats {
  position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4,1fr);
  gap: 18px; padding: 28px 0 8px; border-top: 1px solid rgba(255,255,255,.12); margin-top: 8px;
}
.hero-stat { display: flex; flex-direction: column; gap: 4px; }
.hero-stat-icon { color: #c7c9ff; margin-bottom: 2px; }
.hero-stat-icon svg { width: 20px; height: 20px; }
.hero-stat-value { font-size: 26px; font-weight: 700; letter-spacing: -.02em; color: #fff; }
.hero-stat-label { font-size: 13px; color: rgba(255,255,255,.7); }
.mockup-metrics { display: flex; flex-direction: column; gap: 2px; font-size: 11px; color: var(--ink-muted); text-align: end; }
.mockup-metrics b { color: var(--ink); font-weight: 700; }
.fit-banner .fit-ico { color: var(--brand); display: inline-flex; }
.fit-banner .fit-ico svg { width: 18px; height: 18px; }
.fit-banner .rec { font-weight: 700; color: var(--brand-ink); margin-inline-end: auto; }

/* ---- Title highlight tokens ---- */
.hl { color: var(--brand); }
.hl-red { color: #fca5a5; }
.hl-yellow { color: #fde68a; }
.subsection-title { font-size: clamp(22px, 2.6vw, 30px); font-weight: 700; letter-spacing: -.02em; margin: 0; color: var(--ink); text-align: center; }
.subsection-title.light { color: #fff; }

/* ---- Eyebrow tone variants ---- */
.eyebrow.danger { color: #fca5a5; background: rgba(252,165,165,.12); }
.eyebrow.success { color: var(--success); background: rgba(15,157,88,.10); }
.eyebrow.warning { color: #fcd34d; background: rgba(252,211,77,.12); }
.section-dark .eyebrow.danger { color: #fca5a5; background: rgba(252,165,165,.14); }
.section-dark .eyebrow.success { color: #6ee7a8; background: rgba(110,231,168,.14); }
.section-dark .eyebrow.warning { color: #fcd34d; background: rgba(252,211,77,.14); }
.icon-box.danger { background: rgba(252,165,165,.14); color: #fca5a5; }
.section-dark .icon-box.danger { background: rgba(252,165,165,.14); color: #fca5a5; }

/* ---- Problem section ---- */
.pp-card {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--radius); padding: 24px; height: 100%; display: flex; flex-direction: column;
  transition: border-color .18s ease, transform .18s ease;
}
.pp-card:hover { border-color: rgba(252,165,165,.4); transform: translateY(-2px); }
.pp-head { margin-bottom: 14px; }
.pp-head .icon-box { margin-bottom: 0; }
.pp-card h3 { margin: 0 0 8px; font-size: 17px; font-weight: 600; color: #fff; }
.pp-card p { margin: 0 0 16px; color: #b9bdce; font-size: 14px; flex: 1; }
.pp-impact {
  background: rgba(252,165,165,.10); border: 1px solid rgba(252,165,165,.25);
  border-radius: var(--radius-sm); padding: 9px 12px;
  color: #fca5a5; font-size: 13px; font-weight: 500;
}

/* ---- Problem banner ---- */
.banner {
  margin-top: 44px; border-radius: var(--radius);
  background: linear-gradient(120deg, rgba(252,165,165,.12), rgba(180,83,9,.12));
  border: 1px solid rgba(252,165,165,.25); padding: 36px;
}
.banner h3 { text-align: center; font-size: clamp(20px,2.4vw,26px); font-weight: 700; margin: 0 0 8px; color: #fff; }
.banner > p { text-align: center; color: #c7c9d6; max-width: 620px; margin: 0 auto 28px; font-size: 16px; }
.banner-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.banner-stat {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--radius); padding: 22px; text-align: center;
}
.banner-stat .icon-box { margin: 0 auto 12px; }
.banner-stat-val { font-size: 30px; font-weight: 700; color: #6ee7a8; letter-spacing: -.02em; }
.banner-stat-lbl { font-size: 13px; color: #b9bdce; margin-top: 4px; }

/* ---- Before / After comparison ---- */
.ba {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: 0 10px 30px -22px rgba(16,18,31,.3);
}
.ba-row {
  display: grid; grid-template-columns: 1fr 1fr auto 1fr; align-items: center;
  gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line);
}
.ba-row:last-child { border-bottom: 0; }
.ba-label { font-weight: 600; color: var(--ink); font-size: 15px; }
.ba-before { color: var(--ink-muted); font-size: 15px; text-decoration: line-through; }
.ba-arrow { color: var(--brand); display: inline-flex; }
[dir="rtl"] .ba-arrow svg { transform: scaleX(-1); }
.ba-arrow svg { width: 22px; height: 22px; }
.ba-after { color: var(--success); font-weight: 600; font-size: 15px; }

/* ---- Achievements grid ---- */
.ach-grid { margin-bottom: 8px; }
.ach {
  text-align: center; background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.10); border-radius: var(--radius); padding: 24px 18px;
}
.ach .icon-box { margin: 0 auto 12px; }
.ach-val { font-size: 32px; font-weight: 700; color: #fff; letter-spacing: -.02em; }
.ach-lbl { font-size: 13px; color: #b9bdce; margin-top: 4px; }

/* ---- Trust banner (proof) ---- */
.trust-banner {
  margin-top: 44px; border-radius: var(--radius);
  background: linear-gradient(120deg, rgba(15,157,88,.16), rgba(67,56,202,.16));
  border: 1px solid rgba(255,255,255,.14); padding: 36px;
}
.trust-banner h3 { text-align: center; font-size: clamp(20px,2.4vw,26px); font-weight: 700; margin: 0 0 28px; color: #fff; }
.trust-grid { gap: 22px; }
.trust-block { text-align: center; }
.trust-emoji { font-size: 32px; margin-bottom: 10px; }
.trust-title { font-weight: 700; color: #fff; margin-bottom: 6px; font-size: 16px; }
.trust-block p { color: #c7c9d6; font-size: 14px; margin: 0; }

/* ---- Pricing plan subtitle ---- */
.plan-sub { color: var(--ink-muted); font-size: 13px; margin: 0 0 16px; }

/* ---- Pricing guarantees ---- */
.guarantees {
  margin-top: 56px; background: var(--bg-soft); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 36px;
}
.guarantees h3 { text-align: center; font-size: clamp(20px,2.4vw,26px); font-weight: 700; margin: 0 0 28px; }
.guar { text-align: center; }
.guar-emoji { font-size: 30px; margin-bottom: 10px; }
.guar-title { font-weight: 700; margin-bottom: 6px; font-size: 16px; }
.guar p { color: var(--ink-soft); font-size: 14px; margin: 0; }

/* ---- Final CTA ---- */
.finalcta-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; padding: 72px 0; }
.finalcta-copy h2 { font-size: clamp(26px,3.6vw,40px); font-weight: 700; letter-spacing: -.02em; margin: 0 0 14px; color: #fff; }
.finalcta-copy > p { font-size: 18px; color: rgba(255,255,255,.85); max-width: 520px; margin: 0 0 24px; }
.cta-points { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.cta-point { display: flex; align-items: center; gap: 10px; color: #fff; font-size: 15px; }
.cta-dot { width: 8px; height: 8px; border-radius: 50%; background: #6ee7a8; flex-shrink: 0; }
.finalcta-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.finalcta-card {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius); padding: 28px; backdrop-filter: blur(8px);
}
.finalcta-card h3 { margin: 0 0 20px; color: #fff; font-size: 18px; font-weight: 700; text-align: center; }
.cta-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cta-stat { background: rgba(255,255,255,.06); border-radius: var(--radius-sm); padding: 16px; text-align: center; }
.cta-stat-val { font-size: 24px; font-weight: 700; color: #fde68a; }
.cta-stat-lbl { font-size: 12px; color: rgba(255,255,255,.7); margin-top: 4px; }
.finalcta-bottom {
  margin-top: 24px; padding: 56px 32px; border-radius: var(--radius); text-align: center;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
}
.finalcta-bottom h3 { font-size: clamp(20px,2.6vw,28px); font-weight: 700; margin: 0 0 12px; color: #fff; }
.finalcta-bottom p { color: rgba(255,255,255,.8); margin: 0; font-size: 16px; }

/* ---- Responsive additions ---- */
@media (max-width: 920px) {
  .hero-stats { grid-template-columns: repeat(2,1fr); gap: 22px; }
  .ba-row { grid-template-columns: 1fr; gap: 6px; text-align: start; padding: 14px 0; }
  .ba-row .ba-arrow { transform: rotate(90deg); margin: 2px 0; }
  [dir="rtl"] .ba-row .ba-arrow svg { transform: scaleX(-1) rotate(0deg); }
  .finalcta-grid { grid-template-columns: 1fr; gap: 32px; padding: 56px 0; }
}

/* ---- Fit-finder panel (interactive demo) ---- */
.mockup-panel { animation: fadeIn .25s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

.fit-head { margin-bottom: 14px; }
.fit-head h5 { margin: 0 0 4px; font-size: 15px; font-weight: 700; color: var(--ink); }
.fit-head p { margin: 0; font-size: 12px; color: var(--ink-muted); }

.fit-field { margin-bottom: 12px; }
.fit-field label { display: block; font-size: 12px; font-weight: 600; color: var(--ink-soft); margin-bottom: 5px; }
.fit-field input, .fit-field select {
  width: 100%; border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  padding: 10px 12px; font: inherit; font-size: 14px; color: var(--ink); background: #fff;
  transition: border-color .15s ease;
}
.fit-field input:focus, .fit-field select:focus { outline: none; border-color: var(--brand); }

/* hide number spinners for a cleaner look */
.fit-field input[type="number"]::-webkit-outer-spin-button,
.fit-field input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.fit-field input[type="number"] { -moz-appearance: textfield; }

.fit-result { margin-top: 14px; }
.fit-result-inner {
  display: flex; align-items: center; gap: 12px;
  border-radius: var(--radius-sm); padding: 14px;
}
.fit-result-inner.ok { background: rgba(15,157,88,.10); border: 1px solid rgba(15,157,88,.30); }
.fit-result-inner.warn { background: rgba(180,83,9,.08); border: 1px solid rgba(180,83,9,.28); }
.fit-result-icon { flex-shrink: 0; display: inline-flex; }
.fit-result-inner.ok .fit-result-icon { color: var(--success); }
.fit-result-inner.warn .fit-result-icon { color: var(--warning); }
.fit-result-icon svg { width: 22px; height: 22px; }
.fit-result-msg { font-size: 15px; font-weight: 600; color: var(--ink); }
.fit-result-inner.ok .fit-result-msg b { color: var(--success); font-size: 18px; }
.fit-result-reason { font-size: 12px; color: var(--ink-muted); margin-top: 2px; }
.fit-reset {
  margin-top: 10px; background: none; border: 0; cursor: pointer;
  color: var(--brand); font: inherit; font-size: 13px; font-weight: 600; padding: 4px 0;
}
.fit-reset:hover { text-decoration: underline; }

/* ---- Fit button: always Arabic-capable font ---- */
.btn[data-fit-calc], .fit-field, .fit-result, .fit-reset, .fit-head {
  font-family: var(--font-ar);
}
html[lang="en"] .btn[data-fit-calc],
html[lang="en"] .fit-field,
html[lang="en"] .fit-result,
html[lang="en"] .fit-reset,
html[lang="en"] .fit-head {
  font-family: var(--font-en);
}

/* ---- Platform card logos ---- */
.plat-logo { width: 56px; height: 56px; width: auto; margin-bottom: 16px; display: block; object-fit: contain; }
.platform-card .plat-logo[src$=".png"] { width: 56px; height: 56px; border-radius: 12px; }
.platform-card .plat-logo[src$=".svg"]:not([src*="white"]) { height: 40px; width: auto; }
