/* ============================================================
   اغاني بالذكاء الإصطناعي — الموقع التعريفي
   لغة بصرية مشتقّة من الشعار نفسه: تفتّت بكسلي ذهبي + موجة صوت.
   الذهبي للهوية والفخامة، والوردي/البنفسجي للصوت والطاقة.
   ============================================================ */

:root {
  --ink:      #0D0F14;
  --ink-2:    #0A0C11;
  --surface:  #1A1F2B;
  --violet:   #2F2A45;
  --pink:     #E6397E;
  --gold:     #D4AF37;
  --paper:    #E6E7EB;

  --gold-lt:  #F3DE9C;
  --gold-dk:  #8E6F1F;
  --purple:   #8B5CF6;

  --muted:    #98A0B4;
  --faint:    #666F85;
  --line:     rgba(230,231,235,.09);

  --g-gold:   linear-gradient(135deg, var(--gold-lt), var(--gold) 48%, var(--gold-dk));
  --g-sound:  linear-gradient(90deg, var(--pink), var(--purple) 52%, var(--gold));

  --shell:    1140px;
  --nav-h:    76px;
  --ease:     cubic-bezier(.22,1,.36,1);

  --font: "Tajawal", "Cairo", "IBM Plex Sans Arabic", -apple-system,
          BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 24px); }

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img, svg, canvas { display: block; max-width: 100%; }
h1,h2,h3,h4 { margin: 0; line-height: 1.22; font-weight: 800; letter-spacing: -.02em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
::selection { background: var(--gold); color: var(--ink); }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 8px; }

.shell { width: min(100% - 40px, var(--shell)); margin-inline: auto; }
.shell.narrow { max-width: 780px; }
.muted { color: var(--faint); }

.skip-link {
  position: absolute; inset-inline-start: -9999px; top: 12px; z-index: 999;
  background: var(--gold); color: var(--ink); padding: 10px 18px;
  border-radius: 10px; font-weight: 700;
}
.skip-link:focus { inset-inline-start: 20px; }

/* ─────────────────────────────────── خيط التقدّم ─── */

.scroll-line {
  position: fixed; inset-inline: 0; top: 0; height: 2px; z-index: 200;
  background: transparent; pointer-events: none;
}
.scroll-line i {
  display: block; height: 100%; width: 0;
  background: var(--g-sound);
  box-shadow: 0 0 12px rgba(212,175,55,.55);
}

/* ─────────────────────────────────────── الشريط ─── */

.nav {
  position: fixed; inset-inline: 0; top: 0; height: var(--nav-h); z-index: 100;
  display: flex; align-items: center;
  border-bottom: 1px solid transparent;
  transition: background .35s var(--ease), border-color .35s var(--ease);
}
.nav.is-stuck {
  background: rgba(10,12,17,.78);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav .shell { display: flex; align-items: center; justify-content: space-between; gap: 22px; }

.brand { display: flex; align-items: center; gap: 11px; }
.brand img { width: 42px; height: 42px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text b { font-size: 17px; font-weight: 800; letter-spacing: -.01em; }
.brand-text span { font-size: 10px; font-weight: 700; color: var(--gold); letter-spacing: .04em; }

.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { font-size: 15px; color: var(--muted); position: relative; transition: color .22s; }
.nav-links a::after {
  content: ""; position: absolute; inset-inline-start: 0; bottom: -7px;
  height: 2px; width: 0; background: var(--g-gold); transition: width .28s var(--ease);
}
.nav-links a:hover { color: var(--paper); }
.nav-links a:hover::after { width: 100%; }

.nav-cta { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none; width: 44px; height: 44px; padding: 0;
  background: transparent; border: 1px solid var(--line); border-radius: 12px;
  place-items: center;
}
.nav-toggle span {
  display: block; width: 19px; height: 2px; background: var(--paper); border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s;
}
.nav-toggle span + span { margin-top: 5px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─────────────────────────────────────── الأزرار ─── */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 26px; border-radius: 999px; border: 1px solid transparent;
  font-size: 15px; font-weight: 700; white-space: nowrap;
  transition: transform .24s var(--ease), box-shadow .24s var(--ease),
              background .24s, border-color .24s, color .24s;
}
.btn svg { width: 17px; height: 17px; flex: none; }
.btn-lg { padding: 16px 34px; font-size: 16.5px; }
.btn-sm { padding: 10px 20px; font-size: 14px; }

.btn-gold {
  background: var(--g-gold); color: #241B03;
  box-shadow: 0 10px 30px -8px rgba(212,175,55,.55);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 18px 42px -10px rgba(212,175,55,.7); }

.btn-line { border-color: rgba(230,231,235,.18); color: var(--paper); }
.btn-line:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }

.btn:disabled { opacity: .45; pointer-events: none; }

/* ═══════════════════════════════════════ البطل ═══ */

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: calc(var(--nav-h) + 40px) 0 70px;
  overflow: hidden;
  text-align: center;
}

