/* الموقع التعريفي: tokens فوق، وبعدين التخطيط، والسكاشن، والأنيميشن. */
:root {
  --bg: #ffffff;
  --bg-alt: #f8f9fa;
  --surface: #ffffff;
  --ink: #0f172a;
  --ink-2: #334155;
  --muted: #5b6b82;
  --line: #e7e9ee;
  --line-2: #d3d7df;
  /* لون واحد للبراند (أزرق كحلي، اختيار المستخدم 2026-11-08) والباقي رمادي. --brand ثابت في الوضعين للمساحات المليانة */
  --brand: #1e3a8a;
  --primary: #1e3a8a;
  --primary-700: #172e6e;
  --primary-soft: #eef2fb;
  --primary-ink: #ffffff;
  --teal: var(--primary);
  --teal-soft: var(--primary-soft);
  --amber: #5b6472;
  --amber-soft: #f1f3f5;
  --danger: #c81e1e;
  --wa: #128a43;
  --wa-700: #0e7337;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .05);
  --shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 6px 18px rgba(15, 23, 42, .06);
  --shadow-lg: 0 18px 50px rgba(15, 23, 42, .14);
  --f-display: 'Cairo', 'Tajawal', 'Segoe UI', Tahoma, sans-serif;
  --f-body: 'Tajawal', 'Cairo', 'Segoe UI', Tahoma, sans-serif;
  --r: 16px;
  --r-sm: 12px;
  --header-h: 68px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b1220; --bg-alt: #0f182b; --surface: #121c31; --ink: #e8edf6; --ink-2: #c3cde0; --muted: #93a0b8;
    --line: #22304d; --line-2: #31426a; --primary: #93b0ff; --primary-700: #b5c9ff; --primary-soft: #18233f; --primary-ink: #0b1220;
    --teal: var(--primary); --teal-soft: var(--primary-soft); --amber: #a3adbd; --amber-soft: #1f2937; --danger: #ff8080; --wa: #1fae5b; --wa-700: #27c167;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 6px 18px rgba(0, 0, 0, .3); --shadow-lg: 0 18px 50px rgba(0, 0, 0, .45);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0b1220; --bg-alt: #0f182b; --surface: #121c31; --ink: #e8edf6; --ink-2: #c3cde0; --muted: #93a0b8;
  --line: #22304d; --line-2: #31426a; --primary: #93b0ff; --primary-700: #b5c9ff; --primary-soft: #18233f; --primary-ink: #0b1220;
  --teal: var(--primary); --teal-soft: var(--primary-soft); --amber: #a3adbd; --amber-soft: #1f2937; --danger: #ff8080; --wa: #1fae5b; --wa-700: #27c167;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 6px 18px rgba(0, 0, 0, .3); --shadow-lg: 0 18px 50px rgba(0, 0, 0, .45);
  color-scheme: dark;
}

/* ---------- الأساس ---------- */
*, *::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; background: var(--bg); color: var(--ink); font-family: var(--f-body); font-size: 16.5px; line-height: 1.75; overflow-x: hidden; }
body.no-scroll { overflow: hidden; }
h1, h2, h3, h4 { font-family: var(--f-display); color: var(--ink); margin: 0; line-height: 1.35; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--primary) 55%, transparent); outline-offset: 2px; border-radius: 8px; }
[id] { scroll-margin-top: calc(var(--header-h) + 16px); }
.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 24px; }
@media (max-width: 640px) { .container { padding-inline: 16px; } }
.ic { width: 20px; height: 20px; flex: none; }
[dir="rtl"] .flip { transform: scaleX(-1); }
[hidden] { display: none !important; }
.card.static:hover, .js .card.static.reveal.in:hover { transform: none; box-shadow: none; border-color: var(--line); }
.billing { justify-content: center; }

