/* Prostalis TN - mobile-first light theme (v4, 2026-11-21). Ban cu: css/style.backup-20261121.css */
@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;500;700;800;900&display=swap');

:root {
  --bg: #eef2f7;
  --surface: #ffffff;
  --soft: #f5f8fc;
  --ink: #0d1b2e;
  --ink-2: #44536a;
  --muted: #7a879a;
  --line: #e1e7ef;
  --brand: #0f4c81;
  --brand-deep: #0a2f52;
  --brand-soft: #e7f0fa;
  --red: #e02433;
  --red-deep: #b9141f;
  --gold: #ffc83d;
  --gold-soft: #fff6dc;
  --green: #0f9d58;
  --green-soft: #e6f6ed;
  --r-xl: 24px;
  --r-lg: 18px;
  --r-md: 14px;
  --wrap: 480px;
  --shadow: 0 8px 24px rgba(13, 27, 46, .08);
  --shadow-lg: 0 16px 40px rgba(13, 27, 46, .14);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --font: 'Tajawal', 'Noto Naskh Arabic', 'Inter', system-ui, sans-serif;
  --font-num: 'Archivo', 'Inter', system-ui, sans-serif;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-width: 300px;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.ur-page { font-family: var(--font); line-height: 1.7; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
h1, h2, h3, h4, p { margin: 0; }

.app {
  position: relative;
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  background: var(--bg);
  overflow: hidden;
  box-shadow: 0 0 60px rgba(13, 27, 46, .12);
}
.noise, .glow { display: none; }

.progress {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--wrap);
  height: 3px;
  z-index: 90;
  background: transparent;
}
.progress__bar { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--red), var(--gold)); }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, .95);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.logo {
  direction: ltr;
  font-family: var(--font-num);
  font-weight: 900;
  font-size: 21px;
  letter-spacing: .02em;
  color: var(--brand-deep);
}
.logo span { color: var(--red); }
.badge-nat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green);
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  z-index: 2;
  padding: 18px 16px 26px;
  background: linear-gradient(180deg, #ffffff 0%, #ffffff 55%, var(--bg) 100%);
}
.label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand);
  font-size: 14px;
  font-weight: 800;
}
.bar { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
.hero > .label { padding: 4px 12px; border-radius: 999px; background: var(--brand-soft); }

.display {
  margin-top: 10px;
  font-family: var(--font);
  font-weight: 900;
  font-size: 34px;
  line-height: 1.3;
  letter-spacing: 0;
  color: var(--ink);
}
body.ur-page .display { font-family: var(--font); font-size: 34px; line-height: 1.3; }
.display .ln { display: inline-block; overflow: visible; margin-inline-end: .26em; }
.display .ln > span { display: inline; transform: none; transition: none; }
.ln-outline > span, body.ur-page .ln-outline > span { color: var(--ink); -webkit-text-stroke: 0; }
.ln-accent > span { color: var(--red); }

.hero__sub { margin: 8px 0 16px; color: var(--ink-2); font-size: 17px; line-height: 1.75; }
.hero__sub b { color: var(--ink); }
.hero__img {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-xl);
  background: #0b0c10;
  box-shadow: var(--shadow-lg);
}
.hero__img img { width: 100%; }
.hero__tags {
  position: absolute;
  inset: 12px 12px auto;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  z-index: 2;
}
.capsule {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 4px 14px;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .22);
}
.capsule--gold { background: var(--gold); font-size: 16px; font-weight: 900; }

