/* ==========================================================================
   وضح — صفحة الهبوط
   الهوية: «وضوح النهار». القيم هنا هي المصدر الوحيد — لا تكرّرها في HTML.
   ========================================================================== */

:root {
  /* الأسطح */
  --bg:        #FBFAF7;
  --surface:   #FFFFFF;
  --sand:      #F4F1EA;
  --sand-deep: #F7F5F0;

  /* الحبر */
  --ink:       #101F1D;
  --ink-2:     #4A5B58;
  --muted:     #6B7A77;
  --muted-2:   #9AA5A2;

  /* الحدود */
  --line:      #E8E3DA;
  --line-soft: #F1EEE8;
  --line-firm: #DCD6CB;

  /* العلامة */
  --brand:      #0D8F80;
  --brand-deep: #075C52;
  --brand-lite: #6FD3C4;
  --brand-tint: #E9F4F2;
  --brand-edge: #C9E6E1;

  /* التنبيه / الدين */
  --warn:       #C97A1E;
  --warn-tint:  #FDF0E2;
  --gold:       #E7B96B;
  --gold-tint:  #FDF4E4;
  --gold-edge:  #EBD9B4;
  --gold-ink:   #8A5A12;

  /* داخل الأقسام الداكنة */
  --dark:        #101F1D;
  --dark-2:      #172623;
  --dark-line:   #24352F;
  --dark-field:  #0F1B18;
  --dark-edge:   #2C3D38;
  --on-dark:     #F2F5F3;
  --on-dark-2:   #C6D3D0;
  --on-dark-3:   #A9BAB6;
  --on-dark-4:   #8FA39E;
  --on-dark-5:   #7F918D;
  --on-dark-6:   #64756F;

  --radius-btn:  12px;
  --radius-fld:  10px;
  --radius-card: 18px;
  --radius-lg:   20px;

  --display: "Readex Pro", "Segoe UI", system-ui, sans-serif;
  --body:    "IBM Plex Sans Arabic", "Segoe UI", system-ui, sans-serif;

  --pad-x: 20px;
  --pad-y: 44px;
}

@media (min-width: 768px)  { :root { --pad-x: 40px; --pad-y: 72px; } }
@media (min-width: 1100px) { :root { --pad-x: 80px; --pad-y: 92px; } }

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}

h1, h2, h3 { font-family: var(--display); margin: 0; text-wrap: pretty; }
p { margin: 0; }
img, svg { max-width: 100%; }

a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-deep); }

:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 4px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; inset-inline-start: -9999px; top: 8px; z-index: 100;
  background: var(--brand); color: #FFF; padding: 10px 18px; border-radius: 8px;
}
.skip-link:focus { inset-inline-start: 8px; color: #FFF; }

/* ---------- تخطيط ---------- */

.wrap { max-width: 1120px; margin: 0 auto; }
.section { padding: var(--pad-y) var(--pad-x); }
.band--sand { background: var(--sand); }
.band--dark { background: var(--dark); color: var(--on-dark); }
.stack { display: flex; flex-direction: column; }

.section__head { display: flex; flex-direction: column; gap: 14px; max-width: 660px; }
.eyebrow {
  font-size: 12px; letter-spacing: 0.16em; font-weight: 600; color: var(--brand);
}
.band--dark .eyebrow { color: var(--brand-lite); }

.h1 { font-size: clamp(2.35rem, 8vw, 4.25rem); line-height: 1.14; font-weight: 700; letter-spacing: -0.02em; }
.h2 { font-size: clamp(1.75rem, 4.6vw, 2.625rem); line-height: 1.28; font-weight: 600; }
.h3 { font-size: 1.25rem; font-weight: 600; }
.lede { font-size: clamp(1rem, 2.1vw, 1.25rem); line-height: 1.8; color: var(--ink-2); }
.body { font-size: 1rem; line-height: 1.85; color: var(--muted); }
.small { font-size: 0.875rem; line-height: 1.75; color: var(--muted-2); }

/* ---------- أزرار وأوسمة ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 56px; padding: 0 28px; border-radius: var(--radius-btn);
  font-family: var(--body); font-size: 1.0625rem; font-weight: 600;
  border: 1px solid transparent; cursor: pointer; text-align: center;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn--primary { background: var(--brand); color: #FFF; box-shadow: 0 8px 20px -8px rgba(13,143,128,.55); }
.btn--primary:hover { background: var(--brand-deep); color: #FFF; }
.btn--ghost { background: var(--surface); color: var(--ink); border-color: var(--line-firm); }
.btn--ghost:hover { color: var(--ink); border-color: var(--muted-2); }
.btn--light { background: #FFF; color: var(--brand-deep); font-weight: 700; }
.btn--light:hover { background: var(--brand-tint); color: var(--brand-deep); }
.btn--outline-lite { background: transparent; color: var(--brand-lite); border-color: var(--brand-lite); min-height: 48px; font-size: 1rem; }
.btn--outline-lite:hover { background: rgba(111,211,196,.1); color: var(--brand-lite); }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 0.9375rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }

.badge {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  padding: 7px 15px; border-radius: 999px; font-size: 0.8125rem; font-weight: 600;
  background: var(--brand-tint); border: 1px solid var(--brand-edge); color: var(--brand-deep);
}
.badge__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand); flex: none; }
.badge--on-dark { background: rgba(111,211,196,.14); border-color: rgba(111,211,196,.3); color: var(--brand-lite); }
.badge--on-dark .badge__dot { background: var(--brand-lite); }
.badge--gold { background: var(--gold-tint); border-color: var(--gold-edge); color: var(--gold-ink); }

.pill { padding: 4px 11px; border-radius: 999px; font-size: 0.71875rem; font-weight: 700; white-space: nowrap; }
.pill--brand { background: var(--brand); color: #FFF; }
.pill--tint  { background: var(--brand-tint); color: var(--brand-deep); }
.pill--gold  { background: var(--gold); color: var(--ink); }
.pill--mute  { background: var(--sand); color: var(--muted); }

/* ---------- الترويسة ---------- */

.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251,250,247,.93); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  max-width: 1120px; margin: 0 auto; padding: 14px var(--pad-x);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand__mark { flex: none; }
.brand__name { font-family: var(--display); font-size: 1.5rem; font-weight: 700; letter-spacing: -0.01em; }
.nav__links { display: none; align-items: center; gap: 30px; font-size: 0.9375rem; }
.nav__links a { color: var(--muted); }
.nav__links a:hover { color: var(--ink); }
@media (min-width: 900px) { .nav__links { display: flex; } }

/* ---------- الهيرو ---------- */

