/* ============================================================
   سليمان SI — الرئيسية | هوية «النَّوَاة» v1.0
   ملف الرئيسية فقط — صفحات العوالم الخمس على style.css القديم
   الألوان مستخرجة من صور المالك الخمس (انظر identity.html)
   ============================================================ */

:root {
  --si-void:     #020A14;
  --si-abyss:    #001830;
  --si-deep:     #002A54;
  --si-circuit:  #00508C;
  --si-electric: #1B78C8;
  --si-glow:     #28A0DC;
  --si-cyan:     #5FE8F0;
  --si-spark:    #E8A33D;
  --si-white:    #EAF4FC;
  --si-dim:      #8FB0CE;
  --si-line:     rgba(90, 168, 220, .22);
  --si-safe:     #35D08C;
  --kufi: "Noto Kufi Arabic", sans-serif;
  --plex: "IBM Plex Sans Arabic", sans-serif;
  --mono: "IBM Plex Mono", monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--plex);
  color: var(--si-white);
  font-size: 16.5px;
  line-height: 1.95;
  background:
    radial-gradient(1000px 520px at 50% -160px, rgba(0, 80, 140, .40), transparent 62%),
    radial-gradient(800px 460px at 50% 108%, rgba(0, 80, 140, .20), transparent 60%),
    linear-gradient(180deg, var(--si-abyss) 0%, var(--si-void) 42%, #010D1C 78%, var(--si-abyss) 100%);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
.latin { font-family: var(--mono); letter-spacing: .08em; }

/* ================= الفلكُ يسبح — السماء والنجوم ================= */
.sky {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  overflow: hidden;
}
.sky__stars, .sky__stars::after {
  content: ""; position: absolute; inset: 0;
  background-repeat: no-repeat;
}
/* عناقيد نجوم صغيرة عبر الشاشة (ظلال متعددة) */
.sky__stars {
  background-image:
    radial-gradient(1.6px 1.6px at 12% 22%, rgba(95,232,240,.55), transparent 60%),
    radial-gradient(1.2px 1.2px at 78% 14%, rgba(234,244,252,.5), transparent 60%),
    radial-gradient(1.8px 1.8px at 88% 42%, rgba(95,232,240,.4), transparent 60%),
    radial-gradient(1.2px 1.2px at 32% 8%,  rgba(234,244,252,.45), transparent 60%),
    radial-gradient(1.5px 1.5px at 55% 30%, rgba(40,160,220,.45), transparent 60%),
    radial-gradient(1.2px 1.2px at 8% 58%,  rgba(234,244,252,.4), transparent 60%),
    radial-gradient(1.6px 1.6px at 68% 66%, rgba(95,232,240,.35), transparent 60%),
    radial-gradient(1.2px 1.2px at 92% 78%, rgba(234,244,252,.42), transparent 60%),
    radial-gradient(1.5px 1.5px at 22% 84%, rgba(40,160,220,.38), transparent 60%),
    radial-gradient(1.2px 1.2px at 45% 92%, rgba(95,232,240,.32), transparent 60%);
  animation: twinkle 7s ease-in-out infinite alternate;
}
.sky__stars::after {
  background-image:
    radial-gradient(1.3px 1.3px at 18% 40%, rgba(234,244,252,.4), transparent 60%),
    radial-gradient(1.7px 1.7px at 42% 60%, rgba(95,232,240,.35), transparent 60%),
    radial-gradient(1.2px 1.2px at 60% 18%, rgba(234,244,252,.45), transparent 60%),
    radial-gradient(1.5px 1.5px at 82% 56%, rgba(40,160,220,.4), transparent 60%),
    radial-gradient(1.2px 1.2px at 28% 12%, rgba(95,232,240,.4), transparent 60%),
    radial-gradient(1.6px 1.6px at 72% 88%, rgba(234,244,252,.35), transparent 60%),
    radial-gradient(1.2px 1.2px at 50% 44%, rgba(40,160,220,.36), transparent 60%);
  animation: twinkle 9s ease-in-out 1.2s infinite alternate-reverse;
}
@keyframes twinkle { from { opacity: .45; } to { opacity: 1; } }

/* المدارات داخل البطل — لكلٍّ في فلكٍ يسبح */
.hero { position: relative; overflow: hidden; }
.orbits {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  display: grid; place-items: center;
}
.orbits::before {
  content: ""; position: absolute; width: min(720px, 92vw); aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 80, 140, .22), transparent 66%);
  filter: blur(6px);
}
.orbit {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(90, 168, 220, .16);
  animation: falc linear infinite;
}
.orbit b {
  position: absolute; top: -3.5px; left: 50%;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--si-glow);
  box-shadow: 0 0 12px 2px rgba(40, 160, 220, .65);
}
.orbit--1 { width: min(340px, 74vw);  aspect-ratio: 1; animation-duration: 60s; }
.orbit--2 { width: min(540px, 88vw);  aspect-ratio: 1/.94; animation-duration: 96s; animation-direction: reverse; }
.orbit--2 b { background: var(--si-cyan); box-shadow: 0 0 14px 2px rgba(95, 232, 240, .6); }
.orbit--3 { width: min(760px, 100vw); aspect-ratio: 1/.9;  animation-duration: 140s; }
.orbit--4 { width: min(1000px, 118vw); aspect-ratio: 1/.86; animation-duration: 200s; animation-direction: reverse; }
.orbit--4 b {
  width: 9px; height: 9px;
  background: var(--si-spark);
  box-shadow: 0 0 16px 3px rgba(232, 163, 61, .55);
}
@keyframes falc { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* ================= شريط الافتخار ================= */
.topbar {
  position: relative; z-index: 3;
  background: rgba(2, 10, 20, .85);
  border-bottom: 1px solid var(--si-line);
  text-align: center; font-size: 13px; padding: 7px 14px;
  color: var(--si-dim);
}
.topbar__motto { font-family: var(--kufi); font-weight: 700; color: var(--si-cyan); letter-spacing: .02em; }
.topbar__sep { display: inline-block; width: 22px; height: 1px; background: var(--si-line); margin: 0 12px; vertical-align: middle; }
.topbar__latin { font-family: var(--mono); font-size: 11px; letter-spacing: .22em; opacity: .8; direction: ltr; display: inline-block; }

/* ================= الترويسة ================= */
.header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(0, 24, 48, .82);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--si-line);
}
.header__inner {
  max-width: 1180px; margin: 0 auto; padding: 10px clamp(16px, 4vw, 32px);
  display: flex; align-items: center; gap: 18px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand__crest {
  width: 52px; height: 52px; border-radius: 50%;
  border: 2px solid rgba(232, 163, 61, .55);
  box-shadow: 0 0 0 3px rgba(0, 42, 84, .8), 0 0 22px rgba(40, 160, 220, .3);
  background: var(--si-deep);
}
.brand__text { display: flex; flex-direction: column; line-height: 1.45; }
.brand__name { font-family: var(--kufi); font-weight: 800; font-size: 19px; color: var(--si-white); }
.brand__si { color: var(--si-cyan); font-family: var(--mono); font-size: 15px; letter-spacing: .06em; }
.brand__sub { font-size: 11.5px; color: var(--si-dim); letter-spacing: .03em; }
.nav { margin-inline-start: auto; display: flex; align-items: center; gap: 4px; }
.nav__link {
  text-decoration: none; color: var(--si-dim); font-size: 14.5px; font-weight: 500;
  padding: 8px 13px; border-radius: 10px; position: relative;
  transition: color .2s, background .2s;
}
.nav__link:hover { color: var(--si-white); background: rgba(0, 80, 140, .28); }
.nav__link--cta {
  border: 1px solid rgba(95, 232, 240, .4); color: var(--si-cyan);
  font-family: var(--kufi); font-weight: 700; font-size: 13.5px;
}
.nav__link--cta:hover { background: rgba(0, 80, 140, .45); border-color: var(--si-cyan); }
.burger {
  display: none; margin-inline-start: auto;
  background: none; border: 1px solid var(--si-line); border-radius: 10px;
  padding: 9px 10px; cursor: pointer;
}
.burger span { display: block; width: 20px; height: 2px; background: var(--si-white); margin: 4px 0; border-radius: 2px; }

/* ================= البطل ================= */
.hero__frame {
  position: relative; z-index: 2;
  max-width: 880px; margin: 0 auto;
  padding: clamp(46px, 8vw, 88px) clamp(18px, 5vw, 40px) clamp(52px, 7vw, 78px);
  text-align: center;
}
.hero__crest {
  width: clamp(96px, 14vw, 132px); height: auto; aspect-ratio: 1;
  margin: 0 auto 22px; border-radius: 50%;
  border: 2.5px solid rgba(232, 163, 61, .6);
  box-shadow:
    0 0 0 6px rgba(0, 42, 84, .75),
    0 0 44px rgba(40, 160, 220, .35),
    inset 0 0 26px rgba(0, 0, 0, .35);
  background: var(--si-deep);
}
.hero__name {
  font-family: var(--kufi); font-weight: 800;
  font-size: clamp(38px, 7vw, 66px); line-height: 1.35;
  background: linear-gradient(180deg, #FFFFFF, #9CC8E8 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: 0 0 70px rgba(40, 160, 220, .22);
}
.hero__si { font-family: var(--mono); letter-spacing: .04em; }
.rule { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 18px auto; }
.rule span { width: min(150px, 26vw); height: 1px; background: linear-gradient(90deg, transparent, var(--si-glow)); }
.rule span:last-child { background: linear-gradient(90deg, var(--si-glow), transparent); }
.rule i {
  width: 9px; height: 9px; transform: rotate(45deg);
  background: var(--si-spark);
  box-shadow: 0 0 12px rgba(232, 163, 61, .7);
}
.rule--dark span { background: linear-gradient(90deg, transparent, rgba(90, 168, 220, .5)); }
.rule--dark span:last-child { background: linear-gradient(90deg, rgba(90, 168, 220, .5), transparent); }
.hero__tagline { font-family: var(--kufi); font-weight: 700; font-size: clamp(17px, 2.6vw, 21px); color: var(--si-cyan); letter-spacing: .02em; }
.hero__lead { max-width: 640px; margin: 14px auto 0; color: var(--si-dim); font-size: clamp(15px, 2.2vw, 17px); }
.hero__lead strong { color: var(--si-white); font-weight: 600; }
.hero__motto { font-family: var(--mono); font-size: 12px; letter-spacing: .18em; color: var(--si-glow); margin-top: 16px; }
.hero__actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-top: 26px; }

/* الأزرار */
.btn {
  display: inline-block; text-decoration: none; text-align: center;
  font-family: var(--kufi); font-weight: 700; font-size: 15.5px;
  padding: 13px 34px; border-radius: 12px;
  transition: transform .2s, box-shadow .2s, filter .2s;
}
.btn:active { transform: translateY(1px); }
.btn--primary {
  color: #FFFFFF;
  background: linear-gradient(180deg, var(--si-electric), var(--si-circuit));
  border: 1px solid rgba(95, 232, 240, .35);
  box-shadow: 0 8px 26px -8px rgba(27, 120, 200, .65), inset 0 1px 0 rgba(255, 255, 255, .18);
}
.btn--primary:hover { filter: brightness(1.12); box-shadow: 0 10px 32px -8px rgba(27, 120, 200, .8); }
.btn--ghost {
  color: var(--si-white);
  border: 1px solid var(--si-line); background: rgba(0, 42, 84, .35);
}
.btn--ghost:hover { border-color: var(--si-glow); background: rgba(0, 80, 140, .3); }
.btn--gold {
  color: #231303;
  background: linear-gradient(180deg, #F2B954, var(--si-spark) 60%, #D08E2B);
  border: 1px solid rgba(255, 214, 140, .6);
  box-shadow: 0 10px 30px -10px rgba(232, 163, 61, .55), inset 0 1px 0 rgba(255, 255, 255, .35);
}
.btn--gold:hover { filter: brightness(1.07); }

/* الإحصاءات */
.hero__stats {
  display: flex; align-items: stretch; justify-content: center;
  gap: clamp(10px, 3vw, 26px); margin-top: 34px; flex-wrap: wrap;
}
.stat { min-width: 120px; }
.stat dt { font-family: var(--mono); font-weight: 600; font-size: clamp(20px, 3.4vw, 27px); color: var(--si-cyan); direction: ltr; }
.stat dd { font-size: 12.5px; color: var(--si-dim); margin-top: 2px; }
.stat--sep { flex: 0 0 1px; background: var(--si-line); min-width: 0; }

/* شريط الثقة — الأمان المرئي */
.trust {
  display: flex; justify-content: center; gap: 10px; flex-wrap: wrap;
  margin-top: 30px;
}
.trust__chip {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em;
  color: var(--si-safe);
  border: 1px solid rgba(53, 208, 140, .3);
  background: rgba(53, 208, 140, .06);
  padding: 6px 14px; border-radius: 100px;
  direction: ltr;
}
.trust__chip svg { width: 13px; height: 13px; flex: none; }
.trust__chip b { font-weight: 600; }

/* ================= الأقسام العامة ================= */
.section { position: relative; z-index: 2; max-width: 1180px; margin: 0 auto; padding: clamp(46px, 8vw, 84px) clamp(16px, 4vw, 32px); }
.section--tinted {
  max-width: none; padding-inline: 0;
  background: rgba(0, 42, 84, .22);
  border-top: 1px solid var(--si-line);
  border-bottom: 1px solid var(--si-line);
}
.section--tinted > * { max-width: 1180px; margin-inline: auto; padding-inline: clamp(16px, 4vw, 32px); }
.section__head { text-align: center; max-width: 760px; margin: 0 auto clamp(30px, 5vw, 48px); }
.section__kicker {
  font-family: var(--mono); font-size: 12px; letter-spacing: .14em;
  color: var(--si-glow); margin-bottom: 10px;
}
.section__title { font-family: var(--kufi); font-weight: 800; font-size: clamp(24px, 4.4vw, 36px); line-height: 1.6; }
.section__title .latin { color: var(--si-cyan); font-size: .8em; }
.section__sub { color: var(--si-dim); margin-top: 14px; font-size: 15px; }
.section__sub strong { color: var(--si-white); }

/* ================= مسطرة النمو ================= */
.ruler { position: relative; margin: 0 auto clamp(30px, 5vw, 46px); max-width: 820px; padding: 0 8px; }
.ruler__line {
  height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--si-circuit) 12%, var(--si-glow) 50%, var(--si-circuit) 88%, transparent);
  box-shadow: 0 0 14px rgba(40, 160, 220, .3);
}
.ruler__ticks {
  list-style: none; display: flex; justify-content: space-between;
  margin-top: -9px; padding: 0 4px;
}
.ruler__ticks li { text-align: center; }
.ruler__ticks b {
  display: block; font-family: var(--mono); font-weight: 600; font-size: 14.5px;
  color: var(--si-cyan); padding-top: 10px; position: relative;
}
.ruler__ticks b::before {
  content: ""; position: absolute; top: -1px; left: 50%; transform: translateX(-50%);
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--si-abyss); border: 2px solid var(--si-glow);
  box-shadow: 0 0 8px rgba(40, 160, 220, .5);
}
.ruler__ticks li:last-child b::before { border-color: var(--si-spark); box-shadow: 0 0 10px rgba(232, 163, 61, .6); }
.ruler__ticks span { font-size: 10.5px; color: var(--si-dim); }

