/* =========================================================
   OneClick Print — clean corporate
   أبيض ورمادى فاتح، كروت ناعمة، وأزرق البرنامج نفسه.
   ========================================================= */
:root {
  --bg: #FFFFFF;
  --bg-alt: #F6F8FB;
  --surface: #FFFFFF;
  --text: #0F172A;
  --text-2: #334155;
  --muted: #5B6475;
  --dim: #8A93A5;
  --border: #E4E8EF;
  --border-2: #D3DAE4;
  --primary: #0072AF;
  --primary-ink: #005B8C;
  --primary-soft: #E3F7FD;
  --brand: #13D4FF;
  --brand-hover: #5ADFFF;
  --brand-ink: #05060A;
  --brand-m: #E1058A;
  --navy: #080D1A;
  --wa: #1A9E54;

  --c: #02AAE9;
  --m: #E1058A;
  --y: #F2C400;
  --k: #1F2937;
  --v: #6D3FD4;
  --accent: var(--primary);

  --radius: 16px;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, .05);
  --shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 12px 32px -14px rgba(16, 24, 40, .16);
  --shadow-lg: 0 2px 4px rgba(16, 24, 40, .04), 0 32px 64px -24px rgba(16, 24, 40, .24);
  --font: 'IBM Plex Sans Arabic', system-ui, sans-serif;
  --font-display: var(--font);
  --max: 1200px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
.c-cyan    { --sw: var(--c); }
.c-magenta { --sw: var(--m); }
.c-yellow  { --sw: var(--y); }
.c-green   { --sw: var(--k); }
.c-violet  { --sw: var(--v); }
.c-rose    { --sw: #E11D48; }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font); font-size: 17px; line-height: 1.75;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
::selection { background: var(--brand); color: var(--brand-ink); }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; line-height: 1.4; font-weight: 700; }
p { margin: 0; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding-inline: 32px; }
@media (max-width: 640px) { .container { padding-inline: 16px; } }

.section { padding: 112px 0; }
.section.alt, .tour { background: var(--bg-alt); border-block: 1px solid var(--border); }
@media (max-width: 760px) { .section { padding: 76px 0; } }

.sec-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.sec-num { display: inline-block; font-size: 14.5px; font-weight: 600; color: var(--primary); margin-bottom: 10px; }
.sec-head h2 { font-size: clamp(28px, 3.4vw, 42px); letter-spacing: -.01em; }
.sec-head p { color: var(--muted); margin-top: 14px; font-size: 18px; }
@media (max-width: 760px) { .sec-head { margin-bottom: 36px; } }

