/* ============================================================
   FOTA-MAIL · Landing — صفحة الإطلاق (welcome.html)
   ------------------------------------------------------------
   التصميم: BlueSherbetLanding.html. القياسات منّه بالحرف على
   شاشة ١٤٤٠ (محتوى ١٢٩٦)، والشبكات بتنطوي تحت ١١٠٠ و٧٦٠ و٥٦٠ —
   التصميم الأصلي عرض ثابت ١٤٤٠ وبس.

   كل الألوان من توكنات tokens.css، فالثيم الغامق بيمشي لحاله.
   ألوان الكروت الملوّنة بالبطل والميزات (أزرق فاتح بدرجات)
   بالتوكنات --lp-* تحت، وإلها نسخة غامقة.

   الحركة: كلها CSS إلا الظهور بالتمرير والميلان (landing.js).
   base.css بيوقّف كل الحركات مع "تقليل الحركة".
   ============================================================ */

.lp {
  --lp-t1: #DCEBFF;
  --lp-t2: #D6E6FF;
  --lp-t3: #C9E4FF;
  --lp-t4: #EAF2FF;
  --lp-t5: #EEF5FF;
  --lp-glass: rgba(255, 255, 255, .72);
  --lp-ease: cubic-bezier(.2, .8, .2, 1);
}
[data-theme="dark"] .lp {
  --lp-t1: color-mix(in srgb, #0B63F6 22%, var(--surface));
  --lp-t2: color-mix(in srgb, #0B63F6 18%, var(--surface));
  --lp-t3: color-mix(in srgb, #2E9BFF 20%, var(--surface));
  --lp-t4: color-mix(in srgb, #0B63F6 12%, var(--surface));
  --lp-t5: color-mix(in srgb, #0B63F6 8%, var(--surface));
  --lp-glass: color-mix(in srgb, var(--surface) 78%, transparent);
}

/* ============================================================
   ⚠️ الصفحة بتمرّر بجسمها — بخلاف التطبيق
   base.css بيحط overflow: hidden على body لأن البريد بيمرّر جوّا
   أعمدته. صفحة مستند لازم تفكّه، وإلا سفاري بيقفلها على أول شاشة
   (صار مرتين قبل — tests/scroll-check.js بيفحص القاعدة).
   ============================================================ */
html, body { height: auto; }
html { overflow-y: auto; scroll-behavior: smooth; scroll-padding-top: 110px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ⚠️ body لازم ما يكون حاوية تمرير — النافذة (html) هي يلي بتمرّر.
   كان عليه overflow-x: hidden، وهاد بيحوّله حاوية تمرير (overflow-y
   بيصير auto لحاله) بلا شي يمرّره. ومع overscroll-behavior: none من
   base.css (مقصود للتطبيق) عجلة الماوس كانت توقف عنده وما توصل
   للنافذة: الصفحة ما بتنزل إلا بسحب الشريط (بلاغ ٢٠٢٦-٠٩-٢٩).
   clip بيقصّ الفايض الأفقي بلا ما يعمل حاوية تمرير. */
body.lp {
  background: var(--surface-container);
  overflow: visible;
  overflow-x: clip;
  overscroll-behavior: auto;
}

.lp-root {
  position: relative;
  color: var(--on-surface);
  font-family: var(--fm-font);
  overflow-x: clip;
}
.lp-root h1, .lp-root h2, .lp-root h3, .lp-root p { margin: 0; }
/* :where بلا وزن — بلاها كانت بتغلب لون الأزرار (الزر الأبيض
   طلع نصّه أبيض على أبيض) */
:where(.lp-root) a { color: inherit; }

/* المحتوى ١٢٩٦ بالنص، و٢٤ عالجنبين أقل شي */
.lp-nav,
.lp-hero,
.lp-sec,
.lp-foot {
  width: min(1296px, 100% - 48px);
  margin-inline: auto;
}

.lp-ic {
  width: 20px; height: 20px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.lp-mut { color: var(--on-surface-variant); }

/* ---------- الأزرار (.btn بالتصميم) ---------- */
.lp-btn {
  position: relative;
  overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 54px;
  padding-inline: 28px;
  border-radius: var(--fm-r-pill);
  border: 1px solid transparent;
  font-family: var(--fm-font);
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  transition: transform .25s var(--lp-ease), box-shadow .25s, background .25s, border-color .25s, color .25s;
}
.lp-btn .lp-ic { transition: transform .25s; }
.lp-btn:hover { transform: translateY(-2px); }
.lp-btn:hover .lp-ic { transform: translateX(3px); }
[dir="rtl"] .lp-btn .lp-ic { transform: scaleX(-1); }
[dir="rtl"] .lp-btn:hover .lp-ic { transform: scaleX(-1) translateX(3px); }

.lp-btn--primary {
  background: var(--primary);
  color: var(--on-primary);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .35) inset, 0 14px 30px -12px var(--primary);
}
.lp-btn--primary:hover { color: var(--on-primary); }
.lp-btn--primary::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%);
  transform: translateX(-120%);
  animation: fm-shine 4s ease-in-out infinite;
  pointer-events: none;
}
.lp-btn--ghost {
  background: var(--surface);
  border-color: var(--outline);
  color: var(--on-surface);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .04);
}
.lp-btn--ghost:hover { border-color: var(--primary); color: var(--primary); }
.lp-btn--sm { height: 42px; padding-inline: 18px; font-size: 14px; gap: 8px; }
.lp-btn--sm .lp-ic { width: 17px; height: 17px; }
.lp-btn--white { background: #FFFFFF; color: #0B63F6; }
.lp-btn--white:hover { color: #0B63F6; }
.lp-btn--outline { border-color: rgba(255, 255, 255, .55); color: #FFFFFF; }
.lp-btn--outline:hover { color: #FFFFFF; border-color: #FFFFFF; }
.lp-btn:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }

.lp-bts { display: flex; gap: 12px; align-items: center; }
.lp-bts--wrap { flex-wrap: wrap; }
.lp-bts--center { justify-content: center; }

/* ---------- الشريط العلوي: حبّة زجاج (.nav) ---------- */
.lp-nav {
  position: sticky;
  top: 16px;
  z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin-block-start: 20px;
  height: 68px;
  padding-inline: 22px 14px;
  border-radius: var(--fm-r-pill);
  background: var(--lp-glass);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid var(--outline);
  box-shadow: 0 10px 30px -18px var(--shadow-tint);
}
[dir="rtl"] .lp-nav { padding-inline: 22px 14px; }
.lp-nav .fm-brand { text-decoration: none; }
.lp-nav__links { display: flex; gap: 34px; font-size: 15px; font-weight: 500; }
.lp-nav__links a { position: relative; padding-block: 12px; text-decoration: none; }
.lp-nav__links a::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 6px;
  height: 2px;
  border-radius: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s;
}
[dir="rtl"] .lp-nav__links a::after { transform-origin: right; }
.lp-nav__links a:hover::after,
.lp-nav__links a:focus-visible::after { transform: scaleX(1); }

/* ---------- عناصر مشتركة ---------- */
.lp-tag {
  display: inline-flex; align-items: center; gap: 8px;
  align-self: flex-start;
  height: 32px;
  padding-inline: 14px;
  border-radius: var(--fm-r-pill);
  background: var(--surface-variant);
  color: var(--on-primary-container);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .02em;
}
.lp-tag__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent-3);
  animation: lp-pulse 1.8s ease-out infinite;
}
@keyframes lp-pulse {
  0%   { box-shadow: 0 0 0 0 var(--primary); }
  100% { box-shadow: 0 0 0 10px transparent; }
}

.lp-h1 {
  font-family: var(--fm-font-display);
  font-size: 60px;
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -.04em;
}
.lp-h2 {
  font-family: var(--fm-font-display);
  font-size: 40px;
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -.03em;
}
.lp-lead { font-size: 17px; line-height: 1.6; color: var(--on-surface-variant); }

/* الكلمة المتدرّجة بالعنوان — التدرّج بيمشي على الحروف */
.lp-grad {
  background: linear-gradient(90deg, var(--primary), var(--accent-2), var(--accent-3), var(--primary));
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: lp-flow 8s linear infinite;
}
@keyframes lp-flow { to { background-position: -300% 0; } }

/* الظهور بالتمرير: بلا JS (ما في .js على html) كل شي ظاهر */
.js .lp-rv {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .9s var(--lp-ease), transform .9s var(--lp-ease);
  transition-delay: var(--d, 0s);
}
.js .lp-rv.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .lp-rv { opacity: 1; transform: none; }
}

.lp-av {
  width: 36px; height: 36px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--av, var(--primary));
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 700;
}
.lp-av--sm { width: 28px; height: 28px; font-size: 10px; }
.lp-av--lg { width: 44px; height: 44px; }

/* شريط بيفضى — «عندك وقت تتراجع» */
.lp-tbar {
  position: absolute;
  inset-inline-start: 0;
  bottom: 0;
  height: 3px;
  width: 100%;
  background: var(--primary);
  transform-origin: left;
  animation: lp-drain 4s linear infinite;
}
[dir="rtl"] .lp-tbar { transform-origin: right; }
@keyframes lp-drain {
  0%       { transform: scaleX(1); }
  90%, 100% { transform: scaleX(0); }
}

@keyframes lp-bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-14px); }
}
@keyframes lp-spin { to { transform: rotate(360deg); } }