/* حقل البكسلات المرسوم */
#heroField { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }

/* حجاب يُبقي النص مقروءًا فوق الحقل المتحرّك */
.hero-veil {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(58% 46% at 50% 44%, rgba(13,15,20,.86) 0%, rgba(13,15,20,.55) 45%, transparent 78%),
    radial-gradient(90% 60% at 50% 120%, rgba(47,42,69,.55), transparent 62%),
    linear-gradient(180deg, rgba(13,15,20,.85), transparent 22%, transparent 72%, var(--ink) 100%);
}

.hero-inner { position: relative; z-index: 2; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 18px; border-radius: 999px;
  border: 1px solid rgba(212,175,55,.3); background: rgba(212,175,55,.07);
  color: var(--gold); font-size: 13px; font-weight: 700;
  margin-bottom: 30px;
}
.eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--gold);
  animation: blip 2.6s ease-in-out infinite;
}
@keyframes blip { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.35;transform:scale(.7)} }

/* الاسم بحجم افتتاحي كبير — هو البطل البصري.
   ملاحظة خطّية: الحرف العربي له نزول عميق (ياء «اغاني» ونقطتاها)، فلا
   يصلح معه ضغط line-height دون الواحد كما يُفعل مع اللاتيني — يتصادم
   السطر مع ما تحته. نُبقي مساحة نزول كافية. */