/* ================= البوابات الخمس — الرقاقات ================= */
.stages__grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px;
  align-items: stretch;
}
.stage {
  position: relative; display: flex; flex-direction: column;
  border: 1px solid var(--si-line); border-radius: 18px;
  background: linear-gradient(180deg, rgba(0, 42, 84, .55), rgba(0, 20, 42, .8));
  box-shadow: 0 0 0 3px rgba(0, 42, 84, .35), 0 18px 44px -20px rgba(0, 0, 0, .8);
  text-decoration: none; overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
/* أرجل الرقاقة */
.stage::before, .stage::after,
.stage__body::before, .stage__body::after {
  content: ""; position: absolute; width: 22px; height: 3px;
  background: var(--si-circuit); border-radius: 2px;
  box-shadow: 0 0 7px rgba(40, 160, 220, .55);
  z-index: 3;
}
.stage::before { top: -1px; right: 18%; }
.stage::after  { top: -1px; left: 18%; }
.stage__body::before { bottom: -1px; right: 18%; }
.stage__body::after  { bottom: -1px; left: 18%; }

.stage:hover, .stage:focus-visible {
  transform: translateY(-6px);
  border-color: rgba(95, 232, 240, .55);
  box-shadow:
    0 0 0 3px rgba(0, 42, 84, .5),
    0 0 34px rgba(40, 160, 220, .35),
    0 26px 54px -22px rgba(0, 0, 0, .85);
  outline: none;
}
.stage__band {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 14px;
  background: rgba(0, 80, 140, .3);
  border-bottom: 1px solid var(--si-line);
}
.stage__num {
  font-family: var(--mono); font-weight: 600; font-size: 12.5px;
  letter-spacing: .16em; color: var(--si-cyan); direction: ltr;
}
.stage__label { font-size: 11px; color: var(--si-dim); }
.stage__frame { padding: 10px 10px 0; }
.stage__img {
  width: 100%; aspect-ratio: 4/4.4; object-fit: cover; object-position: top;
  border-radius: 12px;
  border: 1px solid rgba(234, 244, 252, .16);
  filter: saturate(.92);
  transition: transform .35s ease, filter .35s ease;
}
.stage:hover .stage__img { transform: scale(1.04); filter: saturate(1.05); }
.stage__body { padding: 14px 15px 18px; display: flex; flex-direction: column; flex: 1; }
.stage__name { font-family: var(--kufi); font-weight: 800; font-size: 19px; }
.stage__ages { font-family: var(--mono); font-size: 11px; color: var(--si-glow); letter-spacing: .08em; margin-top: 2px; }
.stage__desc { font-size: 12.8px; color: var(--si-dim); line-height: 1.85; margin-top: 10px; }
.stage__desc strong { color: var(--si-white); }
.stage__list { list-style: none; margin-top: 12px; display: grid; gap: 6px; }
.stage__list li {
  font-size: 12.2px; color: var(--si-dim);
  padding-inline-start: 16px; position: relative;
}
.stage__list li::before {
  content: ""; position: absolute; inset-inline-start: 0; top: .62em;
  width: 7px; height: 7px; border-radius: 2px; transform: rotate(45deg);
  background: var(--si-circuit); box-shadow: 0 0 6px rgba(40, 160, 220, .5);
}
.stage__cta {
  margin-top: auto; padding-top: 16px;
  font-family: var(--kufi); font-weight: 700; font-size: 13.5px;
  color: var(--si-cyan);
}
.stage__cta--enter { transition: filter .2s; }
.stage:hover .stage__cta--enter { filter: brightness(1.25); }

/* ================= الأعمدة الثلاثة ================= */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 1180px; }
.pillar {
  border: 1px solid var(--si-line); border-radius: 18px;
  background: linear-gradient(180deg, rgba(0, 42, 84, .5), rgba(0, 22, 46, .7));
  padding: 30px 26px; text-align: center;
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.pillar:hover {
  transform: translateY(-4px);
  border-color: rgba(95, 232, 240, .45);
  box-shadow: 0 0 30px rgba(40, 160, 220, .22);
}
.pillar__cap {
  width: 62px; height: 62px; margin: 0 auto 16px;
  display: grid; place-items: center; border-radius: 16px;
  color: var(--si-cyan);
  background: rgba(0, 80, 140, .32);
  border: 1px solid var(--si-line);
  box-shadow: inset 0 0 18px rgba(40, 160, 220, .18);
}
.pillar__title { font-family: var(--kufi); font-weight: 700; font-size: 18.5px; }
.pillar__text { font-size: 13.8px; color: var(--si-dim); margin-top: 10px; line-height: 1.95; }

/* ================= الأجنحة ================= */
.wings__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 1180px; }
.wing {
  position: relative;
  border: 1px solid var(--si-line); border-radius: 18px;
  background: linear-gradient(180deg, rgba(0, 42, 84, .45), rgba(0, 20, 42, .75));
  padding: 30px 26px;
}
.wing__seal {
  position: absolute; top: 16px; inset-inline-end: 16px;
  font-family: var(--mono); font-size: 10px; letter-spacing: .12em;
  color: var(--si-dim);
  border: 1px dashed var(--si-line);
  padding: 4px 12px; border-radius: 100px;
}
.wing__title { font-family: var(--kufi); font-weight: 700; font-size: 18.5px; margin-top: 4px; }
.wing__text { font-size: 13.8px; color: var(--si-dim); margin-top: 10px; line-height: 1.95; }

