/* =========================================================
   EMD premium polish (UI/UX Pro Max pass)
   - editorial serif accents (EN) against the geometric sans
   - liquid-glass surfaces with gradient hairline borders
   - glass eyebrow pills, glowing primary CTA
   - trust strip (social proof above the fold)
   ========================================================= */
@property --ang { syntax: "<angle>"; initial-value: 0deg; inherits: false; }

/* ---------- editorial serif accents (English) ---------- */
html[lang="en"] .h-xl em,
html[lang="en"] .st-title em,
html[lang="en"] #whyTitle em {
  font-family: "Instrument Serif", Georgia, serif; font-style: italic; font-weight: 400; letter-spacing: -.01em; font-size: 1.08em; padding-inline-end: .06em;
}
html[lang="en"] .line--grad .split { font-family: "Instrument Serif", Georgia, serif; font-style: italic; font-weight: 400; letter-spacing: -.02em; font-size: 1.14em; }
html[lang="en"] .about__statement { font-family: "Instrument Serif", Georgia, serif; font-weight: 400; font-size: clamp(30px, 3.5vw, 56px); line-height: 1.16; letter-spacing: -.01em; max-width: 30ch; }
html[lang="en"] .contact__title, html[lang="en"] .hero__dive p { letter-spacing: -.035em; }
html[lang="en"] .sb-word { font-family: "Instrument Serif", Georgia, serif; font-style: italic; font-weight: 400; letter-spacing: -.01em; font-size: 1.12em; }
/* Arabic keeps Alexandria; emphasis stays as gradient for legibility */

