/* arabic */
@font-face {
  font-family: 'IBM Plex Sans Arabic';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/ibm-plex-sans-arabic-600-arabic.woff2") format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
/* latin */
@font-face {
  font-family: 'IBM Plex Sans Arabic';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/ibm-plex-sans-arabic-600-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* arabic */
@font-face {
  font-family: 'IBM Plex Sans Arabic';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/ibm-plex-sans-arabic-700-arabic.woff2") format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
/* latin */
@font-face {
  font-family: 'IBM Plex Sans Arabic';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/ibm-plex-sans-arabic-700-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* arabic */
@font-face {
  font-family: 'Tajawal';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/tajawal-400-arabic.woff2") format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
/* latin */
@font-face {
  font-family: 'Tajawal';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/tajawal-400-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* arabic */
@font-face {
  font-family: 'Tajawal';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/tajawal-500-arabic.woff2") format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
/* latin */
@font-face {
  font-family: 'Tajawal';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/tajawal-500-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* arabic */
@font-face {
  font-family: 'Tajawal';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/tajawal-700-arabic.woff2") format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
/* latin */
@font-face {
  font-family: 'Tajawal';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/tajawal-700-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* arabic */
@font-face {
  font-family: 'Tajawal';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("fonts/tajawal-800-arabic.woff2") format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
/* latin */
@font-face {
  font-family: 'Tajawal';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("fonts/tajawal-800-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* arabic */
@font-face {
  font-family: 'Tajawal';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("fonts/tajawal-900-arabic.woff2") format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
/* latin */
@font-face {
  font-family: 'Tajawal';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("fonts/tajawal-900-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* موقع سند — داكن بالكامل بروح البطاقة الرقمية، توهّج حيّ في الأعلى، Tajawal للنص وIBM Plex Sans Arabic للعناوين المميّزة.
   قاعدة عربية: لا letter-spacing سالب على النص العربي (يفصل الحروف المتصلة — W3C alreq). */
:root {
  --bg: #060b18; --bg-2: #0a1226; --card: #0d1830; --card-2: #111f3d;
  --line: rgba(143, 168, 255, .18); --line-2: rgba(143, 168, 255, .32);
  --ink: #eaf1ff; --ink-2: #b8c6e0; --muted: #8a9bbb;
  --royal: #4c8dff; --royal-deep: #2456b8; --cyan: #3ee6f5; --cyan-soft: #7fe2f0; --ok: #7fe0b2;
  --f-body: "Tajawal", "Segoe UI", Tahoma, sans-serif;
  --f-display: "IBM Plex Sans Arabic", "Tajawal", sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --r: 16px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
/* الاتجاه مفروض هنا أيضاً: أي غلاف يعيد كتابة <html> بلا dir (معاينة Artifacts مثلاً) لا يقلب الصفحة يسارية */
html, body { direction: rtl; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scrollbar-color: var(--line-2) transparent; }
@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: 17.5px; line-height: 1.85; -webkit-font-smoothing: antialiased;
}
::selection { background: rgba(62, 230, 245, .28); color: #fff; }
:where(a, button, summary, input, select, textarea):focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 8px; }
a { color: var(--cyan-soft); }
img { max-width: 100%; }
h1, h2, h3 { text-wrap: balance; margin: 0; }
p { margin: 0 0 14px; color: var(--ink-2); }
bdi { unicode-bidi: isolate; }
[hidden] { display: none !important; } /* عناصر بـdisplay صريح (grid) لا تُخفى بالسمة وحدها */
html { scroll-padding-block: 110px 80px; } /* الترويسة الثابتة والزر العائم لا يغطيان القسم المقصود ولا العنصر المركَّز */
.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; }
.wrap { max-width: 1120px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.narrow { max-width: 760px; }
.skip { position: absolute; inset-inline-start: -999px; top: 8px; background: #fff; color: #000; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { inset-inline-start: 12px; }

/* ── الترويسة ── */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: rgba(6, 11, 24, .9); }
.site-head {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: rgba(6, 11, 24, .72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.head-row { display: flex; align-items: center; gap: 18px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex: none; }
.brand img { height: 34px; width: auto; display: block; filter: drop-shadow(0 0 6px rgba(62, 230, 245, .3)); }
.brand b { font-family: var(--f-display); font-size: 19px; font-weight: 700; color: #fff; letter-spacing: .2px; }
.nav { display: none; gap: 4px; margin-inline-start: auto; }
.nav a { color: var(--ink-2); text-decoration: none; font-weight: 700; font-size: 15.5px; padding: 8px 12px; border-radius: 10px; }
.nav a:hover { color: #fff; background: rgba(255, 255, 255, .05); }
.nav a[aria-current="page"] { color: #fff; background: rgba(62, 230, 245, .1); }
.btn.head-cta { display: none; }
.menu { margin-inline-start: auto; position: relative; }
.menu summary { list-style: none; cursor: pointer; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line); }
.menu summary::-webkit-details-marker { display: none; }
.menu summary svg { width: 22px; height: 22px; color: var(--ink); }
.menu[open] summary { background: rgba(255, 255, 255, .06); }
.menu-panel {
  position: absolute; inset-inline-end: 0; top: 54px; width: min(280px, calc(100vw - 32px));
  background: var(--card); border: 1px solid var(--line-2); border-radius: var(--r); padding: 8px;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8); display: grid;
}
.menu-panel a { color: var(--ink); text-decoration: none; font-weight: 700; padding: 11px 14px; border-radius: 10px; }
.menu-panel a:hover, .menu-panel a[aria-current="page"] { background: rgba(62, 230, 245, .08); }
@media (min-width: 900px) {
  .nav { display: flex; }
  .btn.head-cta { display: inline-flex; }
  .menu { display: none; }
}

/* ── الأزرار ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none; cursor: pointer;
  font-family: var(--f-body); font-weight: 800; font-size: 17px; border-radius: 14px; padding: 14px 24px; border: 0;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .3s;
}
.btn svg { width: 21px; height: 21px; flex: none; }
.btn-primary { background: linear-gradient(90deg, var(--royal), var(--cyan)); color: #04101f; box-shadow: 0 14px 36px -14px rgba(62, 230, 245, .6); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 20px 44px -14px rgba(62, 230, 245, .75); }
.btn-ghost { background: rgba(255, 255, 255, .05); color: var(--ink); border: 1px solid var(--line-2); }
.btn-ghost:hover { background: rgba(255, 255, 255, .09); }
.btn-sm { font-size: 15px; padding: 9px 16px; border-radius: 12px; }

/* ── البطل ── */
.hero { position: relative; overflow: hidden; padding-block: 56px 72px; isolation: isolate; }
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 55% at 85% 10%, rgba(76, 141, 255, .35), transparent 70%),
    radial-gradient(55% 50% at 10% 85%, rgba(62, 230, 245, .18), transparent 70%),
    var(--bg);
}
.hero-bg canvas {
  position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1s var(--ease);
  /* الخطوط تخفت كلما ابتعدت عن مركزها (الهاتف)، فيبقى العنوان مقروءاً */
  -webkit-mask-image: radial-gradient(circle at var(--fx, 50%) var(--fy, 50%), #000 0, #000 28%, rgba(0,0,0,.35) 55%, transparent 80%);
  mask-image: radial-gradient(circle at var(--fx, 50%) var(--fy, 50%), #000 0, #000 28%, rgba(0,0,0,.35) 55%, transparent 80%);
}
.hero-bg canvas.on { opacity: 1; }
.hero-bg::after { content: ""; position: absolute; inset: auto 0 0; height: 120px; background: linear-gradient(transparent, var(--bg)); }
.hero-grid { display: grid; gap: 44px; align-items: center; }
.hero-solo { max-width: 880px; }
.hero-solo .lede { max-width: 64ch; margin: 16px 0 0; }
.hero-solo .cta-note { margin: 18px 0 6px; }
/* الشعار في الوسط بلا خلفية، كخاتمة مقطع الشعار: رمز بنجمة متوهجة واسم بالأزرق على الكحلي */
.hero-solo { margin-inline: auto; text-align: center; }
.hero .hero-solo .lede { margin-inline: auto; }
/* مقطع الشعار الأصلي: بلون خلفيته، عريض حتى حافتي الهاتف، وأطرافه تذوب في الخلفية */
.hero:has(.hero-intro) { padding-block: 0 20px; }
.hero:has(.hero-intro) + .block { padding-top: 12px; }
.hero:has(.hero-intro) .hero-bg { background: #0c1223; }
.hero-intro { display: block; width: min(100vw, 560px); height: auto; margin: 0 calc((100% - min(100vw, 560px)) / 2) 4px;
  -webkit-mask-image: radial-gradient(ellipse 18% 60% at 50% 55%, #000 72%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 6%, #000 70%, transparent 100%); -webkit-mask-composite: source-over;
  mask-image: radial-gradient(ellipse 18% 60% at 50% 55%, #000 72%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 6%, #000 70%, transparent 100%); mask-composite: add; }
/* على الشاشات العريضة يذوب طرفا المقطع أيضاً، فلا يظهر عموده */
@media (min-width: 600px) { .hero-intro { -webkit-mask-image: linear-gradient(to right, transparent 0, #000 16%, #000 84%, transparent 100%), radial-gradient(ellipse 18% 60% at 50% 55%, #000 72%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 6%, #000 70%, transparent 100%); -webkit-mask-composite: source-in, source-over;
  mask-image: linear-gradient(to right, transparent 0, #000 16%, #000 84%, transparent 100%), radial-gradient(ellipse 18% 60% at 50% 55%, #000 72%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 6%, #000 70%, transparent 100%); mask-composite: intersect, add; } }
html.intro .hero-intro:not(.playing) { opacity: 0; animation: sa-show 0s 3s forwards; }
.hero h1 bdi { font-family: var(--f-display); color: #fff; }
.eyebrow { display: block; color: var(--cyan-soft); font-weight: 700; font-size: 15px; margin-bottom: 6px; }
.badge {
  display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--cyan-soft);
  border: 1px solid rgba(62, 230, 245, .35); background: rgba(62, 230, 245, .06); border-radius: 99px; padding: 3px 14px; margin-bottom: 18px;
}
.badge i { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.hero h1 { font-size: clamp(32px, 6vw + 6px, 62px); line-height: 1.25; font-weight: 900; color: #fff; }
.hero h1 .accent { display: block; font-family: var(--f-display); font-weight: 700; color: var(--cyan); margin-top: 10px; font-size: .9em; line-height: 1.45; }
.hero .lede { font-size: clamp(17.5px, 1vw + 14px, 21px); color: var(--ink-2); max-width: 46ch; margin: 20px 0 26px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.cta-note { font-size: 14.5px; color: var(--muted); margin-top: 14px; }
@media (min-width: 960px) {
  .hero { padding-block: 72px 96px; }
  .hero-grid { grid-template-columns: 1.15fr .85fr; gap: 56px; }
}
@media (max-width: 520px) { .cta-row .btn { flex: 1 1 100%; } }

/* هاتف ثلاثي الأبعاد بمحادثة حيّة */
.stage { perspective: 1200px; display: grid; place-items: center; }
.phone3d {
  width: min(320px, 86vw); border-radius: 40px; padding: 11px; background: linear-gradient(160deg, #1b2440, #0b1020);
  box-shadow: 0 50px 80px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(143, 168, 255, .2), 0 0 80px -20px rgba(76, 141, 255, .45);
  transform: rotateY(var(--ry, -14deg)) rotateX(var(--rx, 6deg)); transform-style: preserve-3d;
  transition: transform .8s var(--ease);
}
.phone3d .screen { border-radius: 30px; overflow: hidden; background: #0a1226; min-height: 470px; display: flex; flex-direction: column; }
.tg-bar { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: #101c36; border-bottom: 1px solid var(--line); }
.tg-bar .av { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, var(--royal-deep), var(--cyan)); display: grid; place-items: center; font-weight: 900; color: #04101f; font-size: 15px; }
.tg-bar b { display: block; font-size: 14.5px; color: #fff; line-height: 1.3; }
.tg-bar small { font-size: 12px; color: var(--cyan-soft); }
.thread { padding: 14px 12px; display: grid; gap: 9px; align-content: start; flex: 1; }
.thread .t, .mini .t { justify-self: center; font-size: 11.5px; color: var(--muted); background: rgba(255, 255, 255, .05); border-radius: 99px; padding: 1px 10px; }
.bub { max-width: 84%; font-size: 14px; line-height: 1.6; padding: 8px 12px; border-radius: 15px; }
.bub.in { justify-self: start; background: #1b2a4d; color: var(--ink); border-start-start-radius: 5px; }
.bub.out { justify-self: end; background: linear-gradient(135deg, #2456b8, #3a6fd8); color: #fff; border-start-end-radius: 5px; }
.bub small { display: block; font-size: 11px; opacity: .7; }
.alert {
  justify-self: stretch; background: rgba(62, 230, 245, .08); border: 1px solid rgba(62, 230, 245, .35);
  border-radius: 14px; padding: 9px 12px; font-size: 13px; color: var(--ink);
}
.alert b { color: var(--cyan-soft); display: block; font-size: 12px; }
.alert .keys { display: flex; gap: 6px; margin-top: 7px; flex-wrap: wrap; }
.alert .keys span { font-size: 11.5px; font-weight: 700; background: rgba(255, 255, 255, .07); border: 1px solid var(--line-2); border-radius: 8px; padding: 2px 8px; }
.demo-label { text-align: center; font-size: 13px; color: var(--muted); margin-top: 14px; }
.thread[hidden] { display: none; }
.slide, .view { display: flex; flex-direction: column; flex: 1; }
.slide[hidden], .view[hidden] { display: none; }
/* هاتف «الفرق في محادثة» بمقاس ثابت (كان يتمدّد مع الرسائل بين 482 و672px): المحادثة تصعد كتطبيق
   حقيقي فتبقى الرسالة الأحدث ظاهرة (site.js §3ب)، ويمكن تمريرها بالإصبع */
.demo .screen { height: 440px; min-height: 0; }
.demo .slide, .demo .view { min-height: 0; }
.demo .thread { position: relative; min-height: 0; overflow-y: auto; scrollbar-width: none; overscroll-behavior: contain; }
.demo .thread::-webkit-scrollbar { display: none; }
/* شريط المشغّل أسفل الهاتف: عنوان الموقف، والأزرار، والنقاط */
.player { display: grid; gap: 6px; justify-items: center; padding: 10px 6px 2px; cursor: default; }
.player b { color: #fff; font-size: 14px; }
.player-btns { display: flex; align-items: center; gap: 8px; }
.player-btns button { min-width: 36px; height: 36px; border-radius: 99px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .04); color: var(--cyan); display: grid; place-items: center; cursor: pointer; font: inherit; font-size: 14px; padding: 0 8px; }
.player-btns button svg { width: 16px; height: 16px; }
.player-btns .flip { color: var(--ink-2); font-size: 13px; font-weight: 700; padding: 0 12px; }
.player-btns button[aria-pressed="true"] { color: #fff; border-color: rgba(62, 230, 245, .6); background: rgba(62, 230, 245, .12); }
.player .demo-dots { margin: 0; }
.player-btns button[data-pause] { border: 0; background: none; color: #fff; min-width: 30px; font-size: 18px; }
/* زرّ المشهد يحمل حالته: أحمر بلا وكيل، سماوي مع الوكيل */
.player-btns .flip { gap: 6px; display: inline-flex; color: var(--cyan); border-color: rgba(62, 230, 245, .5); background: rgba(62, 230, 245, .1); }
.player-btns .flip { white-space: nowrap; }
.tg-bar .state.tag { color: var(--ink-2); background: rgba(255, 255, 255, .06); border-color: var(--line-2); }
.player-btns .flip.loss { color: #ffb0b0; border-color: rgba(255, 140, 140, .5); background: rgba(255, 122, 122, .1); }
/* ردود المتجر: خط أحمر بلا وكيل، سماوي مع الوكيل، ليظهر الفرق بنظرة */
.demo [data-scene="0"] .bub.in { box-shadow: inset 0 0 0 1.5px rgba(255, 140, 140, .6); }
.demo [data-scene="1"] .bub.in { box-shadow: inset 0 0 0 1.5px rgba(62, 230, 245, .6); }
/* الرسائل تتلاشى تحت الشريط العلوي بدل أن تُقصّ */
.demo .thread { -webkit-mask-image: linear-gradient(transparent, #000 22px); mask-image: linear-gradient(transparent, #000 22px); }
.demo .phone3d { transition: transform .8s var(--ease), translate .25s var(--ease); }
.thread.chats { padding: 0 0 12px; gap: 0; }
.chat { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 9px 12px; border-bottom: 1px solid var(--line); }
.chat .av { width: 38px; height: 38px; border-radius: 50%; background: #1b2a4d; display: grid; place-items: center; font-weight: 800; color: #fff; font-size: 15px; }
.chat b { display: block; font-size: 14px; color: #fff; }
.chat small { display: block; font-size: 12.5px; color: var(--ink-2); }
.chat small.ag { color: var(--cyan-soft); }
.chat .meta { text-align: center; font-size: 11px; color: var(--muted); }
.chat .meta i { display: block; margin-top: 3px; font-style: normal; padding: 0 6px; border-radius: 99px; background: #f0828a; color: #04101f; font-weight: 800; font-size: 11.5px; }
.chats .more-row { text-align: center; font-size: 12px; color: var(--muted); padding: 8px; }
.chats .alert { margin: 10px 12px 0; }
.demo-nav { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 8px; }
.demo-nav b { min-width: 170px; text-align: center; color: #fff; font-size: 16px; }
.demo-nav button { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .04); color: var(--cyan); display: grid; place-items: center; cursor: pointer; }
.demo-nav button svg { width: 18px; height: 18px; }
.demo-dots { display: flex; justify-content: center; gap: 4px; margin-bottom: 12px; }
.demo-dots button { width: 22px; height: 22px; border: 0; padding: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.demo-dots button::after { content: ""; width: 8px; height: 8px; border-radius: 99px; background: var(--muted); transition: width .3s var(--ease); }
.demo-dots button[aria-current="true"]::after { width: 20px; background: var(--cyan); }
.stage { touch-action: pan-y; cursor: pointer; border-radius: 40px; }
.demo-ctrl { display: flex; justify-content: center; gap: 8px; margin-top: 14px; }
.demo-ctrl button { font: inherit; font-size: 13.5px; font-weight: 700; cursor: pointer; border-radius: 99px; padding: 6px 14px; min-height: 36px; background: rgba(255, 255, 255, .04); color: var(--ink-2); border: 1px solid var(--line-2); }
.demo-ctrl button[aria-pressed="true"] { color: #fff; border-color: rgba(62, 230, 245, .6); background: rgba(62, 230, 245, .12); }
.tg-bar .state { font-style: normal; font-size: 11px; font-weight: 700; color: var(--cyan); background: rgba(62, 230, 245, .12); border: 1px solid rgba(62, 230, 245, .4); border-radius: 99px; padding: 0 8px; margin-inline-start: 6px; vertical-align: 1px; white-space: nowrap; }
.tg-bar .state.loss { color: #ffb0b0; background: rgba(255, 122, 122, .1); border-color: rgba(255, 140, 140, .45); }
.ic-brand { width: 1.15em; height: 1.15em; vertical-align: -.22em; margin-inline-end: .4em; flex: none; }
.feat .ic-brand { display: block; width: 30px; height: 30px; color: var(--cyan); margin: 0 0 12px; }
.foot-grid .ic-brand { color: var(--cyan-soft); }

/* المقطع التعريفي: صورة غلاف، ولا يُحمَّل إلا عند الضغط */
.video-row { display: grid; gap: 28px; align-items: center; }
@media (min-width: 860px) { .video-row { grid-template-columns: 1fr 340px; } }
.video-frame { justify-self: center; width: min(340px, 100%); aspect-ratio: 9 / 16; border-radius: 22px; overflow: hidden; border: 1px solid var(--line-2); box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .85), 0 0 60px -24px rgba(62, 230, 245, .4); background: #000; }
.video-frame video { width: 100%; height: 100%; display: block; object-fit: cover; }

/* شريط «في كل الباقات» فوق البطاقات: المشترك هنا، والبطاقات للفروق وحدها */
.price-lock { text-align: center; margin: 18px 0 0; color: #fff; font-weight: 700; }
.all-plans { margin: 40px auto 0; }
.all-plans .all-note { margin: 18px 0 0; color: var(--ink-2); }
.all-plans .all-note b { color: #fff; }
.form-step { font-size: 18px; color: var(--cyan-soft); font-weight: 800; margin-top: 8px; padding-top: 16px; border-top: 1px solid var(--line); }
.form-step:first-child { border-top: 0; padding-top: 0; margin-top: 0; }

/* العرض الحالي: بطاقة مستقلة بإطار متقطّع، تُخفى أو تُستبدل بعرض مناسبة آخر دون مسّ الباقات */
.offer-card { position: relative; border: 1.5px dashed rgba(62, 230, 245, .55); border-radius: 20px; padding: 26px 22px; background: radial-gradient(80% 90% at 100% 0%, rgba(62, 230, 245, .1), transparent 70%), var(--card); }
.offer-tag { display: inline-block; font-size: 13px; font-weight: 800; color: #04101f; background: var(--cyan); border-radius: 99px; padding: 2px 12px; margin-bottom: 12px; }
.offer-card .nots { margin-bottom: 18px; }
.offer-prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.offer-prices span { display: grid; justify-items: center; gap: 2px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); border-radius: 14px; padding: 12px 6px; font-size: 14.5px; color: var(--ink-2); }
.offer-prices b { font-size: 26px; font-weight: 900; color: #fff; font-variant-numeric: tabular-nums; }
.quiz-result { border-radius: 14px; padding: 16px; background: rgba(62, 230, 245, .08); border: 1px solid rgba(62, 230, 245, .4); display: grid; gap: 8px; justify-items: start; }
.quiz-result b { color: #fff; font-size: 19px; }
.quiz-result span { color: var(--ink-2); }

/* صورة المؤسس */
.founder-row { display: flex; gap: 18px; align-items: center; margin: 6px 0 22px; }
.founder-row img { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(62, 230, 245, .55); box-shadow: 0 0 0 6px rgba(62, 230, 245, .08); flex: none; }
.founder-row b { display: block; color: #fff; font-size: 19px; }
.founder-row span { color: var(--muted); font-size: 15px; }
.alert.loss { background: rgba(255, 122, 122, .08); border-color: rgba(255, 140, 140, .45); }
.alert.loss b { color: #ffb0b0; }
/* المواقف: بطاقة لكل ألم — الموقف ثم «النتيجة» بالمرجاني */
.pains { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 700px) { .pains { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .pains { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pain { background: var(--card); border: 1px solid var(--line-2); border-radius: 16px; padding: 16px 18px; }
.pain h3 { display: flex; align-items: center; gap: 10px; font-size: 17px; color: #fff; margin: 0 0 8px; }
.pain h3 svg { width: 22px; height: 22px; color: var(--cyan); flex: none; }
.pain p { margin: 0; color: var(--ink-2); font-size: 15px; }
.pain .res { color: #f5a3aa; }
.pain .sol { border-top: 1px dashed var(--line-2); margin-top: 12px; padding-top: 10px; color: #d6f6fa; }
.pain .sol b { display: block; font-size: 12.5px; color: var(--cyan); font-weight: 700; margin-bottom: 2px; }
/* الهاتف: بطاقات المواقف شريط أفقي بتنقّل يدوي، وبطاقة تظهر حافتها ليعرف الزائر أن هناك المزيد */
.pains-nav { display: none; }
.pain-clone { display: none; }
@media (max-width: 699px) {
  .pains { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-bottom: 4px; }
  .pains::-webkit-scrollbar { display: none; }
  .pain, .pain-clone { display: block; flex: 0 0 86%; scroll-snap-align: start; }
  .pains-nav { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 12px; }
  .pains-nav button { min-width: 36px; height: 36px; border-radius: 99px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .04); color: var(--cyan); display: grid; place-items: center; cursor: pointer; padding: 0 8px; font: inherit; }
  .pains-nav button svg { width: 16px; height: 16px; }
  .pains-dots { display: flex; gap: 6px; }
  .pains-dots i { width: 7px; height: 7px; border-radius: 99px; background: var(--line-2); transition: background .2s, width .2s; }
  .pains-dots i.on { width: 18px; background: var(--cyan); }
}
.pains-end .channels { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 16px; padding: 10px 16px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--card); color: var(--ink-2); font-size: 15px; }
.pains-end .channels svg { width: 20px; height: 20px; color: var(--cyan); flex: none; }
.service { text-align: center; }
.pain .asks { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.pain .asks span { background: #2456b8; color: #fff; font-size: 13px; border-radius: 12px 12px 4px 12px; padding: 3px 10px; }
.pains-end { margin: 28px auto 0; }
.grid-4 { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.hero .more { margin-top: 4px; }

/* رحلة رسالة (كيف يعمل): خطوات مرقّمة على خط واحد */
.journey { list-style: none; margin: 0; padding: 0; counter-reset: j; }
.journey li { counter-increment: j; position: relative; padding-inline-start: 62px; padding-bottom: 34px; }
.journey li:last-child { padding-bottom: 0; }
.journey li::before {
  content: counter(j, arabic-indic); position: absolute; inset-inline-start: 0; top: 0;
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--f-display); font-weight: 700; font-size: 19px; color: #04101f;
  background: linear-gradient(135deg, var(--royal), var(--cyan)); box-shadow: 0 0 0 5px rgba(62, 230, 245, .12);
}
.journey li:not(:last-child)::after { content: ""; position: absolute; inset-inline-start: 20.5px; top: 48px; bottom: 6px; width: 1px; background: var(--line-2); }
.journey h3 { font-size: 20px; color: #fff; font-weight: 800; margin: 6px 0 6px; }
.journey p { margin: 0 0 8px; font-size: 16.5px; }
.cond { display: block; font-size: 14.5px; color: var(--cyan-soft); margin-top: 4px; }

/* المشهد المصغّر لكل خطوة (الهاتف)، والهاتف الثابت بجانب الخطوات (الحاسوب) */
.story { display: grid; gap: 40px; }
.story-phone { display: none; }
.mini { margin-top: 14px; background: #0a1226; border: 1px solid var(--line); border-radius: 18px; padding: 34px 12px 12px; display: grid; gap: 8px; position: relative; }
.mini { max-width: 360px; } /* بين الهاتف والحاسوب العريض لا تتمدّد المحادثة على عرض الصفحة؛ تبقى بحجم شاشة هاتف */
.mini::before { content: attr(data-who); position: absolute; top: 9px; inset-inline-start: 14px; font-size: 12px; font-weight: 700; color: var(--muted); }
.bub.voice { display: inline-flex; align-items: center; gap: 3px; direction: ltr; }
.bub.voice i { width: 3px; border-radius: 2px; background: rgba(255, 255, 255, .85); height: 8px; }
.bub.voice i:nth-child(3n) { height: 16px; } .bub.voice i:nth-child(4n) { height: 12px; } .bub.voice i:nth-child(5n) { height: 20px; }
.bub.voice small { margin-inline-start: 8px; opacity: 1; }
.bub.imgmsg { width: 120px; height: 90px; display: grid; place-items: center; background: linear-gradient(135deg, #6b4a2f, #a37b52); border: 2px solid #3a6fd8; }
.bub.imgmsg span { font-size: 12px; background: rgba(0, 0, 0, .35); border-radius: 6px; padding: 0 6px; }
.bub .keys { display: flex; gap: 6px; margin-top: 8px; }
.bub .keys span { font-size: 12.5px; font-weight: 800; background: rgba(36, 86, 184, .14); border: 1px solid rgba(36, 86, 184, .45); color: var(--ink); border-radius: 8px; padding: 2px 10px; }
.alert.report .nums { display: flex; gap: 8px; margin-top: 8px; }
.alert.report .nums span { flex: 1; text-align: center; background: rgba(255, 255, 255, .05); border-radius: 10px; padding: 6px 4px; font-size: 12px; color: var(--ink-2); }
.alert.report .nums bdi { display: block; font-size: 20px; font-weight: 900; color: #fff; }
@media (min-width: 960px) {
  .story { grid-template-columns: 1fr 340px; align-items: start; gap: 56px; }
  .story .mini { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
  .story-phone { display: block; position: sticky; top: 120px; }
  .story-phone .phone3d { width: 320px; --ry: -8deg; --rx: 4deg; }
  .story-phone .screen { min-height: 440px; }
  .story-phone .thread.play > * { animation-delay: calc(.35s + var(--i, 0) * .75s); } /* مهلة قبل أول رسالة */
  .story .journey li { transition: opacity .5s var(--ease); }
  .story .journey li:not(.active) { opacity: .75; }
}
.flist .cond { color: var(--muted); }
/* الحالة الساكنة: كل الرسائل ظاهرة. الحركة تُعاد فقط حين يضيف السكربت .play */
@media (prefers-reduced-motion: no-preference) {
  .thread.play > * { animation: pop .7s var(--ease) both; animation-delay: calc(var(--i, 0) * .9s); }
  @keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.97); } }
}

/* ── الأقسام ── */
section.block { padding-block: 64px; }
section.block + section.block { border-top: 1px solid var(--line); }
.kicker-h { font-size: clamp(26px, 2.6vw + 14px, 38px); font-weight: 800; line-height: 1.35; color: #fff; margin-bottom: 14px; }
.section-lede { font-size: 18.5px; max-width: 60ch; margin-bottom: 30px; }
.panel { background: linear-gradient(180deg, var(--card), var(--bg-2)); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; }
.quote {
  font-size: clamp(20px, 1.2vw + 15px, 25px); font-weight: 800; line-height: 1.6; color: #fff;
  border-radius: var(--r); padding: 24px; margin: 22px 0;
  background: radial-gradient(80% 120% at 100% 0%, rgba(76, 141, 255, .22), transparent 70%), var(--card);
  border: 1px solid var(--line-2);
}

/* خط زمني لليلة */
.timeline { list-style: none; margin: 8px 0 0; padding: 0; display: grid; }
.timeline li { display: grid; grid-template-columns: 96px 1fr; gap: 18px; position: relative; padding-bottom: 28px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline time { font-weight: 800; color: var(--cyan-soft); font-size: 16px; padding-top: 2px; font-variant-numeric: tabular-nums; }
.timeline p { margin: 0; position: relative; padding-inline-start: 26px; font-size: 17.5px; }
.timeline p::before { content: ""; position: absolute; inset-inline-start: 0; top: 9px; width: 12px; height: 12px; border-radius: 50%; background: var(--royal); box-shadow: 0 0 0 5px rgba(76, 141, 255, .18); }
.timeline li:not(:last-child) p::after { content: ""; position: absolute; inset-inline-start: 5.5px; top: 26px; bottom: -32px; width: 1px; background: var(--line-2); }
.timeline .dawn p { color: #fff; font-weight: 700; }
.timeline .dawn p::before { background: var(--cyan); box-shadow: 0 0 0 5px rgba(62, 230, 245, .2), 0 0 18px var(--cyan); }
@media (max-width: 420px) { .timeline li { grid-template-columns: 80px 1fr; gap: 12px; } .timeline time { font-size: 14.5px; } }

/* بطاقات الميزات */
.grid-3 { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.hook { color: #fff; font-weight: 700; } /* خطاف بالمحكية فوق النص الفصيح (المقارنة، عرض الشريك) */
.feat { padding: 22px; border-radius: var(--r); border: 1px solid var(--line); background: var(--card); min-width: 0; transition: border-color .3s, transform .5s var(--ease); }
.feat:hover { border-color: var(--line-2); transform: translateY(-3px); }
.feat .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(62, 230, 245, .1); color: var(--cyan); margin-bottom: 14px; }
.feat .ic svg { width: 22px; height: 22px; }
.feat h3 { font-size: 19px; font-weight: 800; color: #fff; margin-bottom: 6px; }
.feat p { font-size: 16px; margin: 0; }
.pro { display: inline-block; font-size: 12px; font-weight: 800; color: #04101f; background: var(--cyan-soft); border-radius: 99px; padding: 0 9px; margin-inline-start: 6px; vertical-align: middle; }
.more { display: inline-flex; gap: 6px; margin-top: 20px; font-weight: 800; text-decoration: none; }
.more::after { content: "←"; content: "←" / ""; }

/* أدوار الميزات (صفحة كيف يعمل) */
.role { display: grid; gap: 18px; padding-block: 34px; border-top: 1px solid var(--line); }
.role:first-of-type { border-top: 0; padding-top: 0; }
.role-head h3 { font-size: 23px; font-weight: 800; color: #fff; }
.role-head p { margin: 4px 0 0; font-size: 16px; }
@media (min-width: 900px) { .role { grid-template-columns: 280px 1fr; gap: 36px; } }
.flist { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.flist li { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
.flist b { display: block; color: #fff; font-size: 17.5px; margin-bottom: 2px; }
.flist span { color: var(--ink-2); font-size: 16px; }
.flist .cond { display: block; font-size: 14.5px; color: var(--muted); margin-top: 6px; }
.nots { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.nots li { padding-inline-start: 30px; position: relative; color: var(--ink-2); }
.nots li::before { content: ""; position: absolute; inset-inline-start: 4px; top: 12px; width: 14px; height: 2px; background: var(--muted); }

/* خطوات البدء */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: s; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { counter-increment: s; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 22px 20px; position: relative; overflow: hidden; }
.steps li::before {
  content: counter(s, arabic-indic); font-family: var(--f-display); font-size: 44px; font-weight: 700; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px rgba(62, 230, 245, .55); display: block; margin-bottom: 12px;
}
.steps b { display: block; color: #fff; font-size: 18px; margin-bottom: 6px; }
.steps span { font-size: 15.5px; color: var(--ink-2); }
.steps .cond { font-style: normal; font-size: 14px; margin-top: 8px; }

/* ظهور عند التمرير: المحتوى ظاهر افتراضياً، والسكربت يضيف .reveal فقط إن سُمح بالحركة */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* الباقات */
.plans { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); align-items: stretch; }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 26px 22px; display: flex; flex-direction: column; min-width: 0; }
.plan.featured { border: 1.5px solid rgba(62, 230, 245, .6); background: radial-gradient(90% 60% at 50% 0%, rgba(62, 230, 245, .12), transparent 70%), var(--card); position: relative; }
.plan .tagline { position: absolute; top: -13px; inset-inline-start: 22px; background: var(--cyan); color: #04101f; font-size: 13px; font-weight: 800; border-radius: 99px; padding: 2px 12px; }
.plan h3 { font-size: 22px; color: #fff; font-weight: 800; }
.plan .en { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.price { font-size: 42px; font-weight: 900; color: #fff; line-height: 1.1; font-variant-numeric: tabular-nums; }
.price small { font-size: 16px; font-weight: 700; color: var(--ink-2); }
.founder { font-size: 15.5px; color: var(--cyan-soft); margin: 8px 0 16px; line-height: 1.6; }
.founder b { color: #fff; font-size: 18px; }
.plan ul { list-style: none; margin: 0 0 20px; padding: 14px 0 0; border-top: 1px solid var(--line); display: grid; gap: 8px; flex: 1; }
.plan li { font-size: 15.5px; color: var(--ink-2); padding-inline-start: 24px; position: relative; }
.plan li::before { content: ""; position: absolute; inset-inline-start: 0; top: 9px; width: 10px; height: 6px; border-inline-start: 2px solid var(--ok); border-bottom: 2px solid var(--ok); transform: rotate(-45deg); }
.plan li.no { color: var(--muted); }
.plan li.no::before { content: "✕"; content: "✕" / ""; border: 0; width: auto; height: auto; top: 0; transform: none; color: #f0828a; font-weight: 800; font-size: 14px; }
.plan .btn { width: 100%; }

/* النموذج */
.form { display: grid; gap: 16px; }
.form .row2 { display: grid; gap: 16px; }
@media (min-width: 720px) { .form .row2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; min-width: 0; }
.field label, .field legend { font-weight: 700; color: #fff; font-size: 15.5px; }
.field .hint { font-size: 13.5px; color: var(--muted); }
input, select, textarea {
  font: inherit; color: var(--ink); background: var(--bg-2); border: 1px solid #5f6f94; border-radius: 12px; padding: 11px 14px; width: 100%;
}
input:focus, select:focus, textarea:focus { border-color: var(--cyan); outline: none; box-shadow: 0 0 0 3px rgba(62, 230, 245, .18); }
fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; min-width: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { font-weight: 600; color: var(--ink-2); font-size: 15px; display: inline-flex; align-items: center; gap: 8px; background: var(--bg-2); border: 1px solid #5f6f94; border-radius: 12px; padding: 8px 12px; cursor: pointer; }
.chips input { width: auto; accent-color: var(--cyan); }
.chips label:has(:focus-visible), .consent:has(:focus-visible) { outline: 2px solid var(--cyan); outline-offset: 2px; }
.chips label:has(input:checked) { border-color: var(--cyan); color: #fff; background: rgba(62, 230, 245, .08); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--ink-2); }
.consent input { width: auto; margin-top: 6px; accent-color: var(--cyan); }
.quiz-result:empty, .form-status:empty { padding: 0; border: 0; }
.form-status { border-radius: 12px; padding: 12px 16px; background: rgba(62, 230, 245, .08); border: 1px solid rgba(62, 230, 245, .35); color: var(--ink); }
.form-status.error { background: rgba(240, 130, 138, .1); border-color: rgba(240, 130, 138, .45); color: #ffd4d8; }
.form-status .cta-row { margin-top: 10px; }

/* نموذج الطلب بخطوات */
.form-screen { display: grid; gap: 16px; }
.form[data-js-wizard] .form-screen[hidden] { display: none !important; }
.form[data-js-wizard] .form-step { border-top: 0; padding-top: 0; margin-top: 0; }
.form[data-js-wizard] .nojs-submit { display: none; }
.wizard-head { display: grid; gap: 8px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.wizard-meta { display: flex; justify-content: space-between; align-items: center; font-size: 14px; color: var(--cyan-soft); font-weight: 700; }
.wizard-bar { height: 6px; border-radius: 99px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.wizard-bar i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--royal), var(--cyan)); transition: width .35s var(--ease); }
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; }
@media (min-width: 640px) {
  .cards-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
  .cards-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
}
.cards-grid label { padding: 12px 14px; border-radius: 14px; font-weight: 700; align-items: flex-start; transition: border-color .2s, background .2s, transform .2s; }
.cards-grid label:hover { border-color: var(--line-2); }
.cards-grid label span { display: grid; gap: 2px; flex: 1; min-width: 0; }
.cards-grid label b { color: #fff; font-size: 16px; }
.cards-grid label small { font-size: 13px; font-weight: 500; color: var(--muted); }
.cards-grid label .plan-card-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.cards-grid label .plan-card-price { font-style: normal; font-size: 12.5px; font-weight: 700; color: var(--cyan); background: rgba(62, 230, 245, .1); border: 1px solid rgba(62, 230, 245, .28); border-radius: 999px; padding: 2px 9px; white-space: nowrap; }
.phone-group { display: grid; grid-template-columns: 150px 1fr; gap: 8px; align-items: stretch; }
.phone-group select { padding-inline: 10px; font-size: 14.5px; cursor: pointer; }
@media (max-width: 480px) { .phone-group { grid-template-columns: 130px 1fr; } }
.fit-summary { display: grid; gap: 14px; }
@media (min-width: 680px) { .fit-summary { grid-template-columns: 1fr 1fr; } }
.fit-box { background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 16px; padding: 18px 20px; font-size: 15px; color: var(--ink-2); line-height: 1.65; }
.fit-box > b { display: block; color: #fff; font-size: 17px; margin-bottom: 10px; }
.fit-box li b { color: #fff; font-weight: 700; }
.fit-box.fit-yes { border-color: rgba(127, 224, 178, .4); background: rgba(127, 224, 178, .05); }
.fit-box.fit-no { border-color: rgba(240, 130, 138, .4); background: rgba(240, 130, 138, .05); }
.fit-box ul { margin: 0; padding-inline-start: 18px; display: grid; gap: 8px; }
.fit-note-box { background: rgba(62, 230, 245, .05); border: 1px solid rgba(62, 230, 245, .3); border-radius: 14px; padding: 14px 16px; font-size: 14.5px; color: var(--ink-2); line-height: 1.65; }
.fit-note-box > b { display: block; color: #fff; font-size: 15.5px; margin-bottom: 6px; }
.fit-note-box ul { margin: 0; padding-inline-start: 18px; display: grid; gap: 5px; }
.fit-note-box li b { color: #fff; font-weight: 700; }
.field-note { font-size: 14px; color: var(--muted); margin: 0; }
.founder-honesty { font-size: 14.5px; color: var(--ink-2); background: rgba(255, 255, 255, .04); border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; margin: 0; }
.wizard-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.wizard-nav [data-next], .wizard-nav [data-submit] { margin-inline-start: auto; }
.field-error { color: #ff9ea6; font-size: 14px; font-weight: 700; margin: 2px 0 0; }
.field.has-error input, .field.has-error textarea { border-color: #f0828a; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }
.form-success { text-align: center; padding: 36px 24px; display: grid; gap: 14px; justify-items: center; }
.form-success h3 { font-size: 24px; color: #fff; font-weight: 800; }
.form-success p { margin: 0; max-width: 48ch; }
.success-icon { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: rgba(127, 224, 178, .15); border: 1.5px solid var(--ok); color: var(--ok); font-size: 28px; font-weight: 900; }

/* الأسئلة */
.faq-group { margin-bottom: 34px; }
.faq-group h2 { font-size: 22px; color: #fff; margin-bottom: 12px; font-weight: 800; }
details.qa { border: 1px solid var(--line); background: var(--card); border-radius: 14px; margin-bottom: 10px; }
details.qa summary { cursor: pointer; list-style: none; padding: 16px 18px; font-weight: 800; color: #fff; display: flex; justify-content: space-between; gap: 14px; }
details.qa summary::-webkit-details-marker { display: none; }
details.qa summary::after { content: "+"; content: "+" / ""; color: var(--cyan); font-size: 22px; line-height: 1; flex: none; }
details.qa[open] summary::after { content: "−"; content: "−" / ""; }
details.qa .a { padding: 0 18px 16px; }
details.qa .a p { margin: 0; }

/* الخاتمة */
.closing {
  text-align: center; border-radius: 24px; padding: 44px 22px; margin-block: 24px 72px;
  background: radial-gradient(70% 90% at 50% 0%, rgba(76, 141, 255, .3), transparent 70%), radial-gradient(60% 80% at 50% 100%, rgba(62, 230, 245, .15), transparent 70%), var(--card);
  border: 1px solid var(--line-2);
}
.closing h2 { font-size: clamp(26px, 2.6vw + 14px, 38px); color: #fff; font-weight: 800; margin-bottom: 10px; }
.closing p { max-width: 50ch; margin: 0 auto 22px; }
.closing .cta-row { justify-content: center; }
.closing .more { font-size: 15px; font-weight: 700; margin: 18px 0 6px; }

/* التذييل */
.site-foot { border-top: 1px solid var(--line); background: var(--bg-2); padding-block: 44px calc(28px + env(safe-area-inset-bottom, 0px)); }
.foot-grid { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.foot-grid h3 { font-size: 15px; color: #fff; font-weight: 800; margin-bottom: 10px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.foot-grid a { color: var(--ink-2); text-decoration: none; font-size: 15.5px; }
.foot-grid a:hover { color: #fff; }
.foot-grid small { display: block; color: var(--muted); font-size: 13px; }
.slogan { font-family: var(--f-display); font-size: 18px; color: var(--cyan-soft); margin: 8px 0 0; }
.legal { margin-top: 30px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: space-between; font-size: 13.5px; color: var(--muted); }
.legal a { color: var(--muted); }
.legal { justify-content: center; } /* بقي فيه رابطا الخصوصية والشروط وحدهما */

/* زرّ المحادثة العائم */
.float-chat { position: fixed; z-index: 25; inset-inline-start: max(16px, env(safe-area-inset-left, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }
.float-chat summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 9px; font-weight: 800; font-size: 15.5px;
  background: linear-gradient(90deg, var(--royal), var(--cyan)); color: #04101f; border-radius: 99px; padding: 12px 18px;
  box-shadow: 0 16px 34px -12px rgba(62, 230, 245, .65);
}
.float-chat summary::-webkit-details-marker { display: none; }
.float-chat summary svg { width: 20px; height: 20px; }
.float-chat .fc-panel {
  position: absolute; bottom: 58px; inset-inline-start: 0; width: min(290px, calc(100vw - 32px));
  background: var(--card); border: 1px solid var(--line-2); border-radius: 18px; padding: 14px; display: grid; gap: 8px;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .85);
}
.fc-panel p { font-size: 14.5px; margin: 0 0 4px; }
.fc-panel a { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; font-weight: 800; border-radius: 12px; padding: 11px 12px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); }
.fc-panel a:hover { background: rgba(255, 255, 255, .09); }
.fc-panel svg { width: 22px; height: 22px; flex: none; }
.fc-panel small { display: block; font-weight: 500; color: var(--muted); font-size: 12.5px; }

/* شريط المعاينة */
.preview-flag { background: #3a2a06; color: #ffd27a; text-align: center; font-size: 13.5px; padding: 6px 16px; }

/* الانتقال بين الصفحات: الترويسة وزرّ المحادثة ثابتان، والمحتوى يتلاشى ويصعد (متصفحات تدعم
   View Transitions بين المستندات؛ غيرها ينتقل عادياً، ودفقة الخطوط في أعلى كل صفحة تبقى) */
@view-transition { navigation: auto; }
.site-head { view-transition-name: site-head; }
.float-chat { view-transition-name: float-chat; }
::view-transition-old(root) { animation: vt-out .22s ease both; }
::view-transition-new(root) { animation: vt-in .5s var(--ease) both; }
/* ظهور الرمز والاسم مع ومضة الخطوط (الرئيسية فقط، وبلا «تقليل الحركة») */
/* الاسم والتعريف يظهران حين يتكوّن الرمز في المقطع (.go من السكربت)؛ وبلا سكربت يظهران بعد 3.4ث احتياطاً */
html.intro .hero h1 bdi { animation: sa-rise .8s 3.4s both; }
html.intro .hero h1 .accent, html.intro .hero .lede { animation: sa-rise .8s 3.8s both; }
html.intro .hero.go h1 bdi { animation-name: sa-rise2; animation-delay: 0s; }
html.intro .hero.go h1 .accent, html.intro .hero.go .lede { animation-name: sa-rise2; animation-delay: .5s; }
@keyframes sa-rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes sa-rise2 { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes sa-show { to { opacity: 1; } }
@keyframes vt-out { to { opacity: 0; transform: translateY(-10px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(16px); } }
@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}

/* عناوين الصفحات الداخلية */
.page-hero { padding-block: 54px 34px; position: relative; overflow: hidden; isolation: isolate; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(55% 80% at 90% 0%, rgba(76, 141, 255, .28), transparent 70%), radial-gradient(45% 70% at 0% 100%, rgba(62, 230, 245, .12), transparent 70%); }
.page-hero h1 { font-size: clamp(30px, 3.6vw + 14px, 48px); font-weight: 900; color: #fff; line-height: 1.3; }
.page-hero h1 .accent { font-family: var(--f-display); color: var(--cyan); font-weight: 700; }
.page-hero p { font-size: 19px; max-width: 58ch; margin-top: 14px; }
/* شرائح المواقف: الشريحة الجديدة تدخل من جهة السحب (التالي من اليسار في الاتجاه العربي) */
@media (prefers-reduced-motion: no-preference) {
  .slide.from-next { animation: slide-in-next .45s var(--ease) both; }
  .slide.from-prev { animation: slide-in-prev .45s var(--ease) both; }
  @keyframes slide-in-next { from { opacity: 0; transform: translateX(-90px); } }
  @keyframes slide-in-prev { from { opacity: 0; transform: translateX(90px); } }
}
/* صفحتا الخصوصية والشروط */
.legal-doc h2 { font-size: 22px; color: #fff; margin: 34px 0 10px; }
.legal-doc h3 { font-size: 19px; color: #fff; margin: 28px 0 8px; }
.legal-doc ul { margin: 0 0 14px; padding-inline-start: 22px; color: var(--ink-2); }
.legal-doc li { margin-bottom: 8px; }
.legal-doc li b, .legal-doc p b { color: var(--ink); }
.legal-doc a { color: var(--cyan); }
.legal-doc .note { font-size: 15px; color: var(--muted); }
.legal-summary { background: var(--card); border: 1px solid var(--line-2); border-radius: 16px; padding: 22px 24px 8px; }
.legal-summary h2, .legal-summary h3 { margin-top: 0; }
.legal-en { border-top: 1px solid var(--line); font-family: system-ui, -apple-system, "Segoe UI", sans-serif; }
.legal-en .en-title { font-size: 28px; margin-top: 0; }


/* التذييل المبسط وزر المحادثة العائم */
.float-chat { display: none !important; }
.site-foot { padding-block: 40px 28px; }
.foot-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.foot-grid h3 { display: none; }
.foot-grid ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.foot-grid ul li a {
  color: var(--ink-2);
  text-decoration: none;
  font-weight: 700;
  font-size: 15.5px;
  transition: color .2s;
}
.foot-grid ul li a:hover {
  color: #fff;
}
@media (max-width: 768px) {
  .site-foot { padding-block: 36px 26px; text-align: center; }
  .foot-grid { display: flex; flex-direction: column; align-items: center; gap: 20px; }
  .foot-grid > div:first-child { display: flex; flex-direction: column; align-items: center; }
  .foot-grid .brand { justify-content: center; }
  .foot-grid > div:last-child { width: 100%; }
  .foot-grid ul {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    width: 100%;
  }
  .foot-grid ul li a {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .04);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 9px 6px;
    font-size: 14px;
  }
  .legal {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
  }
}