.price-row {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.price-old { color: var(--muted); text-decoration: line-through; font-size: 16px; font-weight: 700; line-height: 1.2; }
.price-now { margin-top: 2px; font-weight: 900; font-size: 34px; line-height: 1.15; color: var(--red-deep); }
.price-tag {
  flex: none;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-family: var(--font-num);
  font-weight: 900;
  font-size: 18px;
  direction: ltr;
  white-space: nowrap;
}

/* ---------- Form ---------- */
.form-panel {
  margin-top: 16px;
  padding: 18px 16px;
  border: 1px solid var(--line);
  border-top: 5px solid var(--red);
  border-radius: var(--r-xl);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  color: var(--ink);
}
.form-title { font-size: 23px; font-weight: 900; line-height: 1.3; }
.form-sub { margin: 4px 0 14px; color: var(--ink-2); font-size: 15px; line-height: 1.65; }
.field { margin-bottom: 12px; }
.field label { display: block; margin-bottom: 6px; font-size: 15px; font-weight: 800; color: var(--ink); }
.control {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 58px;
  border: 2px solid #cfd8e3;
  border-radius: var(--r-md);
  background: var(--soft);
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.control:focus-within { border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px rgba(15, 76, 129, .14); }
.ic { position: absolute; inset-inline-start: 14px; width: 22px; height: 22px; color: var(--brand); pointer-events: none; }
.input, body.ur-page .input {
  width: 100%;
  min-height: 54px;
  padding: 12px 46px 12px 14px;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--ink);
  font-size: 18px;
  font-weight: 700;
  border-radius: var(--r-md);
}
.input::placeholder { color: #9aa6b6; font-weight: 500; }
.input-phone, body.ur-page .input-phone { direction: ltr; text-align: right; padding: 12px 46px 12px 14px; font-family: var(--font-num); letter-spacing: .02em; }

.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 60px;
  padding: 14px 18px;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(180deg, #f2333f 0%, var(--red-deep) 100%);
  color: #fff;
  font-family: var(--font);
  font-size: 20px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 6px 0 #8f0d17, 0 14px 26px rgba(185, 20, 31, .32);
  white-space: nowrap;
  -webkit-appearance: none;
  appearance: none;
  touch-action: manipulation;
  animation: pulse 2.4s ease-in-out infinite;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  transform: translateX(-120%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .32), transparent);
  animation: shine 3.6s ease-in-out infinite;
}
.btn span, .btn .i { position: relative; z-index: 1; }
.btn .i { width: 22px; height: 22px; }
.btn:active { transform: translateY(4px); box-shadow: 0 2px 0 #8f0d17, 0 8px 16px rgba(185, 20, 31, .24); }
.btn-ghost { background: var(--soft); color: var(--ink); box-shadow: none; border: 1px solid var(--line); animation: none; }
.btn-ghost::before { display: none; }

.form-note, .cod {
  margin-top: 16px;
  padding: 10px 12px;
  border-radius: var(--r-md);
  background: var(--green-soft);
  border: 1px dashed rgba(15, 157, 88, .45);
  text-align: center;
}
.cod { display: grid; gap: 0; }
.cod .cod-t { color: var(--green); font-size: 16px; font-weight: 900; }
.cod .cod-t::before { content: '\2713'; display: inline-block; margin-inline-end: 6px; font-weight: 900; }
.cod .cod-s { color: var(--ink-2); font-size: 14px; font-weight: 500; }

/* ---------- Marquee ---------- */
.word-marquee { position: relative; z-index: 2; overflow: hidden; background: var(--brand-deep); padding: 10px 0; }
.word-marquee__track { display: flex; width: max-content; animation: marquee 22s linear infinite; }
body.ur-page .word-marquee__track { animation-name: marqueeRtl; }
.word-marquee span { display: inline-flex; align-items: center; }
.word-marquee em, body.ur-page .word-marquee em {
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  font-family: var(--font);
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  color: #fff;
  -webkit-text-stroke: 0;
  line-height: 1.6;
  white-space: nowrap;
}
.word-marquee em::before { content: ''; width: 6px; height: 6px; margin-inline-end: 12px; border-radius: 50%; background: var(--gold); }
.word-marquee em.on { color: var(--gold); }

/* ---------- Sections ---------- */
.section { position: relative; z-index: 2; padding: 30px 16px; background: var(--bg); }
.section-alt { background: var(--surface); }
.section-kicker { display: flex; align-items: center; justify-content: flex-start; gap: 10px; margin-bottom: 10px; }
.section-index, body.ur-page .section-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  min-width: 34px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-family: var(--font-num);
  font-size: 14px;
  font-weight: 800;
}
.section-kicker .bar { display: none; }
h2, body.ur-page h2 {
  font-family: var(--font);
  font-weight: 900;
  font-size: 26px;
  line-height: 1.4;
  letter-spacing: 0;
  color: var(--ink);
}
.tx-accent { color: var(--red); }
.lead { margin-top: 8px; color: var(--ink-2); font-size: 17px; }
.block-img { margin-top: 16px; overflow: hidden; border-radius: var(--r-lg); background: #0b0c10; box-shadow: var(--shadow); }
.block-img img { width: 100%; }

.rows { margin-top: 14px; display: grid; gap: 10px; }
.row, body.ur-page .row,
body.ur-page .symptom-list .row,
body.ur-page .composition-list .row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: 0 2px 8px rgba(13, 27, 46, .04);
}
.section-alt .row, .section-alt .guarantee-card { background: var(--soft); box-shadow: none; }
.r-body { flex: 1; min-width: 0; }
.idx {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  font-family: var(--font-num);
  font-size: 17px;
  font-weight: 900;
}
.r-body h3, .r-body h4, body.ur-page .r-body h3, body.ur-page .r-body h4 {
  margin: 0 0 2px;
  font-size: 18px;
  line-height: 1.45;
  font-weight: 800;
  color: var(--ink);
}
.r-body p { color: var(--ink-2); font-size: 16px; line-height: 1.65; }
.hl { color: var(--red); font-weight: 800; }
.thumb-card { flex: none; order: -1; width: 76px; height: 76px; border-radius: var(--r-md); overflow: hidden; background: #0b0c10; }
.thumb-card img { width: 100%; height: 100%; object-fit: cover; }

.alert {
  margin-top: 14px;
  padding: 12px 14px;
  border: 1px solid #ffd76a;
  border-radius: var(--r-md);
  background: var(--gold-soft);
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
  text-align: center;
}
.alert b { color: var(--red-deep); }

.guarantee-grid { margin-top: 14px; display: grid; gap: 10px; }
.guarantee-card, body.ur-page .guarantee-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
}
.guarantee-card > div { flex: 1; min-width: 0; }
.guarantee-ico { flex: none; order: -1; display: inline-flex; width: 60px; height: 60px; border-radius: var(--r-md); overflow: hidden; }
.guarantee-ico img { width: 100%; height: 100%; object-fit: contain; }
.guarantee-card h3 { font-size: 18px; line-height: 1.45; font-weight: 800; }
.guarantee-card p { color: var(--ink-2); font-size: 16px; line-height: 1.6; }
.guarantee-note {
  margin-top: 14px;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green);
  font-size: 16px;
  font-weight: 800;
  text-align: center;
}