/* ---------- liquid-glass surfaces with gradient hairlines ---------- */
.vm__card, .stat, .form, .bx, .spot-band__inner, .jstep__card {
  border: 1px solid transparent !important;
  background:
    linear-gradient(160deg, #141b52, #080a24) padding-box,
    linear-gradient(140deg, rgba(255,255,255,.34), rgba(255,255,255,.04) 38%, rgba(25,181,240,.08) 62%, rgba(210,87,122,.34)) border-box !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 30px 70px -40px rgba(0,0,0,.9);
}
.spot-band__inner { background:
    linear-gradient(150deg, #17256e, #080a22 55%) padding-box,
    linear-gradient(120deg, rgba(255,255,255,.4), rgba(255,255,255,.04) 30%, rgba(25,181,240,.15) 70%, rgba(210,87,122,.45)) border-box !important; }
.nav.is-scrolled {
  background: linear-gradient(180deg, rgba(14,18,56,.97), rgba(8,10,34,.95)) padding-box, linear-gradient(90deg, rgba(255,255,255,.22), rgba(255,255,255,.04) 50%, rgba(25,181,240,.3)) border-box;
  border: 1px solid transparent; box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 20px 50px -30px rgba(0,0,0,.9);
}

/* ---------- glass eyebrow pills ---------- */
.eyebrow { padding: 8px 16px 8px 12px; border-radius: 999px; background: rgba(255,255,255,.035); border: 1px solid rgba(160,175,255,.16); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: #c6cdf0; }
html[dir="rtl"] .eyebrow { padding: 8px 12px 8px 16px; }
.hero__eyebrow, .st-center .eyebrow { background: rgba(25,181,240,.08); border-color: rgba(25,181,240,.3); }

/* ---------- primary CTA: rotating light rim ---------- */
.btn--primary { isolation: isolate; }
.btn--primary::before { content: ""; position: absolute; inset: -2px; z-index: -2; border-radius: inherit; padding: 2px;
  background: conic-gradient(from var(--ang), transparent 0 70%, rgba(255,255,255,.9) 80%, #19b5f0 88%, transparent 96%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  animation: rim 3.2s linear infinite; opacity: .9; }
@keyframes rim { to { --ang: 360deg; } }
.btn--ghost { background: linear-gradient(#0f1444, #0a0d33) padding-box, linear-gradient(120deg, rgba(255,255,255,.4), rgba(255,255,255,.08)) border-box; border: 1px solid transparent; }

/* ---------- section rhythm & headings ---------- */
.h-xl { text-wrap: balance; }
.sec-head { margin-bottom: 30px; }
.sec-num { background: rgba(25,181,240,.06); }
.work__item, .about__media, .st-card { outline: 1px solid rgba(255,255,255,.08); outline-offset: -1px; }

/* ---------- trust strip (social proof above the fold) ---------- */
.trust { width: var(--wrap); margin: clamp(26px, 3vw, 40px) auto 0; display: flex; align-items: center; gap: clamp(16px, 2.4vw, 40px); }
.trust__lead { flex: none; display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 14px; max-width: 250px; line-height: 1.4; }
.trust__lead b { font-family: "Syne", sans-serif; font-size: 30px; line-height: 1; color: #fff; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.trust__logos { flex: 1; min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: clamp(14px, 2vw, 34px); overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.trust__logos img { height: clamp(30px, 3vw, 42px); width: auto; max-width: 110px; object-fit: contain; filter: grayscale(1) brightness(0) invert(1); opacity: .55; transition: opacity .3s, filter .3s, transform .4s var(--ease); }
.trust__logos img:hover { opacity: 1; filter: none; transform: scale(1.06); }
.trust__more { flex: none; font-size: 13px; color: var(--cyan); white-space: nowrap; }
.trust__more:hover { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 900px) { .trust { flex-direction: column; align-items: flex-start; } .trust__lead { max-width: none; } .trust__logos { width: 100%; justify-content: flex-start; } }

/* ---------- chapter mini-CTA ---------- */
.mini-cta { display: flex; justify-content: center; margin-top: clamp(28px, 3vw, 44px); }

@media (prefers-reduced-motion: reduce) { .btn--primary::before { animation: none; } }

/* =========================================================
   Landing premium pass 2: hero silk line, creds, FAQ, footer
   ========================================================= */
/* hero line 3: solid silk gradient instead of outline */
.line--outline .split { color: transparent !important; -webkit-text-stroke: 0 !important; background: none !important; }
.line--outline .split .ch, .line--outline .split .w { color: transparent; background: linear-gradient(180deg, #ffffff 10%, #b9c6ff 70%, #8fa2ea); -webkit-background-clip: text; background-clip: text; }
html[lang="en"] .line--outline .split .w { background: none; }
html[lang="en"] .hero__title .line:first-child .split { letter-spacing: -.05em; }

/* credential chips */
.hero__creds { list-style: none; margin: clamp(22px, 2.6vw, 34px) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.hero__creds li { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 16px 8px 12px; border-radius: 999px;
  background: linear-gradient(#0e1342, #0a0d30) padding-box, linear-gradient(120deg, rgba(255,255,255,.3), rgba(255,255,255,.04) 50%, rgba(25,181,240,.35)) border-box; border: 1px solid transparent; font-size: 13.5px; color: #cdd4f5; }
html[dir="rtl"] .hero__creds li { padding: 8px 12px 8px 16px; }
.hero__creds b { font-family: "Syne", sans-serif; font-size: 18px; color: #fff; }
.hero__creds-loc svg { width: 18px; height: 18px; fill: none; stroke: var(--rose); stroke-width: 2; }
@media (max-width: 720px) { .hero__creds li:nth-child(n+3):not(.hero__creds-loc) { display: none; } }

/* FAQ */
.faq { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 6vw, 100px); align-items: start; padding: clamp(100px, 12vw, 180px) 0 clamp(40px, 6vw, 80px); }
.faq__side { position: sticky; top: 120px; }
.faq__side .h-xl { margin-bottom: 30px; }
.faq__help { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; padding: 18px; border-radius: 20px;
  background: linear-gradient(160deg, #141b52, #080a24) padding-box, linear-gradient(140deg, rgba(255,255,255,.3), rgba(255,255,255,.04) 45%, rgba(210,87,122,.4)) border-box; border: 1px solid transparent; }
.faq__help-ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: rgba(25,163,90,.16); }
.faq__help-ic svg { width: 22px; height: 22px; fill: none; stroke: #3ddc97; stroke-width: 2; }
.faq__help b { display: block; font-size: 15.5px; }
.faq__help p { margin: 2px 0 0; color: var(--muted); font-size: 14px; }
.faq__list { display: grid; gap: 12px; }
.faq__item { border-radius: 20px; transition: background-color .4s, box-shadow .5s;
  background: linear-gradient(160deg, #10153f, #090b26) padding-box, linear-gradient(140deg, rgba(255,255,255,.16), rgba(255,255,255,.03) 50%, rgba(25,181,240,.18)) border-box; border: 1px solid transparent; }
.faq__item.is-open { background: linear-gradient(160deg, #16206a, #0a0d2e) padding-box, linear-gradient(140deg, rgba(255,255,255,.4), rgba(255,255,255,.05) 45%, rgba(25,181,240,.5)) border-box; box-shadow: 0 30px 70px -40px rgba(25,181,240,.55); }
.faq__q { margin: 0; }
.faq__q button { width: 100%; display: flex; align-items: center; gap: 16px; padding: 22px 22px; min-height: 64px; text-align: start; font: inherit; color: #fff; cursor: pointer; }
.faq__n { font-family: "Syne", sans-serif; font-size: 12px; color: var(--cyan); padding: 5px 9px; border-radius: 999px; border: 1px solid rgba(25,181,240,.35); flex: none; }
.faq__t { flex: 1; font-family: var(--f-display); font-size: clamp(17px, 1.4vw, 21px); font-weight: 600; line-height: 1.35; }
.faq__ic { position: relative; flex: none; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.06); transition: background-color .4s, transform .5s var(--ease); }
.faq__ic::before, .faq__ic::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: #fff; border-radius: 2px; transition: transform .5s var(--ease); }
.faq__ic::after { transform: rotate(90deg); }
.faq__item.is-open .faq__ic { background: var(--grad-btn); transform: rotate(180deg); }
.faq__item.is-open .faq__ic::after { transform: rotate(0); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease); }
.faq__a > div { overflow: hidden; }
.faq__a p { margin: 0; padding: 0 22px 24px calc(22px + 16px + 38px); color: #c4cbee; font-size: 15.5px; line-height: 1.7; max-width: 60ch; }
html[dir="rtl"] .faq__a p { padding: 0 calc(22px + 16px + 38px) 24px 22px; }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
@media (max-width: 900px) { .faq { grid-template-columns: 1fr; } .faq__side { position: static; } .faq__a p { padding: 0 20px 22px; } html[dir="rtl"] .faq__a p { padding: 0 20px 22px; } }
@media (max-width: 520px) { .faq__help { grid-template-columns: auto 1fr; } .faq__help .btn { grid-column: 1 / -1; } }

/* footer finish */
.footer__profile { color: var(--cyan) !important; }
.totop--orb { width: 56px; height: 56px; border-radius: 50%; display: inline-grid; place-items: center; background: linear-gradient(#0f1444, #0a0d33) padding-box, linear-gradient(140deg, rgba(255,255,255,.4), rgba(25,181,240,.5)) border-box; border: 1px solid transparent; transition: background .3s; }
.totop--orb svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .5s var(--ease); }
.totop--orb:hover svg { transform: translateY(-4px); }
@media (prefers-reduced-motion: reduce) { .faq__a, .faq__ic, .faq__ic::after { transition: none; } }

/* =========================================================
   About v2 — statement + lead + pillars | photo collage | stats
   ========================================================= */
.about__top { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(36px, 5vw, 90px); align-items: center; margin-bottom: clamp(40px, 5vw, 70px); }
.about__copy { min-width: 0; }
.about .about__statement { margin: 0 0 24px; max-width: 22ch; font-size: clamp(30px, 3.4vw, 54px); line-height: 1.12; }
html[lang="en"] .about .about__statement { font-family: "Instrument Serif", Georgia, serif; font-weight: 400; letter-spacing: -.012em; }
html[lang="ar"] .about .about__statement { font-family: var(--f-display); font-weight: 600; line-height: 1.45; max-width: 20ch; font-size: clamp(28px, 3vw, 46px); }
.about__lead { margin: 0 0 30px; max-width: 54ch; color: #c2c9ec; font-size: clamp(16px, 1.15vw, 18px); line-height: 1.75; }
.about__pillars { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.about__pillars li { display: flex; align-items: flex-start; gap: 16px; padding: 16px 18px; border-radius: 18px;
  background: linear-gradient(160deg, #121848, #080a24) padding-box, linear-gradient(130deg, rgba(255,255,255,.22), rgba(255,255,255,.03) 50%, rgba(25,181,240,.3)) border-box; border: 1px solid transparent;
  transition: transform .5s var(--ease); }
.about__pillars li:hover { transform: translateX(6px); }
html[dir="rtl"] .about__pillars li:hover { transform: translateX(-6px); }
.ap__ic { flex: none; width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: var(--grad-btn); box-shadow: 0 10px 26px -10px rgba(25,181,240,.7); }
.ap__ic svg { width: 21px; height: 21px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.about__pillars b { display: block; font-family: var(--f-display); font-size: 17px; margin-bottom: 2px; }
.about__pillars p { margin: 0; color: var(--muted); font-size: 14.5px; }

.about__visual { position: relative; padding-bottom: 70px; }
.about__top .about__media { min-height: 0; aspect-ratio: 4 / 5; border-radius: 28px; }
.about__top .about__media img { height: 112%; object-position: 50% 40%; }
.about__media::after { background: linear-gradient(180deg, transparent 45%, rgba(5,6,26,.75)); }
.about__chip { gap: 8px; }
.about__pin { width: 17px; height: 17px; fill: none; stroke: var(--rose); stroke-width: 2; }
.about__media2 { position: absolute; z-index: 3; bottom: 0; inset-inline-start: -8%; width: 52%; aspect-ratio: 4 / 3; margin: 0; border-radius: 22px; overflow: hidden;
  border: 4px solid #0b0e30; box-shadow: 0 30px 60px -20px rgba(0,0,0,.85), 0 0 0 1px rgba(255,255,255,.12); will-change: transform; }
.about__media2 img { width: 100%; height: 100%; object-fit: cover; }
.about > .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1080px) {
  .about__top { grid-template-columns: 1fr; }
  .about__visual { max-width: 560px; }
}
@media (max-width: 720px) {
  .about > .stats { grid-template-columns: 1fr 1fr; }
  .about__media2 { inset-inline-start: auto; inset-inline-end: -4%; width: 50%; }
  .about .about__statement { max-width: none; }
}
