/* =====================================================================
   داش · الصفحة الرئيسية
   الفكرة: ليل مسقط بعد إغلاق المحل.
   الألوان مأخوذة من الحرير نفسه: بنفسجي عميق، بنفسجي كهربائي، ليلكي، وعنبر الشعار.
   ===================================================================== */
:root {
  --ink:    #12081F;   /* منتصف الليل */
  --ink-2:  #1b0f33;
  --ink-3:  #26164a;
  --cobalt: #6D3BFF;
  --lilac:  #B18CFF;
  --blush:  #EBA324;
  --moon:   #F3EEFF;   /* نص رئيسي */
  --mist:   rgba(243, 238, 255, .64);
  --hair:   rgba(243, 238, 255, .12);

  --display: 'Alexandria', 'Readex Pro', system-ui, sans-serif;
  --body:    'Readex Pro', 'Alexandria', system-ui, sans-serif;
  --serif:   'Instrument Serif', Georgia, serif;

  /* مقياس الرابعة التامة 1.333 */
  --t-1: .8125rem; --t0: 1.0625rem; --t1: 1.375rem; --t2: 1.8125rem;
  --t3: 2.4375rem; --t4: 3.25rem; --t5: 4.3125rem; --t6: 5.75rem;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --pad: clamp(1.25rem, 5vw, 5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body.h {
  margin: 0; background: var(--ink); color: var(--moon);
  font-family: var(--body); font-size: var(--t0); line-height: 1.8; font-weight: 300;
  overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img, svg, canvas { display: block; max-width: 100%; }
::selection { background: var(--lilac); color: var(--ink); }
:focus-visible { outline: 2px solid var(--blush); outline-offset: 4px; border-radius: 6px; }

/* ---------- حبيبات فيلم خفيفة فوق كل شيء ---------- */
.grain {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%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");
  animation: grain 7s steps(8) infinite;
}
@keyframes grain { 0%,100% { transform: translate(0,0) } 25% { transform: translate(-4%,3%) } 50% { transform: translate(3%,-5%) } 75% { transform: translate(-2%,-3%) } }

/* ---------- ضوء يتبع المؤشر ---------- */
.cursor-light {
  position: fixed; top: 0; left: 0; width: 520px; height: 520px; margin: -260px 0 0 -260px;
  border-radius: 50%; pointer-events: none; z-index: 1; opacity: 0;
  background: radial-gradient(circle, rgba(177,140,255,.16), rgba(109,59,255,.06) 42%, transparent 68%);
  transition: opacity .5s; will-change: transform;
}
body.has-pointer .cursor-light { opacity: 1; }

/* ---------- ستارة الدخول ---------- */
.curtain {
  position: fixed; inset: 0; z-index: 100; background: var(--ink);
  display: grid; place-items: center; pointer-events: none;
}
.curtain-word { font-family: var(--display); font-weight: 800; font-size: clamp(4rem, 16vw, 11rem); letter-spacing: -.02em; display: flex; direction: rtl; }
.curtain-word span { display: inline-block; opacity: 0; transform: translateY(40%); color: var(--moon); }
.no-js .curtain, .reduced .curtain { display: none; }

/* ---------- الشريط العلوي ---------- */
.bar {
  position: fixed; top: 0; inset-inline: 0; z-index: 60;
  display: flex; align-items: center; gap: 2rem;
  padding: 1.1rem var(--pad); transition: background .4s var(--ease), padding .4s var(--ease), border-color .4s;
  border-bottom: 1px solid transparent;
}
.bar.is-solid {
  background: rgba(18, 8, 31, .72); backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  padding-block: .75rem; border-color: var(--hair);
}
.wordmark { font-family: var(--display); font-weight: 800; font-size: 1.7rem; letter-spacing: -.01em; line-height: 1; }
.bar-links { display: flex; gap: 2rem; margin-inline-start: auto; }
.bar-links a { font-size: .95rem; color: var(--mist); position: relative; padding: .3rem 0; transition: color .25s; }
.bar-links a::after { content: ''; position: absolute; inset-inline: 0; bottom: 0; height: 1px; background: var(--blush); transform: scaleX(0); transform-origin: 100% 50%; transition: transform .45s var(--ease); }
.bar-links a:hover { color: var(--moon); }
.bar-links a:hover::after { transform: scaleX(1); }
.bar-cta { display: flex; align-items: center; gap: 1.2rem; }
.bar-login { font-size: .95rem; color: var(--mist); }
.bar-login:hover { color: var(--moon); }
.bar-burger { display: none; background: none; border: 0; width: 42px; height: 42px; position: relative; cursor: pointer; }
.bar-burger i { position: absolute; inset-inline: 10px; height: 1.5px; background: var(--moon); transition: transform .35s var(--ease); }
.bar-burger i:first-child { top: 16px; } .bar-burger i:last-child { top: 25px; }
body.menu-open .bar-burger i:first-child { transform: translateY(4.5px) rotate(45deg); }
body.menu-open .bar-burger i:last-child { transform: translateY(-4.5px) rotate(-45deg); }

/* ---------- الأزرار ---------- */
.btn {
  --bx: 0px; --by: 0px;
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--display); font-weight: 500; font-size: .98rem; line-height: 1;
  padding: .95rem 1.6rem; border-radius: 999px; cursor: pointer; border: 0; isolation: isolate; overflow: hidden;
  transform: translate(var(--bx), var(--by)); transition: transform .5s var(--ease), color .35s, box-shadow .35s;
}
.btn span { position: relative; z-index: 2; display: inline-block; transition: transform .5s var(--ease); }
.btn-xl { padding: 1.2rem 2.1rem; font-size: 1.08rem; }
.btn-moon { background: var(--moon); color: var(--ink); box-shadow: 0 0 0 0 rgba(235,163,36,.0); }
.btn-moon::before {
  content: ''; position: absolute; inset: 0; z-index: 1; border-radius: inherit;
  background: linear-gradient(120deg, var(--blush), var(--lilac) 55%, var(--cobalt));
  transform: translateY(101%); transition: transform .55s var(--ease);
}
.btn-moon:hover::before { transform: translateY(0); }
.btn-moon:hover { box-shadow: 0 18px 50px -12px rgba(177,140,255,.55); color: var(--ink); }
.btn-line { color: var(--moon); box-shadow: inset 0 0 0 1px rgba(243,238,255,.35); }
.btn-line:hover { box-shadow: inset 0 0 0 1px var(--moon); }
.btn-glass { background: rgba(243,238,255,.08); color: var(--moon); box-shadow: inset 0 0 0 1px var(--hair); }

/* ---------- البطل ---------- */
.hero { position: relative; min-height: 100svh; display: grid; align-items: end; overflow: hidden; }
.hero-silk { position: absolute; inset: 0; width: 100%; height: 100%; }
.silk-fallback { background: radial-gradient(120% 90% at 80% 10%, #6D3BFF 0%, #12081F 58%) !important; }
.hero-veil {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(18,8,31,.55) 0%, rgba(18,8,31,0) 28%, rgba(18,8,31,.15) 60%, var(--ink) 100%),
    radial-gradient(80% 60% at 85% 85%, rgba(18,8,31,.55), transparent 70%);
}
.hero-inner { position: relative; z-index: 2; padding: 0 var(--pad) clamp(4rem, 10vh, 8rem); max-width: 1200px; }
.hero-time { display: inline-flex; align-items: center; gap: .6rem; font-size: .95rem; color: var(--mist); margin: 0 0 1.4rem; }
.hero-time .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--blush); box-shadow: 0 0 0 0 rgba(235,163,36,.6); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(235,163,36,.55) } 70% { box-shadow: 0 0 0 12px rgba(235,163,36,0) } 100% { box-shadow: 0 0 0 0 rgba(235,163,36,0) } }
.hero-title {
  font-family: var(--display); font-weight: 800; letter-spacing: -.025em;
  font-size: clamp(2.6rem, 7vw, var(--t6)); line-height: 1.24; margin: 0 0 1.6rem; max-width: 13ch;
}
.hero-sub { font-size: clamp(1rem, 1.35vw, 1.2rem); color: var(--mist); max-width: 46ch; margin: 0 0 2.4rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; }
.hero-note { font-size: .88rem; color: var(--mist); margin: 1.2rem 0 0; }

