/* =============================================================================
   landing.css — صفحة شركاء وينو
   هوية تطبيق التاجر: الأزرق الملكي + كحلي، بنفس لغة دليل البائع الميداني.
   ============================================================================= */

:root {
  --navy: #0F2A6B;
  --royal: #204BB1;
  --royal-2: #1D4ED8;
  --royal-soft: #EEF4FF;
  --sky: #0EA5E9;
  --sky-soft: #E0F2FE;
  --pink: #F472B6;
  --gold: #D97706;
  --gold-soft: #FEF3C7;
  --green: #059669;
  --green-soft: #ECFDF5;
  --rose-soft: #FFF1F2;

  --ink: #0F172A;
  --muted: #5A6B85;
  --line: #E2E8F0;
  --paper: #F5F8FF;
  --white: #FFFFFF;

  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 26px;
  --shadow-sm: 0 4px 14px rgba(15, 42, 107, .06);
  --shadow: 0 14px 38px rgba(15, 42, 107, .09);
  --shadow-lg: 0 26px 64px rgba(15, 42, 107, .16);
  --nav-h: 68px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 14px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: Tajawal, "Segoe UI", Tahoma, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.8;
  font-size: 16.5px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }

body.nav-open { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3, h4 { margin: 0; line-height: 1.32; font-weight: 900; }
p { margin: 0 0 12px; }

.container {
  width: min(1160px, 100% - 36px);
  margin-inline: auto;
}

.grad {
  background: linear-gradient(90deg, var(--sky), var(--royal-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.muted { color: var(--muted); }

/* ── شريط التنقل ───────────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(32, 75, 177, .1);
  transition: box-shadow .25s ease, background .25s ease;
}

.nav.scrolled {
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 6px 26px rgba(15, 42, 107, .09);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: space-between;
}

.brand { display: flex; align-items: center; flex: 0 0 auto; }
.brand img { height: 38px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1 1 auto;
  justify-content: center;
}

.nav-links a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  color: #334155;
  padding: 8px 11px;
  border-radius: 999px;
  white-space: nowrap;
  transition: color .18s ease, background .18s ease;
}

.nav-links a:hover { color: var(--royal); background: var(--royal-soft); }

/* زر تواصل معنا في الشريط العلوي — أوضح من بقية الروابط */
.nav-links a.nav-contact {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--royal);
  border: 1.6px solid rgba(32, 75, 177, .3);
  background: var(--royal-soft);
  font-weight: 800;
  padding: 8px 15px;
}

.nav-links a.nav-contact svg { width: 16px; height: 16px; }
.nav-links a.nav-contact:hover { color: #fff; background: linear-gradient(135deg, var(--royal), var(--royal-2)); border-color: transparent; }

/* أزرار الدعوة داخل القائمة مخصّصة للجوال فقط */
.nav-links .btn { display: none; }

.nav-actions { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 800;
  font-size: 15px;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  padding: 13px 24px;
  border-radius: 999px;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  line-height: 1.2;
}

.btn:active { transform: translateY(1px); }

.btn-primary {
  background: linear-gradient(135deg, var(--royal), var(--royal-2));
  color: #fff;
  box-shadow: 0 10px 26px rgba(32, 75, 177, .32);
}

.btn-primary:hover { box-shadow: 0 14px 34px rgba(32, 75, 177, .42); transform: translateY(-2px); }

.btn-ghost {
  background: #fff;
  color: var(--royal);
  border: 1.6px solid rgba(32, 75, 177, .28);
}

.btn-ghost:hover { border-color: var(--royal); background: var(--royal-soft); }

.btn-light {
  background: rgba(255, 255, 255, .14);
  color: #fff;
  border: 1.6px solid rgba(255, 255, 255, .4);
}

.btn-light:hover { background: rgba(255, 255, 255, .24); }

.btn-sm { padding: 9px 16px; font-size: 13.5px; }
.btn-full { width: 100%; }

.lang-toggle {
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--royal);
  font-family: inherit;
  font-weight: 800;
  font-size: 13px;
  border-radius: 999px;
  padding: 8px 12px;
  cursor: pointer;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1.6px solid rgba(32, 75, 177, .22);
  background: var(--royal-soft);
  color: var(--royal);
  border-radius: 12px;
  cursor: pointer;
  place-items: center;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  position: relative;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
}

.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }

.nav-toggle.is-open .nav-toggle-bars { background: transparent; }
.nav-toggle.is-open .nav-toggle-bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle.is-open .nav-toggle-bars::after { top: 0; transform: rotate(-45deg); }

.nav-contact-btn {
  display: none;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: var(--royal);
  background: var(--royal-soft);
  border: 1.6px solid rgba(32, 75, 177, .3);
  border-radius: 999px;
  padding: 8px 13px;
  font-weight: 800;
  font-size: 13.5px;
  white-space: nowrap;
}

.nav-contact-btn svg { width: 16px; height: 16px; }

/* ── الغلاف العلوي ─────────────────────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding: 64px 0 82px;
  background:
    radial-gradient(1100px 420px at 100% -10%, rgba(14, 165, 233, .38), transparent 60%),
    radial-gradient(880px 380px at 0% 10%, rgba(244, 114, 182, .22), transparent 55%),
    linear-gradient(160deg, #0B1F52 0%, var(--navy) 40%, var(--royal) 100%);
}

.hero-map {
  position: absolute;
  inset: 0;
  background: url('assets/auth-ar-map.png') center/cover no-repeat;
  opacity: .13;
  mix-blend-mode: luminosity;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(3px 3px at 18% 30%, rgba(255, 255, 255, .8), transparent 60%),
    radial-gradient(3px 3px at 72% 22%, rgba(125, 211, 252, .9), transparent 60%),
    radial-gradient(3px 3px at 44% 70%, rgba(244, 114, 182, .8), transparent 60%),
    radial-gradient(3px 3px at 86% 62%, rgba(255, 255, 255, .7), transparent 60%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 42px;
  align-items: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .34);
  border-radius: 999px;
  padding: 7px 15px;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(30px, 5.1vw, 50px);
  margin-bottom: 16px;
  letter-spacing: -.4px;
}

.hero h1 .grad {
  background: linear-gradient(90deg, #7DD3FC, #F9A8D4);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  font-size: clamp(16px, 2vw, 19px);
  font-weight: 600;
  opacity: .95;
  max-width: 560px;
  margin-bottom: 16px;
}

.hero-x {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 540px;
  margin: 0 0 22px;
  padding: 12px 16px;
  background: rgba(253, 230, 138, .18);
  border: 1px solid rgba(252, 211, 77, .55);
  border-radius: 16px;
  color: #FEF3C7;
  font-weight: 800;
  font-size: 15.5px;
  line-height: 1.7;
}

.hero-x b { color: #FDE68A; }
.hero-x .ic { color: #FBBF24; flex: 0 0 auto; margin-top: 3px; }

.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.fact {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .26);
  border-radius: 14px;
  padding: 9px 14px;
  font-size: 13.5px;
  font-weight: 700;
}

.fact b { font-weight: 900; }

/* جوال الغلاف */
.hero-phone-wrap { display: flex; justify-content: center; position: relative; }

.hero-phone {
  width: min(266px, 74vw);
  border-radius: 34px;
  padding: 10px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .3), rgba(255, 255, 255, .08));
  border: 1px solid rgba(255, 255, 255, .34);
  box-shadow: 0 30px 70px rgba(0, 0, 0, .38);
}