/* ---------- الأزرار ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 20px; border-radius: 12px; border: 1px solid transparent; font-family: var(--f-display); font-weight: 700; font-size: .98rem; cursor: pointer; white-space: nowrap; transition: background .2s, border-color .2s, color .2s, transform .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--primary); color: var(--primary-ink); box-shadow: 0 6px 16px color-mix(in srgb, var(--primary) 28%, transparent); }
.btn-primary:hover { background: var(--primary-700); }
.btn-outline { background: var(--surface); border-color: var(--line-2); color: var(--ink); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-ghost { background: transparent; color: var(--ink-2); border-color: var(--line); min-height: 40px; padding: 8px 14px; }
.btn-ghost:hover { border-color: var(--line-2); color: var(--ink); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-700); }
.btn-lg { min-height: 52px; padding: 12px 26px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-white { background: #fff; color: #1d4ed8; }
.btn-white:hover { background: #eef4ff; }
.btn-line-white { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn-line-white:hover { background: rgba(255, 255, 255, .12); }

/* ---------- الهيدر ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.site-header.nav-open { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--bg); }
.header-in { position: relative; display: flex; align-items: center; gap: 20px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-display); font-weight: 800; font-size: 1.3rem; color: var(--ink); }
.brand-ic { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: var(--primary); color: #fff; }
.brand-ic .ic { width: 22px; height: 22px; }
/* اللوجو (2026-11-11): حرف C بلونين، من غير مربع. الألوان: فاتح = كحلي، غامق = أبيض وأزرق فاتح */
.logo-mark { width: 40px; height: 40px; flex: none; margin-block: -2px; }
.logo-mark .logo-a { stroke: var(--logo-1, #1e3a8a); }
.logo-mark .logo-b { stroke: var(--logo-2, #5b7fe6); }
[data-theme="dark"] .logo-mark { --logo-1: #fff; --logo-2: #93abf5; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .logo-mark { --logo-1: #fff; --logo-2: #93abf5; } }
.nav { display: flex; align-items: center; gap: 4px; margin-inline-start: 12px; flex: 1; }
.nav-link { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 10px; background: none; border: 0; cursor: pointer; font-family: var(--f-display); font-weight: 600; font-size: .97rem; color: var(--ink-2); transition: background .15s, color .15s; }
.nav-link:hover, .dd.open > .nav-link, .nav-link.active { background: var(--primary-soft); color: var(--primary); }
.nav-link .chev { width: 16px; height: 16px; transition: transform .2s; }
.dd.open > .nav-link .chev { transform: rotate(180deg); }
.pill-soon { font-size: .7rem; font-weight: 700; padding: 1px 8px; border-radius: 99px; background: var(--amber-soft); color: var(--amber); line-height: 1.6; }
.header-actions { display: flex; align-items: center; gap: 10px; margin-inline-start: auto; }
.lang-btn { font-weight: 700; }
.icon-btn { width: 40px; padding: 0; }
.icon-btn .ic { width: 19px; height: 19px; }
@media (max-width: 380px) { .header-actions { gap: 6px; } .lang-btn { padding-inline: 10px; } }
.burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; place-items: center; }
.burger .i-close { display: none; }
.nav-open .burger .i-open { display: none; }
.nav-open .burger .i-close { display: block; }
.nav-mobile-cta { display: none; }

/* القوايم المنسدلة */
.dd-panel { position: absolute; top: calc(100% + 4px); inset-inline: 24px; margin-inline: auto; max-width: 880px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-lg); padding: 24px 26px 18px; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s, transform .18s, visibility .18s; }
.dd-panel::before { content: ''; position: absolute; inset-inline: 0; top: -14px; height: 14px; }
.dd.open > .dd-panel { opacity: 1; visibility: visible; transform: none; }
@media (hover: hover) and (min-width: 961px) {
  .dd:hover > .dd-panel { opacity: 1; visibility: visible; transform: none; }
  .dd:hover > .nav-link { background: var(--primary-soft); color: var(--primary); }
}
.dd-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px 24px; }
.dd-h { font-family: var(--f-display); font-size: .78rem; font-weight: 800; letter-spacing: .04em; color: var(--primary-700); text-transform: uppercase; margin: 2px 10px 8px; }
.mm-link { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 10px; color: var(--ink-2); font-size: .95rem; line-height: 1.5; transition: background .15s, color .15s; }
.mm-link .ic { width: 18px; height: 18px; color: var(--primary); opacity: .85; }
.mm-link:hover { background: var(--primary-soft); color: var(--ink); }
.mm-link.strong { color: var(--teal); font-weight: 700; }
.mm-link.strong .ic { color: var(--teal); }
/* قايمة المميزات الكبيرة: 4 أعمدة، أقسام بعناوين، وكل عنصر أيقونة + عنوان + سطر وصف (زي Kashfy) */
.dd-panel.dd-mega { max-width: 1240px; padding: 22px 22px 16px; }
.dd-mega .dd-cols { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 18px; }
.dd-sec + .dd-sec { margin-top: 16px; }
.dd-mega .dd-h { display: block; margin: 0 8px 6px; }
.dd-mega a.dd-h:hover { color: var(--primary); text-decoration: underline; }
.mm-item { display: flex; align-items: center; gap: 12px; padding: 7px 8px; border-radius: 12px; color: var(--ink); transition: background .15s; min-width: 0; }
.mm-item:hover { background: var(--bg-alt); }
.mm-tile { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 10px; background: var(--primary-soft); color: var(--primary); border: 1px solid color-mix(in srgb, var(--primary) 12%, transparent); }
.mm-tile .ic { width: 19px; height: 19px; }
.mm-text { display: grid; min-width: 0; line-height: 1.4; }
.mm-title { display: flex; align-items: center; gap: 6px; font-family: var(--f-display); font-weight: 700; font-size: .93rem; min-width: 0; }
.mm-title > span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mm-title .pill-soon { flex: none; font-size: .66rem; }
.mm-desc { color: var(--muted); font-size: .8rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fo-list .pill-soon { font-size: .68rem; margin-inline-start: 2px; }
.feat-soon.st-plan { border-style: dashed; }
.feat .cc-top { display: flex; align-items: center; justify-content: space-between; }
@media (max-width: 1180px) and (min-width: 961px) { .dd-mega .mm-desc { display: none; } .mm-tile { width: 32px; height: 32px; } }
.dd-foot { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; padding: 14px 10px 0; border-top: 1px solid var(--line); width: 100%; font-family: var(--f-display); font-weight: 700; color: var(--ink); font-size: .95rem; }
.dd-foot .ic { width: 16px; height: 16px; }
.dd-foot:hover { color: var(--primary); }

@media (max-width: 960px) {
  .burger { display: grid; }
  .nav { display: none; position: fixed; inset: var(--header-h) 0 0 0; margin: 0; padding: 16px 16px 32px; background: var(--bg); flex-direction: column; align-items: stretch; gap: 2px; overflow-y: auto; border-top: 1px solid var(--line); }
  .nav-open .nav { display: flex; }
  .nav-link { justify-content: space-between; padding: 12px 12px; font-size: 1.05rem; width: 100%; }
  .dd-panel { position: static; display: none; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 4px 0 8px; max-width: none; background: transparent; }
  .dd.open > .dd-panel { display: block; }
  .dd-cols, .dd-mega .dd-cols { grid-template-columns: 1fr; gap: 6px; }
  .dd-panel.dd-mega { padding: 4px 0 8px; }
  .dd-mega .mm-desc { display: none; }
  .mm-tile { width: 32px; height: 32px; }
  .dd-foot { margin-top: 6px; }
  .nav-mobile-cta { display: grid; gap: 10px; margin-top: 16px; }
}
@media (max-width: 600px) { .hide-sm { display: none; } }

/* ---------- عام للسكاشن ---------- */
.section { padding-block: 88px; }
.section.alt { background: var(--bg-alt); }
@media (max-width: 640px) { .section { padding-block: 60px; } }
.sec-head { max-width: 760px; margin: 0 auto 44px; text-align: center; }
.eyebrow { display: inline-block; font-family: var(--f-display); font-weight: 700; font-size: .85rem; color: var(--primary); background: var(--primary-soft); padding: 4px 14px; border-radius: 99px; margin-bottom: 14px; }
.sec-head h2 { font-size: clamp(1.65rem, 3.2vw, 2.4rem); font-weight: 800; }
.sec-head p { color: var(--muted); font-size: 1.08rem; margin-top: 12px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; transition: transform .25s, box-shadow .25s, border-color .25s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-2); }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px) { .grid3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid3 { grid-template-columns: 1fr; } }
.ic-soft { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--primary-soft); color: var(--primary); }
.ic-badge { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: var(--primary); color: #fff; flex: none; }
.ic-badge.lg { width: 54px; height: 54px; border-radius: 15px; }
.ic-badge.lg .ic { width: 26px; height: 26px; }
.chip { display: inline-flex; padding: 6px 14px; border-radius: 99px; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink-2); font-size: .92rem; }