.display { display: grid; gap: 6px; margin-bottom: 26px; }
.display .line-1 {
  font-size: clamp(58px, 11.5vw, 138px);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -.035em;
  background: linear-gradient(180deg, #FFFFFF 8%, #C9CEDA 58%, #7E8598 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 8px 40px rgba(255,255,255,.09));
}
.display .line-2 {
  font-size: clamp(20px, 3.6vw, 40px);
  font-weight: 800;
  letter-spacing: -.01em;
  background: var(--g-gold);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* الشعار النصي بفواصل ذهبية */
.tagline {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 12px;
  font-size: clamp(14px, 1.8vw, 17px); font-weight: 700;
  color: var(--muted); letter-spacing: .16em;
  margin-bottom: 26px;
}
.tagline i { color: var(--gold); font-style: normal; opacity: .8; }

.hero-lede {
  max-width: 54ch; margin: 0 auto 38px;
  color: var(--muted); font-size: clamp(15px, 1.8vw, 17.5px);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

.scroll-hint {
  display: grid; place-items: start center;
  width: 26px; height: 42px; margin: 62px auto 0;
  border: 1.5px solid rgba(230,231,235,.22); border-radius: 999px;
  padding-top: 8px;
}
.scroll-hint span {
  width: 3px; height: 8px; border-radius: 2px; background: var(--gold);
  animation: dive 1.9s var(--ease) infinite;
}
@keyframes dive { 0%{opacity:0;transform:translateY(-4px)} 40%{opacity:1} 100%{opacity:0;transform:translateY(14px)} }

/* ═══════════════════════════════════════ الأقسام ═══ */

.section { padding: 120px 0; position: relative; }

.sec-head { text-align: center; max-width: 640px; margin: 0 auto 64px; }
.kicker {
  display: inline-block; color: var(--gold);
  font-size: 12.5px; font-weight: 800; letter-spacing: .22em;
  margin-bottom: 16px;
}
.sec-head h2 {
  font-size: clamp(30px, 4.6vw, 50px);
  font-weight: 800; margin-bottom: 16px;
}
.sec-head p { color: var(--muted); font-size: 16.5px; }

.fine {
  text-align: center; color: var(--faint); font-size: 13.5px;
  max-width: 62ch; margin: 34px auto 0; line-height: 1.85;
}

/* ═════════════════════════════ الاستوديو التفاعلي ═══ */

.studio {
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(47,42,69,.5), transparent 70%),
    radial-gradient(40% 40% at 82% 90%, rgba(230,57,126,.10), transparent 70%);
}

.studio-box {
  position: relative;
  max-width: 720px; margin-inline: auto;
  border: 1px solid rgba(230,231,235,.11);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(26,31,43,.92), rgba(13,15,20,.96));
  padding: 38px;
  box-shadow: 0 40px 90px -30px rgba(0,0,0,.9);
  overflow: hidden;
  min-height: 330px;
  display: grid;
}
/* توهّج يدور خلف الصندوق أثناء المعالجة */
.studio-glow {
  position: absolute; inset: -40%; z-index: 0; opacity: 0;
  background: conic-gradient(from 0deg, transparent, rgba(230,57,126,.35), transparent 30%,
                             rgba(212,175,55,.35), transparent 60%);
  transition: opacity .5s;
}
.studio-box.is-working .studio-glow { opacity: 1; animation: spin 3.2s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.studio-pane {
  grid-area: 1 / 1;
  position: relative; z-index: 1;
  display: flex; flex-direction: column; justify-content: center;
  opacity: 0; visibility: hidden;
  transform: translateY(14px);
  transition: opacity .42s var(--ease), transform .42s var(--ease), visibility .42s;
}
.studio-pane.is-active { opacity: 1; visibility: visible; transform: none; }

.field-label { display: block; color: var(--muted); font-size: 13.5px; margin-bottom: 10px; }

#promptInput {
  width: 100%; resize: none;
  padding: 16px 18px;
  background: rgba(13,15,20,.8);
  border: 1px solid rgba(230,231,235,.13);
  border-radius: 16px;
  color: var(--paper); font-family: inherit; font-size: 16px; line-height: 1.7;
  transition: border-color .22s, box-shadow .22s;
}
#promptInput:focus {
  outline: none; border-color: rgba(212,175,55,.55);
  box-shadow: 0 0 0 4px rgba(212,175,55,.1);
}
#promptInput::placeholder { color: var(--faint); }

.chips { display: flex; flex-wrap: wrap; gap: 9px; margin: 16px 0 24px; }
.chip {
  padding: 8px 15px; border-radius: 999px;
  border: 1px solid rgba(230,231,235,.13);
  background: rgba(230,231,235,.04);
  color: var(--muted); font-size: 13.5px; font-weight: 500;
  transition: border-color .2s, color .2s, background .2s, transform .2s var(--ease);
}
.chip:hover { border-color: rgba(212,175,55,.5); color: var(--gold); transform: translateY(-2px); }
.chip.is-picked { border-color: var(--gold); color: var(--gold); background: rgba(212,175,55,.1); }

.studio-go { align-self: flex-start; }

/* لوحة المعالجة */
.studio-pane[data-pane="working"] { align-items: center; text-align: center; }

.work-rings { position: relative; width: 92px; height: 92px; margin-bottom: 26px; }
.work-rings i {
  position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid transparent; border-top-color: var(--gold);
  animation: spin 1.5s linear infinite;
}
.work-rings i:nth-child(2) { inset: 12px; border-top-color: var(--pink); animation-duration: 2.1s; animation-direction: reverse; }
.work-rings i:nth-child(3) { inset: 24px; border-top-color: var(--purple); animation-duration: 1.1s; }