/* ============================================================
   البطل — شبكة ٤ أعمدة، الكرت الأساسي ٢×٢ (.hb/.ht)
   ============================================================ */
.lp-hero { padding-block: 48px 40px; }
.lp-hb {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 250px;
  gap: 18px;
}
.lp-ht {
  position: relative;
  overflow: hidden;
  display: flex; flex-direction: column; gap: 12px;
  padding: 28px;
  border-radius: 36px;
  transition: transform .5s var(--lp-ease), box-shadow .5s, opacity .9s var(--lp-ease);
}
.lp-ht:hover { transform: translateY(-6px) rotate(-.6deg); box-shadow: 0 40px 60px -34px var(--shadow-tint); }
.lp-ht__l { font-family: var(--fm-font-display); font-size: 17px; font-weight: 700; }
.lp-ht .lp-mut { font-size: 14px; }

.lp-ht--main {
  grid-column: span 2;
  grid-row: span 2;
  justify-content: center;
  gap: 24px;
  padding: 44px;
  background: var(--surface);
  border: 1px solid var(--outline);
}
.lp-ht--main::after {
  content: "";
  position: absolute;
  inset-inline-end: -120px;
  bottom: -140px;
  width: 380px; height: 380px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, var(--lp-t1), var(--lp-t2), var(--lp-t3), var(--lp-t4), var(--lp-t1));
  -webkit-mask-image: radial-gradient(circle, #000 30%, transparent 70%);
  mask-image: radial-gradient(circle, #000 30%, transparent 70%);
  animation: lp-spin 18s linear infinite;
  z-index: 0;
}
.lp-ht--main > * { position: relative; z-index: 1; }
.lp-ht--main .lp-lead { max-width: 480px; }
/* (2026-11-11) EN | FR: بالشريط على الكبير، وجنب «Now live» عالجوّال (الشريط
   ما بيساعه جنب «Se connecter» و«Commencer») — site.css بيرسم الأزرار */
.lp-ht__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.lp-ht__top .lp-tag { align-self: center; }
.lp-ht__top .lp-hero__lang { display: none; }
.lp-ht--a { background: var(--lp-t1); }
.lp-ht--b { background: var(--lp-t2); }
.lp-ht--c { background: var(--lp-t3); }
.lp-ht--d { background: var(--lp-t4); }

/* صور الحسابات بتنطّ ورا بعض */
.lp-stk { display: flex; margin-top: auto; }
.lp-stk .lp-av {
  width: 58px; height: 58px;
  font-size: 16px;
  border: 4px solid var(--lp-t1);
  margin-inline-start: -14px;
  animation: lp-hop 3s ease-in-out infinite;
  animation-delay: calc(var(--i) * .25s);
}
.lp-stk .lp-av:first-child { margin-inline-start: 0; }
@keyframes lp-hop {
  0%, 60%, 100% { transform: none; }
  30%           { transform: translateY(-14px); }
}

/* الختم الدوّار والنجمة */
.lp-spinb {
  position: absolute;
  inset-inline-end: 20px;
  bottom: 20px;
  width: 150px; height: 150px;
  animation: lp-spin 16s linear infinite;
}
.lp-spinb text {
  fill: var(--on-surface);
  font-family: var(--fm-font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .22em;
}
.lp-star {
  position: absolute;
  inset-inline-end: 68px;
  bottom: 68px;
  width: 54px; height: 54px;
  color: var(--accent-3);
  animation: lp-beat 2s ease-in-out infinite;
}
@keyframes lp-beat { 50% { transform: scale(1.25) rotate(20deg); } }

/* تنبيه «تراجع» الصغير */
.lp-mini {
  position: relative;
  overflow: hidden;
  display: flex; align-items: center; gap: 12px;
  margin-top: auto;
  padding: 14px 16px;
  border-radius: 18px;
  background: var(--surface);
  box-shadow: 0 14px 30px -16px rgba(10, 40, 100, .45);
  font-size: 13px;
  animation: lp-bob 5s ease-in-out infinite;
  transition: translate .6s var(--lp-ease);
}
.lp-mini .lp-ic { color: var(--primary); }
.lp-mini__t { font-weight: 600; }
.lp-mini b { margin-inline-start: auto; color: var(--on-primary-container); }

/* خانات كود التحقق — نقطة بتطلع بكل وحدة ورا التانية */
.lp-dgs { display: flex; gap: 6px; margin-top: auto; }
.lp-dg {
  width: 40px; height: 50px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: var(--surface);
  border: 1.5px solid var(--outline);
}
.lp-dgs .lp-dg { width: 34px; height: 44px; border-color: color-mix(in srgb, var(--primary) 30%, var(--outline)); }
.lp-dg i {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--primary);
  animation: lp-pop 4.5s ease infinite both;
  animation-delay: calc(var(--i) * .35s);
}
@keyframes lp-pop {
  0%, 5%    { transform: scale(0); }
  12%       { transform: scale(1.5); }
  18%, 85%  { transform: scale(1); }
  95%, 100% { transform: scale(0); }
}

/* ============================================================
   شريط المزوّدين (.strip)
   ============================================================ */
.lp-strip {
  overflow: hidden;
  padding-block: 26px;
  border-block: 1px solid var(--outline);
  background: color-mix(in srgb, var(--surface) 50%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.lp-track {
  display: inline-flex;
  gap: 18px;
  white-space: nowrap;
  animation: lp-marq 40s linear infinite;
}
[dir="rtl"] .lp-track { animation-direction: reverse; }
@keyframes lp-marq { to { transform: translateX(-50%); } }
.lp-pv {
  display: inline-flex; align-items: center; gap: 10px;
  height: 46px;
  padding-inline: 22px;
  border-radius: var(--fm-r-pill);
  background: var(--surface);
  border: 1px solid var(--outline);
  font-size: 15px;
  font-weight: 600;
}
.lp-pv > i { width: 9px; height: 9px; border-radius: 50%; background: var(--primary); }
.lp-pv:nth-child(3n+2) > i { background: var(--accent-2); }
.lp-pv:nth-child(3n) > i { background: var(--accent-3); }

/* ============================================================
   الأقسام
   ============================================================ */
.lp-sec { padding-block: 88px; display: flex; flex-direction: column; gap: 48px; }
.lp-sec-h {
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  text-align: center;
}
.lp-sec-h .lp-tag { align-self: center; }
.lp-sec-h .lp-lead { max-width: 620px; }

/* ---------- معاينة التطبيق (.mockwrap) ---------- */
.lp-stage {
  display: flex; justify-content: center;
  perspective: 1800px;
}
.lp-mock {
  --k: .82;
  position: relative;
  width: min(1181px, 100%);
  aspect-ratio: 1440 / 900;
  border-radius: 26px;
  background: var(--surface);
  box-shadow: 0 0 0 1px var(--outline), 0 50px 100px -40px var(--shadow-tint), 0 30px 60px -30px rgba(0, 0, 0, .18);
  transition: transform .5s var(--lp-ease);
  transform-style: preserve-3d;
}
.lp-mock__clip { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; }
.lp-mock__inner {
  width: 1440px; height: 900px;
  transform: scale(var(--k));
  transform-origin: 0 0;
}
[dir="rtl"] .lp-mock__inner { transform-origin: 100% 0; }

/* التطبيق المصغّر — نسخة ثابتة من صندوق البريد (.app بالتصميم) */
.lpa {
  display: flex; flex-direction: column;
  width: 1440px; height: 900px;
  background: var(--surface-container-high);
  color: var(--on-surface);
  text-align: start;
  font-size: 14px;
}
.lpa-grow { flex-grow: 1; min-width: 0; }
.lpa-top { height: 72px; display: flex; align-items: center; gap: 20px; padding-inline: 24px; flex-shrink: 0; }
.lpa-brand { width: 224px; }
.lpa-search {
  flex-grow: 1; max-width: 640px;
  display: flex; align-items: center; gap: 12px;
  height: 46px; padding-inline: 16px;
  border-radius: var(--fm-r-pill);
  background: var(--surface);
  border: 1px solid var(--outline);
  color: var(--on-surface-variant);
  font-size: 15px;
}
.lpa-kbd { font-size: 11px; padding: 3px 8px; border-radius: 7px; border: 1px solid var(--outline); font-weight: 600; }
.lpa-top-r { margin-inline-start: auto; display: flex; align-items: center; gap: 4px; }
.lpa-ib { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.lpa-body { flex-grow: 1; display: flex; gap: 14px; padding: 0 14px 14px; min-height: 0; }
.lpa-side { width: 236px; padding: 4px 6px; display: flex; flex-direction: column; gap: 3px; flex-shrink: 0; }
.lpa-compose { height: 52px; border-radius: 18px; margin-block-end: 14px; }
.lpa-nav {
  display: flex; align-items: center; gap: 12px;
  height: 40px; padding-inline: 14px;
  border-radius: 12px;
  color: var(--on-surface-variant);
  font-weight: 500;
}
.lpa-nav .lp-ic { width: 18px; height: 18px; }
.lpa-nav b { font-size: 12px; }
.lpa-nav.is-on { background: var(--surface-variant); color: var(--on-primary-container); font-weight: 700; }
.lpa-side-h { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--on-surface-variant); padding: 20px 14px 8px; }
.lpa-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--c); }
.lpa-list, .lpa-read {
  background: var(--surface);
  border: 1px solid var(--outline);
  border-radius: 24px;
  box-shadow: 0 20px 50px -34px var(--shadow-tint);
}
.lpa-list { width: 440px; display: flex; flex-direction: column; overflow: hidden; flex-shrink: 0; }
.lpa-tabs { display: flex; gap: 24px; padding-inline: 22px; border-block-end: 1px solid var(--outline); overflow: hidden; }
/* (2026-11-11) «Réseaux sociaux» و«Mises à jour» كانوا بيلتفّوا سطرين بالفرنسي */
.lpa-tabs:lang(fr) { gap: 14px; padding-inline: 18px; }
.lpa-tabs span { white-space: nowrap; }
.lpa-tabs span { padding: 15px 2px 13px; font-weight: 600; color: var(--on-surface-variant); border-block-end: 2px solid transparent; }
.lpa-tabs .is-on { color: var(--primary); border-color: var(--accent-3); }
.lpa-row { position: relative; display: flex; gap: 12px; padding: 13px 18px 13px 22px; border-block-end: 1px solid var(--outline); }
.lpa-row::before {
  content: "";
  position: absolute;
  inset-inline-start: 0; top: 14px; bottom: 14px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: var(--c);
}
.lpa-row.is-on { background: var(--surface-variant); }
.lpa-rb { flex-grow: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.lpa-r1 { display: flex; justify-content: space-between; gap: 8px; }
.lpa-r1 b { font-weight: 500; }
.lpa-r1 span { font-size: 12px; color: var(--on-surface-variant); }
.lpa-r2 { font-size: 13px; font-weight: 500; }
.lpa-r3 { font-size: 12px; color: var(--on-surface-variant); }
.lpa-r2, .lpa-r3 { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lpa-row.is-un .lpa-r1 b, .lpa-row.is-un .lpa-r2 { font-weight: 700; }
.lpa-row.is-un .lpa-r1 span { color: var(--primary); font-weight: 700; }
.lpa-read {
  position: relative;
  flex-grow: 1; min-width: 0;
  display: flex; flex-direction: column; gap: 22px;
  padding: 26px 40px 24px;
}
.lpa-acts { display: flex; gap: 8px; }
.lpa-subj { font-family: var(--fm-font-display); font-size: 26px; font-weight: 700; letter-spacing: -.02em; line-height: 1.15; }
.lpa-sender { display: flex; align-items: center; gap: 14px; font-size: 13px; }
.lpa-sender b { font-size: 14px; }
.lpa-body-t { display: flex; flex-direction: column; gap: 12px; max-width: 600px; font-size: 16px; line-height: 1.7; }
.lpa-atts { display: flex; gap: 12px; }
.lpa-att {
  display: flex; align-items: center; gap: 10px;
  padding: 13px 16px;
  border-radius: 14px;
  background: var(--surface-container-high);
  border: 1px solid var(--outline);
  font-size: 13px; font-weight: 600;
}
.lpa-att .lp-ic { color: var(--primary); }
.lpa-att .lp-mut { font-weight: 500; }
.lpa-qr {
  margin-top: auto;
  display: flex; align-items: center; gap: 12px;
  padding: 10px 10px 10px 18px;
  border-radius: var(--fm-r-pill);
  border: 1px solid var(--outline);
  background: var(--surface-container-high);
  color: var(--on-surface-variant);
  font-size: 15px;
}
.lpa-toast {
  position: absolute;
  left: 50%; bottom: 92px;
  transform: translateX(-50%);
  overflow: hidden;
  display: flex; align-items: center; gap: 14px;
  padding: 13px 20px;
  border-radius: var(--fm-r-pill);
  background: var(--surface);
  border: 1px solid var(--outline);
  box-shadow: 0 24px 48px -18px var(--shadow-tint);
  font-weight: 600;
  white-space: nowrap;
}
.lpa-toast .lp-ic, .lpa-toast b { color: var(--primary); }
.lpa-toast b { font-weight: 800; }

/* ---------- الميزات (.bento) ---------- */
.lp-bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.lp-bc {
  position: relative;
  overflow: hidden;
  display: flex; flex-direction: column; gap: 24px;
  min-height: 360px;
  padding: 30px;
  border-radius: 36px;
  background: var(--lp-t1);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .03);
  transition: transform .4s var(--lp-ease), box-shadow .4s, opacity .9s var(--lp-ease);
}
.lp-bc:nth-child(2) { background: var(--lp-t2); }
.lp-bc:nth-child(3) { background: var(--lp-t3); }
.lp-bc:nth-child(4) { background: var(--lp-t4); }
.lp-bc:nth-child(5) { background: var(--lp-t5); }
.lp-bc:nth-child(6) { background: var(--surface); border: 1px solid var(--outline); }
/* بقعة ضو بتلحق الماوس — --mx/--my من landing.js */
.lp-bc::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), var(--surface-variant), transparent 65%);
  opacity: 0;
  transition: opacity .4s;
  pointer-events: none;
}
.lp-bc:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px var(--shadow-tint); }
.lp-bc:hover::before { opacity: 1; }
.lp-bc > * { position: relative; }
.lp-bc--2 { grid-column: span 2; }
.lp-bc--3 { grid-column: span 3; flex-direction: row; align-items: center; min-height: 0; }
.lp-bc--3 .lp-bt { max-width: 360px; }
.lp-bt { display: flex; flex-direction: column; gap: 8px; }
.lp-bt h3 { font-family: var(--fm-font-display); font-size: 18px; font-weight: 700; letter-spacing: -.015em; }
.lp-bt p { font-size: 15px; line-height: 1.55; color: var(--on-surface-variant); }

