/* نقله — ألوان الهوية من دليل العلامة */
:root {
  --night: #141833;
  --raised: #1E2347;
  --line: #2E3466;
  --ink: #FFFFFF;
  --muted: #B9B6E0;
  --orange: #FF6B1A;
  --on-orange: #141833;
  --lav: #A9A3FF;
  --dusk: #6D6BAD;

  --r-sm: 8px;
  --r-md: 16px;
  --r-pill: 999px;

  --ease: cubic-bezier(.215, .61, .355, 1);   /* power3.out */
  --ease-io: cubic-bezier(.645, .045, .355, 1);
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1240px;
  --head-h: 92px;
  --p: 0;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--night);
  color: var(--ink);
  font-family: "Cairo", "Noto Kufi Arabic", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  font-feature-settings: "tnum" 1;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
/* حبيبات خفيفة فوق الصفحة */
body::after {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--lav); color: var(--night); }
:focus-visible { outline: 2px solid var(--lav); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.lav { color: var(--lav); }

/* ===== عناصر مشتقة من الشعار ===== */
.dia {
  display: inline-block; width: 10px; height: 10px;
  background: var(--orange); border-radius: 2px; transform: rotate(45deg);
  flex: none;
}
.speed { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.speed i { display: block; height: 5px; border-radius: var(--r-pill); background: var(--dusk); width: 16px; }
.speed i:nth-child(2) { background: var(--lav); width: 28px; margin-inline-end: 0; }
.speed i:nth-child(1), .speed i:nth-child(3) { margin-inline-start: 6px; }

/* ===== الأزرار ===== */
.btn {
  --h: 54px;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding-inline: 26px;
  border-radius: var(--r-pill);
  font-weight: 800; font-size: 16px; line-height: 1;
  white-space: nowrap;
  transition: transform .5s var(--ease), background-color .3s, border-color .3s, color .3s;
}
.btn .ico { width: 20px; height: 20px; }
.btn--orange { background: var(--orange); color: var(--on-orange); }
.btn--orange:hover { transform: translateX(-4px); }
.btn--ghost { border: 1.5px solid var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: var(--lav); color: var(--lav); }
.btn--sm { --h: 42px; padding-inline: 20px; font-size: 14px; }
.btn--lg { --h: 68px; padding-inline: 38px; font-size: 19px; }
.btn--lg .ico { width: 24px; height: 24px; }
/* خطوط السرعة تمتد خلف زر الختام (خلفه = يمينه، لأن الحركة نحو اليسار) */
.btn__speed {
  position: absolute; inset-inline-start: calc(100% + 14px); top: 50%;
  transform: translateY(-50%);
  display: flex; flex-direction: column; align-items: flex-end; gap: 6px;
  pointer-events: none;
}
.btn__speed i { display: block; height: 8px; border-radius: 99px; background: var(--dusk); width: 34px; transform: scaleX(0); transform-origin: left center; transition: transform .7s var(--ease); }
.btn__speed i:nth-child(2) { background: var(--lav); width: 58px; transition-delay: .06s; }
.btn__speed i:nth-child(3) { transition-delay: .12s; }
.btn--lg:hover .btn__speed i, .final__cta.is-in .btn__speed i { transform: scaleX(1); }

/* ===== الشريط العلوي ===== */
.top {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  background: color-mix(in srgb, var(--night) 82%, transparent);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.top__bar { height: 66px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 900; font-size: 22px; }
.brand img { width: 40px; height: 40px; }
.nav { display: flex; gap: 30px; }
.nav a { display: inline-flex; align-items: baseline; gap: 6px; font-weight: 600; color: var(--muted); transition: color .3s; }
.nav a i { font-style: normal; font-size: 12px; color: var(--dusk); }
.nav a:hover, .nav a.is-active { color: var(--ink); }
.nav a.is-active i { color: var(--lav); }

/* مسطرة الخط الزمني */
.ruler { position: relative; height: 26px; border-top: 1px solid var(--line); overflow: hidden; }
.ruler__ticks {
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(to left, var(--dusk) 0 1px, transparent 1px 80px) right bottom / 100% 12px no-repeat,
    repeating-linear-gradient(to left, var(--line) 0 1px, transparent 1px 16px) right bottom / 100% 6px no-repeat;
  opacity: .9;
}
.ruler__head {
  position: absolute; top: 0; bottom: 0;
  right: calc(var(--p) * 100%);
  width: 0;
  transition: right .15s linear;
}
.ruler__head::before { content: ""; position: absolute; top: 0; bottom: 0; right: -1px; width: 2px; background: var(--orange); }
.ruler__head span { position: absolute; top: 3px; right: -6px; width: 12px; height: 12px; background: var(--orange); border-radius: 3px; transform: rotate(45deg); }
.ruler__head::after { content: ""; position: absolute; top: 0; bottom: 0; right: 0; width: 100vw; transform: translateX(100%); background: color-mix(in srgb, var(--lav) 9%, transparent); }
.ruler__tc {
  position: absolute; left: var(--gutter); top: 50%; transform: translateY(-50%);
  direction: ltr; display: flex; gap: 6px; align-items: baseline;
  font-size: 11px; letter-spacing: .06em; color: var(--dusk);
  background: var(--night); padding-inline: 8px;
}
.ruler__tc b { color: var(--lav); font-weight: 700; }

/* ===== المقدمة ===== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  padding-top: calc(var(--head-h) + 32px); padding-bottom: 80px;
  overflow: hidden;
  isolation: isolate;
}
.hero__glow {
  position: absolute; z-index: -1;
  width: 70vmax; height: 70vmax; left: -18vmax; top: -10vmax;
  background: radial-gradient(closest-side, rgba(169,163,255,.20), rgba(109,107,173,.08) 55%, transparent 72%);
  transform: translate3d(var(--mx, 0px), var(--my, 0px), 0);
  transition: transform 1.2s var(--ease);
}
.hero__ghost {
  position: absolute; z-index: -1;
  width: 54vmax; aspect-ratio: 1; left: -10vmax; top: 50%;
  border: 1.5px solid var(--line); border-radius: 9%;
  transform: translate3d(calc(var(--mx, 0px) * -.6), calc(-50% + var(--my, 0px) * -.6), 0) rotate(45deg);
  transition: transform 1.4s var(--ease);
  opacity: .7;
}
.hero__grid { display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: clamp(24px, 5vw, 80px); }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; font-size: 15px; color: var(--muted); }
.hero__title {
  margin-top: 22px;
  font-weight: 900; font-size: clamp(3rem, 6.3vw, 6.4rem); line-height: 1.12;
  letter-spacing: -.01em;
}
.hero__title .line { display: block; overflow: hidden; padding: .04em 0 .24em; margin-bottom: -.18em; }
.hero__title .in { display: inline-block; transform: translateX(28%); opacity: 0; }
.is-loaded .hero__title .in { transform: none; opacity: 1; transition: transform 1s var(--ease), opacity .9s var(--ease); }
.is-loaded .hero__title .line:nth-child(2) .in { transition-delay: .12s; }
.hero__title .k { color: var(--lav); white-space: nowrap; }
.hero__lead { margin-top: 22px; max-width: 34ch; font-size: clamp(17px, 1.6vw, 21px); color: var(--muted); font-weight: 600; }
.hero__cta { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero__meta { margin-top: 46px; display: flex; flex-wrap: wrap; gap: 0; border-top: 1px solid var(--line); }
.hero__meta li { padding: 16px 0 0; padding-inline-end: 28px; margin-inline-end: 28px; border-inline-end: 1px solid var(--line); display: flex; flex-direction: column; line-height: 1.3; }
.hero__meta li:last-child { border: 0; margin: 0; padding-inline-end: 0; }
.hero__meta b { font-size: 20px; font-weight: 800; }
.hero__meta span { font-size: 13px; color: var(--muted); }

.hero__text > * { opacity: 0; transform: translateX(32px); }
.is-loaded .hero__text > * { opacity: 1; transform: none; transition: opacity .9s var(--ease), transform 1s var(--ease); }
.is-loaded .hero__text > :nth-child(1) { transition-delay: .05s; }
.is-loaded .hero__text > :nth-child(2) { opacity: 1; transform: none; }
.is-loaded .hero__text > :nth-child(3) { transition-delay: .35s; }
.is-loaded .hero__text > :nth-child(4) { transition-delay: .45s; }
.is-loaded .hero__text > :nth-child(5) { transition-delay: .55s; }

.hero__mark { position: relative; aspect-ratio: 1; display: grid; place-items: center; }
.hero__mark .mark { width: 82%; overflow: visible; }
.hero__frame {
  position: absolute; inset: 4%;
  border: 1px solid var(--line); border-radius: var(--r-md);
  display: flex; justify-content: space-between; align-items: flex-start;
  padding: 14px 16px; font-size: 12px; letter-spacing: .08em; color: var(--dusk); direction: ltr;
}
.hero__frame::before, .hero__frame::after {
  content: ""; position: absolute; width: 18px; height: 18px; border-color: var(--lav); border-style: solid; opacity: .8;
}
.hero__frame::before { right: -1px; bottom: -1px; border-width: 0 2px 2px 0; border-radius: 0 0 var(--r-md) 0; }
.hero__frame::after { left: -1px; bottom: -1px; border-width: 0 0 2px 2px; border-radius: 0 0 0 var(--r-md); }

/* حركة الشعار المعتمدة: المعين يدخل من اليمين، ثم تمتد خطوط السرعة خلفه */
.mark__dia { transform-box: fill-box; transform-origin: center; }
.mark__ln { transform-box: fill-box; transform-origin: left center; }
.hero .mark__dia { transform: translateX(140%); opacity: 0; }
.hero .mark__ln { transform: scaleX(0); }
.is-loaded .hero .mark__dia { transform: none; opacity: 1; transition: transform 1.1s var(--ease) .25s, opacity .6s var(--ease) .25s; }
.is-loaded .hero .mark__ln { transform: scaleX(1); transition: transform .9s var(--ease); }
.is-loaded .hero .mark__ln--2 { transition-delay: 1.05s; }
.is-loaded .hero .mark__ln--1 { transition-delay: 1.15s; }
.is-loaded .hero .mark__ln--3 { transition-delay: 1.22s; }
.hero__mark .mark { transform: translate3d(calc(var(--mx, 0px) * .25), calc(var(--my, 0px) * .25), 0); transition: transform 1.2s var(--ease); }

.scroll-hint { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); width: 26px; height: 42px; border: 1.5px solid var(--line); border-radius: 99px; }
.scroll-hint span { position: absolute; top: 8px; left: 50%; width: 6px; height: 6px; margin-left: -3px; background: var(--lav); border-radius: 1.5px; transform: rotate(45deg); animation: hint 2.4s var(--ease) infinite; }
@keyframes hint { 0% { transform: translateY(0) rotate(45deg); opacity: 0; } 25% { opacity: 1; } 80% { transform: translateY(16px) rotate(45deg); opacity: 0; } 100% { opacity: 0; } }

/* ===== رؤوس الأقسام ===== */
.section { position: relative; padding-block: clamp(80px, 12vw, 150px); }
.sec-head { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; }
.sec-head .tc { direction: ltr; font-size: 13px; letter-spacing: .08em; color: var(--lav); font-weight: 700; padding: 4px 12px; border: 1px solid var(--line); border-radius: var(--r-pill); }
.sec-label { font-size: 15px; font-weight: 700; color: var(--muted); }
.sec-title { font-size: clamp(2rem, 5.2vw, 4.2rem); font-weight: 900; line-height: 1.2; max-width: 18ch; }
.sec-note { margin-top: 16px; color: var(--muted); font-size: 15px; max-width: 60ch; }

/* ===== الظهور عند التمرير: من اليمين نحو اليسار ===== */
[data-reveal] { opacity: 0; transform: translateX(40px); transition: opacity .9s var(--ease), transform 1s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }

/* ===== النبذة ===== */
.about { border-top: 1px solid var(--line); }
.about__text { font-size: clamp(1.7rem, 4.4vw, 3.6rem); font-weight: 800; line-height: 1.45; max-width: 26ch; }
.about__text .w { color: var(--ink); opacity: calc(.16 + var(--o, 0) * .84); transition: opacity .25s linear; }

/* ===== الخدمات ===== */
.cards { margin-top: 56px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card {
  position: relative; overflow: hidden;
  background: var(--raised); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 30px 28px 32px;
  display: flex; flex-direction: column; gap: 14px;
  transition: border-color .4s, transform .6s var(--ease);
}
.card:hover { border-color: var(--dusk); transform: translateY(-4px); }
.card__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; }
.num { direction: ltr; font-size: 14px; font-weight: 700; color: var(--lav); letter-spacing: .06em; }
.dias { display: inline-flex; gap: 7px; direction: rtl; }
.dias i { width: 8px; height: 8px; border-radius: 2px; transform: rotate(45deg); border: 1.5px solid var(--dusk); }
.dias i.on { background: var(--lav); border-color: var(--lav); }
.card h4 { font-size: clamp(20px, 2vw, 25px); font-weight: 800; line-height: 1.35; }
.card p { color: var(--muted); font-size: 15.5px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 10px; }
.chips li { direction: ltr; unicode-bidi: plaintext; font-size: 13px; font-weight: 600; padding: 3px 12px; border: 1px solid var(--line); border-radius: var(--r-pill); color: var(--muted); }
.card__speed { position: absolute; left: 28px; top: 64px; display: flex; flex-direction: column; align-items: flex-end; gap: 5px; }
.card__speed i { display: block; height: 6px; width: 22px; border-radius: 99px; background: var(--dusk); transform: scaleX(0); transform-origin: left center; transition: transform .7s var(--ease); }
.card__speed i:nth-child(2) { width: 36px; background: var(--lav); transition-delay: .05s; }
.card__speed i:nth-child(3) { transition-delay: .1s; }
.card:hover .card__speed i { transform: scaleX(1); }

.cap-demo { margin-top: auto; padding: 10px 14px; background: var(--night); border-radius: var(--r-md); font-weight: 800; font-size: 17px; text-align: center; }
.cap-demo span { transition: color .3s; }
.cap-demo .on { color: var(--lav); }

.card--wide { grid-column: span 2; flex-direction: row; gap: 28px; align-items: stretch; }
.card--wide .card__body { flex: 1 1 52%; display: flex; flex-direction: column; gap: 14px; }

/* خط زمني للمونتاج */
.edit {
  position: relative; flex: 1 1 48%;
  display: flex; flex-direction: column; justify-content: center; gap: 8px;
  padding: 18px 14px; background: var(--night); border-radius: var(--r-md); border: 1px solid var(--line);
  direction: ltr; overflow: hidden; min-height: 150px;
}
.edit__track { position: relative; height: 26px; border-radius: 6px; background: rgba(46, 52, 102, .45); }
.edit__track i {
  position: absolute; top: 3px; bottom: 3px;
  left: calc(var(--x) * 1%); width: calc(var(--w) * 1% - 4px);
  border-radius: 5px; background: var(--lav);
  opacity: .95;
}
.edit__track--b i { background: var(--dusk); }
.edit__track--c { height: 16px; }
.edit__track--c i { background: repeating-linear-gradient(90deg, rgba(185,182,224,.5) 0 2px, transparent 2px 5px); opacity: .7; }
.edit__head { position: absolute; top: 10px; bottom: 10px; left: 14px; width: 2px; background: var(--orange); }
.edit__head::before { content: ""; position: absolute; top: -4px; left: -4px; width: 10px; height: 10px; background: var(--orange); border-radius: 2px; transform: rotate(45deg); }
.edit.is-playing .edit__track i { animation: clip 6s var(--ease) infinite; animation-delay: var(--d); }
.edit.is-playing .edit__head { animation: head 6s linear infinite; }
@keyframes clip {
  0% { transform: translateX(calc(var(--w) * 8%)) ; opacity: 0; }
  14% { transform: translateX(0); opacity: .95; }
  86% { transform: translateX(0); opacity: .95; }
  100% { transform: translateX(-20%); opacity: 0; }
}
@keyframes head { 0%, 18% { left: 14px; } 92% { left: calc(100% - 16px); } 100% { left: calc(100% - 16px); } }

/* ===== المشاهد ===== */
.scenes { border-top: 1px solid var(--line); }
.reel {
  max-width: var(--max); margin: 48px auto 0; padding-inline: var(--gutter);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.scene { margin: 0; }
.frame {
  position: relative; aspect-ratio: 9 / 16; overflow: hidden;
  background: var(--night); border: 1px solid var(--line); border-radius: var(--r-md);
  isolation: isolate;
}
.frame::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(120% 70% at 50% 0%, rgba(169,163,255,.10), transparent 60%);
}
.frame__hud { position: absolute; inset: 12px 14px auto; display: flex; justify-content: space-between; direction: ltr; font-size: 11px; letter-spacing: .1em; color: var(--dusk); z-index: 2; }
.scene figcaption { padding: 14px 4px 0; display: flex; flex-direction: column; line-height: 1.5; }
.scene figcaption b { font-weight: 800; font-size: 17px; }
.scene figcaption span { color: var(--muted); font-size: 14px; }
.scene:not(.is-playing) * { animation-play-state: paused !important; }

/* مشهد 1: الشعار */
.s-logo { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; }
.s-logo .mark { width: 70%; overflow: visible; }
.s-logo__word { font-weight: 900; font-size: clamp(26px, 3vw, 34px); animation: s1word 4.5s var(--ease) infinite; }
.mark--loop .mark__dia { animation: s1dia 4.5s var(--ease) infinite; }
.mark--loop .mark__ln { animation: s1ln 4.5s var(--ease) infinite; }
.mark--loop .mark__ln--1 { animation-delay: .06s; }
.mark--loop .mark__ln--3 { animation-delay: .12s; }
@keyframes s1dia { 0% { transform: translateX(180%); opacity: 0; } 22% { transform: none; opacity: 1; } 82% { transform: none; opacity: 1; } 100% { transform: translateX(-60%); opacity: 0; } }
@keyframes s1ln { 0%, 20% { transform: scaleX(0); opacity: 1; } 38% { transform: scaleX(1); } 82% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(1) translateX(-60%); opacity: 0; } }
@keyframes s1word { 0%, 34% { transform: translateX(30px); opacity: 0; } 48% { transform: none; opacity: 1; } 82% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateX(-30px); } }