.hero-phone img { border-radius: 26px; width: 100%; background: #fff; }

.hero-badge {
  position: absolute;
  bottom: 16px;
  inset-inline-start: 0;
  background: #fff;
  color: var(--navy);
  border-radius: 14px;
  padding: 10px 14px;
  font-size: 12.5px;
  font-weight: 900;
  box-shadow: var(--shadow-lg);
  max-width: 190px;
  line-height: 1.5;
}

/* ── الأقسام ───────────────────────────────────────────────────────────── */
.section { padding: 74px 0; position: relative; }
.section--paper { background: var(--paper); }

.section--tint {
  background:
    radial-gradient(700px 260px at 100% 0%, rgba(14, 165, 233, .08), transparent 60%),
    var(--white);
}

.kicker {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 900;
  color: var(--royal);
  background: var(--royal-soft);
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 12px;
}

.kicker--sky { color: #0369A1; background: var(--sky-soft); }
.kicker--gold { color: #92400E; background: var(--gold-soft); }
.kicker--green { color: #047857; background: var(--green-soft); }

.section-head { max-width: 720px; margin-bottom: 34px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center > .kicker { display: block; width: fit-content; margin-inline: auto; }
.section-head.center > .x-badge { display: inline-flex; }

.section-head h2 {
  font-size: clamp(24px, 3.6vw, 35px);
  color: var(--navy);
  margin-bottom: 12px;
}

.section-head p {
  font-size: 17.5px;
  color: #475569;
  font-weight: 500;
  margin: 0;
  line-height: 1.8;
}

/* صورة القسم — رسم توضيحي يعبّر عن الفكرة */
.sec-art {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
  margin-bottom: 26px;
}

.sec-art img { width: 100%; height: auto; display: block; }

.sec-art--wide { max-width: 900px; margin-inline: auto; }

/* صورة بجانب نص */
.art-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  align-items: center;
  margin-bottom: 28px;
}

.art-split .sec-art { margin-bottom: 0; }

.kickers {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.section-head.center .kickers { justify-content: center; }
.kickers .kicker { margin-bottom: 0; }

.x-band {
  background:
    radial-gradient(720px 240px at 100% 0%, rgba(217, 119, 6, .13), transparent 58%),
    linear-gradient(180deg, #FFFBEB 0%, #fff 72%);
  border: 1.6px solid #FCD34D;
  border-radius: var(--radius-lg);
  padding: 22px;
  margin-bottom: 34px;
  box-shadow: var(--shadow);
}

.x-band .art-split { margin-bottom: 16px; }

.x-tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.x-tiles li {
  background: #fff;
  border: 1px solid #FDE68A;
  border-radius: 14px;
  padding: 14px 16px;
  font-size: 15.5px;
  font-weight: 700;
  color: #334155;
  line-height: 1.7;
}

.x-tiles li b {
  display: block;
  color: var(--navy);
  font-size: 16.5px;
  margin-bottom: 4px;
}

.x-more {
  text-align: center;
  margin: 12px 0 0;
}

.x-more a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--royal);
  font-weight: 800;
  font-size: 16px;
  text-decoration: none;
  padding: 8px 6px;
}

.x-more a:hover { text-decoration: underline; }

/* شارة الميزة الحصرية — إبراز واضح ومميز */
.x-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold), #F59E0B);
  color: #fff;
  font-weight: 900;
  font-size: 14.5px;
  letter-spacing: .02em;
  margin: 0 0 16px;
  box-shadow: 0 10px 26px rgba(217, 119, 6, .34);
}

.x-badge .ic { color: #fff; width: 18px; height: 18px; }

.hl-green {
  color: #047857 !important;
  font-weight: 900;
}

.tip.green .hl-green { color: #065F46 !important; }

.subhead {
  font-size: clamp(20px, 2.6vw, 26px);
  color: var(--navy);
  margin: 0 0 10px;
  font-weight: 900;
  line-height: 1.4;
}

.subhead-p {
  font-size: 16.5px;
  color: #475569;
  line-height: 1.85;
  margin: 0 0 16px;
  font-weight: 500;
}

.subhead-sm {
  font-size: 15px;
  color: var(--royal);
  margin: 0 0 12px;
  font-weight: 800;
}

/* شبكات */
.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* بطاقات */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(32, 75, 177, .22); }

.card h3 { font-size: 19px; color: var(--navy); margin-bottom: 9px; }
.card h4 { font-size: 17px; color: var(--navy); margin-bottom: 8px; }
.card p { color: #475569; font-size: 16px; margin: 0; line-height: 1.8; }

.card--royal { background: linear-gradient(180deg, var(--royal-soft), #fff); border-color: #BFDBFE; }
.card--gold { background: linear-gradient(180deg, #FFFBEB, #fff); border-color: #FCD34D; }
.card--green { background: linear-gradient(180deg, var(--green-soft), #fff); border-color: #86EFAC; }
.card--rose { background: linear-gradient(180deg, var(--rose-soft), #fff); border-color: #FECDD3; }

.card-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 22px;
  margin-bottom: 13px;
  background: linear-gradient(135deg, var(--royal), var(--royal-2));
  color: #fff;
}

.card-icon--sky { background: linear-gradient(135deg, var(--sky), #38BDF8); }
.card-icon--gold { background: linear-gradient(135deg, var(--gold), #F59E0B); }
.card-icon--green { background: linear-gradient(135deg, var(--green), #10B981); }
.card-icon--pink { background: linear-gradient(135deg, #EC4899, var(--pink)); }

/* أيقونات الخطوط — ترث اللون وتُرسم بدون تعبئة */
.ic {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  display: block;
}

.card-icon .ic { width: 25px; height: 25px; }
.ic--sm { width: 19px; height: 19px; stroke-width: 1.9; }
.ic--lg { width: 34px; height: 34px; stroke-width: 1.5; }

/* أيقونة صغيرة داخل نص أو عنوان */
.inline-ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: -4px;
  margin-inline-end: 7px;
  color: var(--royal);
}

/* قوائم */
ul.clean { margin: 10px 0 0; padding-inline-start: 20px; }
ul.clean li { margin-bottom: 9px; font-size: 16px; color: #334155; line-height: 1.8; }

ul.check { margin: 10px 0 0; padding: 0; list-style: none; }

ul.check li {
  position: relative;
  padding-inline-start: 26px;
  margin-bottom: 10px;
  font-size: 16px;
  color: #334155;
  line-height: 1.8;
}

ul.check li::before {
  content: "✓";
  position: absolute;
  inset-inline-start: 0;
  color: var(--green);
  font-weight: 900;
}

ul.deny li::before { content: "✕"; color: #DC2626; }

/* تنويهات */
.tip {
  border-inline-start: 4px solid var(--sky);
  background: #F0F9FF;
  border-radius: 12px;
  padding: 16px 19px;
  margin: 20px 0 0;
  font-weight: 700;
  color: var(--navy);
  font-size: 16px;
  line-height: 1.85;
}

.tip.gold { border-inline-start-color: var(--gold); background: #FFFBEB; color: #92400E; }
.tip.green { border-inline-start-color: var(--green); background: var(--green-soft); color: #065F46; }
.tip.pink { border-inline-start-color: var(--pink); background: #FDF2F8; color: #9D174D; }

/* شاشات التطبيق */
.screens { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

/* لوحة «كيف يعمل» — شاشات على خلفية داكنة مع ترقيم واضح */
.how-stage {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: 34px 30px 30px;
  background:
    radial-gradient(760px 320px at 100% 0%, rgba(14, 165, 233, .34), transparent 62%),
    radial-gradient(600px 300px at 0% 100%, rgba(244, 114, 182, .2), transparent 58%),
    linear-gradient(155deg, #0B1F52, var(--navy) 52%, var(--royal));
  box-shadow: var(--shadow-lg);
}

.how-stage-map {
  position: absolute;
  inset: 0;
  background: url('assets/auth-ar-map.png') center/cover no-repeat;
  opacity: .1;
  pointer-events: none;
}

.how-stage > * { position: relative; z-index: 1; }

.how-screens { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

.how-item { display: flex; flex-direction: column; }

.how-num {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--royal);
  font-weight: 900;
  font-size: 15px;
  margin: 0 auto 12px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .25);
}

.how-phone {
  border-radius: 26px;
  padding: 9px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .28), rgba(255, 255, 255, .07));
  border: 1px solid rgba(255, 255, 255, .3);
  box-shadow: 0 20px 42px rgba(0, 0, 0, .34);
  transition: transform .22s ease;
}

.how-item:hover .how-phone { transform: translateY(-6px); }

.how-phone img {
  width: 100%;
  border-radius: 18px;
  display: block;
  background: #fff;
  aspect-ratio: 9 / 17;
  object-fit: cover;
  object-position: top center;
}

.how-cap { text-align: center; color: #fff; margin-top: 13px; }
.how-cap strong { display: block; font-size: 16.5px; margin-bottom: 4px; }
.how-cap span { display: block; font-size: 15px; line-height: 1.8; opacity: .9; font-weight: 600; }

/* شريط رحلة العميل */
.how-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 28px;
}

.flow-step {
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: var(--radius);
  padding: 16px;
  color: #fff;
  position: relative;
}

.flow-step .fs-ic {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .16);
  margin-bottom: 10px;
}

.flow-step h4 { font-size: 16px; margin-bottom: 5px; }
.flow-step p { font-size: 15.5px; margin: 0; opacity: .92; line-height: 1.8; font-weight: 600; }

.screen {
  background: linear-gradient(170deg, var(--navy), var(--royal));
  border-radius: 26px;
  padding: 10px 10px 0;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease;
}

.screen:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.screen img {
  width: 100%;
  border-radius: 18px 18px 0 0;
  background: #fff;
  aspect-ratio: 9 / 17;
  object-fit: cover;
  object-position: top center;
}

.screen figcaption {
  background: #fff;
  margin: 0 -10px;
  padding: 13px 12px 15px;
  text-align: center;
}

.screen figcaption strong { display: block; color: var(--navy); font-size: 15.5px; margin-bottom: 3px; }
.screen figcaption span { display: block; color: var(--muted); font-size: 14px; line-height: 1.7; }

/* عناصر الشبكة لا تتمدد مع محتواها — يمنع التجاوز الأفقي على الجوال */
.grid > *,
.plans > *,
.sectors > *,
.track-services > *,
.vs-grid > *,
.metrics > *,
.join-wrap > *,
.trial-grid > *,
.treasure-grid > *,
.evtypes > *,
.modern-points > * { min-width: 0; }

/* جداول */
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  max-width: 100%;
  min-width: 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15.5px;
  line-height: 1.75;
  background: #fff;
  min-width: 560px;
}

th, td { padding: 13px 14px; text-align: start; vertical-align: top; border-bottom: 1px solid var(--line); }
th { background: var(--navy); color: #fff; font-weight: 800; font-size: 14px; }
tbody tr:nth-child(even) td { background: #F8FAFC; }
tbody tr:last-child td { border-bottom: 0; }
td b { color: var(--navy); }
.price-cell { color: var(--royal); font-weight: 900; white-space: nowrap; }

/* خطوات */
.steps { display: grid; gap: 12px; }

.step {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 17px 19px;
  box-shadow: var(--shadow-sm);
}

.step-num {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--royal), var(--royal-2));
  color: #fff;
  font-weight: 900;
  display: grid;
  place-items: center;
  font-size: 16px;
}

.step h4 { font-size: 17px; color: var(--navy); margin-bottom: 4px; }
.step p { margin: 0; color: #475569; font-size: 15.5px; line-height: 1.75; }

/* الباقات */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: start; }

/* مسار الخدمات — بطاقة واحدة بجانب شرح المسار */
.track { margin-bottom: 30px; }

.track-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px dashed var(--line);
}

.track-head h3 { font-size: 20px; color: var(--navy); }
.track-head span { font-size: 14.5px; color: var(--muted); font-weight: 600; }

.track-services { display: grid; grid-template-columns: 1fr 1.1fr; gap: 18px; align-items: stretch; }

.plan {
  position: relative;
  background: #fff;
  border: 1.6px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.plan:hover { transform: translateY(-5px); box-shadow: var(--shadow); }

.plan--services { border-color: #99F6E4; background: linear-gradient(180deg, #F0FDFA, #fff); }
.plan--hot { border-color: var(--royal); box-shadow: 0 18px 46px rgba(32, 75, 177, .2); }
.plan--elite { border-color: #FCD34D; background: linear-gradient(180deg, #FFFBEB, #fff); }

.plan-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--royal), var(--royal-2));
  color: #fff;
  font-size: 11.5px;
  font-weight: 900;
  border-radius: 999px;
  padding: 5px 15px;
  white-space: nowrap;
}

.plan--elite .plan-badge { background: linear-gradient(135deg, var(--gold), #F59E0B); }

.plan-name { font-size: 19px; font-weight: 900; color: var(--navy); }

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 8px 0 2px;
}

.plan-price strong { font-size: 34px; font-weight: 900; color: var(--royal); line-height: 1; }
.plan-price span { font-size: 13px; color: var(--muted); font-weight: 700; }

.plan-meta { font-size: 14px; color: #475569; font-weight: 600; font-weight: 600; margin-bottom: 12px; }

.plan-for {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.75;
  color: #334155;
  background: #F8FAFC;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 13px;
  margin-bottom: 14px;
  min-height: 62px;
}

.plan-features { list-style: none; margin: 0 0 18px; padding: 0; flex: 1 1 auto; }

.plan-features li {
  position: relative;
  padding-inline-start: 24px;
  margin-bottom: 10px;
  font-size: 15px;
  color: #334155;
  line-height: 1.7;
}

.plan-features li::before {
  content: "✓";
  position: absolute;
  inset-inline-start: 0;
  color: var(--green);
  font-weight: 900;
}

.plan-features li.no::before { content: "✕"; color: #DC2626; }
.plan-features li.star::before { content: "★"; color: var(--gold); }
.plan-features li b { color: var(--navy); font-weight: 800; }

/* التجربة المجانية */
.trial-band {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: 34px;
  color: #fff;
  background:
    radial-gradient(700px 300px at 100% 0%, rgba(14, 165, 233, .4), transparent 60%),
    linear-gradient(150deg, var(--navy), var(--royal));
  box-shadow: var(--shadow-lg);
}

.trial-band h2 { font-size: clamp(22px, 3.2vw, 31px); margin-bottom: 10px; }
.trial-band > * { position: relative; z-index: 1; }

.trial-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 22px; }

.trial-box {
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: var(--radius);
  padding: 18px;
}

.trial-box h4 { font-size: 15.5px; margin-bottom: 9px; display: flex; align-items: center; gap: 8px; }
.trial-box ul { margin: 0; padding-inline-start: 19px; }
.trial-box li { font-size: 15.5px; margin-bottom: 9px; line-height: 1.75; opacity: .95; }
.trial-box p { margin: 0; font-size: 15.5px; opacity: .95; line-height: 1.8; }

/* تحذير المقاعد المحدودة */
.trial-warn {
  margin-top: 18px;
  background: rgba(254, 243, 199, .96);
  color: #7C2D12;
  border-inline-start: 5px solid var(--gold);
  border-radius: 14px;
  padding: 16px 19px;
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.85;
}

.trial-warn b { font-weight: 900; color: #78350F; }

.trial-note {
  margin-top: 20px;
  background: rgba(255, 255, 255, .95);
  color: var(--navy);
  border-radius: 14px;
  padding: 14px 17px;
  font-weight: 800;
  font-size: 14.5px;
}

/* ── تكلفة اكتساب العميل ───────────────────────────────────────────── */
.cac-strip {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 12px;
  align-items: stretch;
  margin-bottom: 22px;
}

.cac-box {
  background: #fff;
  border: 1.6px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 18px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.cac-box--win {
  border-color: var(--royal);
  background: linear-gradient(180deg, var(--royal-soft), #fff);
  box-shadow: 0 16px 40px rgba(32, 75, 177, .18);
}

.cac-box-label { font-size: 13.5px; font-weight: 800; color: var(--muted); display: block; margin-bottom: 6px; }
.cac-box--win .cac-box-label { color: var(--royal); }

.cac-box-price { font-size: 30px; font-weight: 900; color: var(--ink); line-height: 1.1; }
.cac-box--win .cac-box-price { color: var(--royal); }
.cac-box-price small { font-size: 14px; font-weight: 800; color: var(--muted); }
.cac-box-note { font-size: 14px; color: #475569; margin: 8px 0 0; line-height: 1.7; font-weight: 600; }

.cac-vs {
  align-self: center;
  font-weight: 900;
  color: #94A3B8;
  font-size: 14px;
  letter-spacing: 1px;
}

.cac-rows { display: grid; gap: 10px; }

.cac-row {
  display: grid;
  grid-template-columns: 1.35fr auto 1.5fr;
  gap: 14px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 13px 16px;
}

.cac-row--win { border-color: var(--royal); background: linear-gradient(90deg, var(--royal-soft), #fff); }
.cac-row strong { display: block; font-size: 15.5px; color: var(--navy); }
.cac-row span.sub { display: block; font-size: 14.5px; line-height: 1.75; color: #475569; font-weight: 600; }
.cac-row .val { font-weight: 900; color: var(--ink); font-size: 15px; white-space: nowrap; }
.cac-row--win .val { color: var(--royal); }

.cac-bar { height: 10px; border-radius: 999px; background: #EEF2F7; overflow: hidden; }
.cac-bar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #FCA5A5, #EF4444); }
.cac-bar i.mid { background: linear-gradient(90deg, #FCD34D, #F59E0B); }
.cac-bar i.win { background: linear-gradient(90deg, #34D399, var(--green)); }

/* شارة توضيحية للأرقام التقديرية */
.num-tag {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 900;
  border-radius: 999px;
  padding: 2px 9px;
  margin-inline-start: 5px;
  vertical-align: 1px;
  white-space: nowrap;
}

.num-tag--ex { background: #FEF3C7; color: #92400E; }
.num-tag--bm { background: #E0E7FF; color: #3730A3; }

.method-note {
  background: #F8FAFC;
  border: 1px dashed #CBD5E1;
  border-radius: 14px;
  padding: 16px 19px;
  font-size: 15.5px;
  color: #475569;
  font-weight: 600;
  line-height: 1.85;
  margin-bottom: 20px;
}

.method-note b { color: var(--navy); }

/* مقارنة عمودين */
.vs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.vs-col {
  border-radius: var(--radius);
  padding: 22px;
  border: 1.6px solid var(--line);
  background: #fff;
}

.vs-col--bad { background: linear-gradient(180deg, #FFF5F5, #fff); border-color: #FECACA; }
.vs-col--good { background: linear-gradient(180deg, var(--royal-soft), #fff); border-color: var(--royal); }
.vs-col h4 { font-size: 17px; color: var(--navy); margin-bottom: 12px; }
.vs-col--bad h4 { color: #B91C1C; }
.vs-col--good h4 { color: var(--royal); }
.vs-col ul { list-style: none; margin: 0; padding: 0; }
.vs-col li { position: relative; padding-inline-start: 26px; margin-bottom: 11px; font-size: 15.5px; color: #334155; line-height: 1.8; }
.vs-col--bad li::before { content: "✕"; position: absolute; inset-inline-start: 0; color: #DC2626; font-weight: 900; }
.vs-col--good li::before { content: "✓"; position: absolute; inset-inline-start: 0; color: var(--green); font-weight: 900; }

/* أرقام بارزة */
.metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

.metric {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.metric strong { display: block; font-size: 30px; font-weight: 900; color: var(--royal); line-height: 1.15; }
.metric span { display: block; font-size: 15px; color: #475569; font-weight: 700; margin-top: 7px; line-height: 1.75; }

/* ── الميزة العصرية ────────────────────────────────────────────────── */
.modern-band {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: 34px;
  color: #fff;
  background:
    radial-gradient(700px 320px at 100% 0%, rgba(244, 114, 182, .34), transparent 60%),
    radial-gradient(640px 300px at 0% 100%, rgba(14, 165, 233, .38), transparent 60%),
    linear-gradient(150deg, #101C3D, var(--navy) 50%, var(--royal));
  box-shadow: var(--shadow-lg);
  margin-bottom: 26px;
}

.modern-band > * { position: relative; z-index: 1; }
.modern-band h3 { font-size: clamp(21px, 3vw, 29px); margin-bottom: 12px; }

.modern-band .lead-line {
  font-size: 17px;
  line-height: 1.9;
  opacity: .95;
  max-width: 760px;
  margin-bottom: 18px;
}

.modern-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 20px; }

.modern-point {
  background: rgba(255, 255, 255, .11);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: var(--radius);
  padding: 16px 18px;
}

.modern-point .mp-ic {
  width: 36px; height: 36px; border-radius: 11px;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .18);
  margin-bottom: 10px;
}

.modern-point strong { display: block; font-size: 16px; margin-bottom: 5px; }
.modern-point span { display: block; font-size: 15px; line-height: 1.8; opacity: .9; }

/* بطاقات أنواع الفعاليات */
.evtypes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }

.evtype {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.evtype:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(32, 75, 177, .24); }

.evtype-top { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }

.evtype-ic {
  width: 44px; height: 44px; flex: 0 0 auto;
  border-radius: 13px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--royal), var(--royal-2));
  color: #fff;
}

.evtype-top h4 { font-size: 18px; color: var(--navy); margin: 0; }

.evtype-tier {
  font-size: 12.5px; font-weight: 800; border-radius: 999px;
  padding: 3px 10px; display: inline-block; margin-top: 4px;
  background: var(--royal-soft); color: var(--royal);
}

.evtype-tier.all { background: var(--gold-soft); color: #92400E; }

/* قائمة رؤوس أقلام مضغوطة وواضحة */
ul.bullets { list-style: none; margin: 0 0 12px; padding: 0; }

ul.bullets li {
  position: relative;
  padding-inline-start: 20px;
  margin-bottom: 9px;
  font-size: 15.5px;
  font-weight: 700;
  color: #334155;
  line-height: 1.8;
}

ul.bullets li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 11px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sky);
}

ul.bullets li b, ul.bullets li strong { color: var(--navy); font-weight: 900; }
ul.bullets.gold li::before { background: var(--gold); }
ul.bullets.green li::before { background: var(--green); }

.evtype-eg {
  margin-top: auto;
  background: #F8FAFC;
  border-inline-start: 3px solid var(--gold);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.8;
}

.evtype-eg b { font-weight: 900; }

/* ── أمثلة القطاعات ────────────────────────────────────────────────── */
.sectors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

.sector {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}

.sector:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.sector-top { display: flex; align-items: center; gap: 11px; margin-bottom: 10px; }

.sector-ic {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--royal), var(--royal-2));
  color: #fff;
}

.sector-top h4 { font-size: 17px; color: var(--navy); margin: 0; }
.sector-plan { font-size: 13px; font-weight: 800; color: var(--royal); background: var(--royal-soft); border-radius: 999px; padding: 3px 10px; display: inline-block; margin-top: 4px; }
.sector p { font-size: 15.5px; color: #334155; margin: 0 0 11px; line-height: 1.8; }

.sector-quote {
  margin-top: auto;
  font-weight: 700;
  background: #F8FAFC;
  border-inline-start: 3px solid var(--sky);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 14.5px;
  color: var(--navy);
  font-weight: 600;
  line-height: 1.8;
}

/* ── حدث الكنز ─────────────────────────────────────────────────────── */
.treasure-band {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: 34px;
  color: #fff;
  background:
    radial-gradient(680px 300px at 0% 0%, rgba(217, 119, 6, .45), transparent 60%),
    radial-gradient(600px 280px at 100% 100%, rgba(14, 165, 233, .35), transparent 60%),
    linear-gradient(150deg, #10233F, #0F2A6B 55%, #1E3A8A);
  box-shadow: var(--shadow-lg);
}

.treasure-band > * { position: relative; z-index: 1; }
.treasure-band h2 { font-size: clamp(22px, 3.2vw, 32px); margin-bottom: 10px; }

.treasure-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 22px; }

.treasure-box {
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: var(--radius);
  padding: 18px;
}

.treasure-box h4 { font-size: 15.5px; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.treasure-box p { margin: 0; font-size: 15.5px; opacity: .94; line-height: 1.8; }

.treasure-gold {
  margin-top: 20px;
  background: linear-gradient(135deg, var(--gold-soft), #fff);
  color: #78350F;
  border-radius: 14px;
  padding: 15px 18px;
  font-weight: 800;
  font-size: 14.5px;
  line-height: 1.75;
}

/* الأسئلة */
.faq { display: grid; gap: 10px; }

.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 4px 20px;
  box-shadow: var(--shadow-sm);
}

.faq details[open] { border-color: rgba(32, 75, 177, .28); }

.faq summary {
  cursor: pointer;
  font-weight: 800;
  color: var(--navy);
  padding: 15px 0;
  font-size: 16px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  color: var(--royal);
  font-size: 22px;
  font-weight: 900;
  flex: 0 0 auto;
}

.faq details[open] summary::after { content: "−"; }
.faq details p { color: #475569; font-size: 16px; line-height: 1.85; padding-bottom: 14px; margin: 0; }

/* نموذج التسجيل */
.join-wrap { display: grid; grid-template-columns: .95fr 1.05fr; gap: 26px; align-items: start; }

.join-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow);
}

.field { margin-bottom: 14px; }

.field label {
  display: block;
  font-size: 15px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 6px;
}

.field input,
.field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  background: #F8FAFC;
  border: 1.5px solid var(--line);
  border-radius: 13px;
  padding: 12px 14px;
  transition: border-color .18s ease, background .18s ease;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--royal);
  background: #fff;
}

.field textarea { min-height: 96px; resize: vertical; }

.form-status { margin-top: 12px; border-radius: 12px; padding: 11px 14px; font-size: 14px; font-weight: 700; }
.form-status--ok { background: var(--green-soft); color: #065F46; }
.form-status--error { background: #FEF2F2; color: #991B1B; }
.form-status--loading { background: var(--royal-soft); color: var(--royal); }

/* التذييل */
.footer {
  background: linear-gradient(160deg, #0B1F52, var(--navy));
  color: #fff;
  padding: 52px 0 28px;
  position: relative;
  overflow: hidden;
}

.footer-map {
  position: absolute;
  inset: 0;
  background: url('assets/auth-ar-map.png') center/cover no-repeat;
  opacity: .08;
  pointer-events: none;
}

.footer-inner { position: relative; z-index: 1; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; margin-bottom: 30px; }
.footer img.footer-logo {
  height: 40px;
  width: auto;
  margin-bottom: 14px;
  background: #fff;
  padding: 7px 12px;
  border-radius: 12px;
  box-sizing: content-box;
}
.footer p { color: rgba(255,255,255,.82); font-size: 15.5px; line-height: 1.8; }
.footer h4 { font-size: 15px; margin-bottom: 12px; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer ul li { margin-bottom: 9px; }

.footer ul a {
  color: rgba(255, 255, 255, .85);
  font-weight: 600;
  text-decoration: none;
  font-size: 15.5px;
  transition: color .18s ease;
}

.footer ul a:hover { color: #7DD3FC; }

/* رابط تواصل معنا مع أيقونة */
.footer ul a.ft-contact {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #7DD3FC;
  font-weight: 800;
}

.footer ul a.ft-contact:hover { color: #BAE6FD; }
.footer ul a.ft-contact .ic { flex: 0 0 auto; }

/* بطاقة السجل التجاري */
.cr-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin: 4px 0 26px;
}

.cr-badge {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: rgba(52, 211, 153, .16);
  border: 1px solid rgba(52, 211, 153, .4);
  color: #6EE7B7;
}

.cr-body { flex: 1 1 260px; min-width: 0; }

.cr-label {
  display: block;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: .4px;
  color: rgba(255, 255, 255, .6);
  margin-bottom: 3px;
}

.cr-name {
  display: block;
  font-size: 16.5px;
  font-weight: 900;
  color: #fff;
  line-height: 1.6;
}

.cr-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.cr-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 999px;
  padding: 6px 13px;
  font-size: 13.5px;
  font-weight: 700;
  color: rgba(255, 255, 255, .9);
  white-space: nowrap;
}

.cr-chip b { color: #fff; font-weight: 900; letter-spacing: .5px; }
.cr-chip--ok { background: rgba(52, 211, 153, .14); border-color: rgba(52, 211, 153, .34); color: #A7F3D0; }

.cr-verify {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13.5px;
  font-weight: 800;
  color: #7DD3FC;
  text-decoration: none;
  border: 1px solid rgba(125, 211, 252, .4);
  border-radius: 999px;
  padding: 9px 15px;
  transition: background .18s ease;
}

.cr-verify:hover { background: rgba(125, 211, 252, .12); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .16);
  padding-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  font-size: 14.5px;
  color: rgba(255, 255, 255, .74);
}

/* ── نافذة تواصل معنا ──────────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(11, 31, 82, .62);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .22s ease, visibility .22s;
}

.modal-overlay.open { opacity: 1; visibility: visible; }

.modal {
  width: min(560px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 40px 90px rgba(15, 42, 107, .38);
  transform: translateY(14px) scale(.98);
  transition: transform .22s ease;
}

.modal-overlay.open .modal { transform: none; }

.modal-head {
  position: relative;
  overflow: hidden;
  padding: 26px 26px 22px;
  color: #fff;
  background:
    radial-gradient(420px 200px at 100% 0%, rgba(14, 165, 233, .4), transparent 60%),
    linear-gradient(150deg, var(--navy), var(--royal));
}

.modal-head h2 { font-size: 23px; margin-bottom: 6px; position: relative; z-index: 1; }
.modal-head p { margin: 0; font-size: 15.5px; opacity: .92; position: relative; z-index: 1; line-height: 1.75; }

.modal-close {
  position: absolute;
  top: 14px;
  inset-inline-end: 14px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .34);
  background: rgba(255, 255, 255, .14);
  color: #fff;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  font-family: inherit;
}

.modal-close:hover { background: rgba(255, 255, 255, .26); }

.modal-body { padding: 22px 26px 26px; }

.mail-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  border: 1.6px solid var(--line);
  border-radius: var(--radius);
  padding: 17px 18px;
  margin-bottom: 13px;
  text-decoration: none;
  color: inherit;
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

.mail-card:hover {
  border-color: var(--royal);
  background: var(--royal-soft);
  transform: translateY(-2px);
}

.mail-ic {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--royal), var(--royal-2));
  color: #fff;
}

.mail-card--info .mail-ic { background: linear-gradient(135deg, var(--sky), #38BDF8); }

.mail-body { min-width: 0; flex: 1 1 auto; }
.mail-body strong { display: block; font-size: 16.5px; color: var(--navy); margin-bottom: 3px; }

.mail-addr {
  display: block;
  font-size: 15.5px;
  font-weight: 900;
  color: var(--royal);
  direction: ltr;
  text-align: start;
  margin-bottom: 6px;
  word-break: break-all;
}

.mail-body span.desc { display: block; font-size: 14.5px; color: #475569; font-weight: 600; line-height: 1.75; }

.modal-note {
  background: #F8FAFC;
  border: 1px dashed #CBD5E1;
  border-radius: 12px;
  padding: 13px 16px;
  font-size: 14.5px;
  font-weight: 600;
  color: #475569;
  line-height: 1.75;
  margin-top: 4px;
}

.modal-note b { color: var(--navy); }

/* ظهور تدريجي */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .55s ease, transform .55s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ── الاستجابة للجوال ──────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: repeat(2, 1fr); }
  .track-services { grid-template-columns: 1fr; }
  .screens { grid-template-columns: repeat(2, 1fr); }
  .sectors { grid-template-columns: repeat(2, 1fr); }
  .treasure-grid { grid-template-columns: 1fr; }
  .modern-points { grid-template-columns: 1fr; }
  .how-screens { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .how-flow { grid-template-columns: repeat(2, 1fr); }
  .art-split { grid-template-columns: 1fr; }
  .nav-links a { padding: 8px 8px; font-size: 13.5px; }
}

@media (max-width: 960px) {
  .nav-actions { order: -1; }
  .brand { margin-inline-start: auto; }
  .nav-toggle { display: grid; }
  .nav-contact-btn { display: inline-flex; }

  .nav-links {
    position: fixed;
    top: var(--nav-h);
    inset-inline: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 14px 18px 24px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 40px rgba(15, 42, 107, .14);
    max-height: calc(100vh - var(--nav-h));
    overflow-y: auto;
    transform: translateY(-14px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }

  .nav-links.open { transform: none; opacity: 1; visibility: visible; }
  .nav-links a { font-size: 16px; padding: 13px 12px; border-radius: 12px; text-align: start; }
  .nav-links a.nav-contact { justify-content: center; width: 100%; margin-top: 6px; }
  .nav-actions .btn { display: none; }
  .nav-links .btn { display: inline-flex; width: 100%; margin-top: 8px; }

  .hero-inner { grid-template-columns: 1fr; gap: 34px; text-align: center; }
  .hero-lead { margin-inline: auto; }
  .hero-x { margin-inline: auto; text-align: start; }
  .hero-cta, .hero-facts { justify-content: center; }
  .hero-phone-wrap { flex-direction: column; align-items: center; }
  .hero-badge { position: static; margin: 16px auto 0; max-width: 320px; text-align: center; }

  .join-wrap { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  body { font-size: 15.5px; }
  .container { width: min(1160px, 100% - 28px); }
  .section { padding: 54px 0; }
  .hero { padding: 44px 0 60px; }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .x-tiles { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
  .trial-grid { grid-template-columns: 1fr; }
  .trial-band { padding: 24px 20px; }
  .sectors { grid-template-columns: 1fr; }
  .vs-grid { grid-template-columns: 1fr; }
  .metrics { grid-template-columns: 1fr; }
  .evtypes { grid-template-columns: 1fr; }
  .modern-points { grid-template-columns: 1fr; }
  .modern-band { padding: 24px 20px; }
  .treasure-band { padding: 24px 20px; }
  .how-stage { padding: 22px 16px 20px; border-radius: var(--radius); }
  .how-screens { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .how-flow { grid-template-columns: 1fr; }
  .how-cap strong { font-size: 15px; }
  .how-cap span { font-size: 13px; }

  .cac-strip { grid-template-columns: 1fr; }
  .cac-vs { display: none; }
  .cac-row { grid-template-columns: 1fr auto; row-gap: 9px; }
  .cac-row .cac-bar { grid-column: 1 / -1; }
  .section-head { margin-bottom: 26px; }
  .card { padding: 19px; }

  .screens { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .screen { border-radius: 20px; padding: 7px 7px 0; }
  .screen img { border-radius: 14px 14px 0 0; }
  .screen figcaption { margin: 0 -7px; padding: 10px 8px 12px; }
  .screen figcaption strong { font-size: 14px; }
  .screen figcaption span { font-size: 11.5px; }

  .step { padding: 15px; gap: 12px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .btn { width: 100%; }
  .hero-cta .btn { width: 100%; }
  .plan-for { min-height: 0; }
}

@media (max-width: 400px) {
  .screens { grid-template-columns: 1fr; }
  .fact { font-size: 12.5px; padding: 8px 12px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