.work-step { font-size: 17px; font-weight: 700; margin-bottom: 20px; }
.work-bar {
  width: min(100%, 320px); height: 4px; border-radius: 999px;
  background: rgba(230,231,235,.1); overflow: hidden;
}
.work-bar i { display: block; height: 100%; width: 0; background: var(--g-sound); transition: width .4s linear; }

/* لوحة النتيجة */
#resultWave { width: 100%; height: 96px; margin-bottom: 22px; }

.result-row { display: flex; align-items: center; gap: 16px; }

.play-btn {
  flex: none; width: 62px; height: 62px; border-radius: 50%; border: 0;
  background: var(--g-gold); color: #241B03;
  display: grid; place-items: center;
  box-shadow: 0 12px 30px -8px rgba(212,175,55,.6);
  transition: transform .22s var(--ease);
}
.play-btn:hover { transform: scale(1.06); }
.play-btn svg { width: 22px; height: 22px; grid-area: 1/1; }
.play-btn .i-pause { display: none; }
.play-btn.is-playing .i-play { display: none; }
.play-btn.is-playing .i-pause { display: block; }

.result-meta { flex: 1; min-width: 0; }
.result-meta strong { display: block; font-size: 16px; }
.result-meta small {
  display: block; color: var(--faint); font-size: 13px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

.result-note { color: var(--faint); font-size: 12.5px; margin-top: 20px; line-height: 1.8; }

/* ═══════════════════════════════════════ كيف تعمل ═══ */

.flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; position: relative; }
/* خيط يربط الخطوات الثلاث */
.flow::before {
  content: ""; position: absolute; inset-inline: 12%; top: 34px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212,175,55,.4), transparent);
}
.flow-step { position: relative; text-align: center; padding: 0 22px; }
.flow-num {
  position: relative; z-index: 1;
  display: grid; place-items: center;
  width: 68px; height: 68px; margin: 0 auto 24px;
  border-radius: 50%;
  background: var(--ink);
  border: 1px solid rgba(212,175,55,.4);
  color: var(--gold); font-size: 24px; font-weight: 800;
  box-shadow: 0 0 0 8px var(--ink), 0 0 34px -6px rgba(212,175,55,.4);
}
.flow-step h3 { font-size: 22px; margin-bottom: 10px; }
.flow-step p { color: var(--muted); font-size: 15px; }

/* ═══════════════════════════════════════ القيم ═══ */

.values-sec { background: linear-gradient(180deg, transparent, rgba(26,31,43,.4) 15%, rgba(26,31,43,.4) 85%, transparent); }

.staff { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; align-items: start; }

.note-card {
  text-align: center; padding: 32px 16px 28px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(47,42,69,.34), rgba(13,15,20,.22));
  transition: transform .34s var(--ease), border-color .34s, background .34s;
}
/* إزاحة رأسية متبادلة — إيقاع بصري كنوتات على مدرج */
.staff .note-card:nth-child(2) { transform: translateY(28px); }
.staff .note-card:nth-child(3) { transform: translateY(-14px); }
.staff .note-card:nth-child(4) { transform: translateY(28px); }
.note-card:hover { border-color: rgba(212,175,55,.42); background: linear-gradient(180deg, rgba(47,42,69,.6), rgba(13,15,20,.3)); }
.staff .note-card:nth-child(2):hover { transform: translateY(20px); }
.staff .note-card:nth-child(3):hover { transform: translateY(-22px); }
.staff .note-card:nth-child(4):hover { transform: translateY(20px); }
.staff .note-card:nth-child(1):hover,
.staff .note-card:nth-child(5):hover { transform: translateY(-8px); }

