/* =====================================================================
   NOOL — صفحات الدومين الأساسي في وضع المنصة
   الأسعار، طلب الاشتراك، الدخول على المتجر، والصفحات المستقلة
   (متجر مش موجود، موقوف). مبنية فوق landing.css: نفس الألوان
   والخطوط والشراشيب والحلقات.
   ===================================================================== */

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

.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-700); }

.foot-links-3 { grid-template-columns: repeat(2, auto); }

/* ─────────────────────────────────────────── الشريط الأزرق فوق ── */

.band {
  position: relative; overflow: hidden;
  background: var(--blue); color: #fff;
  padding: calc(74px + clamp(44px, 6vw, 84px)) 0 clamp(40px, 5vw, 64px);
}
.band-in { position: relative; z-index: 1; }
.band h1 { font-size: var(--fs-h2); line-height: 1.15; margin-bottom: 18px; max-width: 16ch; }
.band .lede { color: rgba(255,255,255,.9); margin-bottom: 0; }
.band-note { margin: 22px 0 0; font-size: 15px; color: var(--blue-100); }
.band-note a { color: #fff; font-weight: 600; text-underline-offset: 4px; }
.band-short { padding-bottom: clamp(32px, 4vw, 48px); }
.band-done { min-height: calc(100svh - 300px); display: flex; align-items: center; }
.band-done .hero-cta { margin-top: 30px; }
.band .rings { opacity: .55; }

/* ─────────────────────────────────────────────────── الباقات ── */

.plans-sec { padding: clamp(28px, 4vw, 48px) 0 clamp(64px, 8vw, 104px); }
.plans {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px;
  align-items: stretch;
}
.plan {
  position: relative;
  display: flex; flex-direction: column;
  background: #fff;
  border: 1.5px solid var(--g200);
  border-radius: var(--r-lg);
  padding: 28px 26px 26px;
}
.plan h2 { font-size: 30px; line-height: 1.2; }
.plan-tag { color: var(--g600); font-size: 15.5px; margin: 6px 0 22px; min-height: 2.6em; line-height: 1.6; }
.plan-flag {
  position: absolute; top: -13px; inset-inline-start: 24px; margin: 0;
  background: var(--cyan); color: var(--ink);
  font-size: 13px; font-weight: 700; padding: 3px 12px; border-radius: 999px;
}
.plan-price { display: flex; align-items: baseline; gap: 10px; min-height: 58px; }
.plan-price .num {
  font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800;
  font-size: 48px; line-height: 1; letter-spacing: -.02em;
}
.plan-price .per { font-size: 15px; color: var(--g600); }
.plan-price .ask { font-size: 26px; font-weight: 800; line-height: 1.2; }
.plan-year { font-size: 14.5px; color: var(--g600); margin: 6px 0 20px; min-height: 1.6em; }

.plan-limits {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  margin: 0 0 18px; border-block: 1px solid var(--g200);
}
.plan-limits div { padding: 14px 0; }
.plan-limits div + div { border-inline-start: 1px solid var(--g200); padding-inline-start: 16px; }
.plan-limits dt { font-size: 13px; color: var(--g600); }
.plan-limits dd { margin: 2px 0 0; font-size: 17px; font-weight: 700; }

.plan-list { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 9px; flex: 1; }
.plan-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 15.5px; line-height: 1.55; }
.plan-list svg { flex: 0 0 auto; margin-top: 3px; color: var(--blue); }
.plan-list li.is-off { color: var(--g400); }
.plan-list li.is-off svg { color: var(--g400); }
.plan-cta { width: 100%; }

/* الباقة المميزة: سطح أزرق كامل، زي البطل */
.plan.is-featured { background: var(--blue); border-color: var(--blue); color: #fff; }
.plan.is-featured .plan-tag,
.plan.is-featured .plan-price .per,
.plan.is-featured .plan-year,
.plan.is-featured .plan-limits dt { color: var(--blue-100); }
.plan.is-featured .plan-limits,
.plan.is-featured .plan-limits div + div { border-color: rgba(255,255,255,.22); }
.plan.is-featured .plan-list svg { color: var(--cyan); }
.plan.is-featured .plan-list li.is-off,
.plan.is-featured .plan-list li.is-off svg { color: rgba(221,225,255,.5); }

.plans-foot { text-align: center; color: var(--g600); font-size: 15px; margin: 26px 0 0; }
.plans-foot a { color: var(--blue); font-weight: 600; }

@media (max-width: 980px) {
  .plans { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .plan-tag { min-height: 0; }
}

/* ─────────────────────────────────────────── من الطلب لأول بيعة ── */

.steps-sec { background: var(--light); }
.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0;
  counter-reset: st;
}
.steps li {
  counter-increment: st;
  position: relative;
  padding: 0 0 0 24px;
  padding-inline: 0 24px;
}
.steps li::before {
  content: counter(st);
  display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--blue); color: #fff;
  font-family: 'Bricolage Grotesque', sans-serif; font-weight: 700; font-size: 18px;
  margin-bottom: 18px;
}
/* خيط بين الخطوات — زي خيط السدى */
.steps li:not(:last-child)::after {
  content: ''; position: absolute; top: 21px; inset-inline-start: 56px; inset-inline-end: 12px;
  border-top: 2px dashed var(--blue-300);
}
.steps h3 { font-size: var(--fs-h3); margin-bottom: 8px; }
.steps p { color: var(--g600); margin: 0; font-size: 16px; }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .steps li::after { display: none; }
}