.hero { padding: 34px var(--pad-x) 30px; }
.hero__grid { display: grid; gap: 34px; align-items: center; }
.hero__copy { display: flex; flex-direction: column; gap: 20px; }
.hero__lede { max-width: 540px; }
.hero__actions { display: flex; flex-direction: column; gap: 12px; }
.hero__meta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 10px 14px; font-size: 0.8125rem; color: var(--muted);
}
.dot-sep { width: 4px; height: 4px; border-radius: 50%; background: #C9C2B6; flex: none; }
.hero__art { display: flex; justify-content: center; }

@media (min-width: 900px) {
  .hero { padding-top: 72px; padding-bottom: 64px; }
  .hero__grid { grid-template-columns: 1.08fr .92fr; gap: 56px; }
  .hero__copy { gap: 26px; }
  .hero__actions { flex-direction: row; align-items: center; }
  .hero__actions .btn { flex: none; }
  .hero__meta { justify-content: flex-start; gap: 10px 22px; }
}

/* ---------- محاكاة الجوال ---------- */

.phone { width: min(328px, 100%); border-radius: 40px; background: var(--ink); padding: 11px; box-shadow: 0 40px 70px -30px rgba(16,31,29,.45); }
.phone__screen { border-radius: 30px; background: #FFF; overflow: hidden; }
.phone__head { padding: 26px 18px 16px; background: var(--brand); color: #FFF; }
.phone__headrow { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.phone__shift { font-size: .9375rem; opacity: .85; }
.phone__sync { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; background: rgba(255,255,255,.18); border-radius: 999px; font-size: .75rem; font-weight: 600; }
.phone__total { padding-top: 14px; font-family: var(--display); font-size: 2.125rem; font-weight: 700; }
.phone__sub { font-size: .84375rem; opacity: .8; }
.phone__row { display: flex; align-items: center; gap: 12px; padding: 13px 18px; border-bottom: 1px solid var(--line-soft); }
.phone__row:last-of-type { border-bottom: 0; }
.phone__icon { width: 38px; height: 38px; border-radius: 11px; display: flex; align-items: center; justify-content: center; flex: none; }
.phone__icon--tint { background: var(--brand-tint); }
.phone__icon--warn { background: var(--warn-tint); }
.phone__icon--mute { background: #EFF1F0; }
.phone__grow { flex: 1 1 auto; min-width: 0; }
.phone__t { font-size: .90625rem; font-weight: 600; }
.phone__d { font-size: .78125rem; color: #7B8986; }
.phone__amt { font-size: .90625rem; font-weight: 600; }
.phone__amt--warn { color: var(--warn); }
.phone__offline { margin: 8px 14px 16px; padding: 12px 14px; background: var(--sand-deep); border: 1px dashed var(--line-firm); border-radius: 14px; display: flex; align-items: center; gap: 10px; }
.phone__offline span { font-size: .8125rem; color: var(--ink-2); line-height: 1.6; }

/* ---------- شريط الثقة ---------- */

.strip {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-card); overflow: hidden;
}
@media (min-width: 900px) { .strip { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.strip__cell { background: var(--surface); padding: 20px 18px; display: flex; flex-direction: column; gap: 8px; }
@media (min-width: 900px) { .strip__cell { padding: 26px 24px; } }
.strip__t { font-size: .96875rem; font-weight: 600; }
.strip__d { font-size: .84375rem; color: var(--muted); line-height: 1.7; display: none; }
@media (min-width: 900px) { .strip__d { display: block; } }

/* ---------- شبكات عامة ---------- */

.grid { display: grid; gap: 20px; }
@media (min-width: 700px)  { .grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px)  { .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 700px)  { .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 26px 24px;
  display: flex; flex-direction: column; gap: 14px;
}
.card--dark { background: var(--dark); border-color: var(--dark); color: var(--on-dark); }
.card--dark .card__d { color: var(--on-dark-3); }
.card--sel { border: 2px solid var(--brand); }
.card--dashed { background: var(--sand); border: 1px dashed var(--line-firm); }
.card__d { font-size: .90625rem; line-height: 1.9; color: var(--muted); }
.card__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }

/* قائمة صحّ */
.ticks { display: flex; flex-direction: column; gap: 11px; font-size: .9375rem; color: var(--ink-2); }
.tick { display: flex; align-items: flex-start; gap: 9px; }
.tick svg { flex: none; margin-top: 4px; }
.card--dark .ticks { color: var(--on-dark-2); }

/* ---------- المشكلة ---------- */
.woe { background: var(--dark-2); border: 1px solid var(--dark-line); border-radius: var(--radius-card); padding: 22px 20px; display: flex; flex-direction: column; gap: 9px; }
.woe__t { font-family: var(--display); font-size: .9375rem; font-weight: 600; color: var(--gold); }
.woe__d { font-size: .90625rem; line-height: 1.8; color: var(--on-dark-3); }

/* ---------- الخطوات ---------- */
.step { display: flex; flex-direction: column; gap: 13px; }
.step__top { display: flex; align-items: center; gap: 12px; }
.step__n { width: 40px; height: 40px; border-radius: 12px; background: var(--brand); color: #FFF; display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 700; font-size: 1.0625rem; flex: none; }
.step__rule { flex: 1 1 auto; height: 1px; background: var(--line); }

/* ---------- الأوفلاين ---------- */
.offline { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 32px 24px; display: grid; gap: 32px; align-items: center; }
@media (min-width: 950px) { .offline { grid-template-columns: .92fr 1.08fr; gap: 52px; padding: 52px 48px; } }
.flow { display: flex; flex-direction: column; }
.flow__row { display: flex; align-items: flex-start; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line-soft); }
.flow__row:last-child { border-bottom: 0; }
.flow__n { width: 36px; height: 36px; border-radius: 10px; background: var(--sand); display: flex; align-items: center; justify-content: center; font-family: var(--display); font-size: .8125rem; font-weight: 700; color: var(--ink-2); flex: none; }
.flow__n--done { background: var(--brand-tint); }
.flow__t { font-size: 1rem; font-weight: 600; padding-bottom: 5px; }
.flow__d { font-size: .90625rem; line-height: 1.75; color: #7B8986; }

/* ---------- الأسعار ---------- */
.plans { display: grid; gap: 20px; align-items: start; }
@media (min-width: 950px) { .plans { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 26px; display: flex; flex-direction: column; gap: 18px; }
.plan--featured { border: 2px solid var(--brand); }
.plan--top { background: var(--dark); border-color: var(--dark); color: var(--on-dark); }
.plan__price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.plan__num { font-family: var(--display); font-size: 2.875rem; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); }
.plan--top .plan__num { color: var(--on-dark); font-size: 2.125rem; font-weight: 600; }
.plan__cur { font-size: 1.1875rem; font-weight: 600; }
.plan__per { font-size: .9375rem; color: var(--muted-2); }
.plan__for { font-size: .875rem; color: var(--muted-2); line-height: 1.7; }
.plan--top .plan__for { color: var(--on-dark-4); }
.plan__rule { height: 1px; background: var(--line-soft); }
.plan--top .plan__rule { background: var(--dark-line); }
.plan__plus { font-weight: 600; color: var(--ink); }
.plan--top .plan__plus { color: var(--on-dark); }

.founder { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px 24px; display: grid; gap: 26px; align-items: center; }
@media (min-width: 950px) { .founder { grid-template-columns: 1fr 1fr; gap: 40px; padding: 34px 32px; } }
.founder__copy { display: flex; flex-direction: column; gap: 12px; }
.ladder { display: flex; flex-direction: column; gap: 12px; }
.ladder__row { display: flex; align-items: center; gap: 14px; padding: 15px 17px; background: var(--sand-deep); border-radius: 14px; }
.ladder__row--open { background: transparent; border: 1px dashed var(--line-firm); }
.ladder__grow { flex: 1 1 auto; min-width: 0; }
.ladder__k { font-size: .8125rem; color: #7B8986; }
.ladder__v { font-size: .96875rem; font-weight: 600; }
.ladder__amt { font-family: var(--display); font-size: 1.375rem; font-weight: 700; display: flex; align-items: baseline; gap: 4px; }
.ladder__amt--free { color: var(--brand); }

.pay { display: flex; align-items: flex-start; gap: 16px; padding: 22px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-card); }
.pay svg { flex: none; }

/* ---------- النموذج ---------- */
.lead { display: grid; gap: 32px; align-items: start; max-width: 1000px; margin: 0 auto; }
@media (min-width: 950px) { .lead { grid-template-columns: .85fr 1.15fr; gap: 56px; } }
.lead__copy { display: flex; flex-direction: column; gap: 16px; }
.lead__rule { height: 1px; background: var(--dark-line); margin: 4px 0; }

.formcard { background: var(--dark-2); border: 1px solid var(--dark-line); border-radius: 22px; padding: 26px 22px; display: flex; flex-direction: column; gap: 18px; }
@media (min-width: 700px) { .formcard { padding: 34px 32px; } }
.field { display: flex; flex-direction: column; gap: 8px; }
.field__label { font-size: .84375rem; font-weight: 600; color: var(--on-dark-2); }
.field__opt { font-weight: 400; color: var(--on-dark-5); }
.field__hint { font-size: .78125rem; color: var(--on-dark-5); }
.pair { display: grid; gap: 16px; }
@media (min-width: 620px) { .pair { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.input, .select, .textarea {
  width: 100%; min-height: 50px; background: var(--dark-field);
  border: 1px solid var(--dark-edge); border-radius: var(--radius-fld);
  padding: 0 14px; color: var(--on-dark); font-family: var(--body); font-size: .90625rem;
}
.textarea { min-height: 82px; padding: 13px 14px; line-height: 1.7; resize: vertical; }
.input::placeholder, .textarea::placeholder { color: var(--on-dark-6); }
.input:focus, .select:focus, .textarea:focus { border-color: var(--brand-lite); outline: none; box-shadow: 0 0 0 3px rgba(111,211,196,.18); }
.input[dir="ltr"] { text-align: start; }
.select {
  appearance: none; padding-inline-end: 38px; cursor: pointer;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%2364756F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M4 6l4 4 4-4'/></svg>");
  background-repeat: no-repeat; background-position: left 14px center;
}

.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choices--col { flex-direction: column; }
.choice { flex: 1 1 auto; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span {
  display: flex; align-items: center; justify-content: center; min-height: 48px;
  padding: 0 14px; background: var(--dark-field); border: 1px solid var(--dark-edge);
  border-radius: var(--radius-fld); font-size: .90625rem; color: var(--on-dark-3);
  cursor: pointer; text-align: center; transition: all .15s ease;
}
.choice input:checked + span {
  background: rgba(111,211,196,.12); border: 1.5px solid var(--brand-lite);
  color: var(--brand-lite); font-weight: 600;
}
.choice input:focus-visible + span { outline: 3px solid var(--brand-lite); outline-offset: 2px; }

.form__note { font-size: .78125rem; color: var(--on-dark-5); text-align: center; line-height: 1.7; }
.form__status { border-radius: var(--radius-fld); padding: 14px 16px; font-size: .90625rem; line-height: 1.75; }
.form__status[hidden] { display: none; }
.form__status--ok  { background: rgba(111,211,196,.12); border: 1px solid rgba(111,211,196,.35); color: var(--brand-lite); }
.form__status--err { background: rgba(231,185,107,.10); border: 1px solid rgba(231,185,107,.35); color: var(--gold); }
.hp { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- الأسئلة ---------- */
.faq { display: flex; flex-direction: column; max-width: 860px; margin: 0 auto; }
.faq__item { padding: 20px 0; border-bottom: 1px solid var(--line); }
.faq__item:last-child { border-bottom: 0; }
.faq__q {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-size: 1.0625rem; font-weight: 600; cursor: pointer; list-style: none;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__chev { flex: none; transition: transform .2s ease; }
.faq__item[open] .faq__chev { transform: rotate(180deg); }
.faq__a { font-size: .96875rem; line-height: 1.9; color: var(--muted); padding-top: 10px; }

/* ---------- الخاتمة ---------- */
.cta-final { background: var(--brand); padding: var(--pad-y) var(--pad-x); }
.cta-final__inner { max-width: 1120px; margin: 0 auto; display: flex; flex-direction: column; gap: 22px; }
@media (min-width: 900px) { .cta-final__inner { flex-direction: row; align-items: center; justify-content: space-between; gap: 40px; } }
.cta-final h2 { color: #FFF; }
.cta-final p { color: rgba(255,255,255,.88); font-size: 1.0625rem; line-height: 1.8; max-width: 520px; }

.footer { background: var(--bg); border-top: 1px solid var(--line); padding: 32px var(--pad-x); }
.footer__inner {
  max-width: 1120px; margin: 0 auto; display: flex; flex-direction: column;
  align-items: center; gap: 16px; font-size: .875rem; color: #7B8986; text-align: center;
}
@media (min-width: 900px) { .footer__inner { flex-direction: row; justify-content: space-between; text-align: start; } }
.footer__links { display: flex; align-items: center; gap: 24px; }
.footer__links a { color: #7B8986; }
.footer__links a:hover { color: var(--ink); }

.ltr { direction: ltr; display: inline-block; unicode-bidi: isolate; }

/* زرّ الترويسة على الشاشات الضيّقة — نسخة ثانية تختفي حين تظهر قائمة الروابط */
[data-hide-on-desktop] { display: inline-flex; }
@media (min-width: 900px) { [data-hide-on-desktop] { display: none !important; } }