.lp-v {
  display: flex; gap: 10px;
  margin-top: auto;
  padding: 18px;
  border-radius: 18px;
  background: color-mix(in srgb, var(--surface) 70%, transparent);
}
.lp-bc--3 .lp-v { margin-top: 0; flex-grow: 1; }

.lp-v--uni { flex-direction: column; gap: 14px; }
.lp-vpills { display: flex; gap: 8px; flex-wrap: wrap; }
.lp-vp {
  display: inline-flex; align-items: center; gap: 8px;
  height: 30px; padding-inline: 12px;
  border-radius: var(--fm-r-pill);
  background: var(--surface);
  border: 1px solid var(--outline);
  font-size: 12px; font-weight: 700;
}
.lp-vp i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.lp-vrows { display: flex; flex-direction: column; gap: 8px; }
.lp-vr {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--surface);
  box-shadow: inset 3px 0 0 var(--c), 0 1px 2px rgba(0, 0, 0, .05);
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  animation: lp-slidein 6s var(--lp-ease) infinite both;
  animation-delay: calc(var(--i) * .5s);
}
[dir="rtl"] .lp-vr { box-shadow: inset -3px 0 0 var(--c), 0 1px 2px rgba(0, 0, 0, .05); }
@keyframes lp-slidein {
  0%       { opacity: 0; transform: translateX(-24px); }
  10%, 88% { opacity: 1; transform: none; }
  100%     { opacity: 0; transform: translateX(24px); }
}