/* ─────────────────────────────────────────────────── الفورم ── */

.form-sec { padding: clamp(32px, 4vw, 56px) 0 clamp(64px, 8vw, 104px); }
.form-grid-2 { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
@media (max-width: 900px) { .form-grid-2 { grid-template-columns: 1fr; } .next-card { order: 2; } }

.next-card {
  position: sticky; top: 100px;
  background: var(--ink); color: #fff;
  border-radius: var(--r-lg); padding: 28px 26px;
}
.next-card h2 { font-size: 24px; margin-bottom: 18px; }
.next-card ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: nx; }
.next-card li { counter-increment: nx; display: grid; grid-template-columns: 34px 1fr; column-gap: 12px; }
.next-card li::before {
  content: counter(nx); grid-row: span 2;
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  border: 1.5px solid var(--cyan); color: var(--cyan);
  font-family: 'Bricolage Grotesque', sans-serif; font-weight: 700; font-size: 14px;
}
.next-card li b { font-size: 17px; }
.next-card li span { color: rgba(200,205,230,.85); font-size: 15px; line-height: 1.6; }
.next-note { margin: 22px 0 0; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.14); color: var(--cyan); font-size: 15px; }

.su-form { display: grid; gap: 18px; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .f-row { grid-template-columns: 1fr; } }
.f { display: grid; gap: 6px; min-width: 0; margin: 0; padding: 0; border: 0; }
.f label, .f legend { font-size: 15px; font-weight: 600; padding: 0; }
.f small { font-weight: 400; color: var(--g400); font-size: 13px; margin-inline-start: 4px; }
.f input, .f textarea, .find-form input {
  font: inherit; font-size: 16px; color: var(--ink);
  width: 100%; min-height: 50px; padding: 10px 14px;
  border: 1.5px solid var(--g200); border-radius: var(--r); background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.f textarea { min-height: 96px; resize: vertical; line-height: 1.7; }
.f input:focus, .f textarea:focus, .find-form input:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(43,59,255,.12);
}
.f input[aria-invalid="true"] { border-color: #DC2626; }
.f-err { margin: 0; color: #B91C1C; font-size: 14px; }
.f-hint { margin: 0; color: var(--g600); font-size: 13.5px; line-height: 1.6; }
.f-alert { margin: 0; padding: 12px 16px; border-radius: var(--r); background: #FEE2E2; color: #991B1B; font-weight: 600; }
.hp { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }

.slug-in { display: flex; align-items: stretch; }
.slug-in input { border-start-end-radius: 0; border-end-end-radius: 0; text-align: left; }
.slug-in span {
  display: flex; align-items: center; padding: 0 14px;
  background: var(--light); border: 1.5px solid var(--g200); border-inline-start: 0;
  border-start-end-radius: var(--r); border-end-end-radius: var(--r);
  color: var(--g600); font-size: 15px; white-space: nowrap;
}
/* الحقل dir=ltr: البداية والنهاية بتتعكس — الحواف بتتظبط على الشمال واليمين */
.slug-in[dir="ltr"] input { border-radius: var(--r) 0 0 var(--r); }
.slug-in[dir="ltr"] span { border-radius: 0 var(--r) var(--r) 0; border-inline-start: 0; border-left: 0; border-right: 1.5px solid var(--g200); }

.plan-pick .pick-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.pick { position: relative; cursor: pointer; }
.pick input { position: absolute; opacity: 0; inset: 0; }
.pick span {
  display: grid; gap: 2px; height: 100%;
  padding: 12px 14px; border: 1.5px solid var(--g200); border-radius: var(--r);
  transition: border-color .15s, background-color .15s;
}
.pick b { font-size: 16px; }
.pick small { color: var(--g600); font-size: 13px; line-height: 1.5; margin: 0; }
.pick input:checked + span { border-color: var(--blue); background: var(--blue-50); box-shadow: inset 0 0 0 1px var(--blue); }
.pick input:focus-visible + span { outline: 3px solid var(--cyan); outline-offset: 2px; }
.su-submit { justify-self: start; min-width: 200px; }

/* ─────────────────────────────────────────── ادخل على متجرك ── */

.find-form { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; max-width: 640px; }
.find-form .slug-in { flex: 1 1 320px; }
.find-form input { min-height: 56px; font-size: 18px; border-color: transparent; }
.find-form .slug-in span { background: rgba(255,255,255,.16); border-color: transparent; color: #fff; }
.find-form .btn { min-height: 56px; min-width: 120px; }
.find-err { margin: 14px 0 0; padding: 10px 14px; border-radius: var(--r); background: rgba(255,255,255,.14); color: #fff; font-weight: 600; max-width: 640px; }

/* ─────────────────────────────────────── الصفحات المستقلة ── */

.bare { background: var(--blue); }
.bare-main {
  position: relative; overflow: hidden; min-height: 100svh;
  display: grid; place-items: center; padding: 32px var(--pad);
  color: #fff; text-align: center;
}
.bare-card { position: relative; z-index: 1; max-width: 520px; }
.bare-logo { margin: 0 auto 36px; width: 100px; }
.bare-store { margin: 0 0 6px; color: var(--blue-100); font-size: 16px; }
.bare-card h1 { font-size: clamp(30px, 5vw, 44px); line-height: 1.2; margin-bottom: 14px; }
.bare-card p { color: rgba(255,255,255,.88); font-size: 18px; margin-bottom: 28px; }