/* ---------- الهيرو ---------- */
.hero { position: relative; padding-block: 56px 72px; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: -30% -10% auto; height: 120%; background: radial-gradient(ellipse at 70% 0%, color-mix(in srgb, var(--primary) 16%, transparent), transparent 60%), radial-gradient(ellipse at 10% 30%, color-mix(in srgb, var(--teal) 10%, transparent), transparent 55%); pointer-events: none; z-index: -1; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 5px 14px 5px 6px; border-radius: 99px; background: var(--surface); border: 1px solid var(--line); font-size: .9rem; color: var(--ink-2); box-shadow: var(--shadow-sm); }
[dir="rtl"] .hero-badge { padding: 5px 6px 5px 14px; }
.hero-badge .dot { width: 26px; height: 26px; border-radius: 99px; background: var(--teal-soft); color: var(--teal); display: grid; place-items: center; }
.hero-badge .dot .ic { width: 15px; height: 15px; }
.hero h1 { font-size: clamp(2.05rem, 4.4vw, 3.4rem); font-weight: 800; margin-top: 18px; line-height: 1.25; }
.hero h1 .hl { color: var(--primary); }
.hero-sub { color: var(--muted); font-size: 1.13rem; margin-top: 18px; max-width: 34em; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 18px; margin: 28px 0 0; padding: 0; list-style: none; color: var(--ink-2); font-size: .95rem; }
.hero-points li { display: inline-flex; align-items: center; gap: 6px; }
.hero-points .ic { width: 18px; height: 18px; color: var(--teal); }
.hero-visual { position: relative; }
.frame { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); overflow: hidden; }
.frame-bar { display: flex; align-items: center; gap: 6px; height: 32px; padding-inline: 14px; background: var(--bg-alt); border-bottom: 1px solid var(--line); }
.frame-bar i { width: 10px; height: 10px; border-radius: 99px; background: var(--line-2); }
.frame img { width: 100%; height: auto; aspect-ratio: 1600 / 1000; object-fit: cover; object-position: top; background: var(--bg-alt); }
.float-chip { position: absolute; display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg); font-family: var(--f-display); font-weight: 700; font-size: .95rem; animation: floaty 6s ease-in-out infinite; }
.float-chip .ic-soft { width: 34px; height: 34px; border-radius: 10px; }
.float-chip.c1 { bottom: -20px; inset-inline-start: -22px; }
.float-chip.c2 { top: 54px; inset-inline-end: -20px; animation-delay: -3s; }
.float-chip.c2 .ic-soft { background: var(--teal-soft); color: var(--teal); }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding-block: 32px 56px; }
}
@media (max-width: 640px) {
  .float-chip { display: none; }
  .hero-ctas .btn { flex: 1 1 100%; }
}