.swatch { display: inline-block; width: 10px; height: 10px; border-radius: 3px; background: var(--sw, var(--primary)); flex: none; }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 600; color: var(--primary); background: var(--primary-soft); padding: 6px 14px; border-radius: 999px; margin-bottom: 22px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 50px; padding: 0 24px; border-radius: 10px; border: 1px solid transparent;
  font-family: var(--font); font-weight: 600; font-size: 16px; white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s, box-shadow .2s;
}
.btn .bi { font-size: 1.05em; }
.btn-primary, .btn-accent { background: var(--brand); color: var(--brand-ink); box-shadow: 0 1px 2px rgba(5, 6, 10, .2), 0 10px 28px -12px rgba(19, 212, 255, .7); }
.btn-primary:hover, .btn-accent:hover { background: var(--brand-hover); }
.btn-ghost { background: #fff; color: var(--text); border-color: var(--border-2); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { border-color: var(--dim); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #158446; }
.btn-sm { height: 40px; padding: 0 16px; font-size: 14.5px; border-radius: 9px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--primary); transition: gap .2s; }
.link-arrow:hover { gap: 12px; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.6) blur(10px); -webkit-backdrop-filter: saturate(1.6) blur(10px); border-bottom: 1px solid var(--border); }
.nav-inner { display: grid; grid-template-columns: minmax(max-content, 1fr) auto minmax(max-content, 1fr); align-items: center; gap: 24px; height: 68px; }
.nav-inner .logo { justify-self: start; }
.logo { display: inline-flex; align-items: center; gap: 10px; direction: ltr; }
.logo-mark { width: 40px; height: 40px; flex: none; }
.logo-word { display: flex; flex-direction: column; font-family: 'Montserrat', var(--font); font-weight: 800; font-size: 21px; line-height: 1; letter-spacing: -.01em; }
.logo-word small { margin-top: 5px; font-weight: 500; font-size: 10.5px; letter-spacing: .5em; text-transform: uppercase; color: #13D4FF; }
.nav-links { display: flex; align-items: center; gap: 2px; font-size: 16px; font-weight: 600; color: var(--muted); }
.nav-links a { padding: 7px 14px; border-radius: 8px; line-height: 1.6; white-space: nowrap; transition: color .2s, background .2s; }
.nav-links a:hover { color: var(--text); background: var(--bg-alt); }
.nav-links a.active { color: var(--primary); background: var(--primary-soft); }
.nav-cta { display: flex; align-items: center; gap: 10px; justify-self: end; }
.nav-burger { display: none; width: 42px; height: 42px; border: 1px solid var(--border-2); border-radius: 10px; background: #fff; font-size: 22px; color: var(--text); }
@media (max-width: 1000px) {
  .nav-inner { display: flex; gap: 16px; }
  .nav-burger { display: inline-grid; place-items: center; }
  .nav-links { position: absolute; top: 68px; inset-inline: 0; flex-direction: column; gap: 2px; padding: 10px 16px 16px; background: #fff; border-bottom: 1px solid var(--border); box-shadow: var(--shadow); display: none; margin: 0; }
  .nav-links a { padding: 12px; font-size: 16px; }
  .nav.open .nav-links { display: flex; }
  .nav-cta { margin-inline-start: auto; }
}
@media (max-width: 480px) { .nav-cta .btn { display: none; } }

/* ---------- home hero ---------- */
.hero { padding: 88px 0 112px; background: linear-gradient(var(--bg) 0%, var(--bg) 55%, var(--bg-alt) 55%, var(--bg-alt) 100%); border-bottom: 1px solid var(--border); }
.hero-center { text-align: center; max-width: 820px; margin: 0 auto 64px; }
.hero h1 { font-size: clamp(38px, 5.6vw, 68px); line-height: 1.3; letter-spacing: -.02em; }
.hero h1 em { font-style: normal; color: var(--primary); }
.hero .lead { color: var(--muted); font-size: 19.5px; max-width: 640px; margin: 22px auto 34px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-center .hero-ctas { justify-content: center; }
.hero-trust { margin-top: 28px; font-size: 14.5px; color: var(--dim); }
@media (max-width: 760px) { .hero { padding: 56px 0 72px; } .hero-center { margin-bottom: 44px; } .hero .lead { font-size: 17.5px; } }

.shot { position: relative; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden; }
.shot-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 40px; padding: 0 16px; border-bottom: 1px solid var(--border); background: #FAFBFC; font-size: 12.5px; color: var(--dim); direction: ltr; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.shot-bar .dots { display: flex; gap: 6px; }
.shot-bar .dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--border-2); display: block; }
.shot .browser-screen, .shot [data-preview] { aspect-ratio: 16 / 9; }
.shot-img { display: block; width: 100%; height: auto; background: #f8f9fa; }

.browser-screen, [data-preview] { position: relative; overflow: hidden; background: #f8f9fa; }
.screen-scale { position: absolute; top: 0; left: 0; width: 1280px; transform-origin: 0 0; }
.screen-scale iframe { width: 1280px; border: 0; display: block; background: #f8f9fa; pointer-events: none; }

/* ---------- programs (cards) ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px; }
.cat-card { grid-column: span 2; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; transition: box-shadow .25s, border-color .25s, transform .25s; }
.cat-card:hover { box-shadow: var(--shadow); border-color: var(--border-2); transform: translateY(-3px); }
.cat-shot { height: 190px; border-bottom: 1px solid var(--border); background: #f8f9fa; }
.cat-shot [data-preview] { height: 100%; }
.cat-body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.cat-name { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.cat-name h3 { font-size: 22px; }
.cat-en { font-size: 12.5px; color: var(--dim); direction: ltr; margin-inline-start: auto; }
.cat-for { color: var(--muted); margin: 8px 0 16px; font-size: 15.5px; }
.cat-body .link-arrow { margin-top: auto; padding-top: 18px; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 15px; color: var(--text-2); }
.ticks li { display: grid; grid-template-columns: 20px 1fr; gap: 6px; align-items: start; }
.ticks li::before { content: "\F26E"; font-family: 'bootstrap-icons'; color: var(--primary); font-size: 16px; line-height: 1.7; }
@media (max-width: 1000px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } .cat-card { grid-column: span 1; } }
@media (max-width: 640px) { .cat-grid { grid-template-columns: 1fr; } .cat-shot { height: 180px; } }

/* ---------- flow ---------- */
.flow { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.flow-step { padding: 22px 20px 24px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); }
.flow-step .n { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); font-weight: 700; font-size: 15px; }
.flow-step h3 { font-size: 17.5px; margin: 16px 0 8px; }
.flow-step p { font-size: 14.5px; color: var(--muted); line-height: 1.7; }
@media (max-width: 1100px) { .flow { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .flow { grid-template-columns: 1fr; } }

/* ---------- features ---------- */
.spec-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.spec-item { padding: 26px 26px 28px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.spec-item h3 { font-size: 18.5px; margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
.spec-item h3::before { content: ""; width: 4px; height: 18px; border-radius: 2px; background: var(--primary); flex: none; }
.spec-item p { color: var(--muted); font-size: 15.5px; line-height: 1.75; }
@media (max-width: 1000px) { .spec-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .spec-list { grid-template-columns: 1fr; } }

/* ---------- contact panel ---------- */
.ink-block { padding: 112px 0; background: var(--bg); }
.ink-inner { background: var(--navy); color: #fff; border-radius: 24px; padding: 64px; display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 40px; align-items: center; }
.ink-block h2 { font-size: clamp(28px, 3.6vw, 44px); line-height: 1.35; }
.ink-block p { color: #B8C3D6; font-size: 18px; margin-top: 14px; max-width: 52ch; }
.ink-block .kicker { background: rgba(19, 212, 255, .12); color: #8DE9FF; }
.ink-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
.ink-block .btn-ghost { background: transparent; border-color: rgba(255, 255, 255, .3); color: #fff; box-shadow: none; }
.ink-block .btn-ghost:hover { border-color: #fff; }
@media (max-width: 900px) { .ink-inner { grid-template-columns: 1fr; padding: 40px 24px; border-radius: 18px; } .ink-actions { justify-content: flex-start; } .ink-block { padding: 72px 0; } }

/* ---------- footer ---------- */
.footer { padding: 72px 0 32px; font-size: 15px; color: var(--muted); border-top: 1px solid var(--border); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.footer-brand p { margin: 18px 0 20px; max-width: 34ch; line-height: 1.8; }
.footer-col { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-col h3 { font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 6px; }
.footer-col a { display: inline-flex; align-items: center; gap: 10px; transition: color .2s; }
.footer-col a .bi { font-size: 16px; opacity: .8; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; justify-content: space-between; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--navy-line); font-size: 14px; }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a:hover { color: #fff; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer { padding-top: 56px; } .footer-grid { gap: 32px 20px; } }

/* ---------- product pages ---------- */
.p-hero { padding: 64px 0 96px; }
.crumbs { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); margin-bottom: 32px; }
.crumbs a:hover { color: var(--primary); }
.crumbs .bi { font-size: 11px; }
.p-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.p-hero h1 { font-size: clamp(32px, 3.8vw, 48px); line-height: 1.35; letter-spacing: -.015em; }
.p-hero h1 em { font-style: normal; color: var(--primary); }
.p-hero .lead { color: var(--muted); font-size: 18px; margin: 20px 0 24px; }
.p-hero .ticks { margin-bottom: 34px; }
.p-tag { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--text-2); background: var(--bg-alt); border: 1px solid var(--border); padding: 5px 14px; border-radius: 999px; margin-bottom: 20px; }
.p-tag .en { direction: ltr; color: var(--dim); font-weight: 400; }
@media (max-width: 980px) { .p-hero-grid { grid-template-columns: 1fr; gap: 44px; } .p-hero { padding: 40px 0 72px; } }

.others { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.other { display: grid; grid-template-columns: 12px minmax(0, 1fr) auto; grid-template-areas: "s n i" ". d i"; gap: 2px 14px; align-items: center; padding: 20px 22px; background: #fff; border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow-sm); transition: box-shadow .2s, border-color .2s; }
.other .swatch { grid-area: s; }
.other b { grid-area: n; font-size: 18px; }
.other small { grid-area: d; color: var(--muted); font-size: 14.5px; }
.other .bi { grid-area: i; color: var(--primary); font-size: 18px; transition: transform .2s; }
.other:hover { box-shadow: var(--shadow); border-color: var(--border-2); }
.other:hover .bi { transform: translateX(-4px); }
@media (max-width: 760px) { .others { grid-template-columns: 1fr; } }

/* =========================================================
   Guided tour (tour.js depends on these classes)
   ========================================================= */
.tour { padding: 112px 0; }
.tour-shell { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 320px; align-items: stretch; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden; }
.tour-stage { position: relative; min-width: 0; }

.browser { position: relative; overflow: hidden; background: #fff; }
.browser-bar { display: flex; align-items: center; gap: 12px; height: 40px; padding: 0 16px; direction: ltr; border-bottom: 1px solid var(--border); background: #FAFBFC; }
.browser-bar .lights { display: flex; gap: 6px; }
.browser-bar .lights i { width: 10px; height: 10px; border-radius: 50%; background: var(--border-2); display: block; }
.browser-bar .url { flex: 1; max-width: 420px; margin: 0 auto; height: 26px; display: flex; align-items: center; justify-content: center; gap: 6px; border-radius: 7px; background: #fff; border: 1px solid var(--border); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; color: var(--muted); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.browser-bar .url .bi { font-size: 10px; color: var(--wa); }
.browser-bar .spacer { width: 42px; }

.tour-browser .browser-screen { height: min(72vh, 720px); min-height: 420px; }
.tour-camera { position: absolute; top: 0; left: 0; width: 1280px; transform-origin: 0 0; will-change: transform; }
.tour-camera iframe { position: absolute; top: 0; left: 0; width: 1280px; border: 0; background: #f8f9fa; pointer-events: none; }
.tour-camera iframe.is-next { opacity: 0; }

.hotspot { position: absolute; pointer-events: none; border-radius: 10px; z-index: 5; }
.hotspot-ring { position: absolute; inset: -6px; border-radius: 12px; border: 2px solid var(--brand); box-shadow: 0 0 0 9999px rgba(15, 23, 42, .3), 0 0 0 5px rgba(19, 212, 255, .25); transition: box-shadow .4s; }
.hotspot-dot { position: absolute; top: -11px; left: -11px; width: 22px; height: 22px; pointer-events: auto; cursor: pointer; }
.hotspot-dot::before, .hotspot-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--brand); }
.hotspot-dot::after { animation: ping 1.8s cubic-bezier(0, 0, .2, 1) infinite; }
.hotspot-dot::before { inset: 5px; box-shadow: 0 0 0 3px #fff; z-index: 1; }
@keyframes ping { 0% { transform: scale(1); opacity: .7; } 80%, 100% { transform: scale(2.4); opacity: 0; } }

.tour-cursor { position: absolute; top: 0; left: 0; z-index: 8; width: 26px; height: 26px; pointer-events: none; filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .3)); opacity: 0; }
.tour-click { position: absolute; z-index: 7; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; border: 2px solid var(--brand); pointer-events: none; opacity: 0; }

.tour-tip { position: absolute; z-index: 9; width: 330px; max-width: calc(100% - 24px); padding: 18px 20px 14px; border-radius: 14px; background: #fff; color: var(--text); border: 1px solid var(--border); box-shadow: 0 24px 48px -16px rgba(15, 23, 42, .3); opacity: 0; pointer-events: auto; }
.tour-tip .tt-chap { font-size: 12.5px; font-weight: 600; color: var(--primary); margin-bottom: 4px; }
.tour-tip h4 { font-size: 17.5px; margin-bottom: 6px; }
.tour-tip p { margin: 0 0 14px; font-size: 14.5px; color: var(--muted); line-height: 1.75; }
.tour-tip .tt-foot { display: flex; align-items: center; gap: 8px; border-top: 1px solid var(--border); padding-top: 12px; }
.tour-tip .tt-count { font-size: 12.5px; color: var(--dim); margin-inline-end: auto; direction: ltr; }
.tour-tip::before { content: ""; position: absolute; width: 12px; height: 12px; background: #fff; border: 1px solid var(--border); border-width: 1px 0 0 1px; transform: rotate(45deg); }
.tour-tip[data-place="bottom"]::before { top: -7px; left: var(--ax, 50%); margin-left: -6px; }
.tour-tip[data-place="top"]::before { bottom: -7px; left: var(--ax, 50%); margin-left: -6px; transform: rotate(225deg); }
.tour-tip[data-place="center"]::before { display: none; }

.tt-btn { height: 36px; padding: 0 14px; border-radius: 9px; border: 1px solid var(--border-2); background: #fff; color: var(--text); font-size: 13.5px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; transition: background .2s, border-color .2s; }
.tt-btn:hover { border-color: var(--dim); }
.tt-btn.primary { background: var(--brand); color: var(--brand-ink); border-color: transparent; }
.tt-btn.primary:hover { background: var(--brand-hover); }
.tt-btn:disabled { opacity: .4; cursor: default; }

.tour-loading { position: absolute; inset: 0; z-index: 10; display: grid; place-items: center; background: #F8FAFC; color: var(--muted); font-size: 15px; transition: opacity .4s; }
.tour-loading.hide { opacity: 0; pointer-events: none; }
.spinner { width: 30px; height: 30px; border-radius: 50%; border: 3px solid var(--border); border-top-color: var(--primary); animation: spin .8s linear infinite; margin: 0 auto 12px; }
@keyframes spin { to { transform: rotate(360deg); } }

.tour-start { position: absolute; inset: 40px 0 0; z-index: 11; display: grid; place-items: center; text-align: center; background: rgba(255, 255, 255, .86); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); transition: opacity .5s; }
.tour-start.hide { opacity: 0; pointer-events: none; }
.tour-start > div { max-width: 100%; padding: 0 20px; }
.tour-start .play { width: 80px; height: 80px; border-radius: 50%; border: 0; margin: 0 auto 18px; background: var(--brand); color: var(--brand-ink); font-size: 36px; display: grid; place-items: center; box-shadow: 0 0 0 10px rgba(19, 212, 255, .2), 0 16px 32px -10px rgba(19, 212, 255, .6); transition: transform .25s, background .25s; }
.tour-start .play .bi-play-fill { margin-inline-start: -4px; }
.tour-start .play:hover { transform: scale(1.05); background: var(--brand-hover); }
.tour-start h3 { font-size: 24px; }
.tour-start p { color: var(--muted); margin: 6px 0 0; }

.tour-panel { display: flex; flex-direction: column; gap: 16px; padding: 22px; background: #fff; border-inline-start: 1px solid var(--border); min-height: 0; }
.tp-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.tp-head b { font-size: 17px; }
.tp-count { font-size: 13px; color: var(--muted); direction: ltr; }
.tp-bar { height: 4px; border-radius: 4px; background: var(--border); overflow: hidden; }
.tp-bar i { display: block; height: 100%; width: 0; background: var(--primary); border-radius: 4px; transition: width .5s var(--ease); }
.tp-chapters { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; align-content: start; overflow: auto; flex: 1; }
.tp-chapters li button { width: 100%; text-align: start; display: flex; align-items: center; gap: 12px; padding: 8px 10px; border: 0; border-radius: 9px; background: transparent; color: var(--muted); font-size: 15px; font-weight: 400; transition: background .2s, color .2s; }
.tp-chapters li button:hover { background: var(--bg-alt); color: var(--text); }
.tp-chapters .n { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 12.5px; border: 1px solid var(--border-2); flex: none; transition: all .3s; }
.tp-chapters li.done .n { background: var(--primary-soft); border-color: transparent; color: var(--primary); }
.tp-chapters li.current button { background: var(--primary-soft); color: var(--text); font-weight: 600; }
.tp-chapters li.current .n { background: var(--brand); color: var(--brand-ink); border-color: transparent; }
.tp-now { padding: 14px; border-radius: 12px; background: var(--bg-alt); border: 1px solid var(--border); }
.tp-now small { color: var(--primary); font-weight: 600; font-size: 12.5px; }
.tp-now h4 { font-size: 17px; margin: 2px 0 6px; }
.tp-now p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.7; }
.tp-controls { display: flex; gap: 8px; }
.tp-controls .tt-btn { height: 44px; flex: 1; justify-content: center; font-size: 14.5px; }
.tp-controls .tt-btn.icon { flex: none; width: 44px; padding: 0; }
.tp-auto.on { background: var(--bg-alt); }
.tp-hint { font-size: 12.5px; color: var(--dim); text-align: center; }

.tour-fs .tour-shell { position: fixed; inset: 0; z-index: 100; border: 0; border-radius: 0; grid-template-columns: minmax(0, 1fr) 320px; }
.tour-fs .tour-browser .browser-screen { height: calc(100vh - 40px); }
.tour-fs { overflow: hidden; }

.tour-panel .tp-now { display: none; }
@media (max-width: 1060px) {
  .tour-shell, .tour-fs .tour-shell { grid-template-columns: 1fr; }
  .tour-panel { border-inline-start: 0; border-top: 1px solid var(--border); }
  .tour-panel .tp-chapters { display: none; }
  .tour-browser .browser-screen { height: min(62vh, 560px); min-height: 340px; }
  .tour-fs .tour-browser .browser-screen { height: calc(100vh - 250px); }
}
@media (max-width: 699px) {
  .tour { padding: 72px 0; }
  .tour-browser .browser-screen { height: calc(100svh - 50px); max-height: 780px; min-height: 460px; }
  .tour-tip { padding: 14px 14px 12px; max-width: none; }
  .tour-tip h4 { font-size: 16.5px; }
  .tour-tip p { font-size: 14px; line-height: 1.65; margin-bottom: 10px; }
  .tour-tip .tt-btn { height: 40px; }
  .tour-tip .tt-btn.primary { padding: 0 20px; }
  .tour-tip::before { display: none; }
}
@media (max-width: 560px) {
  .browser-bar { height: 34px; }
  .browser-bar .url { font-size: 11px; height: 22px; }
  .tour-start { inset: 34px 0 0; }
  .tour-start .play { width: 66px; height: 66px; font-size: 30px; }
  .tour-start h3 { font-size: 21px; }
}

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in, .no-js .reveal, .reduced .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hotspot-dot::after { animation: none; }
  .reveal { transition: none; }
  .cat-card:hover { transform: none; }
}

/* =========================================================
   Dark bands — navy hero, journey and footer for contrast
   ========================================================= */
:root { --navy-2: #0F1626; --navy-line: rgba(255, 255, 255, .1); --on-dark: #B8C3D6; --on-dark-2: #8C9AB3; }

.hero { background: radial-gradient(640px 380px at 100% 0%, rgba(225, 5, 138, .16), transparent 70%), radial-gradient(640px 380px at 0% 0%, rgba(19, 212, 255, .12), transparent 70%), linear-gradient(var(--navy) 0%, var(--navy) 64%, var(--bg-alt) 64%, var(--bg-alt) 100%); border-bottom: 1px solid var(--border); color: #fff; }
.hero h1 em, .p-hero h1 em { background: linear-gradient(90deg, #FF4FB0, var(--brand) 65%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { color: var(--on-dark); }
.hero .kicker { background: rgba(19, 212, 255, .12); color: #8DE9FF; }
.hero-trust { color: var(--on-dark-2); }
.hero .btn-ghost, .p-hero .btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .28); box-shadow: none; }
.hero .btn-ghost:hover, .p-hero .btn-ghost:hover { border-color: #fff; }
.hero .shot, .p-hero .shot { border-color: rgba(255, 255, 255, .14); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .55); }
@media (max-width: 760px) { .hero { background: radial-gradient(360px 300px at 100% 0%, rgba(225, 5, 138, .16), transparent 70%), radial-gradient(360px 300px at 0% 0%, rgba(19, 212, 255, .12), transparent 70%), linear-gradient(var(--navy) 0%, var(--navy) 72%, var(--bg-alt) 72%, var(--bg-alt) 100%); } }

.p-hero { background: radial-gradient(640px 380px at 100% 0%, rgba(225, 5, 138, .14), transparent 70%), radial-gradient(640px 380px at 0% 100%, rgba(19, 212, 255, .1), transparent 70%), var(--navy); color: #fff; }
.p-hero .lead { color: var(--on-dark); }
.p-hero .ticks { color: #DCE4F1; }
.p-hero .ticks li::before { color: var(--brand); }
.p-hero .crumbs { color: var(--on-dark-2); }
.p-hero .crumbs a:hover { color: #fff; }
.p-hero .p-tag { background: rgba(255, 255, 255, .06); border-color: var(--navy-line); color: #DCE4F1; }
.p-hero .p-tag .en { color: var(--on-dark-2); }

.section.dark { background: var(--navy); color: #fff; border-block: 0; }
.section.dark .sec-num { color: var(--brand); }
.section.dark .sec-head p { color: var(--on-dark); }
.section.dark .flow-step { background: var(--navy-2); border-color: var(--navy-line); }
.section.dark .flow-step .n { background: rgba(19, 212, 255, .12); color: #8DE9FF; }
.section.dark .flow-step p { color: var(--on-dark); }

.footer { background: var(--navy); color: var(--on-dark-2); border-top: 1px solid var(--navy-line); }
.footer .logo { color: #fff; }

/* ---------- more dark: nav, tour band, contact band ---------- */
.nav { background: rgba(8, 13, 26, .94); border-bottom-color: var(--navy-line); }
.nav .logo { color: #fff; }
.nav-links { color: #E6ECF5; }
.nav-links a:hover { color: #fff; background: rgba(255, 255, 255, .07); }
.nav-links a.active { color: #fff; background: rgba(19, 212, 255, .14); box-shadow: inset 0 0 0 1px rgba(19, 212, 255, .45); }
.nav-burger { background: transparent; border-color: rgba(255, 255, 255, .25); color: #fff; }
@media (max-width: 1000px) { .nav-links { background: var(--navy); border-bottom-color: var(--navy-line); } }

.tour { background: #060A14; border-block: 0; }
.tour .sec-head h2 { color: #fff; }
.tour .sec-num { color: var(--brand); }
.tour .sec-head p { color: var(--on-dark); }
.tour .tour-shell { border-color: rgba(255, 255, 255, .12); box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .7); }

.ink-block { background: var(--navy); padding: 104px 0 88px; border-bottom: 1px solid var(--navy-line); }
.ink-inner { background: var(--navy-2); border: 1px solid var(--navy-line); }
.ink-block + .footer { border-top: 0; }
@media (max-width: 900px) { .ink-block { padding: 64px 0; } }

/* ---------- security band (home) ---------- */
.trust-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr); gap: 56px; align-items: center; }
.trust-copy .sec-num { margin-bottom: 10px; }
.trust-copy h2 { font-size: clamp(28px, 3.4vw, 42px); letter-spacing: -.01em; }
.trust-copy p { color: var(--muted); font-size: 18px; margin: 14px 0 26px; }
.trust-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.trust-item { padding: 24px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.trust-item .bi { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--primary-soft); color: var(--primary); font-size: 21px; margin-bottom: 14px; }
.trust-item h3 { font-size: 18px; margin-bottom: 6px; }
.trust-item p { color: var(--muted); font-size: 15px; line-height: 1.7; }
@media (max-width: 900px) { .trust-grid { grid-template-columns: 1fr; gap: 36px; } }
@media (max-width: 560px) { .trust-list { grid-template-columns: 1fr; } }

/* ---------- legal pages ---------- */
.legal-hero { background: var(--navy); color: #fff; padding: 56px 0 64px; }
.legal-hero .crumbs { color: var(--on-dark-2); margin-bottom: 24px; }
.legal-hero .crumbs a:hover { color: #fff; }
.legal-hero h1 { font-size: clamp(30px, 3.6vw, 44px); }
.legal-hero p { color: var(--on-dark); margin-top: 10px; font-size: 16px; }
.legal { padding: 64px 0 96px; }
.legal-body { max-width: 780px; }
.legal-body h2 { font-size: 23px; margin: 44px 0 12px; display: flex; align-items: center; gap: 12px; }
.legal-body h2::before { content: ""; width: 4px; height: 20px; border-radius: 2px; background: var(--primary); flex: none; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body p, .legal-body li { color: var(--text-2); font-size: 17px; }
.legal-body p + p, .legal-body ul + p { margin-top: 12px; }
.legal-body ul { margin: 10px 0 0; padding-inline-start: 22px; display: grid; gap: 8px; }
.legal-body a { color: var(--primary); font-weight: 600; }
.legal-note { margin-top: 48px; padding: 20px 24px; background: var(--bg-alt); border: 1px solid var(--border); border-radius: 14px; color: var(--muted); font-size: 15.5px; }


/* ---------- clients strip (home) ---------- */
.clients { padding: 64px 0 72px; background: var(--bg); border-bottom: 1px solid var(--border); overflow: hidden; }
.clients-head { text-align: center; margin-bottom: 36px; }
.clients-head h2 { font-size: clamp(24px, 2.6vw, 30px); }
.clients-head p { color: var(--muted); margin-top: 8px; font-size: 17px; }
.clients-marquee { direction: ltr; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.clients-track { list-style: none; margin: 0; padding: 4px 0; display: flex; gap: 18px; width: max-content; animation: clients-scroll 70s linear infinite; }
.clients-marquee:hover .clients-track { animation-play-state: paused; }
.clients-track li { flex: none; display: grid; place-items: center; width: 184px; height: 104px; padding: 16px 22px; background: #fff; border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; }
.clients-track img { max-width: 100%; max-height: 68px; width: auto; height: auto; object-fit: contain; transition: transform .25s var(--ease), filter .25s; }
.clients-track li:hover { transform: translateY(-4px); border-color: rgba(0, 114, 175, .45); box-shadow: 0 0 0 4px rgba(19, 212, 255, .14), 0 16px 32px -12px rgba(0, 114, 175, .35); }
.clients-track li:hover img { transform: scale(1.07); filter: brightness(1.08) saturate(1.2); }
.clients-marquee { padding-block: 10px; }
.clients-track .text-logo { direction: rtl; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 0; text-align: center; color: #000; line-height: 1.25; }
.text-logo span { transition: transform .25s var(--ease); }
.text-logo .tl-en { direction: ltr; font-weight: 700; font-size: 19px; letter-spacing: .01em; }
.text-logo .tl-ar { font-weight: 700; font-size: 15px; }
.text-logo .tl-sub { font-size: 11.5px; color: var(--muted); margin-top: 3px; }
.clients-track .text-logo:hover span { transform: scale(1.07); }
@media (max-width: 640px) { .text-logo .tl-en { font-size: 16px; } .text-logo .tl-ar { font-size: 13px; } .text-logo .tl-sub { font-size: 10.5px; } }
@keyframes clients-scroll { to { transform: translateX(calc(-50% - 9px)); } }
@media (max-width: 640px) { .clients { padding: 48px 0 56px; } .clients-track li { width: 148px; height: 88px; padding: 12px 16px; } .clients-track img { max-height: 56px; } }
@media (prefers-reduced-motion: reduce) {
  .clients-marquee { -webkit-mask-image: none; mask-image: none; }
  .clients-track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; padding-inline: 16px; }
  .clients-track li[aria-hidden] { display: none; }
}

/* ---------- client logo lightbox ---------- */
.clients-track li { cursor: zoom-in; }
.clients-track li:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; }
.logo-box { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 24px; background: rgba(8, 20, 39, .72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
.logo-box.open { opacity: 1; visibility: visible; }
.logo-box-card { position: relative; width: min(640px, 100%); background: #fff; border-radius: 22px; padding: 56px 40px 32px; box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .6); text-align: center; transform: scale(.92); transition: transform .3s var(--ease); }
.logo-box.open .logo-box-card { transform: none; }
.logo-box-art { display: grid; place-items: center; min-height: 220px; }
.logo-box-art img { max-width: 100%; max-height: 52vh; width: auto; height: auto; object-fit: contain; }
.logo-box-name { margin-top: 20px; font-weight: 700; font-size: 18px; color: var(--text); }
.logo-box-name:empty { display: none; }
.logo-box-x { position: absolute; top: 14px; inset-inline-end: 14px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border-2); background: #fff; color: var(--text); font-size: 16px; display: grid; place-items: center; cursor: pointer; }
.logo-box-x:hover { background: var(--bg-alt); }
.logo-box-text { list-style: none; display: flex; flex-direction: column; align-items: center; color: #000; line-height: 1.3; }
.logo-box-text .tl-en { font-size: 46px; }
.logo-box-text .tl-ar { font-size: 34px; }
.logo-box-text .tl-sub { font-size: 22px; margin-top: 8px; }
body.logo-box-lock { overflow: hidden; }
@media (max-width: 640px) { .logo-box-card { padding: 52px 20px 24px; } .logo-box-art { min-height: 160px; } .logo-box-text .tl-en { font-size: 32px; } .logo-box-text .tl-ar { font-size: 24px; } .logo-box-text .tl-sub { font-size: 16px; } }

/* ---------- program card covers ---------- */
.cat-shot { overflow: hidden; }
.cat-shot img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.cat-card:hover .cat-shot img { transform: scale(1.04); }
@media (prefers-reduced-motion: reduce) { .cat-card:hover .cat-shot img { transform: none; } }

/* ---------- footer social ---------- */
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-size: 17px; color: #fff; background: rgba(255, 255, 255, .08); border: 1px solid var(--navy-line); transition: background .2s, transform .2s; }
.footer-social a:hover { transform: translateY(-2px); }
.footer-social a[data-fb]:hover { background: #1877F2; }
.footer-social a[data-wa]:hover { background: var(--wa); }

/* ---------- floating WhatsApp ---------- */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 90; display: inline-flex; align-items: center; gap: 0; height: 60px; padding: 0 17px; border-radius: 30px; background: #25D366; color: #fff; font-weight: 700; font-size: 16px; box-shadow: 0 10px 28px -6px rgba(16, 24, 40, .45); transition: gap .3s var(--ease), padding .3s var(--ease), transform .2s; }
.wa-float .bi { font-size: 27px; line-height: 1; }
.wa-float span { max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width .3s var(--ease); }
.wa-float:hover { gap: 10px; padding: 0 22px 0 18px; transform: translateY(-2px); }
.wa-float:hover span { max-width: 140px; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: #25D366; z-index: -1; animation: wa-pulse 2.4s ease-out infinite; }
@keyframes wa-pulse { 0% { transform: scale(1); opacity: .55; } 70%, 100% { transform: scale(1.45); opacity: 0; } }
@media (max-width: 640px) { .wa-float { right: 16px; bottom: 16px; height: 56px; padding: 0 15px; } .wa-float .bi { font-size: 25px; } }
@media (prefers-reduced-motion: reduce) { .wa-float::before { animation: none; } }
body.logo-box-lock .wa-float { display: none; }
@media (max-width: 640px) { .footer { padding-bottom: 96px; } }

/* ---------- 404 ---------- */
.nf { background: radial-gradient(600px 400px at 85% 0%, rgba(225, 5, 138, .14), transparent 70%), radial-gradient(600px 400px at 10% 100%, rgba(19, 212, 255, .14), transparent 70%), var(--navy); color: #fff; padding: 96px 0 112px; text-align: center; }
.nf-inner { display: flex; flex-direction: column; align-items: center; }
.nf-code { display: flex; align-items: center; gap: 12px; direction: ltr; font-family: 'Montserrat', var(--font); font-weight: 800; font-size: clamp(96px, 16vw, 168px); line-height: 1; }
.nf-code img { width: clamp(84px, 13vw, 132px); height: auto; }
.nf h1 { margin-top: 28px; font-size: clamp(28px, 3.6vw, 42px); }
.nf p { margin-top: 12px; color: var(--on-dark); font-size: 18px; max-width: 46ch; }
.nf-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 32px 0 36px; }
.nf-links a { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--navy-line); background: rgba(255, 255, 255, .05); color: #E6ECF5; font-size: 15px; font-weight: 600; transition: background .2s, border-color .2s; }
.nf-links a:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .3); }
.nf .btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .28); box-shadow: none; }
.nf .btn-ghost:hover { border-color: #fff; }

/* ---------- demo request form (home) ---------- */
.ink-inner--form { grid-template-columns: minmax(0, 1fr) minmax(0, 460px); align-items: start; }
.ink-link { margin-top: 22px; color: #13D4FF; }
.lead-form { display: grid; gap: 14px; background: rgba(255, 255, 255, .04); border: 1px solid var(--navy-line); border-radius: 18px; padding: 24px; }
.lead-form label { display: grid; gap: 6px; font-size: 14.5px; font-weight: 600; color: #DCE4F1; }
.lead-form input, .lead-form select { width: 100%; height: 48px; padding: 0 14px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .06); color: #fff; font: inherit; font-size: 16px; transition: border-color .2s, background .2s; }
.lead-form select option { color: var(--text); }
.lead-form input:focus, .lead-form select:focus { outline: none; border-color: #13D4FF; background: rgba(255, 255, 255, .09); box-shadow: 0 0 0 3px rgba(19, 212, 255, .18); }
.lead-form [aria-invalid="true"] { border-color: #FB7185; }
.lead-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lead-form .btn { width: 100%; margin-top: 4px; }
.lead-err { color: #FECDD3; font-size: 14.5px; }
.lead-note { color: var(--on-dark-2); font-size: 13.5px; text-align: center; }
@media (max-width: 900px) { .ink-inner--form { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .lead-row { grid-template-columns: 1fr; } .lead-form { padding: 18px; } }