.note-ico {
  display: grid; place-items: center;
  width: 58px; height: 58px; margin: 0 auto 16px; border-radius: 50%;
  color: var(--gold);
  background: radial-gradient(circle, rgba(212,175,55,.15), transparent 72%);
}
.note-ico svg { width: 28px; height: 28px; }
.note-card h3 { font-size: 16.5px; margin-bottom: 6px; }
.note-card p { font-size: 13.5px; color: var(--faint); }

/* ═══════════════════════════════════════ الباقات ═══ */

.packs { display: grid; grid-template-columns: repeat(auto-fit, minmax(266px, 1fr));
         gap: 22px; max-width: 760px; margin-inline: auto; }

.pack {
  position: relative; padding: 38px 30px; border-radius: 24px;
  border: 1px solid var(--line);
  background: rgba(26,31,43,.55);
  text-align: center;
  transition: transform .34s var(--ease), border-color .34s;
}
.pack:hover { transform: translateY(-6px); border-color: rgba(212,175,55,.4); }
.pack.is-best {
  border-color: rgba(212,175,55,.5);
  background: linear-gradient(180deg, rgba(47,42,69,.62), rgba(26,31,43,.72));
  box-shadow: 0 30px 70px -34px rgba(212,175,55,.5);
}
.pack-flag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--g-gold); color: #241B03;
  font-size: 11.5px; font-weight: 800; padding: 4px 16px; border-radius: 999px;
  white-space: nowrap;
}
.pack h3 { font-size: 16px; font-weight: 600; color: var(--muted); margin-bottom: 14px; }
.pack-points { display: flex; align-items: baseline; justify-content: center; gap: 8px; }
.pack-points b {
  font-size: 46px; font-weight: 900; line-height: 1;
  background: var(--g-gold); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.pack-points span { font-size: 14px; color: var(--faint); }
.pack-price { font-size: 20px; font-weight: 700; margin: 14px 0 20px; }
.pack-price small { font-size: 13px; color: var(--faint); font-weight: 500; }

.pack-list { display: grid; gap: 9px; text-align: start; padding-top: 20px; border-top: 1px solid var(--line); }
.pack-list li { position: relative; padding-inline-start: 22px; color: var(--muted); font-size: 14px; }
.pack-list li::before {
  content: ""; position: absolute; inset-inline-start: 0; top: 11px;
  width: 8px; height: 8px; border-radius: 2px; background: var(--gold); opacity: .85;
}

/* ═══════════════════════════════════════ الأسئلة ═══ */

.faq { display: grid; gap: 12px; }
.faq-item {
  border: 1px solid var(--line); border-radius: 16px;
  background: rgba(26,31,43,.42); overflow: hidden;
  transition: border-color .3s, background .3s;
}
.faq-item.is-open { border-color: rgba(212,175,55,.36); background: rgba(47,42,69,.34); }
.faq-item h3 { margin: 0; font-size: inherit; font-weight: inherit; }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 20px 24px; background: none; border: 0; color: var(--paper);
  font-size: 16px; font-weight: 700; text-align: start;
}
/* علامة زائد تتحول إلى ناقص */
.plus { position: relative; flex: none; width: 16px; height: 16px; }
.plus::before, .plus::after {
  content: ""; position: absolute; inset-inline: 0; top: 7px; height: 2px;
  background: var(--gold); border-radius: 2px; transition: transform .32s var(--ease);
}
.plus::after { transform: rotate(90deg); }
.faq-item.is-open .plus::after { transform: rotate(0deg); }

.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .36s var(--ease); }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 24px 22px; color: var(--muted); font-size: 15px; }

/* ═══════════════════════════════════════ الختام ═══ */

.final {
  position: relative; overflow: hidden;
  border-radius: 34px; padding: 76px 40px;
  border: 1px solid rgba(212,175,55,.24);
  background:
    radial-gradient(70% 100% at 20% 0%, rgba(230,57,126,.2), transparent 60%),
    radial-gradient(70% 100% at 80% 100%, rgba(212,175,55,.2), transparent 60%),
    linear-gradient(160deg, rgba(47,42,69,.9), rgba(13,15,20,.96));
  text-align: center;
}
#finalWave { position: absolute; inset-inline: 0; bottom: 0; width: 100%; height: 120px; opacity: .5; }
.final-inner { position: relative; z-index: 1; }
.final h2 { font-size: clamp(28px, 4.4vw, 46px); margin-bottom: 14px; }
.final p { color: var(--muted); font-size: 17px; margin-bottom: 34px; }