/* ---------- الأرقام ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--surface); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); }
.stat { padding: 22px 20px; text-align: center; border-inline-start: 1px solid var(--line); }
.stat:first-child { border-inline-start: 0; }
.stat b { display: block; font-family: var(--f-display); font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 800; color: var(--primary); line-height: 1.3; font-variant-numeric: tabular-nums; }
.stat span { color: var(--muted); font-size: .95rem; }
@media (max-width: 720px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-inline-start: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- الجولة ---------- */
.seg-wrap, .tour-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; padding: 6px; background: var(--bg-alt); border: 1px solid var(--line); border-radius: 14px; width: fit-content; max-width: 100%; margin-inline: auto; }
.section.alt .tour-tabs, .section.alt .seg-wrap { background: var(--surface); }
.tour-tab, .seg { border: 0; background: transparent; padding: 9px 18px; border-radius: 10px; cursor: pointer; font-family: var(--f-display); font-weight: 700; color: var(--muted); transition: background .2s, color .2s, box-shadow .2s; }
.tour-tab[aria-selected="true"], .seg.on { background: var(--primary); color: var(--primary-ink); box-shadow: 0 4px 12px color-mix(in srgb, var(--primary) 25%, transparent); }
.tour-tab:not([aria-selected="true"]):hover, .seg:not(.on):hover { color: var(--ink); }
.tour-stage { max-width: 1040px; margin: 28px auto 0; }
.tour-stage img { transition: opacity .16s; }
.tour-stage img.fade { opacity: .25; }
.tour-desc { text-align: center; color: var(--ink-2); font-size: 1.05rem; margin-top: 20px; min-height: 2em; }

/* ---------- المميزات ---------- */
.f-group + .f-group { margin-top: 48px; }
.f-group-h { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.f-group-h h3 { font-size: 1.35rem; font-weight: 800; }
.f-group-h .count { font-size: .8rem; font-weight: 700; color: var(--muted); background: var(--bg-alt); border: 1px solid var(--line); padding: 0 10px; border-radius: 99px; }
.feat h4 { font-size: 1.07rem; margin-top: 14px; }
.feat p { color: var(--muted); font-size: .96rem; margin-top: 6px; line-height: 1.7; }
.feat:target { border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-soft); animation: flash 1.6s ease-out 1; }
@keyframes flash { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--primary) 55%, transparent); } 60% { box-shadow: 0 0 0 10px color-mix(in srgb, var(--primary) 0%, transparent); } 100% { box-shadow: 0 0 0 4px var(--primary-soft); } }

