:root { --font-display: "Playfair Display"; --font-body: "Source Sans 3"; --font-display-ar: "Noto Naskh Arabic"; --font-body-ar: "IBM Plex Sans Arabic"; }
/* =========================================================
   Unified Control — نفس هوية ملف تعريف الشركة
   درجات الأزرق والرمادي الفضي، مع تدرجات لامعة
   كحلي #0b2140 · أزرق #2a5aa8 · أزرق فاتح #4a8fe7 · رمادي فولاذي #5b6b7f · فضي #c9d4e2
   ========================================================= */
:root {
  --navy: #0b2140;
  --navy-2: #16407a;
  --blue-2: #3b7dd8;
  --sky: #4a8fe7;
  --steel: #5b6b7f;
  --steel-dark: #2c3a4d;
  --silver: #c9d4e2;
  --silver-light: #eef2f7;
  --blue: #2a5aa8;
  --blue-dark: #1f4a8c;
  --gold: #c9d4e2; /* صار فضي */
  --teal: #2f6fc4; /* صار أزرق */
  --teal-dark: #1f4a8c;
  --ink: #12243d;
  --ink-2: #33475e;
  --muted: #51647a;
  --bg: #ffffff;
  --ground: #f4f9fc;
  --card: #f4f9fc;
  --tint: #e8f3fa;
  --surface: #ffffff;
  --line: #cfe0ea;
  --line-2: #e6eef4;
  --input-line: #b9cbd8;
  --accent: var(--blue);
  --accent-dark: var(--blue-dark);
  --accent-soft: #e3edf9;
  --green-bg: #e3edf9;
  --green: #1f4a8c;
  --amber-bg: #fcf0d6;
  --amber: #7d5300;
  --red-bg: #fbe7e7;
  --red: #9b1c1c;
  --radius: 12px;
  --grad-hero: linear-gradient(120deg, #081a33 0%, #0f3566 30%, #2a5aa8 60%, #4a6d96 80%, #5b6b7f 100%);
  --grad-steel: linear-gradient(120deg, #1c2b40 0%, #2c4a72 40%, #3b6db0 70%, #6b7c92 100%);
  --grad-blue: linear-gradient(135deg, #1f4a8c 0%, #2a5aa8 45%, #4a8fe7 100%);
  --grad-silver: linear-gradient(135deg, #ffffff 0%, #dfe6ef 35%, #b9c5d4 55%, #eef2f7 80%, #cfd8e4 100%);
  --grad-line: linear-gradient(90deg, #2a5aa8, #4a8fe7 50%, #c9d4e2);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body), var(--font-body-ar), system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, .display { font-family: var(--font-display), var(--font-display-ar), Georgia, serif; line-height: 1.25; margin: 0; font-weight: 700; }
p { margin: 0; }
a { color: var(--blue); }
a:hover { color: var(--blue-dark); }
img, svg { flex-shrink: 0; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

.container, .w { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.between { justify-content: space-between; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.g { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 720px) {
  .g2 { grid-template-columns: 1fr 1fr; }
  .g3 { grid-template-columns: repeat(3, 1fr); }
  .g4 { grid-template-columns: repeat(4, 1fr); }
}
.muted { color: var(--muted); }
.small { font-size: 14px; }
.ltr { direction: ltr; unicode-bidi: plaintext; text-align: start; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.kicker { display: block; color: var(--gold); letter-spacing: .14em; text-transform: uppercase; font-weight: 700; font-size: 13px; margin-bottom: 4px; }
.gold-rule::after { content: ""; display: block; width: 56px; height: 3px; border-radius: 3px; background: var(--grad-line); margin-top: 10px; }

/* ---------- أزرار ---------- */
.btn {
  min-height: 44px; padding: 0 18px; border-radius: 10px; border: 1px solid transparent;
  font: inherit; font-weight: 600; font-size: 15px; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  text-decoration: none; white-space: nowrap;
}
.btn-primary { background: var(--grad-blue); background-size: 200% 200%; color: #fff; box-shadow: 0 4px 14px rgba(42,90,168,.28), inset 0 1px 0 rgba(255,255,255,.25); transition: background-position .4s, box-shadow .2s; }
.btn-primary:hover { background-position: 100% 0; color: #fff; box-shadow: 0 6px 20px rgba(42,90,168,.38), inset 0 1px 0 rgba(255,255,255,.25); }
.btn-gold { background: var(--grad-silver); background-size: 200% 200%; color: var(--navy); border-color: rgba(255,255,255,.7); box-shadow: 0 6px 18px rgba(0,0,0,.18), inset 0 1px 0 #fff; }
.btn-gold:hover { background-position: 100% 0; color: var(--navy); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--input-line); }
.btn-ghost:hover { background: var(--ground); color: var(--ink); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-outline-light:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn-plain { background: transparent; color: var(--ink-2); }
.btn-plain:hover { background: var(--line-2); color: var(--ink); }
.btn-danger { background: transparent; color: var(--red); }
.btn-danger:hover { background: var(--red-bg); color: var(--red); }
.btn-lg { min-height: 52px; padding: 0 26px; font-size: 17px; border-radius: 12px; }
.btn-sm { min-height: 36px; padding: 0 12px; font-size: 14px; }
.btn:disabled { opacity: .6; cursor: not-allowed; }

/* ---------- بطاقات ونماذج ---------- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card.white { background: #fff; }
.card h3 { font-size: 19px; margin-bottom: 8px; }
.card.top-navy { border-top: 4px solid var(--navy); }
.card.top-teal { border-top: 4px solid var(--teal); }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.input, .textarea, .select {
  min-height: 46px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--input-line);
  font: inherit; font-weight: 400; font-size: 15px; background: #fff; color: var(--ink); width: 100%;
}
.textarea { padding: 12px 14px; line-height: 1.8; resize: vertical; min-height: 160px; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.alert { padding: 12px 16px; border-radius: 10px; font-size: 14px; }
.alert-error { background: var(--red-bg); color: var(--red); }
.alert-ok { background: var(--green-bg); color: var(--green); }
.alert-warn { background: var(--amber-bg); color: var(--amber); }

/* ---------- شارات ---------- */
.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.b-active, .b-sent { background: var(--green-bg); color: var(--green); }
.b-soon { background: var(--amber-bg); color: var(--amber); }
.b-today, .b-expired, .b-failed { background: var(--red-bg); color: var(--red); }
.b-renewed, .b-neutral { background: var(--line-2); color: var(--muted); }
.b-blue { background: var(--accent-soft); color: var(--blue-dark); }

/* ---------- جداول ---------- */
.table-wrap { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow-x: auto; }
table.table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table th { text-align: start; padding: 12px 16px; font-size: 13px; font-weight: 700; color: var(--muted); background: var(--ground); white-space: nowrap; }
.table td { padding: 12px 16px; border-top: 1px solid var(--line-2); vertical-align: middle; }
.table tr.dim td { opacity: .6; }

/* ---------- الهيدر ---------- */
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.site-header .inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding-top: 12px; padding-bottom: 12px; }
.logo { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.logo:hover { color: var(--ink); }
.logo img { height: 44px; width: auto; display: block; }
.logo .product { padding-inline-start: 12px; border-inline-start: 1px solid var(--line); font-weight: 700; font-size: 15px; color: var(--navy); line-height: 1.3; }
.logo .product small { display: block; font-weight: 600; font-size: 12px; color: var(--teal); letter-spacing: .04em; }
.nav-links { display: flex; flex-wrap: wrap; gap: 22px; }
.nav-links a { color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 600; }
.nav-links a:hover { color: var(--blue); }

/* ---------- موقع الشركة ---------- */
.hero {
  background:
    var(--grad-hero),
    repeating-linear-gradient(0deg, transparent 0 31px, rgba(255,255,255,.07) 31px 32px),
    repeating-linear-gradient(90deg, transparent 0 31px, rgba(255,255,255,.07) 31px 32px);
  color: #fff; padding: 72px 0 64px;
}
.hero.it { background:
    var(--grad-steel),
    repeating-linear-gradient(0deg, transparent 0 31px, rgba(255,255,255,.07) 31px 32px),
    repeating-linear-gradient(90deg, transparent 0 31px, rgba(255,255,255,.07) 31px 32px); }
.hero small.k { letter-spacing: .16em; text-transform: uppercase; opacity: .85; font-size: 13px; font-weight: 600; }
.hero h1 { font-size: clamp(34px, 7vw, 60px); margin: 10px 0 16px; }
.hero p { max-width: 60ch; opacity: .9; font-size: 18px; }
.hero .row { margin-top: 26px; }
.intro { margin: 32px 0; background: var(--tint); border-inline-start: 5px solid var(--blue); border-radius: 8px; padding: 22px 24px; font-weight: 600; }
.sec { padding-top: 40px; }
.sec > h2, .sec-title { font-size: 28px; margin-bottom: 18px; }
.dv { display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: inherit; border-radius: 14px; padding: 26px; border: 1px solid var(--line); background: var(--card); border-top: 6px solid var(--blue); }
.dv.it { border-top-color: var(--teal); }
.dv:hover { color: inherit; box-shadow: 0 6px 20px rgba(13,42,77,.08); }
.dv .n { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--blue); }
.dv.it .n { color: var(--teal); }
.dv h3 { font-size: 24px; }
.dv p { color: var(--muted); }
.chips-row { display: flex; flex-wrap: wrap; gap: 6px; }
.chips-row span { background: var(--tint); border-radius: 999px; padding: 3px 12px; font-size: 14px; font-weight: 600; color: var(--blue); }
.dv.it .chips-row span { color: var(--teal-dark); }
.dv .go { font-weight: 700; color: var(--blue); font-size: 15px; margin-top: auto; }
.dv.it .go { color: var(--teal-dark); }
.sectors { background: var(--navy); color: #fff; border-radius: 12px; padding: 20px 24px; margin: 28px 0; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.sectors b { color: var(--gold); letter-spacing: .1em; font-size: 13px; text-transform: uppercase; margin-inline-end: 10px; }
.sectors .chip-l { border: 1px solid rgba(255,255,255,.3); border-radius: 999px; padding: 4px 14px; font-size: 15px; }
.band { background: var(--navy); color: #fff; padding: 30px 0; margin-top: 48px; }
.band { background: var(--grad-hero); background-size: 200% 200%; }
.band.it { background: var(--grad-steel); background-size: 200% 200%; }
.band h2 { font-size: 30px; display: inline-block; }
.band h2::after { content: ""; display: block; width: 56px; height: 3px; border-radius: 3px; background: var(--grad-silver); margin-top: 8px; }
.band p { margin-top: 10px; opacity: .9; max-width: 62ch; }
.ico { width: 44px; height: 44px; border-radius: 10px; background: var(--grad-blue); box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 4px 10px rgba(42,90,168,.25); display: grid; place-items: center; margin-bottom: 12px; }
.card.itc { border-top: 4px solid var(--teal); }
.card.itc .ico { background: linear-gradient(135deg, #2c3a4d, #3b6db0 60%, #8fa3bb); }
ul.l { list-style: none; margin: 12px 0 0; padding: 0; }
ul.l li { padding-inline-start: 16px; position: relative; margin: 6px 0; color: var(--muted); }
ul.l li::before { content: "\203A"; position: absolute; inset-inline-start: 0; color: var(--blue); font-weight: 700; }
[dir="rtl"] ul.l li::before { content: "\2039"; }
.card.itc ul.l li::before { color: var(--teal); }
.note { background: var(--tint); border-inline-start: 4px solid var(--blue); padding: 12px 16px; border-radius: 4px; color: var(--blue-dark); margin: 16px 0 0; font-weight: 600; }
.num { flex: none; width: 38px; height: 38px; border-radius: 50%; background: var(--navy); color: var(--gold); display: grid; place-items: center; font-family: var(--font-display), serif; font-weight: 700; }
.lf { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 18px; border-top: 4px solid var(--blue); }
.lf .num { margin-bottom: 10px; }
.lf h3 { font-family: var(--font-body), var(--font-body-ar), sans-serif; font-size: 17px; margin-bottom: 6px; }
.lf ul { margin: 0; padding: 0; list-style: none; }
.lf li { font-size: 15px; color: var(--muted); padding-inline-start: 14px; position: relative; margin: 4px 0; }
.lf li::before { content: "\203A"; position: absolute; inset-inline-start: 0; color: var(--blue); font-weight: 700; }
[dir="rtl"] .lf li::before { content: "\2039"; }
.sub { font-size: 21px; margin: 28px 0 6px; }
.bms { background: var(--grad-steel); background-size: 200% 200%; color: #fff; border-radius: 14px; padding: 26px; margin-bottom: 20px; }
.bms .kicker { margin-bottom: 4px; }
.bms h3 { font-size: 24px; margin: 4px 0 8px; }
.bms p { opacity: .92; }
.flow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 16px 0; }
.flow span { background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.3); border-radius: 8px; padding: 6px 12px; font-weight: 600; font-size: 15px; }
.flow i { font-style: normal; opacity: .85; }
.bms ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; }
@media (min-width: 720px) { .bms ul { grid-template-columns: 1fr 1fr; } }
.bms li { padding-inline-start: 16px; position: relative; font-size: 15px; }
.bms li::before { content: "\203A"; position: absolute; inset-inline-start: 0; color: var(--gold); font-weight: 700; }
[dir="rtl"] .bms li::before { content: "\2039"; }
.rec { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line); }
.rec b { display: block; color: var(--teal); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 4px; }
.rec ul.l { margin-top: 4px; }
.rec ul.l li::before { content: "\2605"; color: var(--blue-2); font-size: 12px; top: 2px; }
.step { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 16px; }
.step h3 { font-family: var(--font-body), var(--font-body-ar), sans-serif; font-size: 17px; margin-bottom: 2px; }
.step p { color: var(--muted); }
.tag { display: inline-block; background: var(--tint); color: var(--blue); border-radius: 999px; padding: 2px 12px; font-size: 13px; font-weight: 600; margin-top: 10px; }
.contact { background: var(--grad-hero); background-size: 200% 200%; color: #fff; border-radius: 12px; padding: 26px; margin: 28px 0 0; display: grid; gap: 22px; }
@media (min-width: 720px) { .contact { grid-template-columns: repeat(3, 1fr); } }
.contact small { color: var(--gold); letter-spacing: .12em; text-transform: uppercase; font-weight: 700; font-size: 13px; }
.contact p { margin-top: 4px; }
.contact a { color: #fff; }
.site-footer { background: var(--navy); color: #fff; margin-top: 48px; border-top: 1px solid rgba(255,255,255,.12); padding: 16px 0; font-size: 14px; }
.site-footer .w { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px; }
.site-footer b { color: var(--gold); }
.product-card { display: flex; flex-direction: column; gap: 12px; border-radius: 14px; padding: 26px; border: 1px solid var(--line); background: #fff; border-top: 6px solid var(--teal); text-decoration: none; color: inherit; }
.product-card:hover { color: inherit; box-shadow: 0 6px 20px rgba(13,42,77,.08); }
.product-card h3 { font-size: 22px; }
.product-card p { color: var(--muted); }
.product-card .go { margin-top: auto; font-weight: 700; color: var(--teal-dark); }
.breadcrumb { font-size: 14px; opacity: .85; }
.breadcrumb a { color: #fff; }

/* ---------- صفحة المنتج ---------- */
.plan { background: #fff; color: var(--ink); border-radius: 14px; padding: 28px; display: flex; flex-direction: column; gap: 16px; border: 1px solid var(--line); border-top: 6px solid var(--blue); }
.plan.popular { border-top-color: var(--sky); box-shadow: 0 8px 28px rgba(13,42,77,.12); }
.plan .price { font-family: var(--font-display), var(--font-display-ar), serif; font-size: 32px; font-weight: 700; color: var(--navy); }
.plan ul { list-style: none; padding: 14px 0 0; margin: 0; border-top: 1px solid var(--line-2); display: flex; flex-direction: column; gap: 10px; }
.plan li { display: flex; gap: 8px; align-items: flex-start; font-size: 15px; }
.plan .btn { margin-top: auto; }
.timeline-row { display: flex; align-items: center; gap: 14px; padding: 10px 0; border-top: 1px solid var(--line-2); }
.timeline-row .d { width: 64px; font-weight: 700; color: var(--navy); }
.timeline-row .l { flex: 1; color: var(--ink-2); font-size: 15px; }
.hero-split { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; }
.hero-split > .t { flex: 1 1 460px; min-width: 0; }
.hero-split > .v { flex: 1 1 380px; min-width: 0; color: var(--ink); }
.check { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; }

/* ---------- صفحات النماذج ---------- */
.narrow { max-width: 580px; margin: 0 auto; padding: 48px 20px 72px; }
.plan-picker { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.plan-option { position: relative; }
.plan-option input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.plan-option span { display: flex; flex-direction: column; gap: 2px; padding: 14px; border-radius: 12px; border: 2px solid var(--line); background: #fff; font-weight: 700; }
.plan-option span small { font-weight: 400; color: var(--muted); font-size: 13px; }
.plan-option input:checked + span { border-color: var(--blue); background: var(--tint); }
.plan-option input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.page-head { background: var(--grad-hero); background-size: 200% 200%; color: #fff; padding: 34px 0 30px; }
.page-head h1 { font-size: 32px; }
.page-head p { opacity: .9; margin-top: 6px; }

/* ---------- لوحة التحكم ---------- */
.dash { display: flex; flex-wrap: wrap; align-items: stretch; min-height: calc(100vh - 70px); background: var(--ground); }
.side { flex: 1 1 220px; background: linear-gradient(180deg, #0b2140 0%, #133a6b 60%, #2c3a4d 100%); padding: 20px 14px; display: flex; flex-direction: column; gap: 4px; }
.side a { min-height: 46px; display: flex; align-items: center; gap: 12px; padding: 0 14px; border-radius: 10px; color: #d6e2ef; text-decoration: none; font-weight: 600; }
.side a:hover { background: rgba(255,255,255,.08); color: #fff; }
.side a[aria-current="page"] { background: linear-gradient(90deg, rgba(74,143,231,.28), rgba(201,212,226,.08)); color: #fff; box-shadow: inset 3px 0 0 var(--gold); }
[dir="rtl"] .side a[aria-current="page"] { box-shadow: inset -3px 0 0 var(--gold); }
.main { flex: 999 1 560px; min-width: 0; padding: 28px 24px 56px; display: flex; flex-direction: column; gap: 24px; }
.main h1 { font-size: 28px; color: var(--navy); }
.main .card { background: #fff; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
.stat { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--blue-2); border-radius: var(--radius); padding: 16px 20px; display: flex; flex-direction: column; gap: 2px; }
.stat .v { font-family: var(--font-display), var(--font-display-ar), serif; font-size: 30px; font-weight: 700; color: var(--navy); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { min-height: 44px; min-width: 64px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--input-line); background: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 600; color: var(--ink-2); }
.chip input:checked + span { background: var(--grad-blue); border-color: var(--blue); color: #fff; }
.chip input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.toggle { display: flex; align-items: center; gap: 10px; font-weight: 700; cursor: pointer; }
.toggle input { width: 20px; height: 20px; accent-color: var(--blue); }
.var-btn { min-height: 34px; padding: 0 10px; border-radius: 8px; border: 1px dashed #8fa6bb; background: var(--ground); font: inherit; font-size: 13px; cursor: pointer; direction: ltr; }
.email-preview { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.email-preview .head { padding: 14px 18px; background: var(--ground); border-bottom: 1px solid var(--line-2); display: flex; flex-direction: column; gap: 2px; font-size: 13px; color: var(--muted); }
.email-preview .head b { color: var(--ink); font-size: 16px; }
.email-preview .body { padding: 20px; white-space: pre-wrap; line-height: 1.9; font-size: 15px; }
.split { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start; }
.split > * { flex: 1 1 380px; min-width: 0; }

.band + .site-footer, main:has(> .band:last-child) + .site-footer { margin-top: 0; }
@media (max-width: 720px) {
  .site-header { position: static; }
  .nav-links { gap: 14px; font-size: 14px; }
}

/* ---------- اللمعان والتمويج ---------- */
@keyframes uc-wave { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
@keyframes uc-sheen { 0% { transform: translateX(-120%) skewX(-18deg); } 60%, 100% { transform: translateX(260%) skewX(-18deg); } }
.hero, .band, .bms, .contact, .page-head { position: relative; overflow: hidden; isolation: isolate; }
.hero { background-size: 220% 220%, auto, auto; animation: uc-wave 18s ease-in-out infinite; }
.band, .bms, .contact, .page-head { animation: uc-wave 22s ease-in-out infinite; }
/* لمعة ضوء تمر على الخلفية */
.hero::after, .bms::after, .page-head::after {
  content: ""; position: absolute; inset: -20% auto -20% 0; width: 35%; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.14), rgba(255,255,255,.04), transparent);
  animation: uc-sheen 9s ease-in-out infinite;
}
/* موجة ضوء ناعمة أسفل الهيرو */
.hero::before {
  content: ""; position: absolute; inset: auto -10% -40% -10%; height: 70%; z-index: -1; pointer-events: none;
  background: radial-gradient(60% 60% at 30% 60%, rgba(74,143,231,.35), transparent 70%), radial-gradient(50% 50% at 75% 70%, rgba(201,212,226,.22), transparent 70%);
  filter: blur(10px);
}
.btn-gold, .btn-primary { position: relative; overflow: hidden; }
.btn-gold::after, .btn-primary::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 40%; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.45), transparent);
  transform: translateX(-120%) skewX(-18deg);
}
.btn-gold:hover::after, .btn-primary:hover::after { animation: uc-sheen 1.1s ease-out; }
/* حواف علوية متدرجة للبطاقات */
.dv, .product-card, .plan, .lf, .card.top-navy, .card.itc { border-top: 0 !important; position: relative; overflow: hidden; }
.dv::before, .product-card::before, .plan::before, .lf::before, .card.top-navy::before, .card.itc::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: var(--grad-blue);
}
.dv.it::before, .card.itc::before, .product-card::before { background: linear-gradient(90deg, #2c3a4d, #3b6db0 50%, #c9d4e2); }
.card.top-navy::before, .lf::before { background: linear-gradient(90deg, #0b2140, #2a5aa8 60%, #9fb0c4); height: 4px; }
.plan.popular::before { height: 6px; background: linear-gradient(90deg, #2a5aa8, #4a8fe7, #dfe6ef, #4a8fe7, #2a5aa8); background-size: 200% 100%; animation: uc-wave 6s linear infinite; }
.num { background: var(--grad-blue); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.3); }
.sectors { background: var(--grad-hero); background-size: 200% 200%; animation: uc-wave 20s ease-in-out infinite; }
.site-footer { background: linear-gradient(90deg, #0b2140, #16407a 60%, #2c3a4d); }
.stat { border-top: 0; position: relative; overflow: hidden; }
.stat::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--grad-blue); }
.badge-shine { background: var(--grad-silver) !important; color: var(--navy) !important; }
@media (prefers-reduced-motion: reduce) {
  .hero, .band, .bms, .contact, .page-head, .sectors, .plan.popular::before { animation: none !important; }
  .hero::after, .bms::after, .page-head::after, .btn-gold:hover::after, .btn-primary:hover::after { animation: none !important; display: none; }
}

/* =========================================================
   إضافات الموقع التعريفي
   ========================================================= */
.skip { position: absolute; inset-inline-start: 12px; top: -60px; background: #fff; color: var(--navy); padding: 10px 14px; border-radius: 8px; z-index: 50; font-weight: 700; }
.skip:focus { top: 10px; }
.nav-links a[aria-current="page"] { color: var(--blue); box-shadow: 0 2px 0 var(--blue-2); }
.nav-wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }
.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.burger { display: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line); cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.burger span { display: block; width: 20px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .2s, opacity .2s; }
@media (max-width: 960px) {
  .burger { display: flex; }
  .nav-wrap { display: none; flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 14px; padding: 8px 0 6px; border-top: 1px solid var(--line-2); }
  .nav-toggle:checked ~ .nav-wrap { display: flex; }
  .nav-toggle:checked + .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle:checked + .burger span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked + .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav-links { flex-direction: column; gap: 0; }
  .nav-links a { padding: 12px 4px; border-bottom: 1px solid var(--line-2); }
  .nav-links a[aria-current="page"] { box-shadow: none; }
  .nav-actions .btn { flex: 1 1 auto; }
}
.nav-toggle:focus-visible + .burger { outline: 2px solid var(--blue); outline-offset: 2px; }
.ico.big { width: 56px; height: 56px; border-radius: 14px; margin: 0; }
.dsub { display: block; font-size: 14px; color: var(--muted); font-weight: 600; margin-top: 2px; }
.dv h3 { margin-top: 2px; }
.arr { display: inline-block; transition: transform .2s; }
[dir="rtl"] .arr { transform: scaleX(-1); }
.dv:hover .arr, .product-card:hover .arr { transform: translateX(4px); }
[dir="rtl"] .dv:hover .arr, [dir="rtl"] .product-card:hover .arr { transform: scaleX(-1) translateX(4px); }
.center { text-align: center; }
.cta { align-items: center; }
@media (min-width: 720px) { .cta { grid-template-columns: 2fr 1fr; } }
.office dl { margin: 16px 0 0; display: flex; flex-direction: column; gap: 10px; }
.office dl > div { display: flex; gap: 10px; align-items: flex-start; }
.office dt { margin: 0; padding-top: 2px; }
.office dd { margin: 0; color: var(--ink-2); }
.glass { box-shadow: 0 18px 40px rgba(0,0,0,.22); border-top: 4px solid var(--sky); }
.hero-split h1 { font-size: clamp(32px, 5vw, 50px); }
.plans-band { margin-top: 48px; padding-bottom: 48px; }
.plan li .ck { flex-shrink: 0; }
.site-footer { padding: 34px 0 0; }
.foot-grid { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .foot-grid { grid-template-columns: 2fr 1fr 1fr; } }
.site-footer a { color: #dbe5f1; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.foot-brand { font-family: var(--font-display), var(--font-display-ar), serif; font-size: 20px; color: #fff !important; }
.foot-muted { color: #b9c8da; font-size: 14px; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.14); margin-top: 26px; padding: 14px 20px; font-size: 13px; color: #b9c8da; display: block; }
.contact a.btn-gold { color: var(--navy); }