.scroll-cue { position: absolute; z-index: 2; inset-inline-end: var(--pad); bottom: clamp(4rem, 10vh, 8rem); width: 1px; height: 84px; background: var(--hair); overflow: hidden; }
.scroll-cue i { position: absolute; inset-inline: 0; top: -40%; height: 40%; background: var(--blush); animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { to { top: 110%; } }

/* تقسيم الكلمات: الحروف العربية تبقى متصلة داخل كل كلمة */
/* هامش علوي وسفلي داخل القناع: الهمزات والنقاط العربية تتجاوز حدود السطر */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding: .14em .02em .2em; margin: -.14em -.02em -.2em; }
.w > i { display: inline-block; font-style: normal; will-change: transform; }

/* ---------- شريط الأنشطة ---------- */
.marquee { border-block: 1px solid var(--hair); padding: 1.6rem 0; overflow: hidden; position: relative; }
.marquee::before, .marquee::after { content: ''; position: absolute; top: 0; bottom: 0; width: 12%; z-index: 2; pointer-events: none; }
.marquee::before { right: 0; background: linear-gradient(to left, var(--ink), transparent); }
.marquee::after  { left: 0;  background: linear-gradient(to right, var(--ink), transparent); }
.marquee-track { display: flex; align-items: center; gap: 2.4rem; width: max-content; animation: mq 42s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes mq { from { transform: translateX(0) } to { transform: translateX(50%) } }
.mq-item {
  font-family: var(--display); font-weight: 700; font-size: clamp(1.8rem, 4.2vw, 3.4rem); line-height: 1.1;
  color: transparent; -webkit-text-stroke: 1px rgba(243,238,255,.45); white-space: nowrap; transition: color .4s, -webkit-text-stroke-color .4s;
}
.mq-item:hover { color: var(--blush); -webkit-text-stroke-color: var(--blush); }
.mq-star { width: 14px; height: 14px; flex-shrink: 0; background: var(--lilac); clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%); opacity: .8; }