/* الرئيسية: ملخص المجموعات */
.fo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.fo { display: flex; flex-direction: column; gap: 14px; padding: 24px; }
.fo-h { display: flex; align-items: center; gap: 12px; }
.fo-h h3 { font-size: 1.18rem; font-weight: 800; flex: 1; }
.fo .count { font-size: .8rem; font-weight: 700; color: var(--muted); background: var(--bg-alt); border: 1px solid var(--line); padding: 0 10px; border-radius: 99px; }
.fo-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; flex: 1; }
.fo-list a { display: flex; align-items: center; gap: 10px; padding: 6px 8px; margin-inline: -8px; border-radius: 10px; color: var(--ink-2); font-size: .97rem; transition: background .15s, color .15s; }
.fo-list a .ic { width: 18px; height: 18px; color: var(--primary); }
.fo-list a:hover { background: var(--primary-soft); color: var(--ink); }
.fo-more { display: inline-flex; align-items: center; gap: 6px; font-family: var(--f-display); font-weight: 700; color: var(--primary); font-size: .95rem; }
.fo-more .ic { width: 16px; height: 16px; transition: transform .2s; }
.fo-more:hover .ic, .fo-all:hover .fo-more .ic { transform: translateX(3px); }
[dir="rtl"] .fo-more:hover .ic, [dir="rtl"] .fo-all:hover .fo-more .ic { transform: scaleX(-1) translateX(3px); }
.fo-all { justify-content: center; background: linear-gradient(135deg, #2563eb, #1e40af 75%); border-color: transparent; color: #fff; }
.fo-all b { font-family: var(--f-display); font-size: 2.6rem; font-weight: 800; line-height: 1.1; }
.fo-all h3 { color: #fff; font-size: 1.25rem; }
.fo-all p { color: rgba(255, 255, 255, .85); }
.fo-all .fo-more { color: #fff; }
@media (max-width: 960px) { .fo-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .fo-grid { grid-template-columns: 1fr; } }

/* صفحة المميزات: شريط المجموعات */
.fn-bar { position: sticky; top: var(--header-h); z-index: 30; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-block: 1px solid var(--line); }
.fn { display: flex; gap: 8px; padding-block: 10px; overflow-x: auto; scrollbar-width: none; }
.fn::-webkit-scrollbar { display: none; }
.fn-chip { display: inline-flex; align-items: center; gap: 8px; flex: none; padding: 7px 14px; border-radius: 99px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); font-family: var(--f-display); font-weight: 700; font-size: .92rem; transition: background .2s, color .2s, border-color .2s; }
.fn-chip .ic { width: 17px; height: 17px; }
.fn-chip:hover { border-color: var(--line-2); color: var(--ink); }
.fn-chip.on { background: var(--primary); border-color: var(--primary); color: var(--primary-ink); }
[data-page="features"] [id] { scroll-margin-top: calc(var(--header-h) + 80px); }
.fn > :first-child { margin-inline-start: auto; } .fn > :last-child { margin-inline-end: auto; } /* في النص لو داخل، وسكرول من أوله لو أعرض */

/* ---------- بدون إنترنت ---------- */
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.split .sec-head { text-align: start; margin: 0; }
.bullets { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 12px; }
.bullets li { display: flex; align-items: center; gap: 12px; font-weight: 500; color: var(--ink-2); }
.bullets .ic-soft { width: 34px; height: 34px; border-radius: 10px; background: var(--teal-soft); color: var(--teal); }
.bullets .ic-soft .ic { width: 18px; height: 18px; }
.diagram { position: relative; aspect-ratio: 4 / 3; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); overflow: hidden; }
.diagram::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(var(--line) 1px, transparent 1px); background-size: 18px 18px; opacity: .7; }
.diagram svg.lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.diagram .lines path { stroke: var(--primary); stroke-width: 2; stroke-dasharray: 6 7; fill: none; opacity: .55; animation: dash 1.6s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -26; } }
.node { position: absolute; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 14px; min-width: 110px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); text-align: center; font-family: var(--f-display); font-weight: 700; font-size: .9rem; line-height: 1.35; }
.node [data-icon] { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: var(--primary-soft); color: var(--primary); }
.node.main { padding: 16px 20px; min-width: 150px; background: var(--primary); color: #fff; border-color: transparent; }
.node.main [data-icon] { background: rgba(255, 255, 255, .18); color: #fff; width: 46px; height: 46px; }
.node.main::after { content: ''; position: absolute; inset: -8px; border-radius: 22px; border: 2px solid var(--primary); opacity: 0; animation: pulse 2.6s ease-out infinite; }
@keyframes pulse { 0% { opacity: .5; transform: scale(.94); } 100% { opacity: 0; transform: scale(1.12); } }
.node.n1 { top: 19%; left: 19%; } .node.n2 { top: 19%; left: 81%; } .node.n3 { top: 81%; left: 19%; } .node.n4 { top: 81%; left: 81%; } .node.main { top: 50%; left: 50%; }
.lan-tag { position: absolute; top: 50%; left: 50%; transform: translate(-50%, 70px); font-size: .78rem; color: var(--muted); background: var(--bg-alt); border: 1px solid var(--line); border-radius: 99px; padding: 1px 10px; white-space: nowrap; }
@media (max-width: 960px) { .split { grid-template-columns: 1fr; gap: 36px; } }
@media (max-width: 520px) { .node { min-width: 84px; padding: 8px; font-size: .78rem; } .node [data-icon] { width: 30px; height: 30px; } .node.main { min-width: 110px; } .lan-tag { display: none; } }

/* ---------- التخصصات ---------- */
.spec-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.spec { padding: 26px 22px; }
.spec h3 { font-size: 1.2rem; margin-top: 16px; }
.spec p { color: var(--muted); font-size: .96rem; margin-top: 8px; line-height: 1.7; }
.spec-soon { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin-top: 28px; }
.soon-label { font-family: var(--f-display); font-weight: 700; color: var(--amber); margin-inline-end: 4px; }
@media (max-width: 960px) { .spec-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .spec-grid { grid-template-columns: 1fr; } }

/* ---------- السحابة ---------- */
.privacy { display: flex; align-items: center; gap: 14px; max-width: 820px; margin: 0 auto 40px; padding: 16px 20px; border-radius: 16px; background: var(--primary-soft); color: var(--ink); border: 1px solid color-mix(in srgb, var(--primary) 20%, transparent); }
.privacy .ic-badge { width: 40px; height: 40px; }
.cloud-sub { display: flex; align-items: center; gap: 10px; font-size: 1.1rem; font-weight: 800; margin: 0 0 16px; }
.cloud-sub .dotc { width: 10px; height: 10px; border-radius: 99px; background: var(--teal); }
.cloud-sub .dotc.st-plan { background: var(--amber); }
.cloud-list + .cloud-sub { margin-top: 36px; }
.cloud-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 1000px) { .cloud-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cloud-list { grid-template-columns: 1fr; } }
.cc-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.status { font-size: .76rem; font-weight: 700; padding: 2px 10px; border-radius: 99px; }
.status.st-ready { background: var(--teal-soft); color: var(--teal); }
.status.st-plan { background: var(--amber-soft); color: var(--amber); }
.cloud-card h4 { font-size: 1.05rem; margin-top: 14px; }
.cloud-card p { color: var(--muted); font-size: .94rem; margin-top: 6px; line-height: 1.7; }
.cloud-card.st-plan { background: color-mix(in srgb, var(--surface) 70%, var(--bg-alt)); border-style: dashed; }
.center { text-align: center; }
.mt-32 { margin-top: 32px; }

/* ---------- الخطوات ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; position: relative; }
.step { position: relative; text-align: center; padding: 28px 24px; }
.step .num { display: grid; place-items: center; width: 52px; height: 52px; margin: 0 auto 16px; border-radius: 99px; background: var(--primary); color: #fff; font-family: var(--f-display); font-weight: 800; font-size: 1.3rem; box-shadow: 0 0 0 8px var(--primary-soft); }
.step h3 { font-size: 1.15rem; }
.step p { color: var(--muted); margin-top: 8px; font-size: .97rem; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

/* ---------- الأسعار ---------- */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 28px 22px 24px; }
.plan h3 { font-size: 1.2rem; }
.plan .who { color: var(--muted); font-size: .95rem; margin-top: 2px; }
.plan .price { margin: 18px 0; min-height: 56px; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.plan .price b { font-family: var(--f-display); font-size: 2rem; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; }
.plan .price span { color: var(--muted); font-size: .9rem; }
.plan .price.none b { font-size: 1.2rem; color: var(--primary); }
.plan .btn { margin-bottom: 20px; }
.plan.popular { border: 2px solid var(--primary); box-shadow: var(--shadow); }
.plan.soon { border-style: dashed; }
.ribbon { position: absolute; top: -12px; inset-inline-start: 22px; background: var(--primary); color: var(--primary-ink); font-family: var(--f-display); font-weight: 700; font-size: .78rem; padding: 2px 12px; border-radius: 99px; }
.ribbon.muted { background: var(--amber-soft); color: var(--amber); }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); font-size: .95rem; line-height: 1.6; }
.checks .ic { width: 18px; height: 18px; color: var(--teal); margin-top: 3px; }
.billing { display: flex; margin-top: 26px; }
.billing[hidden] { display: none; }
@media (max-width: 1080px) { .plans { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .plans { grid-template-columns: 1fr; } }
.every { max-width: 900px; margin: 0 auto; padding: 28px; }
.every h2 { font-size: 1.3rem; text-align: center; margin-bottom: 20px; }
.every .checks { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 720px) { .every .checks { grid-template-columns: 1fr; } }
.page-hero { padding-block: 64px 40px; text-align: center; }
.page-hero h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 800; }
.page-hero p { color: var(--muted); font-size: 1.1rem; margin: 14px auto 0; max-width: 40em; }