.stores { display: flex; flex-wrap: wrap; gap: 13px; justify-content: center; }
.store {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 12px 24px; border-radius: 16px;
  border: 1px solid rgba(230,231,235,.16);
  background: rgba(13,15,20,.5);
  transition: border-color .22s, transform .22s var(--ease), background .22s;
}
.store:hover { border-color: var(--gold); transform: translateY(-2px); background: rgba(212,175,55,.07); }
.store svg { width: 26px; height: 26px; flex: none; }
.store span { display: flex; flex-direction: column; line-height: 1.25; text-align: start; }
.store small { font-size: 10.5px; color: var(--muted); }
.store strong { font-size: 15px; }
.store.is-soon { opacity: .55; pointer-events: none; }

/* ═══════════════════════════════════════ التذييل ═══ */

.footer { border-top: 1px solid var(--line); padding: 64px 0 36px; margin-top: 60px; }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr; gap: 44px; margin-bottom: 46px; }
.footer-about { color: var(--faint); font-size: 14.5px; max-width: 40ch; margin-top: 18px; }
.footer h4 { font-size: 14.5px; color: var(--gold); margin-bottom: 18px; }
.footer li { margin-bottom: 11px; }
.footer li a { color: var(--muted); font-size: 14.5px; transition: color .2s; }
.footer li a:hover { color: var(--gold); }
.footer-end {
  border-top: 1px solid var(--line); padding-top: 26px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 14px; color: var(--faint); font-size: 13.5px;
}

/* ═══════════════════════════════════ الظهور ═══ */

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .75s var(--ease), transform .75s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
/* إزاحات المدرج تُستعاد بعد الظهور */
.staff .note-card.reveal.is-visible:nth-child(2),
.staff .note-card.reveal.is-visible:nth-child(4) { transform: translateY(28px); }
.staff .note-card.reveal.is-visible:nth-child(3) { transform: translateY(-14px); }

/* ═══════════════════════════════════ الاستجابة ═══ */

@media (max-width: 1000px) {
  .staff { grid-template-columns: repeat(3, 1fr); }
  .staff .note-card:nth-child(n) { transform: none; }
  .staff .note-card:hover { transform: translateY(-8px); }
  .staff .note-card.reveal.is-visible:nth-child(n) { transform: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 820px) {
  .nav-toggle { display: grid; }
  .nav-links {
    position: fixed; inset-inline: 14px; top: calc(var(--nav-h) + 6px);
    flex-direction: column; align-items: stretch; gap: 4px; padding: 14px;
    border-radius: 20px; border: 1px solid var(--line);
    background: rgba(10,12,17,.97);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: opacity .28s var(--ease), transform .28s var(--ease), visibility .28s;
  }
  .nav-links.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav-links a { padding: 13px 15px; border-radius: 12px; font-size: 16px; }
  .nav-links a:hover { background: rgba(212,175,55,.09); }
  .nav-links a::after { display: none; }
  .nav-cta .btn { display: none; }

  .section { padding: 84px 0; }
  .flow { grid-template-columns: 1fr; gap: 42px; }
  .flow::before { display: none; }
  .staff { grid-template-columns: repeat(2, 1fr); }
  .studio-box { padding: 26px; }
  .final { padding: 54px 22px; }
}

@media (max-width: 480px) {
  .staff { grid-template-columns: 1fr; }
  .stores { flex-direction: column; }
  .store { justify-content: center; }
  .studio-go { align-self: stretch; }
  .result-row { flex-wrap: wrap; }
  .result-meta { order: 3; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important; scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}
