/* البنيان المرصوص — الموقع الرسمي */
:root {
  --navy-950: #06101c;
  --navy-900: #0a1628;
  --navy-850: #0d1e35;
  --navy-800: #122844;
  --line: #1a3a5c;
  --line-strong: #2c5280;
  --text: #ffffff;
  --text-soft: #e6edf5;
  --muted: #c5d4e4;
  --muted-2: #a9bdd2;
  --faint: #8ba3bc;
  --orange: #e85d04;
  --orange-btn: #c2410c;
  --orange-btn-hover: #9a3412;
  --orange-text: #ff8a3d;
  --gold: #ffba08;
  --gold-soft: #ffd166;
  --green: #0f7a4a;
  --ok: #4ade80;
  --radius: 18px;
  --max: 1200px;
  --font: "Cairo", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--navy-900);
  color: var(--text);
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--gold); }
a:hover { color: var(--gold-soft); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { margin: 0; line-height: 1.35; }
p { margin: 0; }
main { flex: 1; }

.skip-link {
  position: absolute; top: -60px; right: 16px; z-index: 100;
  background: var(--gold); color: var(--navy-900); padding: 10px 16px;
  border-radius: 10px; font-weight: 800; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 860px; }

/* أزرار */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 12px;
  font-family: inherit; font-weight: 800; font-size: 16px; text-decoration: none;
  border: 2px solid transparent; transition: background .15s, border-color .15s, color .15s;
  white-space: nowrap;
}
.btn-lg { min-height: 56px; padding: 0 30px; font-size: 18px; border-radius: 14px; }
.btn-primary { background: var(--orange-btn); color: #fff; }
.btn-primary:hover { background: var(--orange-btn-hover); color: #fff; }
.btn-ghost { border-color: var(--line-strong); color: #fff; }
.btn-ghost:hover { border-color: var(--muted); color: #fff; }
.btn-gold { background: var(--gold); color: var(--navy-900); }
.btn-gold:hover { background: var(--gold-soft); color: var(--navy-900); }
.btn-white { background: #fff; color: var(--orange-btn-hover); }
.btn-white:hover { background: var(--text-soft); color: var(--orange-btn-hover); }
.btn-outline-white { border-color: rgba(255,255,255,.85); color: #fff; }
.btn-outline-white:hover { background: rgba(255,255,255,.1); color: #fff; }

/* الهيدر */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(10,22,40,.94);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  backdrop-filter: saturate(140%) blur(8px);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 74px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; }
.brand img { width: 44px; height: 44px; border-radius: 12px; }
.brand span { font-size: 21px; font-weight: 800; }
.main-nav { display: flex; gap: 22px; font-weight: 600; }
.main-nav a { color: var(--muted); text-decoration: none; padding: 10px 0; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: #fff; }
.header-actions { display: flex; gap: 10px; }
.header-actions .btn { min-height: 44px; font-size: 15px; padding: 0 16px; }

.mobile-nav { display: none; position: relative; }
.mobile-nav summary {
  list-style: none; cursor: pointer; width: 46px; height: 46px; border-radius: 12px;
  border: 1px solid var(--line-strong); display: flex; align-items: center; justify-content: center;
}
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav[open] summary { background: var(--navy-800); }
.mobile-panel {
  position: absolute; left: 0; top: 56px; width: min(300px, calc(100vw - 32px));
  background: var(--navy-850); border: 1px solid var(--line-strong); border-radius: 16px;
  padding: 12px; display: flex; flex-direction: column; gap: 4px;
  box-shadow: 0 20px 50px rgba(0,0,0,.5);
}
.mobile-panel a { color: #fff; text-decoration: none; padding: 12px 14px; border-radius: 10px; font-weight: 700; }
.mobile-panel a:hover { background: var(--navy-800); }
.mobile-panel .btn { margin-top: 6px; }

@media (max-width: 980px) {
  .main-nav, .header-actions { display: none; }
  .mobile-nav { display: block; }
}

/* الأقسام */
.section { padding: 88px 0; }
.section-alt { background: var(--navy-850); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; margin-bottom: 44px; }
.eyebrow { color: var(--orange-text); font-weight: 800; font-size: 16px; }
.section-title { font-size: clamp(28px, 4vw, 40px); font-weight: 900; }
.section-lead { font-size: 18px; color: var(--muted); max-width: 660px; line-height: 1.8; }

/* الواجهة */
.hero {
  padding: 64px 0 80px; overflow: hidden;
  background: radial-gradient(900px 600px at 15% 40%, rgba(232,93,4,.16), transparent 70%), linear-gradient(180deg, var(--navy-850) 0%, var(--navy-900) 100%);
}
.hero-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; }
.hero-copy { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.promo-pill {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap;
  background: rgba(255,186,8,.12); border: 1px solid rgba(255,186,8,.4); color: var(--gold-soft);
  border-radius: 999px; padding: 6px 16px; font-size: 15px; font-weight: 700;
}
.promo-pill b { background: var(--gold); color: var(--navy-900); border-radius: 999px; padding: 1px 10px; font-weight: 800; }
.hero h1 { font-size: clamp(34px, 5.4vw, 56px); font-weight: 900; line-height: 1.3; }
.hero h1 span { color: var(--orange-text); }
.hero-lead { font-size: clamp(17px, 2vw, 20px); color: var(--muted); max-width: 560px; line-height: 1.9; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.checks { display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--muted); font-size: 15px; padding: 0; margin: 0; list-style: none; }
.checks li { display: flex; align-items: center; gap: 8px; }
.checks svg { color: var(--ok); flex-shrink: 0; }

.hero-visual { flex: 1 1 400px; min-width: 0; display: flex; justify-content: center; align-items: flex-end; min-height: 540px; }
.phone {
  background: #04090f; border: 3px solid var(--line-strong); border-radius: 36px; padding: 8px;
  box-shadow: 0 30px 80px rgba(0,0,0,.55); flex-shrink: 0;
}
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 28px; }
.phone-accent { border-color: rgba(232,93,4,.7); box-shadow: 0 30px 90px rgba(0,0,0,.6), 0 0 50px rgba(232,93,4,.2); }
.phone-back { width: 240px; height: 480px; transform: translateX(-36px) rotate(-5deg); position: relative; z-index: 1; }
.phone-front { width: 270px; height: 540px; margin-right: -86px; position: relative; z-index: 2; }
@media (max-width: 560px) {
  .hero-visual { min-height: 0; }
  .phone-back { display: none; }
  .phone-front { margin: 0; width: 240px; height: 480px; }
}

.audience { background: var(--navy-850); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 24px 0; }
.audience ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 36px; font-size: 17px; font-weight: 700; color: var(--muted); }
.audience li:first-child { color: var(--faint); font-weight: 600; }

/* الشبكات */
.grid { display: grid; gap: 18px; }
.grid-auto { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }

.card { background: var(--navy-850); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 12px; }
.card h3 { font-size: 20px; font-weight: 800; }
.card p { font-size: 15px; color: var(--muted); line-height: 1.8; }
.icon-box { width: 52px; height: 52px; border-radius: 14px; background: rgba(232,93,4,.14); color: var(--orange-text); display: flex; align-items: center; justify-content: center; }
.icon-box.gold { background: rgba(255,186,8,.14); color: var(--gold); }
.card-center { text-align: center; align-items: center; }

/* لقطات */
.shots { display: flex; flex-wrap: wrap; justify-content: center; gap: 36px; }
.shots figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.shots .phone { width: 240px; height: 470px; border-radius: 34px; }
.shots .phone img { border-radius: 26px; }
.shots figcaption { font-size: 18px; font-weight: 800; }

/* من نحن */
.about-top { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; margin-bottom: 48px; }
.about-copy { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.about-copy p { font-size: 18px; line-height: 2; color: var(--muted); }
.name-card { flex: 1 1 360px; min-width: 0; background: linear-gradient(160deg, var(--navy-800) 0%, var(--navy-850) 100%); border: 1px solid var(--line); border-radius: 24px; padding: 34px; display: flex; flex-direction: column; gap: 16px; }
.name-card header { display: flex; align-items: center; gap: 14px; }
.name-card img { width: 56px; height: 56px; border-radius: 14px; }
.name-card h3 { font-size: 22px; font-weight: 800; }
.name-card p { font-size: 17px; line-height: 2; color: var(--text-soft); }
.vm-card { padding: 32px; }
.vm-card h3 { font-size: 26px; font-weight: 900; }
.vm-card p { font-size: 17px; line-height: 2; color: var(--text-soft); }
.vm-vision h3 { color: var(--gold); }
.vm-mission h3 { color: var(--orange-text); }
.values-title { text-align: center; font-size: 30px; font-weight: 900; margin: 48px 0 22px; }
.value { text-align: center; align-items: center; padding: 24px; }
.value svg { color: var(--orange-text); }
.value h4 { font-size: 19px; font-weight: 800; }

/* الخطوات */
.steps { list-style: none; margin: 0; padding: 0; }
.step-num { width: 48px; height: 48px; border-radius: 50%; background: var(--orange-btn); display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 900; }

/* الأسعار */
.price-banner { display: inline-flex; background: var(--gold); color: var(--navy-900); border-radius: 12px; padding: 8px 18px; font-size: 17px; font-weight: 800; text-align: center; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; align-items: stretch; }
.plan { background: var(--navy-900); border: 1px solid var(--line); border-radius: 20px; padding: 30px; display: flex; flex-direction: column; gap: 18px; position: relative; }
.plan-featured { border: 2px solid var(--orange); box-shadow: 0 0 50px rgba(232,93,4,.15); }
.plan-badge { position: absolute; top: -15px; right: 24px; background: var(--orange-btn); color: #fff; font-size: 14px; font-weight: 800; border-radius: 999px; padding: 4px 14px; }
.plan h3 { font-size: 24px; font-weight: 800; }
.plan .lux { color: var(--gold); }
.plan-for { color: var(--muted); font-size: 15px; margin-top: 4px; }
.price-old { color: var(--faint); text-decoration: line-through; font-size: 16px; }
.price-now { display: flex; align-items: baseline; gap: 8px; }
.price-now strong { font-size: 46px; font-weight: 900; line-height: 1.1; }
.price-now span { color: var(--muted); }
.plan ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 15px; color: var(--text-soft); }
.plan li { display: flex; gap: 10px; align-items: flex-start; }
.plan li svg { flex-shrink: 0; margin-top: 4px; color: var(--ok); }
.plan .btn { margin-top: auto; }
.price-note { text-align: center; font-size: 15px; color: var(--muted); line-height: 1.9; margin-top: 28px; }

.table-wrap { position: relative; overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; background: var(--navy-900); }
.compare { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 15px; text-align: center; }
.compare th, .compare td { padding: 14px 16px; border-bottom: 1px solid var(--line); }
.compare thead th { background: var(--navy-800); font-weight: 800; }
.compare tbody th { text-align: right; font-weight: 600; color: var(--text-soft); }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: none; }
.yes { color: var(--ok); font-weight: 800; }
.no { color: var(--faint); }
.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; }

/* الأسئلة */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details { background: var(--navy-850); border: 1px solid var(--line); border-radius: 16px; padding: 0 24px; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 0; font-size: 18px; font-weight: 800; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--orange-text); font-size: 26px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 0 20px; font-size: 16px; color: var(--muted); line-height: 1.9; }

/* الدعوة الأخيرة */
.cta-band { border-radius: 26px; padding: 56px 32px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 20px;
  background: radial-gradient(600px 300px at 80% 0%, rgba(255,186,8,.18), transparent 70%), linear-gradient(135deg, var(--orange-btn) 0%, var(--orange-btn-hover) 100%); }
.cta-band h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 900; }
.cta-band p { font-size: 19px; max-width: 620px; }

/* الفوتر */
.site-footer { background: var(--navy-950); border-top: 1px solid var(--line); padding: 48px 0 28px; }
.footer-cols { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; }
.footer-about { flex: 1 1 280px; max-width: 380px; display: flex; flex-direction: column; gap: 14px; }
.footer-about p { color: var(--muted-2); font-size: 15px; }
.soon-badge { align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; border: 1px solid var(--line-strong); border-radius: 12px; padding: 8px 14px; font-size: 14px; color: var(--muted); }
.footer-col { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.footer-col h2 { font-size: 16px; font-weight: 800; margin-bottom: 4px; }
.footer-col a, .footer-col span { color: var(--muted-2); text-decoration: none; }
.footer-col a:hover { color: #fff; }
.copyright { border-top: 1px solid var(--line); margin-top: 32px; padding-top: 20px; text-align: center; font-size: 14px; color: var(--faint); }

/* زر الواتساب العائم */
.wa-float { position: fixed; bottom: 20px; left: 20px; z-index: 50; display: inline-flex; align-items: center; gap: 10px; min-height: 56px; padding: 0 20px 0 16px; border-radius: 999px; background: var(--green); color: #fff; text-decoration: none; font-weight: 700; font-size: 16px; box-shadow: 0 10px 24px rgba(0,0,0,.4); }
.wa-float:hover { background: #0b6a3f; color: #fff; }
@media (max-width: 560px) { .wa-float span { display: none; } .wa-float { padding: 0; width: 56px; justify-content: center; } }

/* الصفحات القانونية */
.page-hero { padding: 56px 0 32px; background: linear-gradient(180deg, var(--navy-850) 0%, var(--navy-900) 100%); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(30px, 4.5vw, 44px); font-weight: 900; }
.page-hero p { color: var(--muted); margin-top: 10px; }
.legal { padding: 48px 0 88px; }
.legal h2 { font-size: 22px; font-weight: 800; margin: 36px 0 12px; color: #fff; }
.legal p, .legal li { font-size: 16px; color: var(--text-soft); line-height: 2; }
.legal ul, .legal ol { padding-inline-start: 24px; margin: 8px 0; }
.legal .note { background: rgba(255,186,8,.1); border: 1px solid rgba(255,186,8,.35); border-radius: 14px; padding: 16px 20px; color: var(--gold-soft); margin-bottom: 24px; }
.toc { background: var(--navy-850); border: 1px solid var(--line); border-radius: 16px; padding: 18px 22px; }
.toc ol { margin: 0; }
.toc a { color: var(--muted); }

/* 404 */
.notfound { padding: 120px 0; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.notfound .big { font-size: 96px; font-weight: 900; color: var(--orange-text); line-height: 1; }

.cta-center { justify-content: center; }
.ltr-cell { text-align: right; unicode-bidi: isolate; }