/* ---------- الأسئلة ---------- */
.faq-list { max-width: 840px; margin: 0 auto; display: grid; gap: 10px; }
.faq { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; transition: border-color .2s, box-shadow .2s; }
.faq[open] { border-color: var(--line-2); box-shadow: var(--shadow); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px; cursor: pointer; list-style: none; font-family: var(--f-display); font-weight: 700; font-size: 1.03rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .chev { width: 18px; height: 18px; color: var(--muted); transition: transform .2s; }
.faq[open] summary .chev { transform: rotate(180deg); }
.faq p { padding: 0 20px 18px; color: var(--muted); }

/* ---------- الفورم ---------- */
.contact-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 24px; align-items: start; }
.form-card { padding: 28px; }
.form-card:hover { transform: none; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; margin-top: 22px; }
.field { display: grid; gap: 6px; }
.field.wide { grid-column: 1 / -1; }
.field label { font-family: var(--f-display); font-weight: 700; font-size: .93rem; color: var(--ink-2); }
.field .req { color: var(--danger); }
.field .opt { color: var(--muted); font-weight: 500; font-size: .85rem; }
.field input, .field select, .field textarea { width: 100%; min-height: 46px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--bg); transition: border-color .15s, box-shadow .15s; }
.field textarea { resize: vertical; min-height: 110px; line-height: 1.6; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-soft); }
.field.bad input, .field.bad select, .field.bad textarea { border-color: var(--danger); }
.field .err { color: var(--danger); font-size: .85rem; min-height: 0; }
.field .err:empty { display: none; }
.field.actions { margin-top: 4px; }
.aside-card { padding: 28px; display: grid; gap: 14px; }
.aside-card:hover { transform: none; }
.aside-card h3 { font-size: 1.15rem; }
.aside-card p { color: var(--muted); }
.aside-card .phone { font-family: var(--f-display); font-weight: 800; font-size: 1.4rem; direction: ltr; unicode-bidi: isolate; color: var(--ink); }
[dir="rtl"] .aside-card .phone { text-align: right; }
@media (max-width: 560px) { .tour-tab { padding: 8px 12px; } }
.aside-card .row { display: flex; align-items: center; gap: 10px; color: var(--ink-2); }
.aside-card .row .ic { color: var(--teal); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } .form-card, .aside-card { padding: 20px; } .seg { padding: 9px 12px; } }