/* مشهد 2: الترجمة */
.s-cap { position: absolute; inset: 0; }
.s-cap__shape { position: absolute; top: 22%; left: 50%; width: 46%; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; background: var(--raised); border: 1px solid var(--line); }
.s-cap__shape::after { content: ""; position: absolute; inset: 30%; background: var(--dusk); border-radius: 12%; transform: rotate(45deg); opacity: .7; }
.s-cap__bar {
  position: absolute; left: 8%; right: 8%; bottom: 17%;
  background: var(--raised); border-radius: var(--r-md); padding: 12px 14px;
  font-weight: 800; font-size: clamp(16px, 1.6vw, 20px); line-height: 1.55; text-align: center;
}
.s-cap__bar span { transition: color .2s; }
.s-cap__bar span.on { color: var(--lav); }

/* مشهد 3: الرقم */
.s-num { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.s-num__eyebrow { font-weight: 700; color: var(--muted); font-size: 15px; }
.s-num__val { font-weight: 900; font-size: clamp(90px, 10vw, 140px); line-height: 1.05; color: var(--orange); direction: ltr; }
.s-num__unit { font-weight: 800; font-size: 22px; }

/* مشهد 4: انتقال */
.s-swap { position: absolute; inset: 0; display: grid; place-items: center; }
.s-swap .w { grid-area: 1 / 1; font-weight: 900; font-size: clamp(44px, 4.6vw, 64px); opacity: 0; animation: swap 6s var(--ease) infinite; }
.s-swap .w2 { animation-delay: 2s; }
.s-swap .w3 { animation-delay: 4s; color: var(--lav); }
@keyframes swap { 0% { transform: translateX(55%); opacity: 0; } 9% { transform: none; opacity: 1; } 27% { transform: none; opacity: 1; } 34% { transform: translateX(-55%); opacity: 0; } 100% { opacity: 0; transform: translateX(-55%); } }
.s-swap__lines { position: absolute; top: calc(50% + 46px); left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.s-swap__lines i { display: block; height: 7px; width: 34px; border-radius: 99px; background: var(--dusk); margin-inline-start: 10px; transform-origin: left center; animation: swapln 2s var(--ease) infinite; }
.s-swap__lines i:nth-child(2) { width: 60px; background: var(--lav); margin: 0; }
@keyframes swapln { 0%, 8% { transform: scaleX(0); } 26% { transform: scaleX(1); opacity: 1; } 60% { opacity: 1; } 70%, 100% { transform: scaleX(1); opacity: 0; } }

/* مشهد 5: المونتاج */
.scene--wide { margin-top: 16px; }
.frame--wide { aspect-ratio: 16 / 9; display: block; }
.s-edit { position: absolute; inset: 40px 18px 18px; display: grid; grid-template-rows: 1fr auto; gap: 14px; }
.s-edit__viewer { position: relative; border-radius: var(--r-sm); background: var(--raised); overflow: hidden; }
.shot { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 22px; opacity: 0; animation: shot 6s steps(1, end) infinite; }
.shot b { font-weight: 900; font-size: clamp(22px, 3.4vw, 46px); }
.shot2 { animation-delay: 2s; }
.shot3 { animation-delay: 4s; }
@keyframes shot { 0% { opacity: 1; } 33.33% { opacity: 0; } 100% { opacity: 0; } }
.dia-shape { width: clamp(36px, 5vw, 70px); aspect-ratio: 1; background: var(--orange); border-radius: 14%; transform: rotate(45deg); }
.pill-shape { width: clamp(70px, 9vw, 130px); height: clamp(22px, 2.6vw, 38px); background: var(--lav); border-radius: 99px; }
.disc-shape { width: clamp(44px, 6vw, 84px); aspect-ratio: 1; border-radius: 50%; background: var(--dusk); }
.s-edit .edit { min-height: 0; flex: none; padding: 12px; }
.s-edit .edit__track { height: 22px; }
.s-edit .edit__track--c { height: 12px; }

/* ===== الطريقة ===== */
.process { border-top: 1px solid var(--line); }
.steps {
  --sp: 0;
  position: relative; margin-top: 64px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  padding-top: 40px;
}
.steps::before, .steps::after { content: ""; position: absolute; top: 9px; right: 0; height: 2px; border-radius: 2px; }
.steps::before { left: 0; background: var(--line); }
.steps::after { width: calc(var(--sp) * 100%); background: var(--lav); transition: width .2s linear; }
.step { position: relative; }
.step__tc { display: block; direction: ltr; text-align: right; font-size: 12px; letter-spacing: .08em; color: var(--dusk); font-weight: 700; }
.step__dia { position: absolute; top: -38px; right: 0; width: 18px; height: 18px; border-radius: 4px; transform: rotate(45deg); background: var(--night); border: 2px solid var(--dusk); z-index: 1; transition: background .4s, border-color .4s; }
.step.is-on .step__dia { background: var(--lav); border-color: var(--lav); }
.step:last-child.is-on .step__dia { background: var(--orange); border-color: var(--orange); }
.step h4 { font-size: clamp(22px, 2.2vw, 28px); font-weight: 900; margin-top: 4px; }
.step p { margin-top: 8px; color: var(--muted); font-size: 15.5px; max-width: 28ch; }

/* ===== الختام ===== */
.final { position: relative; overflow: hidden; padding-block: clamp(110px, 16vw, 200px); border-top: 1px solid var(--line); isolation: isolate; }
.final__glow { position: absolute; z-index: -1; inset: auto -20vmax -40vmax auto; width: 80vmax; aspect-ratio: 1; background: radial-gradient(closest-side, rgba(169,163,255,.16), transparent 70%); }
.final__inner { display: flex; flex-direction: column; align-items: flex-start; }
.final__title { margin-top: 10px; font-weight: 900; font-size: clamp(4.4rem, 17vw, 14rem); line-height: 1.3; letter-spacing: -.01em; }
.final__lead { margin-top: 14px; font-size: clamp(18px, 2vw, 24px); color: var(--muted); font-weight: 600; max-width: 34ch; }
.final__cta { margin-top: 38px; }
.socials { margin-top: 44px; display: flex; flex-wrap: wrap; gap: 12px; }
.socials a { display: inline-flex; align-items: center; gap: 10px; height: 48px; padding-inline: 18px 20px; border: 1.5px solid var(--line); border-radius: var(--r-pill); font-weight: 700; direction: ltr; transition: border-color .3s, color .3s; }
.socials svg { width: 20px; height: 20px; }
.socials a:hover { border-color: var(--lav); color: var(--lav); }

/* ===== التذييل ===== */
.foot { border-top: 1px solid var(--line); padding-block: 28px calc(28px + env(safe-area-inset-bottom)); }
.foot__inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.foot .brand { font-size: 18px; }
.foot .brand img { width: 32px; height: 32px; }
.foot p { color: var(--muted); font-size: 14px; }

/* ===== زر واتساب العائم ===== */
.wa-float {
  position: fixed; z-index: 60;
  left: max(16px, env(safe-area-inset-left)); bottom: max(16px, env(safe-area-inset-bottom));
  display: inline-flex; align-items: center; gap: 8px;
  height: 52px; padding-inline: 16px 20px;
  background: var(--orange); color: var(--on-orange);
  border-radius: var(--r-pill); font-weight: 800;
  box-shadow: 0 10px 30px -10px rgba(0,0,0,.55);
  transform: translateX(-140%); opacity: 0;
  transition: transform .8s var(--ease), opacity .6s var(--ease);
}
.wa-float svg { width: 22px; height: 22px; }
.wa-float.is-shown { transform: none; opacity: 1; }
.wa-float.is-hidden-end { transform: translateX(-140%); opacity: 0; }

/* ===== مؤشر الماوس ===== */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  .cursor {
    display: flex; align-items: center; justify-content: center;
    position: fixed; top: 0; left: 0; z-index: 200; pointer-events: none;
    width: 0; height: 0;
  }
  .cursor__dia { position: absolute; width: 10px; height: 10px; background: var(--lav); border-radius: 2px; transform: rotate(45deg); transition: width .4s var(--ease), height .4s var(--ease), background .3s, opacity .3s; }
  .cursor__label { position: absolute; white-space: nowrap; font-weight: 800; font-size: 14px; color: var(--night); background: var(--lav); padding: 6px 14px; border-radius: 99px; transform: scale(.4); opacity: 0; transition: transform .45s var(--ease), opacity .3s; }
  .cursor.is-play .cursor__dia { opacity: 0; }
  .cursor.is-play .cursor__label { transform: scale(1); opacity: 1; }
  .cursor.is-link .cursor__dia { width: 18px; height: 18px; background: transparent; border: 1.5px solid var(--lav); }
}

/* ===== الجوال والتابلت ===== */
@media (max-width: 1024px) {
  .nav { display: none; }
  .reel { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  :root { --head-h: 84px; }
  .top__bar { height: 58px; }
  .brand { font-size: 20px; }
  .brand img { width: 34px; height: 34px; }
  .hero { padding-top: calc(var(--head-h) + 20px); align-items: flex-start; }
  .hero__grid { grid-template-columns: 1fr; gap: 6px; }
  .hero__mark { order: -1; width: min(52vw, 230px); margin-inline: auto; }
  .hero__title { margin-top: 14px; }
  .hero__meta { margin-top: 34px; }
  .hero__meta li { padding-inline-end: 16px; margin-inline-end: 16px; }
  .hero__meta b { font-size: 17px; }
  .scroll-hint { display: none; }
  .cards { grid-template-columns: 1fr; }
  .card--wide { grid-column: auto; flex-direction: column; }
  .edit--mini { min-height: 130px; }
  .reel {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
    gap: 12px; padding-bottom: 8px; scrollbar-width: none;
    overscroll-behavior-x: contain;
  }
  .reel::-webkit-scrollbar { display: none; }
  .reel .scene { flex: 0 0 68vw; max-width: 300px; scroll-snap-align: center; }
  .s-edit { inset: 34px 10px 10px; gap: 8px; }
  .s-edit .edit { padding: 8px; gap: 5px; }
  .s-edit .edit__track { height: 14px; }
  .s-edit .edit__track--c { height: 8px; }
  .steps { grid-template-columns: 1fr; gap: 34px; padding-top: 0; padding-inline-start: 44px; }
  .steps::before, .steps::after { top: 0; right: 8px; left: auto; width: 2px; height: 100%; }
  .steps::after { height: calc(var(--sp) * 100%); width: 2px; }
  .step__dia { top: 6px; right: -44px; }
  .step h4 { margin-top: 2px; }
  .btn__speed { display: none; }
  .final__cta, .final__cta .btn { width: 100%; }
  .foot__inner { justify-content: center; text-align: center; flex-direction: column; }
  .foot .speed { display: none; }
}
@media (max-width: 420px) {
  .btn--sm { --h: 38px; padding-inline: 14px; font-size: 13px; }
  .hero__cta .btn { width: 100%; }
  .ruler__tc span { display: none; }
}

/* ===== تقليل الحركة ===== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  [data-reveal], .hero__text > *, .hero__title .in { opacity: 1 !important; transform: none !important; }
  .hero .mark__dia, .hero .mark__ln { transform: none !important; opacity: 1 !important; }
  .about__text .w { opacity: 1 !important; }
  .shot1 { opacity: 1; } .s-swap .w1 { opacity: 1; transform: none; }
}