.lp-v--snz { flex-direction: column; gap: 4px; padding: 10px; }
.lp-so {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 14px; font-weight: 600;
  animation: lp-hl 6s ease-in-out infinite;
  animation-delay: calc(var(--i) * 1.5s);
}
.lp-so .lp-ic { width: 17px; height: 17px; }
@keyframes lp-hl {
  0%, 20%   { background: var(--primary); color: var(--on-primary); }
  25%, 100% { background: transparent; color: inherit; }
}

.lp-v--undo { justify-content: center; padding: 34px 18px; }
.lp-ut {
  position: relative;
  overflow: hidden;
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px;
  border-radius: 14px;
  background: var(--surface);
  box-shadow: 0 14px 30px -14px var(--shadow-tint);
  font-size: 14px; font-weight: 600;
}
.lp-ut .lp-ic { color: var(--primary); }
.lp-ut b { color: var(--on-primary-container); margin-inline-start: 8px; }

.lp-v--2fa { justify-content: center; gap: 8px; padding: 30px 14px; }

.lp-v--kb { justify-content: center; gap: 12px; padding: 30px 14px; }
.lp-key {
  width: 54px; height: 54px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 14px;
  background: var(--surface);
  border: 1.5px solid var(--outline);
  box-shadow: 0 5px 0 var(--outline);
  font-family: var(--fm-font-display);
  font-size: 18px; font-weight: 700;
  animation: lp-press 3.6s ease infinite;
  animation-delay: calc(var(--i) * .9s);
}
@keyframes lp-press {
  0%, 8%    { transform: translateY(5px); box-shadow: 0 0 0 var(--outline); background: var(--primary); color: var(--on-primary); border-color: var(--primary); }
  16%, 100% { transform: none; }
}