/* ---------- الشريط الأخير ---------- */
.cta-band { margin-block: 0 88px; }
.cta-in { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 44px 48px; border-radius: 28px; background: linear-gradient(135deg, #2563eb, #1e40af 70%); color: #fff; }
.cta-in::after { content: ''; position: absolute; width: 380px; height: 380px; inset-inline-end: -120px; top: -160px; border-radius: 50%; background: rgba(255, 255, 255, .08); }
.cta-in h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; }
.cta-in p { color: rgba(255, 255, 255, .85); margin-top: 6px; }
.cta-in .btns { display: flex; flex-wrap: wrap; gap: 12px; position: relative; z-index: 1; }
@media (max-width: 640px) { .cta-in { padding: 32px 22px; } .cta-in .btns .btn { flex: 1 1 100%; } .cta-band { margin-bottom: 60px; } }

/* ---------- الفوتر ---------- */
.site-footer { background: var(--bg-alt); border-top: 1px solid var(--line); padding-top: 64px; }
.f-grid { display: grid; grid-template-columns: 1.6fr repeat(5, 1fr); gap: 32px 24px; }
.f-tag { color: var(--muted); font-size: .95rem; margin-top: 14px; max-width: 22em; }
.f-made { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; color: var(--muted); font-size: .9rem; }
.flag { display: inline-flex; flex-direction: column; width: 22px; height: 15px; border-radius: 3px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.flag i { flex: 1; } .flag i:nth-child(1) { background: #ce1126; } .flag i:nth-child(2) { background: #fff; } .flag i:nth-child(3) { background: #111; }
.f-h { font-size: .82rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--ink); margin-bottom: 14px; }
.f-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.f-col a { color: var(--muted); font-size: .94rem; transition: color .15s; }
.f-col a:hover { color: var(--primary); }
.f-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 48px; padding-block: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
.f-legal { display: flex; flex-wrap: wrap; gap: 18px; }
.soon-link { color: var(--muted); }
.soon-link small { opacity: .75; }
@media (max-width: 1080px) { .f-grid { grid-template-columns: repeat(3, 1fr); } .f-brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .f-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- واتساب العائم ---------- */
.wa-float { position: fixed; bottom: 22px; inset-inline-end: 22px; z-index: 40; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #fff; box-shadow: 0 10px 26px rgba(18, 138, 67, .4); transition: transform .2s, background .2s; }
.wa-float:hover { transform: scale(1.07); background: var(--wa-700); }
.wa-float .ic { width: 28px; height: 28px; }
.nav-open ~ .wa-float, body.no-scroll .wa-float { display: none; }

/* ---------- الظهور مع السكرول ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s cubic-bezier(.2, .7, .2, 1), box-shadow .25s, border-color .25s; transition-delay: calc(var(--d, 0) * 80ms); }
.js .reveal.in { opacity: 1; transform: none; }
.js .card.reveal.in:hover { transform: translateY(-3px); transition-delay: 0s; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .float-chip, .diagram .lines path, .node.main::after { animation: none; }
}

/* ---------- ألوان بسيطة (اختيار المستخدم 2026-11-08): لون واحد، من غير تدرجات ولا ظلال ملوّنة ---------- */
.hero::before { display: none; }
.ic-badge { background: var(--primary-soft); color: var(--primary); }
.brand-ic { background: var(--brand); }
.btn-primary, .tour-tab[aria-selected="true"], .seg.on { box-shadow: none; }
.btn-wa { background: var(--primary); color: var(--primary-ink); }
.btn-wa:hover { background: var(--primary-700); }
.cta-in, .fo-all { background: var(--brand); }
.cta-in::after { display: none; }
.btn-white { color: var(--brand); }
.node.main { background: var(--brand); }
.node.main::after { border-color: var(--brand); }
.eyebrow { background: transparent; border: 1px solid color-mix(in srgb, var(--primary) 35%, transparent); letter-spacing: .04em; }
.stat b { color: var(--ink); }
.fn-chip.on { background: var(--brand); border-color: var(--brand); color: #fff; }

/* ---------- العربي أخف (طلب المستخدم 2026-11-08): Cairo العربي بيبان أتقل من الإنجليزي في نفس الوزن، فبينزل درجة ---------- */
[dir="rtl"] .hero h1, [dir="rtl"] .page-hero h1 { font-weight: 700; }
[dir="rtl"] .sec-head h2, [dir="rtl"] .cta-in h2, [dir="rtl"] .f-group-h h3, [dir="rtl"] .fo-h h3 { font-weight: 700; }
[dir="rtl"] .brand { font-weight: 700; }
[dir="rtl"] .nav-link, [dir="rtl"] .tour-tab, [dir="rtl"] .seg, [dir="rtl"] .fn-chip { font-weight: 500; }
[dir="rtl"] .mm-title { font-weight: 500; }
[dir="rtl"] .dd-h, [dir="rtl"] .f-h { font-weight: 600; }
[dir="rtl"] .btn { font-weight: 600; }
[dir="rtl"] .feat h4, [dir="rtl"] .cloud-card h4, [dir="rtl"] .spec h3, [dir="rtl"] .plan h3, [dir="rtl"] .step h3, [dir="rtl"] .faq summary, [dir="rtl"] .aside-card h3, [dir="rtl"] .every h2 { font-weight: 600; }
[dir="rtl"] .eyebrow, [dir="rtl"] .field label, [dir="rtl"] .fo-more, [dir="rtl"] .dd-foot, [dir="rtl"] .float-chip, [dir="rtl"] .node { font-weight: 600; }
[dir="rtl"] .stat b, [dir="rtl"] .plan .price b, [dir="rtl"] .fo-all b { font-weight: 700; }

/* ---------- لون لكل قسم (طلب المستخدم 2026-11-08): مربع فاتح وأيقونة ملوّنة، والزراير فضلت كحلي ---------- */
.hue-reception { --hue: #2563eb; }
.hue-money { --hue: #b45309; }
.hue-exam { --hue: #0f766e; }
.hue-specialties { --hue: #be185d; }
.hue-ops { --hue: #0369a1; }
.hue-safe { --hue: #6d28d9; }
.hue-wa { --hue: #15803d; }
.hue-cloud { --hue: #4338ca; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .hue-reception { --hue: #7ea6ff; } :root:not([data-theme="light"]) .hue-money { --hue: #f2b45c; }
  :root:not([data-theme="light"]) .hue-exam { --hue: #4fd1bd; } :root:not([data-theme="light"]) .hue-specialties { --hue: #f48fbd; }
  :root:not([data-theme="light"]) .hue-ops { --hue: #6cc2f0; } :root:not([data-theme="light"]) .hue-safe { --hue: #b89bff; }
  :root:not([data-theme="light"]) .hue-wa { --hue: #5fd38a; } :root:not([data-theme="light"]) .hue-cloud { --hue: #9aa5ff; }
}
:root[data-theme="dark"] .hue-reception { --hue: #7ea6ff; } :root[data-theme="dark"] .hue-money { --hue: #f2b45c; }
:root[data-theme="dark"] .hue-exam { --hue: #4fd1bd; } :root[data-theme="dark"] .hue-specialties { --hue: #f48fbd; }
:root[data-theme="dark"] .hue-ops { --hue: #6cc2f0; } :root[data-theme="dark"] .hue-safe { --hue: #b89bff; }
:root[data-theme="dark"] .hue-wa { --hue: #5fd38a; } :root[data-theme="dark"] .hue-cloud { --hue: #9aa5ff; }

[class*="hue-"] .mm-tile, .mm-item[class*="hue-"] .mm-tile,
[class*="hue-"] .ic-soft, [class*="hue-"] .ic-badge {
  background: color-mix(in srgb, var(--hue) 11%, var(--surface));
  color: var(--hue);
  border: 1px solid color-mix(in srgb, var(--hue) 20%, transparent);
}
.fo[class*="hue-"] .fo-list a .ic, .fn-chip[class*="hue-"] .ic { color: var(--hue); }
.fn-chip[class*="hue-"].on { background: color-mix(in srgb, var(--hue) 12%, var(--surface)); border-color: color-mix(in srgb, var(--hue) 45%, transparent); color: var(--ink); }
.fn-chip[class*="hue-"].on .ic { color: var(--hue); }
.f-group[class*="hue-"] .feat:target { border-color: var(--hue); box-shadow: 0 0 0 4px color-mix(in srgb, var(--hue) 14%, transparent); }