.expert {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: var(--r-lg);
  border-inline-start: 5px solid var(--brand);
  background: var(--brand-soft);
}
.expert blockquote { margin: 0; color: var(--ink); font-size: 17px; line-height: 1.75; }
.expert blockquote b { color: var(--brand); }

/* ---------- Order ---------- */
.final-mini { max-width: 190px; margin: 16px auto 0; box-shadow: none; background: transparent; }
.order-box {
  margin-top: 16px;
  padding: 14px;
  border-radius: var(--r-xl);
  background: linear-gradient(160deg, var(--brand) 0%, var(--brand-deep) 100%);
  box-shadow: var(--shadow-lg);
  scroll-margin-top: 70px;
}
.order-recap { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 4px 6px 12px; }
.order-recap .price-old { color: rgba(255, 255, 255, .7); }
.order-recap .price-now { color: var(--gold); font-size: 32px; }
.order-recap .lbl, body.ur-page .order-recap .lbl {
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .14);
  color: #fff;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 700;
}
.order-box .form-panel { margin-top: 0; border: 0; border-top: 0; box-shadow: none; }

/* ---------- Footer ---------- */
.footer {
  padding: 22px 16px calc(96px + env(safe-area-inset-bottom, 0px));
  background: var(--surface);
  border-top: 1px solid var(--line);
  text-align: center;
}
.f-logo { direction: ltr; font-family: var(--font-num); font-size: 19px; font-weight: 900; color: var(--brand-deep); }
.f-logo span { color: var(--red); }
.footer p, .footer .copy { margin: 8px 0 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.cpu { padding: 8px 0 0; text-align: center; }
.cpu img { display: block; margin: 0 auto; width: auto; }
.cpu a { display: inline-block; margin: 4px 8px; padding: 6px 2px; color: var(--brand); font-size: 13px; text-decoration: underline; }

/* ---------- Sticky CTA ---------- */
.sticky-cta, body.ur-page .sticky-cta {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  z-index: 80;
  width: 100%;
  max-width: var(--wrap);
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 12px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, .97);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 -8px 24px rgba(13, 27, 46, .12);
  transition: transform .28s ease;
}
.sticky-cta.hidden { transform: translate(-50%, 130%); }
.sticky-cta .pr { flex: none; display: grid; gap: 0; text-align: center; line-height: 1.2; }
.sticky-cta .o { color: var(--muted); text-decoration: line-through; font-size: 14px; }
.sticky-cta .n { font-size: 22px; font-weight: 900; color: var(--red-deep); white-space: nowrap; }
.sticky-cta .btn { flex: 1; width: auto; min-height: 54px; font-size: 19px; padding: 12px 16px; box-shadow: 0 4px 0 #8f0d17; }

/* ---------- Modal ---------- */
.modal {
  position: fixed;
  inset: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: var(--wrap);
  padding: 20px;
  background: rgba(13, 27, 46, .7);
}
.modal.open { display: flex; }
.modal__box { width: 100%; padding: 22px; border-radius: var(--r-xl); background: #fff; color: var(--ink); box-shadow: var(--shadow-lg); text-align: center; }
.modal__ok { display: inline-flex; align-items: center; justify-content: center; width: 68px; height: 68px; border-radius: 50%; background: var(--green-soft); color: var(--green); font-size: 34px; margin-bottom: 12px; }
.modal__box h3 { font-size: 26px; font-weight: 900; }
.modal__box .m-lead { margin: 6px 0 14px; color: var(--ink-2); }
.modal__box .m-info { margin-bottom: 16px; padding: 12px; border-radius: var(--r-md); background: var(--soft); border: 1px solid var(--line); color: var(--ink-2); text-align: right; }
.modal__box .m-info b { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 4px; color: var(--ink); }

/* ---------- Icons / motion ---------- */
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.i { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .05s; }
.reveal.d2 { transition-delay: .1s; }
.hero .reveal { opacity: 1; transform: none; }

@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes marqueeRtl { from { transform: translateX(-50%); } to { transform: translateX(0); } }
@keyframes shine { 0%, 42% { transform: translateX(-120%); } 72%, 100% { transform: translateX(120%); } }
@keyframes pulse { 0%, 100% { filter: brightness(1); } 50% { filter: brightness(1.12); } }

@media (max-width: 360px) {
  body { font-size: 16px; }
  .display, body.ur-page .display { font-size: 29px; }
  h2, body.ur-page h2 { font-size: 23px; }
  .price-now { font-size: 30px; }
  .badge-nat { font-size: 13px; padding: 4px 10px; }
  .thumb-card { width: 66px; height: 66px; }
  .btn { font-size: 18px; }
  .sticky-cta .btn { font-size: 17px; }
}
@media (min-width: 481px) {
  body { background: #dfe6ef; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