.lp-v--cal { gap: 10px; }
.lp-cd { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; font-size: 12px; font-weight: 700; }
.lp-ev {
  padding: 10px 12px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--c) 14%, var(--surface));
  box-shadow: inset 3px 0 0 var(--c);
  font-size: 13px; font-weight: 600;
  color: var(--on-surface);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
[dir="rtl"] .lp-ev { box-shadow: inset -3px 0 0 var(--c); }
.lp-ev.is-live { animation: lp-glow 2.4s ease-in-out infinite; }
@keyframes lp-glow {
  0%, 100% { box-shadow: inset 3px 0 0 var(--c), 0 0 0 0 transparent; }
  50%      { box-shadow: inset 3px 0 0 var(--c), 0 0 0 5px color-mix(in srgb, var(--c) 22%, transparent); }
}

/* ---------- الخطوات (.steps) ---------- */
.lp-steps { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.lp-flow { position: absolute; inset-inline-start: 16%; width: 68%; top: 34px; height: 40px; overflow: visible; }
.lp-flow path {
  fill: none;
  stroke: var(--primary);
  stroke-width: 2;
  stroke-dasharray: 8 10;
  opacity: .5;
  animation: lp-dash 1.4s linear infinite;
}
@keyframes lp-dash { to { stroke-dashoffset: -18; } }
.lp-st { display: flex; flex-direction: column; align-items: center; gap: 14px; padding-inline: 28px; text-align: center; }
.lp-st h3 { font-family: var(--fm-font-display); font-size: 18px; font-weight: 700; }
.lp-st p { font-size: 15px; line-height: 1.6; color: var(--on-surface-variant); }
.lp-sn {
  position: relative;
  width: 108px; height: 108px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 32px;
  background: var(--surface);
  border: 1px solid var(--outline);
  color: var(--primary);
  box-shadow: 0 20px 40px -20px var(--shadow-tint);
  transition: transform .4s;
}
.lp-sn .lp-ic { width: 40px; height: 40px; stroke-width: 1.5; }
.lp-st:hover .lp-sn { transform: rotate(-6deg) scale(1.06); }
.lp-sn span {
  position: absolute;
  top: -10px; inset-inline-end: -10px;
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--accent-3);
  color: #FFFFFF;
  font-size: 14px; font-weight: 700;
}
[data-theme="dark"] .lp-sn span { color: #04163A; }

/* ---------- الدعوة الأخيرة (.cta) ---------- */
.lp-sec--cta { padding-block-end: 72px; }
.lp-cta {
  position: relative;
  overflow: hidden;
  display: flex; flex-direction: column; align-items: center; gap: 20px;
  padding: 88px 48px;
  border-radius: 48px;
  background: linear-gradient(120deg, #0B63F6, #2E9BFF);
  color: #FFFFFF;
  text-align: center;
  box-shadow: 0 50px 90px -40px #0B63F6;
}
.lp-cta p { font-size: 18px; opacity: .92; }
.lp-cta > *:not(.lp-ring) { position: relative; }
.lp-ring {
  position: absolute;
  left: 50%; top: 50%;
  width: 1200px; height: 1200px;
  border: 1.5px solid rgba(255, 255, 255, .35);
  border-radius: 50%;
  opacity: 0;
  transform: translate(-50%, -50%) scale(.2);
  animation: lp-ring 6s linear infinite;
  pointer-events: none;
}
.lp-ring--2 { animation-delay: 2s; }
.lp-ring--3 { animation-delay: 4s; }
@keyframes lp-ring {
  0%   { transform: translate(-50%, -50%) scale(.1); opacity: .9; }
  100% { transform: translate(-50%, -50%) scale(1);  opacity: 0; }
}

/* ---------- الذيل ---------- */
.lp-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-block: 28px;
  border-block-start: 1px solid var(--outline);
  font-size: 14px;
}
.lp-foot .fm-brand { text-decoration: none; }
.lp-fl { display: flex; gap: 24px; }
.lp-fl a { text-decoration: none; }
.lp-fl a:hover { color: var(--primary); }
.lp-sitefoot { flex: 1 1 100%; }
/* "From $X a month + tax" — the price before anyone types a password (2026-10-18) */
.lp-price { margin: 14px 0 0; font-size: 14px; line-height: 1.5; color: var(--on-surface-variant); max-width: 480px; }
.lp-price b { color: var(--on-surface); }
.lp-price a { color: var(--primary); }
.lp-price--cta { margin-inline: auto; color: inherit; opacity: .9; }
.lp-price--cta b, .lp-price--cta a { color: inherit; }

/* ============================================================
   الشاشات الأصغر
   ------------------------------------------------------------
   التصميم ١٤٤٠ ثابت؛ هون بتنطوي الشبكات بدل ما تنضغط:
   ١١٠٠: البطل عمودين والميزات عمودين · ٧٦٠: عمود واحد وروابط
   الشريط بتختفي · ٥٦٠: قياسات الجوّال.
   ============================================================ */
@media (max-width: 1100px) {
  .lp-h1 { font-size: 52px; }
  .lp-hb { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: minmax(230px, auto); }
  .lp-ht--main { grid-row: auto; }
  .lp-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-bc--2 { grid-column: span 2; }
  .lp-bc--3 { grid-column: span 2; flex-direction: column; align-items: stretch; }
  .lp-bc--3 .lp-bt { max-width: none; }
  .lp-nav__links { gap: 22px; }
}

@media (max-width: 860px) {
  .lp-nav__links { display: none; }
}

@media (max-width: 760px) {
  .lp-sec { padding-block: 64px; gap: 36px; }
  .lp-h2 { font-size: 32px; }
  .lp-hb { grid-template-columns: minmax(0, 1fr); }
  .lp-ht--main { grid-column: auto; padding: 32px 26px; }
  .lp-bento { grid-template-columns: minmax(0, 1fr); }
  .lp-bc--2, .lp-bc--3 { grid-column: auto; }
  .lp-bc { min-height: 0; border-radius: 28px; }
  .lp-v--cal { overflow-x: auto; }
  .lp-cd { min-width: 96px; }
  .lp-steps { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .lp-flow { display: none; }
  .lp-cta { padding: 64px 24px; border-radius: 36px; }
  .lp-foot { justify-content: center; text-align: center; }
}

@media (max-width: 560px) {
  .lp-nav, .lp-hero, .lp-sec, .lp-foot { width: calc(100% - 24px); }
  .lp-nav { top: 10px; margin-block-start: 12px; height: 60px; padding-inline: 14px 8px; }
  /* بعرض الجوّال الرسمة لحالها (بلا «Fota Mail») — الزرّين جنبها
     بياخدوا العرض */
  .lp-nav .fm-brand__mark { inline-size: 76px; background-image: url("../img/logo-mark.202611152255.png"); }
  .lp-nav .lp-bts { gap: 6px; }
  .lp-nav .lp-nav__lang { display: none; }
  .lp-ht__top .lp-hero__lang { display: inline-flex; }
  .lp-nav .lp-btn--sm { height: 40px; padding-inline: 14px; }
  .lp-hero { padding-block: 28px 32px; }
  .lp-h1 { font-size: 40px; }
  .lp-h2 { font-size: 28px; }
  .lp-lead { font-size: 16px; }
  .lp-ht { border-radius: 28px; padding: 24px; }
  .lp-ht--main .lp-btn { flex: 1 1 100%; }
  .lp-mock { border-radius: 16px; }
  .lp-cta .lp-btn { flex: 1 1 100%; }
}

/* ⚠️ "تقليل الحركة": base.css بيقصّ الحركة لآخر إطار — وآخر إطار
   بالصفوف ونقاط الكود وخطّ التراجع مخفي، فالكروت كانت تطلع فاضية.
   هون منوقفهن على شكلهن الظاهر. */
@media (prefers-reduced-motion: reduce) {
  .lp-vr, .lp-dg i, .lp-so, .lp-key, .lp-tbar, .lp-ring,
  .lp-mini, .lp-stk .lp-av, .lp-track, .lp-ev.is-live { animation: none !important; }
  .lp-dg i { transform: scale(1); }
  .lp-ring { display: none; }
}

/* ============================================================
   الطباعة: بلا حركات ولا شريط لزج
   ============================================================ */
@media print {
  .lp-nav { position: static; }
  .lp-track, .lp-ring { animation: none; }
}