/* ================= عن الأكاديمية ================= */
.about__inner { max-width: 820px; text-align: center; }
.about__text { color: var(--si-dim); font-size: 15.5px; margin-top: 20px; }
.about__text strong { color: var(--si-white); }
.about__quote {
  margin-top: 26px; padding: 22px 26px;
  border-inline-start: 2px solid var(--si-glow);
  background: rgba(0, 80, 140, .18); border-radius: 14px;
  text-align: start;
}
.about__quote p { font-family: var(--kufi); font-weight: 700; font-size: 16.5px; color: var(--si-white); }
.about__quote cite { display: block; margin-top: 8px; font-family: var(--mono); font-style: normal; font-size: 11.5px; letter-spacing: .1em; color: var(--si-glow); }

/* ================= النداء ================= */
.cta { position: relative; z-index: 2; padding: clamp(46px, 8vw, 80px) 18px; text-align: center; }
.cta__inner { max-width: 680px; margin: 0 auto; }
.cta__title { font-family: var(--kufi); font-weight: 800; font-size: clamp(26px, 5vw, 40px); }
.cta__text { color: var(--si-dim); margin: 12px 0 26px; font-size: 15.5px; }

/* ================= التذييل ================= */
.footer {
  position: relative; z-index: 2;
  border-top: 1px solid var(--si-line);
  background: rgba(2, 10, 20, .8);
}
.footer__inner {
  max-width: 1180px; margin: 0 auto;
  padding: 34px clamp(16px, 4vw, 32px) 40px;
  display: flex; align-items: center; gap: 26px; flex-wrap: wrap;
}
.footer__brand { display: flex; align-items: center; gap: 12px; }
.footer__crest {
  width: 44px; height: 44px; border-radius: 50%;
  border: 2px solid rgba(232, 163, 61, .5); background: var(--si-deep);
}
.footer__name { font-family: var(--kufi); font-weight: 800; font-size: 16px; }
.footer__name .latin { color: var(--si-cyan); font-size: 13px; }
.footer__tag { font-size: 11.5px; color: var(--si-dim); }
.footer__nav { display: flex; gap: 16px; flex-wrap: wrap; margin-inline-start: auto; }
.footer__nav a { text-decoration: none; color: var(--si-dim); font-size: 13px; transition: color .2s; }
.footer__nav a:hover { color: var(--si-cyan); }
.footer__family { width: 100%; text-align: center; border-top: 1px dashed var(--si-line); padding-top: 18px; font-size: 12px; color: var(--si-dim); }
.footer__family a { color: var(--si-glow); text-decoration: none; }
.footer__copy { font-family: var(--mono); font-size: 10.5px; letter-spacing: .06em; margin-top: 4px; opacity: .75; }
.footer__ver { font-family: var(--mono); font-size: 9.5px; letter-spacing: .12em; color: var(--si-dim); opacity: .7; direction: ltr; display: inline-block; margin-inline-start: 10px; padding: 1px 8px; border: 1px solid var(--si-line); border-radius: 100px; vertical-align: 1px; }

/* ================= الظهور التدريجي ================= */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ================= استجابة ================= */
@media (max-width: 1120px) {
  .stages__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 960px) {
  .nav {
    position: absolute; top: 100%; inset-inline: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: rgba(0, 24, 48, .97);
    border-bottom: 1px solid var(--si-line);
    padding: 14px clamp(16px, 4vw, 32px) 18px;
    display: none;
  }
  .nav.open { display: flex; }
  .burger { display: block; }
  .pillars, .wings__grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
}
@media (max-width: 760px) {
  .stages__grid { grid-template-columns: repeat(2, 1fr); gap: 13px; }
  .stat dt { font-size: 19px; }
  .hero__stats { gap: 12px; }
}
@media (max-width: 560px) {
  body { font-size: 15.5px; }
  .stages__grid { grid-template-columns: 1fr; max-width: 400px; margin-inline: auto; }
  .trust__chip { font-size: 9.5px; padding: 5px 11px; }
  .ruler__ticks span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .orbit, .sky__stars, .sky__stars::after { animation: none !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .stage, .pillar, .btn { transition: none; }
}