/* ---------- قصة الجبال ---------- */
.story { position: relative; height: 320vh; }
.story-pin { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.story-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1.2s var(--ease); }
.story.is-3d .story-canvas { opacity: 1; }
.story-fallback {
  position: absolute; inset: 0; transition: opacity 1.2s;
  background:
    radial-gradient(60% 40% at 50% 70%, rgba(177,140,255,.28), transparent 70%),
    linear-gradient(180deg, #12081F 0%, #151c45 55%, #12081F 100%);
}
.story-fallback::after {
  content: ''; position: absolute; inset-inline: 0; bottom: 0; height: 46%;
  background: #0e1430;
  clip-path: polygon(0 60%, 8% 38%, 14% 52%, 22% 20%, 30% 46%, 38% 30%, 46% 55%, 55% 14%, 63% 44%, 72% 26%, 80% 50%, 88% 22%, 95% 40%, 100% 32%, 100% 100%, 0 100%);
}
.story.is-3d .story-fallback { opacity: 0; }
.story-lines { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 0 var(--pad); pointer-events: none; }
.story-line {
  grid-area: 1 / 1; margin: 0; max-width: 18ch;
  font-family: var(--display); font-weight: 700; letter-spacing: -.02em; line-height: 1.15;
  font-size: clamp(2rem, 6vw, var(--t5)); line-height: 1.3;
  opacity: 0; filter: blur(12px); transform: translateY(24px) scale(.98);
  text-shadow: 0 4px 40px rgba(18,8,31,.6);
}
.story-meter { position: absolute; bottom: 2.4rem; inset-inline: 50% auto; transform: translateX(50%); width: 140px; height: 2px; background: var(--hair); border-radius: 2px; overflow: hidden; }
.story-meter i { position: absolute; inset: 0; background: linear-gradient(90deg, var(--blush), var(--lilac)); transform: scaleX(0); transform-origin: 100% 50%; }

/* ---------- عرض المنتج ---------- */
.show { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(2rem, 6vw, 6rem); padding: 0 var(--pad); }
.show-sticky { position: sticky; top: 0; height: 100svh; display: grid; place-items: center; order: 2; }
.show-steps { order: 1; padding: 30vh 0; }
.step { min-height: 70vh; display: flex; flex-direction: column; justify-content: center; opacity: .28; transition: opacity .6s var(--ease); }
.step.is-on { opacity: 1; }
.step h2 { font-family: var(--display); font-weight: 700; font-size: clamp(1.8rem, 3.6vw, var(--t4)); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 1.1rem; }
.step p { color: var(--mist); max-width: 40ch; margin: 0; font-size: 1.08rem; }

.device {
  width: min(440px, 100%); border-radius: 22px; overflow: hidden;
  background: #f7f7fb; color: #1a1d2e; box-shadow: 0 60px 120px -30px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.08), 0 0 80px -10px rgba(109,59,255,.45);
  transform: perspective(1400px) rotateY(-8deg) rotateX(4deg); transition: transform .8s var(--ease);
}
.device:hover { transform: perspective(1400px) rotateY(-2deg) rotateX(1deg); }
.device-bar { display: flex; align-items: center; gap: 6px; padding: .7rem .9rem; background: #eceef5; direction: ltr; }
.device-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d6d8e2; }
.device-bar i:nth-child(1) { background: #ff6159; } .device-bar i:nth-child(2) { background: #ffbd2e; } .device-bar i:nth-child(3) { background: #28c940; }
.device-bar span { margin-inline-start: auto; margin-inline-end: auto; font-size: .72rem; color: #8a8fa6; background: #fff; padding: .2rem .8rem; border-radius: 6px; font-family: var(--body); }
.device-screen { position: relative; height: 430px; direction: rtl; font-family: var(--body); }
/* الشاشة القديمة تغادر أولًا، ثم تدخل الجديدة: لا تتراكب واجهتان مزدحمتان */
.scr { position: absolute; inset: 0; padding: 1.2rem; opacity: 0; transform: translateY(-10px) scale(.99); filter: blur(4px);
       transition: opacity .22s ease-in, transform .22s ease-in, filter .22s; pointer-events: none; }
.scr.is-on { opacity: 1; transform: none; filter: none;
             transition: opacity .5s var(--ease) .24s, transform .7s var(--ease) .24s, filter .5s .24s; }
.scr-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 1rem; }
.scr-head b { font-family: var(--display); font-size: 1.15rem; }
.scr-head em { font-style: normal; font-size: .78rem; color: #7b8099; }
.row { display: flex; align-items: center; gap: .7rem; padding: .7rem; border-radius: 12px; background: #fff; margin-bottom: .5rem; box-shadow: 0 1px 0 rgba(20,24,50,.05); }
.row.faint { opacity: .55; }
.row div { flex: 1; min-width: 0; }
.row b { display: block; font-size: .9rem; font-weight: 500; }
.row small { color: #7b8099; font-size: .74rem; }
.av { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: .85rem; background: var(--c); flex-shrink: 0; }
.pill { font-size: .7rem; padding: .25rem .6rem; border-radius: 999px; background: #eef0fb; color: #4a50b8; white-space: nowrap; }
.pill.ok { background: #e3f6ec; color: #1f7a4d; } .pill.warn { background: #fdecea; color: #b3402f; }
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; margin-bottom: 1rem; }
.team-card { background: #fff; border-radius: 14px; padding: .7rem .4rem; text-align: center; }
.team-card .crew-face { margin: 0 auto .2rem; }
.team-card b { display: block; font-size: .82rem; } .team-card small { font-size: .68rem; color: #7b8099; }
.bubble { background: #fff; border-radius: 14px 14px 14px 4px; padding: .8rem .9rem; font-size: .82rem; line-height: 1.8; box-shadow: 0 8px 24px -12px rgba(20,24,60,.25); }
.bubble b { color: #6D3BFF; font-weight: 600; }
.ig { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; margin-bottom: 1rem; border-radius: 10px; overflow: hidden; }
.ig i { aspect-ratio: 1; background: var(--b); }
.big-num { margin: .4rem 0 1rem; }
.big-num span { font-family: var(--serif); font-size: 4rem; line-height: 1; letter-spacing: -.02em; color: #1a1d2e; display: block; }
.big-num small { color: #7b8099; font-size: .8rem; }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 110px; margin-bottom: 1rem; direction: ltr; }
.bars i { flex: 1; height: var(--h); border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, #B18CFF, #6D3BFF); transform-origin: 50% 100%; }
.scr.is-on .bars i { animation: bar-up .9s var(--ease) both; }
.scr.is-on .bars i:nth-child(2) { animation-delay: .06s } .scr.is-on .bars i:nth-child(3) { animation-delay: .12s }
.scr.is-on .bars i:nth-child(4) { animation-delay: .18s } .scr.is-on .bars i:nth-child(5) { animation-delay: .24s } .scr.is-on .bars i:nth-child(6) { animation-delay: .3s }
@keyframes bar-up { from { transform: scaleY(0) } }

/* ---------- عناوين الأقسام ---------- */
.sec-title { font-family: var(--display); font-weight: 800; letter-spacing: -.02em; line-height: 1.25; font-size: clamp(2.2rem, 5.2vw, var(--t5)); margin: 0 0 1.4rem; }

/* ---------- خطوات الإنشاء ---------- */
.build { padding: clamp(6rem, 14vh, 10rem) var(--pad); position: relative; }
.build-line { list-style: none; margin: 3.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.5rem; position: relative; z-index: 1; }
.build-line li { display: flex; flex-direction: column; gap: .3rem; }
.bn { font-family: var(--serif); font-size: 3.4rem; line-height: 1; color: var(--lilac); margin-bottom: .6rem; }
.build-line b { font-family: var(--display); font-weight: 500; font-size: 1.1rem; }
.build-line small { color: var(--mist); font-size: .9rem; }
.build-path { position: absolute; inset-inline: var(--pad); top: calc(clamp(6rem, 14vh, 10rem) + 8.6rem); width: calc(100% - 2 * var(--pad)); height: 60px; pointer-events: none; opacity: .5; }
.build-path path { fill: none; stroke: url(#none); stroke: var(--lilac); stroke-width: 1.2; stroke-dasharray: 4 7; }

/* ---------- الفريق ---------- */
.cast { padding: clamp(5rem, 12vh, 9rem) var(--pad); display: grid; grid-template-columns: .8fr 1.6fr; gap: 3rem; align-items: center; }
.cast-copy p { color: var(--mist); max-width: 34ch; font-size: 1.08rem; margin: 0; }
.cast-row { display: flex; gap: .4rem; justify-content: space-between; align-items: flex-end; }
.person {
  --rx: 0deg; --ry: 0deg;
  background: none; border: 0; color: var(--moon); font: inherit; cursor: pointer; position: relative;
  display: flex; flex-direction: column; align-items: center; padding: 0 0 .4rem; flex: 1;
  transform: perspective(700px) rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .5s var(--ease);
}
.person-face { display: block; filter: drop-shadow(0 22px 30px rgba(0,0,0,.45)); transition: transform .5s var(--ease); animation: idle 5s ease-in-out infinite; animation-delay: calc(var(--i) * -1s); }
@keyframes idle { 0%,100% { transform: translateY(0) } 50% { transform: translateY(-7px) } }
.person:hover .person-face, .person:focus-visible .person-face { transform: translateY(-14px) scale(1.05); animation-play-state: paused; }
.person b { font-family: var(--display); font-weight: 700; font-size: 1.05rem; margin-top: .4rem; }
.person small { color: var(--mist); font-size: .82rem; }
.person::after { content: ''; position: absolute; bottom: 3.2rem; width: 60%; height: 12px; border-radius: 50%; background: var(--c); filter: blur(14px); opacity: .45; z-index: -1; }
.person-say {
  position: absolute; bottom: calc(100% + .6rem); left: 50%; width: 220px; margin-left: -110px;  /* توسيط فيزيائي لا يتأثر باتجاه الصفحة */
  background: var(--moon); color: var(--ink); font-size: .84rem; line-height: 1.7; text-align: start;
  padding: .75rem .9rem; border-radius: 16px 16px 16px 4px; box-shadow: 0 20px 40px -12px rgba(0,0,0,.5);
  opacity: 0; transform: translateY(10px) scale(.94); transform-origin: 100% 100%;
  transition: opacity .35s var(--ease), transform .45s var(--ease); pointer-events: none; z-index: 5;
}
.person:hover .person-say, .person:focus-visible .person-say, .person.is-talk .person-say { opacity: 1; transform: none; }

/* ---------- حقائق ---------- */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--hair); }
.fact { padding: 3rem var(--pad) 3rem 1.5rem; border-inline-start: 1px solid var(--hair); }
.fact:first-child { border-inline-start: 0; }
.fn { font-family: var(--serif); font-size: clamp(4rem, 8vw, 7rem); line-height: .9; display: block; color: var(--moon); }
.fact p { color: var(--mist); margin: .8rem 0 0; font-size: .95rem; max-width: 20ch; }

/* ---------- الباقات ---------- */
.plans-strip { padding: clamp(6rem, 14vh, 10rem) var(--pad); }
.plan-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1rem; margin: 2.5rem 0 2rem; }
.plan-chip {
  --rx: 0deg; --ry: 0deg;
  display: flex; flex-direction: column; gap: .5rem; padding: 1.6rem 1.4rem 1.5rem; border-radius: 24px;
  background: linear-gradient(160deg, rgba(243,238,255,.06), rgba(243,238,255,.015)); box-shadow: inset 0 0 0 1px var(--hair);
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .5s var(--ease), box-shadow .35s;
}
.plan-chip:hover { box-shadow: inset 0 0 0 1px rgba(177,140,255,.6), 0 30px 60px -30px rgba(109,59,255,.6); }
.plan-chip.is-pop { background: linear-gradient(160deg, rgba(177,140,255,.22), rgba(109,59,255,.08)); box-shadow: inset 0 0 0 1px rgba(177,140,255,.45); }
.plan-chip b { font-family: var(--display); font-size: 1.3rem; font-weight: 700; }
.plan-price { color: var(--mist); font-size: .92rem; }
.plan-price em { font-family: var(--serif); font-style: normal; font-size: 2.6rem; color: var(--moon); line-height: 1; margin-inline-end: .2rem; }
.plan-chip small { color: var(--mist); font-size: .86rem; line-height: 1.7; }
.link-soft { color: var(--blush); border-bottom: 1px solid rgba(235,163,36,.35); padding-bottom: 2px; transition: border-color .3s; }
.link-soft:hover { border-color: var(--blush); }

/* ---------- الختام ---------- */
.finale { position: relative; min-height: 80svh; display: grid; place-items: center; overflow: hidden; margin: 0 var(--pad) var(--pad); border-radius: 36px; }
.finale-silk { position: absolute; inset: 0; width: 100%; height: 100%; }
.finale::after { content: ''; position: absolute; inset: 0; background: radial-gradient(70% 70% at 50% 50%, rgba(18,8,31,.15), rgba(18,8,31,.6)); pointer-events: none; }
.finale-inner { position: relative; z-index: 2; text-align: center; padding: 4rem var(--pad); display: grid; justify-items: center; gap: 2.2rem; }
.finale-title { font-family: var(--display); font-weight: 800; letter-spacing: -.03em; line-height: 1.05; font-size: clamp(2.8rem, 8vw, var(--t6)); line-height: 1.2; margin: 0; }

/* ---------- التذييل ---------- */
.foot { padding: 3rem var(--pad) 2.4rem; border-top: 1px solid var(--hair); }
.foot-top { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; }
.foot nav { display: flex; gap: 1.6rem; flex-wrap: wrap; }
.foot nav a { color: var(--mist); font-size: .92rem; transition: color .25s; }
.foot nav a:hover { color: var(--moon); }
.foot-bottom { display: flex; justify-content: space-between; margin-top: 2.4rem; color: var(--mist); font-size: .85rem; flex-wrap: wrap; gap: 1rem; }

.toast { position: fixed; bottom: 1.5rem; inset-inline-start: 50%; transform: translateX(50%); z-index: 70; background: var(--moon); color: var(--ink); padding: .9rem 1.4rem; border-radius: 14px; font-size: .92rem; box-shadow: 0 20px 50px -10px rgba(0,0,0,.5); animation: toast 6s var(--ease) forwards; }
@keyframes toast { 0% { opacity: 0; transform: translate(50%, 20px) } 8%, 88% { opacity: 1; transform: translate(50%, 0) } 100% { opacity: 0; transform: translate(50%, 10px) } }

/* ---------- الجوال ---------- */
@media (max-width: 960px) {
  .bar-links { position: fixed; inset: 0; z-index: -1; flex-direction: column; justify-content: center; align-items: center; gap: 1.6rem; background: var(--ink); opacity: 0; pointer-events: none; transition: opacity .4s var(--ease); margin: 0; }
  .bar-links a { font-family: var(--display); font-size: 2rem; color: var(--moon); }
  body.menu-open .bar-links { opacity: 1; pointer-events: auto; }
  .bar-burger { display: block; margin-inline-start: auto; }
  .bar-login { display: none; }
  .bar-cta .btn { padding: .7rem 1.1rem; font-size: .88rem; }
  .show { grid-template-columns: 1fr; }
  .show-sticky { position: sticky; top: 0; height: 58svh; z-index: 2; order: 1; background: linear-gradient(180deg, var(--ink) 80%, transparent); }
  .show-steps { order: 2; padding: 4vh 0 20vh; }
  .step { min-height: 55vh; }
  .device { width: min(340px, 92%); transform: none; }
  .device-screen { height: 330px; }
  .build-line { grid-template-columns: repeat(2, 1fr); gap: 2rem 1.2rem; }
  .build-path { display: none; }
  .cast { grid-template-columns: 1fr; }
  .cast-row { overflow-x: auto; padding: 7rem .2rem 1rem; margin-top: -5rem; scroll-snap-type: x mandatory; }
  .person { flex: 0 0 38%; scroll-snap-align: center; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .fact:nth-child(3) { border-inline-start: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--hair); }
  .story { height: 260vh; }
}
@media (max-width: 520px) {
  .hero-actions .btn { width: 100%; }
  .finale { margin: 0 .8rem .8rem; border-radius: 26px; }
}

/* ---------- تقليل الحركة ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .marquee-track { animation: none; }
  .story { height: auto; }
  .story-pin { position: relative; height: auto; min-height: 70svh; }
  .story-line { position: relative; opacity: 1; filter: none; transform: none; margin: 1rem 0; }
  .story-lines { position: relative; display: block; padding: 18vh var(--pad); }
  .step { opacity: 1; }
  .cursor-light, .grain { display: none; }
}

/* الجوال: النص يقع فوق الجزء الفاتح من الحرير، فنعمّق الظل خلفه */
@media (max-width: 760px) {
  .hero-veil {
    background:
      linear-gradient(180deg, rgba(18,8,31,.35) 0%, rgba(18,8,31,.1) 22%, rgba(18,8,31,.62) 48%, rgba(18,8,31,.9) 72%, var(--ink) 100%);
  }
  .hero-sub, .hero-time, .hero-note { color: rgba(243,238,255,.86); text-shadow: 0 1px 18px rgba(18,8,31,.9); }
  .scroll-cue { display: none; }
}

/* ==========================================================
   الشعار في الشريط والتذييل والستارة
   ========================================================== */
.wordmark img { height: 40px; width: auto; display: block; }
.foot .wordmark img { height: 46px; }
.curtain-logo { width: min(420px, 70vw); height: auto; opacity: 0; transform: scale(.86); }

/* ==========================================================
   وش يعني داش؟ شاشة، فأرة، نقرة، ثم الشعار
   ========================================================== */
.meaning { padding: clamp(5rem, 12vh, 8rem) var(--pad); position: relative; }
.meaning-title { text-align: center; margin-bottom: 3rem; }
.mn { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; max-width: 1240px; margin: 0 auto; }

/* ---- الشاشة ---- */
.monitor { position: relative; width: 100%; max-width: 700px; justify-self: center; filter: drop-shadow(0 50px 80px rgba(0,0,0,.55)); }
.mon-screen {
  position: relative; aspect-ratio: 16 / 10; border-radius: 18px 18px 6px 6px; overflow: hidden;
  background: #0a0513; border: 14px solid #1a1226; border-bottom-width: 14px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06), 0 0 0 1px rgba(255,255,255,.05);
}
.mon-chin { height: 30px; background: linear-gradient(#1a1226, #120c1c); border-radius: 0 0 14px 14px; display: grid; place-items: center; }
.mon-chin span { width: 7px; height: 7px; border-radius: 50%; background: #EBA324; box-shadow: 0 0 10px #EBA324; opacity: .8; }
.mon-neck { width: 18%; height: 62px; margin: 0 auto; background: linear-gradient(90deg, #120c1c, #231733 50%, #120c1c); clip-path: polygon(14% 0, 86% 0, 100% 100%, 0 100%); }
.mon-foot { width: 42%; height: 12px; margin: 0 auto; border-radius: 12px 12px 4px 4px; background: linear-gradient(#2a1c3c, #150e20); }
.mon-glare { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, rgba(255,255,255,.07) 0%, rgba(255,255,255,0) 38%); }
.mon-wall { position: absolute; inset: 0; width: 100%; height: 100%; }

/* سطح المكتب */
.desk { position: absolute; inset: 0; }
.desk-bar { position: absolute; top: 0; inset-inline: 0; height: 26px; display: flex; justify-content: space-between; align-items: center; padding: 0 12px;
  font-size: .72rem; color: rgba(243,238,255,.85); background: rgba(18,8,31,.45); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.desk-icons { position: absolute; top: 44px; inset-inline-start: 18px; display: grid; gap: 14px; }
.d-icon { display: grid; justify-items: center; gap: 4px; width: 74px; padding: 6px 4px; border-radius: 10px; font-size: .7rem; color: #fff; text-shadow: 0 1px 4px rgba(0,0,0,.6); }
.d-img { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: #1b0f33; box-shadow: 0 6px 16px rgba(0,0,0,.4), inset 0 0 0 1px rgba(255,255,255,.12); overflow: hidden; }
.d-img img { width: 78%; height: auto; }
.d-file { background: #f3eeff; color: #3a2270; font-size: .62rem; font-weight: 600; font-family: var(--body); direction: ltr; }
.d-icon.ghost { opacity: .72; }
.d-icon.is-hover { background: rgba(243,238,255,.18); box-shadow: inset 0 0 0 1px rgba(243,238,255,.35); }

/* الفأرة */
.m-cursor { position: absolute; width: 26px; height: 26px; left: 72%; top: 78%; z-index: 6; fill: #fff; stroke: #12081F; stroke-width: 1.3; stroke-linejoin: round;
  filter: drop-shadow(0 3px 5px rgba(0,0,0,.5)); transform-origin: 20% 12%; }
.m-ring { position: absolute; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; border: 2px solid #EBA324; z-index: 5; opacity: 0; pointer-events: none; }

/* الشعار بعد النقر */
.boot { position: absolute; inset: 0; z-index: 4; display: grid; place-items: center; align-content: center; gap: .8rem;
  background: radial-gradient(90% 80% at 50% 45%, #2b1656 0%, #12081F 72%); clip-path: inset(50% 50% 50% 50% round 12px); }
.lg { position: relative; width: 70%; aspect-ratio: 1235 / 652; }
.lg img { position: absolute; inset: 0; width: 100%; height: 100%; }
.boot-sub { margin: 0; color: rgba(243,238,255,.8); font-size: clamp(.8rem, 1.4vw, 1rem); letter-spacing: .02em; opacity: 0; }

/* ---- الشرح بجانب الشاشة ---- */
.mn-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.4rem; }
.mn-line { display: grid; grid-template-columns: auto 1fr; gap: .2rem 1rem; align-items: baseline; opacity: .18; transform: translateY(12px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.mn-line.is-on { opacity: 1; transform: none; }
.mn-k { font-size: .8rem; color: var(--blush); white-space: nowrap; font-family: var(--display); }
.mn-line p { margin: 0; font-size: clamp(1.05rem, 1.6vw, 1.3rem); line-height: 1.75; color: var(--mist); }
.mn-line b { color: var(--moon); font-weight: 600; }
.mn-sum { grid-template-columns: 1fr; padding-top: 1.2rem; border-top: 1px solid var(--hair); }
.mn-sum p { font-family: var(--display); font-size: clamp(1.3rem, 2.2vw, 1.8rem); color: var(--moon); line-height: 1.5; }
.mn-sum b { color: var(--blush); font-weight: 700; }
.mn-replay { display: block; margin: 2.2rem auto 0; background: none; border: 1px solid var(--hair); color: var(--mist); font-family: var(--body);
  padding: .6rem 1.2rem; border-radius: 999px; cursor: pointer; transition: border-color .3s, color .3s; }
.mn-replay:hover { border-color: var(--blush); color: var(--moon); }

@media (max-width: 900px) {
  .mn { grid-template-columns: 1fr; }
  .mon-screen { border-width: 9px; }
  .desk-icons { top: 36px; gap: 8px; }
  .d-icon { width: 62px; } .d-img { width: 36px; height: 36px; }
}
/* بدون حركة: الشعار ظاهر والشرح كامل */
.reduced .boot, .no-anim .boot { clip-path: none; }
.reduced .boot-sub, .no-anim .boot-sub { opacity: 1; }
.reduced .mn-line, .no-anim .mn-line { opacity: 1; transform: none; }
.reduced .m-cursor, .no-anim .m-cursor { display: none; }

/* =====================================================================
   إضافات «مفصّل على مقاسك»: الشعار في البطل، داش لمين، قريبًا، الغرزة
   ===================================================================== */

/* البطل: النص يمين، الشعار والسلوقن يسار */
.hero-inner {
  display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  align-items: end; gap: clamp(1.5rem, 4vw, 4rem); width: 100%; max-width: 1320px;
}
.hero-copy { min-width: 0; }
.hero-brand {
  justify-self: center; align-self: center; display: grid; justify-items: center; gap: .7rem;
  margin-bottom: clamp(1rem, 6vh, 4rem); text-align: center;
}
.hero-brand-logo {
  width: clamp(220px, 27vw, 430px); height: auto; display: block;
  filter: drop-shadow(0 18px 40px rgba(0,0,0,.45)) drop-shadow(0 0 30px rgba(177,140,255,.18));
  animation: brandFloat 7s ease-in-out infinite;
}
.hero-brand-slogan {
  margin: 0; font-family: var(--display); font-weight: 700; letter-spacing: -.01em;
  font-size: clamp(1.25rem, 2.3vw, 2rem); line-height: 1.3;
  background: linear-gradient(100deg, var(--moon) 20%, var(--blush) 45%, var(--moon) 70%);
  background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: sloganSheen 6s ease-in-out infinite;
}
@keyframes brandFloat { 0%, 100% { transform: translateY(0) } 50% { transform: translateY(-10px) } }
@keyframes sloganSheen { 0%, 100% { background-position: 100% 0 } 50% { background-position: 0 0 } }

/* الغرزة: خط خياطة يُخاط من اليمين لليسار ثم يُفك، بلا توقف */
.stitch { display: block; width: clamp(160px, 70%, 320px); height: 12px; overflow: visible;
  clip-path: inset(0 0 0 100%); animation: sew 5s var(--ease) infinite; }
.stitch path { fill: none; stroke: var(--blush); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 11 8; }
@keyframes sew {
  0%        { clip-path: inset(0 0 0 100%); }
  45%, 78%  { clip-path: inset(0 0 0 0); }
  100%      { clip-path: inset(0 100% 0 0); }
}
/* داخل الشاشة: الحركة يقودها GSAP مع الشعار */
.boot-stitch { animation: none; width: clamp(110px, 38%, 230px); height: 10px; }
.reduced .boot-stitch, .no-anim .boot-stitch { clip-path: none; }

/* داش لمين؟ */
.for { padding: clamp(5rem, 12vh, 9rem) var(--pad) clamp(3rem, 8vh, 6rem); }
.for-head { max-width: 980px; }
.for-kicker { margin: 0 0 1rem; color: var(--blush); font-family: var(--display); font-weight: 500; letter-spacing: .02em; }
.for-lede { color: var(--mist); font-size: clamp(1.02rem, 1.4vw, 1.2rem); max-width: 60ch; margin: 0; }
.for-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.1rem; margin-top: clamp(2.2rem, 5vh, 3.4rem); }
.for-card {
  position: relative; padding: 1.6rem 1.4rem 1.5rem; border-radius: 22px; border: 1px solid var(--hair);
  background: linear-gradient(160deg, rgba(177,140,255,.08), rgba(18,8,31,0) 60%), var(--ink-2);
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .5s var(--ease), border-color .35s;
}
.for-card:hover { border-color: rgba(235,163,36,.45); }
.for-num { display: block; font-family: var(--display); font-weight: 800; font-size: 2.2rem; line-height: 1; color: var(--lilac); margin-bottom: .9rem; }
.for-card h3 { margin: 0 0 .55rem; font-family: var(--display); font-weight: 700; font-size: 1.2rem; line-height: 1.4; }
.for-card p { margin: 0; color: var(--mist); font-size: .98rem; }

/* قريبًا */
.soon { margin-top: clamp(2rem, 5vh, 3rem); padding-top: 1.6rem; border-top: 1px dashed rgba(235,163,36,.35); }
.soon-lead { margin: 0 0 1rem; color: var(--mist); }
.soon-lead b { color: var(--moon); font-weight: 600; }
.soon-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .7rem; }
.soon-list li { display: inline-flex; align-items: center; gap: .6rem; padding: .55rem .6rem .55rem 1rem;
  border: 1px solid var(--hair); border-radius: 99px; color: var(--mist); }
.soon-list em { font-style: normal; font-size: .78rem; padding: .15rem .6rem; border-radius: 99px;
  background: rgba(235,163,36,.14); color: var(--blush); }

@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 0; }
  .hero-brand { order: -1; justify-self: start; justify-items: start; text-align: start; margin: 0 0 1.4rem; }
  .hero-brand-logo { width: clamp(150px, 42vw, 230px); }
  .hero-brand-slogan { font-size: 1.15rem; }
  .for-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .for-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .stitch { clip-path: none; }
}
/* العنوان في عمود أضيق بجانب الشعار: حجم أهدأ حتى لا يزاحم الشريط العلوي */
.hero-inner { padding-top: clamp(6.5rem, 14vh, 9rem); }
.hero-copy .hero-title { font-size: clamp(2.3rem, 4.6vw, 4.4rem); max-width: 15ch; line-height: 1.22; }
@media (max-width: 960px) { .hero-copy .hero-title { font-size: clamp(2.1rem, 9vw, 3.2rem); } }
/* سلوقن الشاشة: أوضح وبلون الهوية */
.boot-sub { font-family: var(--display); font-weight: 600; font-size: clamp(.95rem, 1.9vw, 1.4rem); color: var(--blush); letter-spacing: 0; }
/* سلوقن الشاشة: بنفس روح سلوقن البطل */
.boot-sub { font-family: var(--display); font-weight: 700; font-size: clamp(.95rem, 1.9vw, 1.4rem); color: var(--moon); letter-spacing: 0; }

/* =====================================================================
   سلوقن البراند: «خلك في الصورة» داخل إطار تصوير (زوايا الكاميرا)
   نفس المكوّن في الستارة، البطل، وشاشة الكمبيوتر
   ===================================================================== */
.tagline { position: relative; display: inline-block; padding: .42em 1.05em; font-family: var(--display); font-weight: 700;
  line-height: 1.25; color: var(--moon); white-space: nowrap; }
.tg-c { position: absolute; width: .75em; height: .75em; border: 2px solid var(--blush); pointer-events: none; }
.tg-tl { top: 0; left: 0;  border-right: 0; border-bottom: 0; border-top-left-radius: 4px;  --dx: -5px; --dy: -5px; }
.tg-tr { top: 0; right: 0; border-left: 0;  border-bottom: 0; border-top-right-radius: 4px; --dx: 5px;  --dy: -5px; }
.tg-bl { bottom: 0; left: 0;  border-right: 0; border-top: 0; border-bottom-left-radius: 4px;  --dx: -5px; --dy: 5px; }
.tg-br { bottom: 0; right: 0; border-left: 0;  border-top: 0; border-bottom-right-radius: 4px; --dx: 5px;  --dy: 5px; }
.tg-t { display: inline-block; }

/* البطل: الإطار «يضبط التركيز» بنبض هادئ، والنص يلمع */
.hero-tag { font-size: clamp(1.2rem, 2.2vw, 1.85rem); }
.hero-tag .tg-c { animation: tgFocus 3.4s var(--ease) infinite; }
.hero-tag .tg-t { background: linear-gradient(100deg, var(--moon) 25%, var(--blush) 50%, var(--moon) 75%);
  background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: sloganSheen 6s ease-in-out infinite; }
@keyframes tgFocus { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(var(--dx), var(--dy)); } }

/* الستارة: الشعار ثم السلوقن تحته (الحركة من GSAP) */
.curtain-stack { display: grid; justify-items: center; gap: 1.1rem; }
.curtain-tag { font-size: clamp(1.1rem, 3.2vw, 1.6rem); }
.curtain-tag .tg-c, .curtain-tag .tg-t { opacity: 0; }

/* شاشة الكمبيوتر */
.boot-tag { font-size: inherit; padding: .35em .9em; }
.boot-tag .tg-c { width: .6em; height: .6em; }

@media (max-width: 960px) { .hero-tag { font-size: 1.1rem; } }
@media (prefers-reduced-motion: reduce) {
  .hero-tag .tg-c, .hero-tag .tg-t { animation: none; }
}
.reduced .curtain-tag .tg-c, .reduced .curtain-tag .tg-t { opacity: 1; }
/* أيقونة داش على سطح المكتب: صورة تطبيق كاملة بدل مربع داكن */
.d-img.d-app { background: none; box-shadow: 0 6px 16px rgba(0,0,0,.45); }
.d-img.d-app img { width: 100%; height: 100%; object-fit: cover; }
.lang-switch-m { display: none; }
@media (max-width: 960px) { .lang-switch-m { display: block; font-size: 1.2rem !important; opacity: .8; } }

/* السلوقن بلا إطار: نص أصغر ينكشف كأنه يُكتب، ثم لمعة هادئة متكررة */
.tg-c { display: none !important; }
.tagline { padding: 0; font-weight: 600; letter-spacing: .01em; }
.hero-tag { font-size: clamp(1rem, 1.45vw, 1.3rem); }
.curtain-tag { font-size: clamp(.95rem, 2.1vw, 1.2rem); }
.boot-tag { font-size: inherit; }
.boot-sub { font-size: clamp(.8rem, 1.4vw, 1.05rem); }
.curtain-tag .tg-t { opacity: 0; }
.hero-tag .tg-t { clip-path: inset(0 0 0 100%); animation: tgWrite 1.1s var(--ease) .9s forwards, sloganSheen 6s ease-in-out 2s infinite; }
[dir="ltr"] .hero-tag .tg-t { clip-path: inset(0 100% 0 0); }
@keyframes tgWrite { to { clip-path: inset(0 0 0 0); } }
.finale-note { margin: 1.1rem 0 1.6rem; color: var(--mist); font-size: .98rem; }
.finale-note b { color: var(--moon); font-weight: 600; }
@media (prefers-reduced-motion: reduce) { .hero-tag .tg-t { clip-path: none; animation: none; } }
.reduced .curtain-tag .tg-t { opacity: 1; }
/* شعار مرفوع من الإدارة داخل الشاشة وعلى سطح المكتب */
.lg.lg-one { display: grid; place-items: center; }
.lg.lg-one .lg-full { position: static; width: 100%; height: auto; max-height: 100%; object-fit: contain; }
.d-img.d-app-custom { background: linear-gradient(160deg, #3a1780, #12081f); }
.d-img.d-app-custom img { object-fit: contain; padding: 4px; }
.custom-block { padding: clamp(3rem, 8vh, 6rem) var(--pad); }
.custom-block .wrap { max-width: 1100px; margin: 0 auto; }
.custom-block h2 { font-family: var(--display); font-size: clamp(1.6rem, 3vw, 2.4rem); margin: 0 0 1rem; }
.custom-block p, .custom-block li { color: var(--mist); line-height: 1.9; }

/* =====================================================================
   v7: حركة أهدأ. يبقى فقط ما له وظيفة: ستارة الشعار، شاشة الكمبيوتر، وعرض الخطوات.
   لا حبيبات متحركة، لا ضوء يتبع المؤشر، لا إمالة، لا عناصر تطفو أو تلمع بلا توقف.
   ===================================================================== */
.grain { animation: none; }
.cursor-light { display: none !important; }
.scroll-cue { display: none; }
.hero-time .dot { animation: none; box-shadow: none; }
.hero-brand-logo, .person-face { animation: none !important; }
.hero-brand-slogan { animation: none; background-position: 50% 0; }
.hero-tag .tg-t { animation: tgWrite 1.1s var(--ease) .9s forwards; }
.stitch { animation: none; clip-path: none; }
.tilt, .for-card, .plan-chip, .person { transform: none !important; }
.btn { transform: none; }
.btn span { transition: none; }
/* الأزرار: زوايا ناعمة بدل الشكل الكبسولي */
.btn, .bar-cta .btn, .mn-replay, .soon-list li { border-radius: 10px; }
/* شريط القطع يتحرك كما كان (يتوقف عند تمرير الفأرة، ويثبت مع «تقليل الحركة») */

/* v7: إطار أصفر خفيف على الباقات في الصفحة الرئيسية */
.plan-chip { box-shadow: inset 0 0 0 1px rgba(235, 163, 36, .4); }
.plan-chip:hover { box-shadow: inset 0 0 0 1px rgba(235, 163, 36, .6); }
.plan-chip.is-pop { box-shadow: inset 0 0 0 1.5px #EBA324, 0 0 0 4px rgba(235, 163, 36, .08); }

/* =====================================================================
   v7: شاشات «المنتج» بتخطيط لوحة العميل الحقيقية وألوانها
   ===================================================================== */
.show .device { width: min(560px, 100%); background: #fff; }
.show .device-screen { height: 440px; }
.show .scr { padding: 0; }
.app {
  --bg: color-mix(in srgb, var(--p) 9%, #f3eee8);
  --card: color-mix(in srgb, var(--p) 3%, #fffcf9);
  --line: color-mix(in srgb, var(--p) 20%, #e4dcd3);
  --ink: color-mix(in srgb, var(--p) 16%, #211a1f);
  --soft: color-mix(in srgb, var(--p) 22%, #5f565b);
  height: 100%; display: flex; flex-direction: column; color: var(--ink); font-family: var(--body);
  background: radial-gradient(420px 220px at 90% -10%, color-mix(in srgb, var(--p) 18%, transparent), transparent 65%),
              radial-gradient(360px 200px at -5% 110%, color-mix(in srgb, var(--g) 16%, transparent), transparent 60%), var(--bg);
}
.ap-top { display: flex; align-items: center; justify-content: space-between; padding: .6rem .9rem; border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--card) 80%, transparent); }
.ap-brand { display: flex; align-items: center; gap: .45rem; font-size: .82rem; font-weight: 600; }
.ap-logo { width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; font-size: .7rem; color: #fff; background: var(--p); }
.ap-theme { display: inline-flex; align-items: center; gap: .35rem; font-size: .66rem; color: var(--soft); padding: .2rem .55rem; border: 1px solid var(--line); border-radius: 7px; background: var(--card); }
.ap-theme i { width: 9px; height: 9px; border-radius: 3px; background: var(--p); }
.ap-body { flex: 1; min-height: 0; display: grid; grid-template-columns: 138px 1fr; gap: .7rem; padding: .7rem; }
.ap-nav { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: .45rem .35rem; display: grid; align-content: start; gap: .25rem; overflow: hidden; }
.ap-group { display: grid; gap: 1px; }
.ap-group + .ap-group { border-top: 1px solid var(--line); padding-top: .3rem; }
.ap-group small { font-size: .56rem; color: var(--soft); padding: .1rem .45rem; font-weight: 600; }
.ap-link { display: flex; align-items: center; gap: .4rem; font-size: .66rem; color: var(--soft); padding: .32rem .45rem; border-radius: 8px; white-space: nowrap; }
.ap-link em { font-style: normal; overflow: hidden; text-overflow: ellipsis; }
.ap-link .ic { width: 12px; height: 12px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ap-link.on { background: color-mix(in srgb, var(--p) 14%, transparent); color: color-mix(in srgb, var(--p) 75%, #000); font-weight: 600; box-shadow: inset -2px 0 0 var(--p); }
.ap-main { min-width: 0; display: flex; flex-direction: column; gap: .55rem; overflow: hidden; }
.ap-h { display: flex; justify-content: space-between; align-items: baseline; }
.ap-h b { font-family: var(--display); font-size: 1.1rem; font-weight: 700; }
.ap-h em { font-style: normal; font-size: .7rem; color: var(--soft); }
.ap-card { background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 1px 2px color-mix(in srgb, var(--p) 8%, transparent), 0 8px 20px -12px color-mix(in srgb, var(--p) 30%, transparent); }
.ap-chips { display: flex; gap: .3rem; }
.ap-chips span { font-size: .62rem; padding: .22rem .55rem; border-radius: 7px; border: 1px solid var(--line); background: var(--card); color: var(--soft); }
.ap-chips span.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.ap-list { padding: .2rem .55rem; }
.ap-row { display: flex; align-items: center; gap: .55rem; padding: .5rem 0; }
.ap-row + .ap-row { border-top: 1px solid color-mix(in srgb, var(--line) 60%, transparent); }
.ap-row div { flex: 1; min-width: 0; }
.ap-row b { display: block; font-size: .78rem; font-weight: 600; }
.ap-row small { display: block; color: var(--soft); font-size: .64rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ap-av { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: .7rem; background: var(--c); flex: none; }
.ap-badge { font-size: .58rem; padding: .18rem .45rem; border-radius: 6px; white-space: nowrap; background: color-mix(in srgb, var(--p) 14%, #fff); color: color-mix(in srgb, var(--p) 70%, #000); }
.ap-badge.good { background: #e9f5ee; color: #3d7d55; } .ap-badge.warn { background: #fdecea; color: #b3382c; }
.ap-team { display: grid; grid-template-columns: repeat(3, 1fr); gap: .45rem; }
.ap-mate { padding: .5rem .3rem; text-align: center; }
.ap-mate .crew-face, .ap-mate svg { margin: 0 auto .15rem; display: block; }
.ap-mate b { display: block; font-size: .72rem; } .ap-mate small { font-size: .6rem; color: var(--soft); }
.ap-say { padding: .6rem .7rem; font-size: .72rem; line-height: 1.8; border-radius: 12px 12px 12px 4px; }
.ap-say b { color: var(--p); font-weight: 600; }
.ap-posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 5px; }
.ap-posts i { aspect-ratio: 1.15; border-radius: 7px; background: var(--b); }
.ap-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: .45rem; }
.ap-kpi { padding: .55rem .7rem; display: grid; }
.ap-kpi small { font-size: .62rem; color: var(--soft); }
.ap-kpi b { font-family: var(--serif); font-size: 1.7rem; line-height: 1.1; font-weight: 400; }
.ap-kpi em { font-style: normal; font-size: .6rem; color: var(--soft); }
.ap-bars { display: flex; align-items: flex-end; gap: 7px; height: 92px; padding: .6rem .7rem; direction: ltr; }
.ap-bars i { flex: 1; height: var(--h); border-radius: 5px 5px 2px 2px; background: linear-gradient(180deg, color-mix(in srgb, var(--p) 55%, #fff), var(--p)); transform-origin: 50% 100%; }
.scr.is-on .ap-bars i { animation: bar-up .9s var(--ease) both; }
.scr.is-on .ap-bars i:nth-child(2) { animation-delay: .06s } .scr.is-on .ap-bars i:nth-child(3) { animation-delay: .12s }
.scr.is-on .ap-bars i:nth-child(4) { animation-delay: .18s } .scr.is-on .ap-bars i:nth-child(5) { animation-delay: .24s } .scr.is-on .ap-bars i:nth-child(6) { animation-delay: .3s }

/* نسخة الجوال من الشاشات: مخفية على الكمبيوتر */
.step-shot { display: none; }

@media (max-width: 960px) {
  /* بدل شاشة ثابتة أعلى الصفحة تغطي النص: كل خطوة معها شاشتها */
  .show-sticky { display: none; }
  .show-steps { padding: 2rem 0 4rem; }
  .step { min-height: 0; opacity: 1; padding: 2.2rem 0; }
  .step + .step { border-top: 1px solid var(--hair); }
  .step-shot { display: block; margin-top: 1.4rem; }
  .step-shot .device { width: 100%; transform: none; box-shadow: 0 30px 60px -30px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.08), 0 0 50px -16px rgba(109,59,255,.45); }
  .step-shot .device-screen { height: 360px; }
  .step-shot .scr { position: relative; opacity: 1; transform: none; filter: none; height: 100%; }
}
@media (max-width: 520px) {
  .ap-body { grid-template-columns: 1fr; }
  .ap-nav { display: flex; gap: .2rem; padding: .3rem; overflow-x: auto; scrollbar-width: none; }
  .ap-nav::-webkit-scrollbar { display: none; }
  .ap-group { display: flex; gap: .2rem; }
  .ap-group + .ap-group { border-top: 0; padding-top: 0; border-inline-start: 1px solid var(--line); padding-inline-start: .2rem; }
  .ap-group small { display: none; }
  .ap-link.on { box-shadow: none; }
  .ap-link em { display: none; }
  .ap-link.on em { display: inline; }
  .ap-link { padding: .35rem .5rem; }
  .step-shot .device-screen { height: auto; }
  .step-shot .app { min-height: 340px; }
}
/* بالإنجليزي: الشاشة المصغّرة من اليسار لليمين مثل اللوحة الحقيقية */
html[dir="ltr"] .device-screen { direction: ltr; }
html[dir="ltr"] .ap-link.on { box-shadow: inset 2px 0 0 var(--p); }
html[dir="ltr"] .ap-say { border-radius: 12px 12px 4px 12px; }
