/* Wfarhali landing page 2026 (FR + AR/RTL). Scoped under .lp so older layers stay inert. */
.lp {
  --lp-primary: #4c1fd6;
  --lp-primary-dark: #3a12b0;
  --lp-primary-soft: #efe9ff;
  --lp-ink: #0f0a1f;
  --lp-text: #3f3a52;
  --lp-muted: #6b6680;
  --lp-line: #e6dffa;
  --lp-bg: #ffffff;
  --lp-bg-soft: #f7f4ff;
  --lp-green: #16a34a;
  --lp-green-soft: #ecfdf3;
  --lp-radius: 16px;
  --lp-radius-sm: 12px;
  --lp-btn-h: 54px;
  --lp-gap: 16px;
  --lp-section: 56px;
  --lp-font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-family: var(--lp-font);
  color: var(--lp-text);
  background: var(--lp-bg);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.lp[dir="rtl"], .lp:lang(ar) { --lp-font: "Noto Sans Arabic", "Inter", system-ui, sans-serif; line-height: 1.75; }
.lp *, .lp *::before, .lp *::after { box-sizing: border-box; }
/* Resets carry zero specificity (:where) so component rules below always win. */
.lp :where(img) { max-width: 100%; height: auto; display: block; }
.lp :where(a) { color: inherit; text-decoration: none; }
.lp :where(h1, h2, h3, p, ul) { margin: 0; }
.lp :where(ul) { padding: 0; list-style: none; }
.lp-wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.lp-section { padding: var(--lp-section) 0; }
.lp-section + .lp-section { padding-top: 0; }

/* ---------- type ---------- */
.lp-eyebrow { display: block; color: var(--lp-primary); font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 8px; }
.lp[dir="rtl"] .lp-eyebrow { letter-spacing: 0; text-transform: none; font-size: 15px; }
.lp-h1 { color: var(--lp-ink); font-size: clamp(40px, 9vw, 68px); line-height: 1.02; font-weight: 800; letter-spacing: -.035em; }
.lp[dir="rtl"] .lp-h1 { letter-spacing: 0; line-height: 1.25; }
.lp-h2 { color: var(--lp-ink); font-size: clamp(26px, 5.4vw, 40px); line-height: 1.15; font-weight: 800; letter-spacing: -.02em; }
.lp[dir="rtl"] .lp-h2 { letter-spacing: 0; line-height: 1.35; }
.lp-h3 { color: var(--lp-ink); font-size: clamp(24px, 5vw, 32px); line-height: 1.2; font-weight: 800; letter-spacing: -.015em; }
.lp[dir="rtl"] .lp-h3 { letter-spacing: 0; line-height: 1.4; }
.lp-lead { font-size: 17px; color: var(--lp-text); margin-top: 14px; }
.lp-sub { font-size: 16px; color: var(--lp-muted); margin-top: 10px; }
.lp-head { margin-bottom: 22px; }
.lp-head--center { text-align: center; max-width: 720px; margin-left: auto; margin-right: auto; }

/* ---------- buttons ---------- */
.lp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: var(--lp-btn-h); padding: 0 24px; border-radius: var(--lp-radius-sm); font-weight: 700; font-size: 16px; line-height: 1.2; border: 2px solid transparent; transition: background .15s, color .15s, transform .15s; cursor: pointer; width: 100%; }
.lp-btn { white-space: nowrap; }
.lp-header-shell { background: #fff; }
.lp-btn:active { transform: translateY(1px); }
.lp .lp-btn--primary, .lp .lp-btn--primary:visited { background: var(--lp-primary); color: #fff; box-shadow: 0 10px 24px -12px rgba(76, 31, 214, .7); }
.lp .lp-btn--primary:hover { background: var(--lp-primary-dark); }
.lp .lp-btn--outline { background: #fff; color: var(--lp-primary); border-color: var(--lp-primary); }
.lp-btn--outline:hover { background: var(--lp-primary-soft); }
.lp .lp-btn--soft { background: #fff; color: var(--lp-primary); border: 1.5px solid #cdbcf7; min-height: 48px; font-size: 15px; }
.lp-arrow { width: 18px; height: 18px; flex: none; }
.lp[dir="rtl"] .lp-arrow { transform: scaleX(-1); }
.lp-play { width: 26px; height: 26px; border-radius: 50%; background: var(--lp-primary); color: #fff; display: inline-grid; place-items: center; flex: none; }
.lp-play svg { width: 11px; height: 11px; }
.lp-actions { display: grid; gap: 12px; margin-top: 24px; }

/* ---------- icons ---------- */
.lp-ico { width: 24px; height: 24px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.lp-ico-badge { width: 44px; height: 44px; border-radius: 12px; background: var(--lp-primary-soft); color: var(--lp-primary); display: inline-grid; place-items: center; flex: none; }
.lp-check { width: 30px; height: 30px; border-radius: 50%; background: var(--lp-green); color: #fff; display: inline-grid; place-items: center; flex: none; }
.lp-check svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 3; fill: none; }

/* ---------- hero ---------- */
.lp-hero { padding: 28px 0 8px; background: radial-gradient(120% 70% at 85% 0%, #efe8ff 0%, rgba(255,255,255,0) 60%), #fff; }
.lp-hero-grid { display: grid; gap: 24px; align-items: center; }
.lp-kicker { color: var(--lp-primary); font-weight: 600; font-size: 14px; margin-bottom: 12px; }
.lp-assist { display: flex; align-items: center; gap: 10px; margin-top: 16px; color: var(--lp-text); font-size: 15px; }
.lp-assist .lp-ico { color: var(--lp-primary); }
.lp-hero-art img { width: 100%; border-radius: 20px; }
.lp-hero-points { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; }
.lp-point { display: flex; gap: 10px; align-items: flex-start; }
.lp-point b { display: block; color: var(--lp-primary); font-size: 14px; line-height: 1.3; }
.lp-point small { color: var(--lp-muted); font-size: 12.5px; line-height: 1.35; }
.lp-point .lp-ico-badge { width: 38px; height: 38px; border-radius: 50%; }

/* ---------- benefits ---------- */
.lp-benefits { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--lp-line); border-bottom: 1px solid var(--lp-line); margin-top: 22px; }
.lp-benefit { text-align: center; padding: 16px 6px; }
.lp-benefit + .lp-benefit { border-inline-start: 1px solid var(--lp-line); }
.lp-benefit .lp-ico { color: var(--lp-primary); width: 28px; height: 28px; margin: 0 auto 8px; display: block; }
.lp-benefit b { display: block; color: var(--lp-ink); font-size: 13.5px; line-height: 1.25; }
.lp-benefit span { display: block; color: var(--lp-muted); font-size: 12px; line-height: 1.35; margin-top: 4px; }

/* ---------- stores ---------- */
.lp-stores { display: grid; gap: 12px; }
.lp-store { display: grid; grid-template-columns: 112px 1fr auto; align-items: center; gap: 14px; border: 1px solid var(--lp-line); border-radius: var(--lp-radius-sm); padding: 12px 16px; background: #fff; transition: border-color .15s, box-shadow .15s; }
.lp-store:hover { border-color: #c9b7f7; box-shadow: 0 8px 20px -16px rgba(76,31,214,.6); }
.lp-store-logo { height: 46px; display: grid; place-items: center; font-weight: 900; font-size: 26px; letter-spacing: .02em; direction: ltr; border-radius: 8px; }
.lp-store-logo.shein { color: #111; letter-spacing: .08em; }
.lp-store-logo.temu { background: #fb6d0c; color: #fff; font-size: 22px; }
.lp-store-logo.ali { color: #e62e04; font-weight: 700; font-size: 22px; letter-spacing: 0; }
.lp-store b { display: block; color: var(--lp-ink); font-size: 15px; direction: ltr; text-align: start; }
.lp-store small { display: block; color: var(--lp-muted); font-size: 13.5px; }
.lp-chevron { width: 20px; height: 20px; color: var(--lp-ink); }
.lp[dir="rtl"] .lp-chevron { transform: scaleX(-1); }
.lp-note { display: flex; gap: 12px; align-items: center; margin-top: 14px; padding: 14px 16px; border-radius: var(--lp-radius-sm); background: var(--lp-green-soft); color: #14532d; font-size: 14.5px; }

/* ---------- journey ---------- */
.lp-seal { display: inline-flex; align-items: center; gap: 12px; margin-top: 18px; }
.lp-seal .lp-ico-badge { border-radius: 50%; }
.lp-seal b { display: block; color: var(--lp-primary); font-size: 15px; }
.lp-seal small { color: var(--lp-muted); font-size: 13.5px; }
.lp-step { padding: 34px 0; border-top: 1px solid var(--lp-line); }
.lp-step:first-of-type { border-top: 0; }
.lp-step-grid { display: grid; gap: 22px; align-items: center; }
.lp-step-kicker { color: var(--lp-primary); font-weight: 800; font-size: 14px; letter-spacing: .03em; text-transform: uppercase; margin-bottom: 14px; }
.lp[dir="rtl"] .lp-step-kicker { text-transform: none; letter-spacing: 0; font-size: 16px; }
.lp-step-art img { width: 100%; max-width: 520px; margin: 0 auto; }
.lp-step-copy .lp-h3 { text-align: center; }
.lp-step-copy > p { margin-top: 14px; font-size: 16px; color: var(--lp-text); }
.lp-checks { display: grid; gap: 14px; margin: 20px 0 24px; }
.lp-checks li { display: flex; gap: 14px; align-items: center; font-size: 15.5px; color: var(--lp-text); }

/* ---------- 5-step strip (journey + tracking) ---------- */
.lp-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; position: relative; margin: 8px 0 20px; }
.lp-strip::before { content: ""; position: absolute; top: 19px; inset-inline: 10%; height: 1.5px; background: var(--lp-line); }
.lp-strip > div { text-align: center; position: relative; }
.lp-strip i { width: 38px; height: 38px; border-radius: 50%; background: var(--lp-primary-soft); color: var(--lp-primary); font-style: normal; font-weight: 800; font-size: 13px; display: grid; place-items: center; margin: 0 auto 6px; border: 3px solid #fff; }
.lp-strip b { display: block; color: var(--lp-ink); font-size: 12.5px; line-height: 1.25; }
.lp-strip small { display: block; color: var(--lp-muted); font-size: 11.5px; line-height: 1.3; }

/* ---------- cards ---------- */
.lp-card { border: 1px solid var(--lp-line); border-radius: var(--lp-radius); background: #fff; padding: 20px; }
.lp-card--soft { background: var(--lp-bg-soft); }
.lp-card-head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 14px; }
.lp-card-head b { display: block; color: var(--lp-primary); font-size: 17px; }
.lp-card-head p { color: var(--lp-muted); font-size: 14.5px; margin-top: 4px; }

/* ---------- why ---------- */
.lp-why { display: grid; gap: 4px; }
.lp-why li { display: flex; gap: 16px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--lp-line); }
.lp-why li:last-child { border-bottom: 0; }
.lp-why .lp-ico { color: var(--lp-primary); width: 32px; height: 32px; margin-top: 2px; }
.lp-why b { display: block; color: var(--lp-ink); font-size: 16.5px; }
.lp-why p { color: var(--lp-muted); font-size: 14.5px; margin-top: 2px; }

/* ---------- track ---------- */
.lp-track-form { display: grid; grid-template-columns: 1fr auto; gap: 10px; margin: 18px 0 18px; }
.lp-input { position: relative; }
.lp-input .lp-ico { position: absolute; inset-inline-start: 14px; top: 50%; transform: translateY(-50%); color: var(--lp-ink); width: 20px; height: 20px; }
.lp-input input { width: 100%; height: var(--lp-btn-h); border: 1.5px solid var(--lp-line); border-radius: var(--lp-radius-sm); padding-inline: 44px 14px; font: inherit; font-size: 15px; color: var(--lp-ink); background: #fff; }
.lp-input input:focus { outline: 0; border-color: var(--lp-primary); box-shadow: 0 0 0 4px var(--lp-primary-soft); }
.lp-track-form .lp-btn { width: auto; padding: 0 26px; }

/* ---------- FAQ ---------- */
.lp-faq { display: grid; gap: 10px; margin: 16px 0; }
.lp-faq details { border: 1px solid var(--lp-line); border-radius: var(--lp-radius-sm); background: #fff; }
.lp-faq summary { list-style: none; cursor: pointer; padding: 16px; display: flex; justify-content: space-between; align-items: center; gap: 12px; color: var(--lp-ink); font-weight: 700; font-size: 15.5px; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary .lp-ico { width: 20px; height: 20px; transition: transform .2s; }
.lp-faq details[open] summary .lp-ico { transform: rotate(180deg); }
.lp-faq details p { padding: 0 16px 16px; color: var(--lp-muted); font-size: 14.5px; }

/* ---------- reviews ---------- */
/* Reviews: horizontal swipe row (scroll-snap), next card peeks to invite the swipe. */
.lp-reviews { display: grid; grid-auto-flow: column; grid-auto-columns: 84%; gap: 12px; margin-top: 16px;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: 20px;
  margin-inline: -20px; padding: 2px 20px 14px; scrollbar-width: thin; scrollbar-color: #cdbcf7 transparent; }
.lp-reviews > * { scroll-snap-align: start; }
.lp-reviews::-webkit-scrollbar { height: 6px; }
.lp-reviews::-webkit-scrollbar-thumb { background: #cdbcf7; border-radius: 999px; }
.lp-review { display: flex; gap: 14px; align-items: flex-start; }
.lp-review .lp-ico-badge { border-radius: 50%; }
.lp-review h3 { color: var(--lp-ink); font-size: 17px; font-weight: 800; }
.lp-review p { color: var(--lp-text); font-size: 14.5px; margin-top: 4px; }
.lp-review footer { margin-top: 8px; font-size: 13.5px; }
.lp-review footer b { color: var(--lp-ink); display: block; }
.lp-review footer span { color: var(--lp-muted); }
.lp-review-cta { display: grid; gap: 14px; }
.lp-review-cta .lp-btn { width: auto; justify-self: start; }

/* ---------- final CTA ---------- */
.lp-final { position: relative; overflow: hidden; border-radius: 20px; padding: 26px 22px 120px; background: linear-gradient(160deg, #f5f0ff 0%, #ebe3ff 100%); }
.lp-final .lp-btn { width: auto; margin-top: 18px; position: relative; z-index: 1; }
.lp-final-art { position: absolute; inset-inline-end: -10px; bottom: -6px; width: 72%; max-width: 420px; opacity: .95; pointer-events: none; }
.lp[dir="rtl"] .lp-final-art { transform: scaleX(-1); }

/* ---------- footer (light) ---------- */
.lp-footer { border-top: 1px solid var(--lp-line); padding: 32px 0 28px; text-align: center; background: #fff; }
.lp-footer-brand img { height: 46px; width: auto; margin: 0 auto; }
.lp .lp-footer-tag { color: var(--lp-muted); font-size: 14px; margin: 10px auto 18px; max-width: 360px; text-align: center; }
.lp-footer nav { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 20px; max-width: 420px; margin: 0 auto; text-align: start; }
.lp-footer nav a { color: var(--lp-text); font-size: 14px; }
.lp-footer nav a:hover { color: var(--lp-primary); }
.lp-footer-copy { color: var(--lp-muted); font-size: 12.5px; margin-top: 22px; }
.lp-footer .wf-social-links { justify-content: center; margin: 4px 0 14px; }

/* ---------- desktop ---------- */
@media (min-width: 900px) {
  .lp { --lp-section: 88px; }
  .lp-wrap { padding: 0 32px; }
  .lp-hero { padding: 56px 0 24px; }
  .lp-hero-grid { grid-template-columns: 1.05fr 1fr; gap: 48px; }
  .lp-actions { grid-template-columns: auto auto; justify-content: start; }
  .lp-actions .lp-btn { width: auto; min-width: 240px; }
  .lp-benefits { margin-top: 40px; }
  .lp-benefit { padding: 22px 14px; }
  .lp-benefit b { font-size: 15px; }
  .lp-benefit span { font-size: 13.5px; }
  .lp-stores { grid-template-columns: repeat(3, 1fr); }
  .lp-store { grid-template-columns: 1fr; text-align: center; justify-items: center; padding: 22px; }
  .lp-store b { text-align: center; }
  .lp-store .lp-chevron { display: none; }
  .lp-journey-head { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: end; }
  .lp-step { padding: 56px 0; }
  .lp-step-grid { grid-template-columns: 1fr 1fr; gap: 56px; }
  .lp-step.is-reversed .lp-step-art { order: 2; }
  .lp-step-copy .lp-h3 { text-align: start; }
  .lp-step-copy .lp-btn { width: auto; min-width: 280px; }
  .lp-strip b { font-size: 14px; }
  .lp-strip small { font-size: 12.5px; }
  .lp-split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
  .lp-why { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .lp-why li { border: 1px solid var(--lp-line); border-radius: var(--lp-radius); padding: 22px; flex-direction: column; }
  .lp-reviews { grid-auto-columns: calc((100% - 32px) / 3); gap: 16px; margin-inline: 0; padding-inline: 0; scroll-padding-inline: 0; }
  .lp-final { padding: 48px 44px; display: grid; grid-template-columns: 1fr; }
  .lp-final > div { max-width: 52%; }
  .lp-final-art { width: 46%; max-width: 520px; }
  .lp-footer nav { grid-template-columns: repeat(4, auto); justify-content: center; max-width: none; text-align: center; }
}
