/* =========================================================
   محمد شنو — الهوية (النسخة الرياضية الغامقة)
   خلفية سودا، نص أبيض، ولمسة لون واحدة: أخضر ليموني (Volt)
   ========================================================= */
:root {
  --bg: #09090B;
  --bg-2: #0F0F12;
  --card: #141418;
  --card-2: #1B1B20;
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .16);
  --ink: #F5F5F3;
  --muted: #A3A3AB;
  --muted-2: #74747C;
  --volt: #D7F94A;
  --volt-ink: #0B0B0C;
  --volt-soft: rgba(215, 249, 74, .12);
  --warn: #FBBF24;

  --radius-lg: 28px;
  --radius: 20px;
  --radius-sm: 14px;
  --pill: 999px;

  --font: "Cairo", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1220px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; background: var(--bg); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }
svg { flex-shrink: 0; }
:focus-visible { outline: 3px solid var(--volt); outline-offset: 3px; border-radius: 10px; }
::selection { background: var(--volt); color: var(--volt-ink); }

.skip {
  position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100;
  background: var(--volt); color: var(--volt-ink); padding: 10px 16px; border-radius: var(--pill); font-weight: 700;
}
.skip:focus { top: 12px; }
.no-scroll { overflow: hidden; }
.noscript { padding: 40px 20px; text-align: center; }

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(72px, 10vw, 128px); position: relative; }
.section-alt { background: var(--bg-2); border-block: 1px solid var(--line); }

/* ---------- Typography ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--volt); font-weight: 800; font-size: 14px; letter-spacing: .02em; margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.center .eyebrow::after { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.h2 { font-size: clamp(32px, 5.2vw, 56px); font-weight: 900; line-height: 1.2; letter-spacing: -.01em; text-wrap: balance; }
.h2-sm { font-size: clamp(28px, 4vw, 42px); }
.hl { color: var(--volt); }
.lead { color: var(--muted); font-size: clamp(16px, 1.6vw, 18px); line-height: 1.95; }
.sub { color: var(--muted); font-size: 17px; margin-top: 12px; }
.section-head { margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center { text-align: center; display: flex; flex-direction: column; align-items: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 24px; border-radius: var(--pill);
  font-weight: 800; font-size: 16px; line-height: 1.2; cursor: pointer; border: 1.5px solid transparent;
  transition: transform .2s var(--ease), background-color .2s, color .2s, border-color .2s, box-shadow .25s;
}
.btn svg { width: 20px; height: 20px; }
.btn:active { transform: scale(.97); }
.btn-sm { min-height: 42px; padding: 8px 18px; font-size: 15px; }
.btn-lg { min-height: 56px; padding: 14px 30px; font-size: 17px; }
.btn-block { width: 100%; }
.btn-volt { background: var(--volt); color: var(--volt-ink); box-shadow: 0 8px 30px -10px rgba(215, 249, 74, .55); }
.btn-volt:hover { background: #E6FF6E; box-shadow: 0 12px 40px -8px rgba(215, 249, 74, .7); transform: translateY(-2px); }
.btn-light { background: var(--ink); color: var(--volt-ink); }
.btn-light:hover { background: var(--volt); }
.btn-outline { border-color: var(--line-2); color: var(--ink); background: rgba(255, 255, 255, .03); }
.btn-outline:hover { border-color: var(--volt); color: var(--volt); }

/* ---------- العروض ---------- */
.offer-bar {
  display: flex; align-items: center; justify-content: center; gap: 10px; padding: 10px var(--gutter);
  background: var(--volt); color: var(--volt-ink); font-weight: 900; font-size: 15px; text-align: center; line-height: 1.5;
}
.offer-bar[hidden] { display: none; }
.offer-bar svg, .offer-badge svg { width: 20px; height: 20px; }
.offer-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: var(--pill);
  background: var(--volt); color: var(--volt-ink); font-weight: 900; font-size: 14px; line-height: 1.4;
  box-shadow: 0 10px 24px -10px rgba(215, 249, 74, .7);
}
.offer-badge.on-card { align-self: flex-start; margin-bottom: 16px; animation: wiggle 2.8s var(--ease) infinite; }
.offer-badge.on-book { position: absolute; top: 14px; inset-inline-start: 14px; z-index: 2; }
.book-media { position: relative; }
@keyframes wiggle { 0%, 88%, 100% { transform: none; } 92% { transform: rotate(-3deg) scale(1.04); } 96% { transform: rotate(3deg) scale(1.04); } }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  transition: background-color .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled { background: rgba(9, 9, 11, .78); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); border-color: var(--line); }
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 900; font-size: 20px; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center;
  background: var(--volt); color: var(--volt-ink); font-weight: 900; font-size: 22px; line-height: 1;
}
.brand-mark.sm { width: 26px; height: 26px; border-radius: 8px; font-size: 15px; }
.nav { margin-inline-start: auto; display: none; }
.nav-list { display: flex; gap: 4px; padding: 5px; border: 1px solid var(--line); border-radius: var(--pill); background: rgba(255, 255, 255, .03); }
.nav-list a { display: block; padding: 8px 18px; border-radius: var(--pill); color: var(--muted); font-weight: 700; font-size: 15px; transition: color .2s, background-color .2s; }
.nav-list a:hover { color: var(--ink); }
.nav-list a.active { background: var(--ink); color: var(--volt-ink); }
.header-cta { display: none; }
.menu-toggle {
  margin-inline-start: auto; width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--line-2); background: transparent; cursor: pointer;
  display: grid; place-content: center; gap: 6px;
}
.menu-toggle span { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s var(--ease); }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.mobile-menu { border-top: 1px solid var(--line); background: rgba(9, 9, 11, .97); backdrop-filter: blur(16px); }
.mobile-menu ul { padding: 12px var(--gutter) 20px; display: grid; gap: 4px; }
.mobile-menu a:not(.btn) { display: flex; justify-content: space-between; align-items: center; padding: 14px 4px; font-weight: 800; font-size: 18px; border-bottom: 1px solid var(--line); }
.mobile-menu a svg { width: 18px; height: 18px; color: var(--muted-2); }
.mobile-menu li:last-child { margin-top: 12px; }
@media (min-width: 960px) {
  .nav, .header-cta { display: inline-flex; }
  .menu-toggle, .mobile-menu { display: none !important; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(28px, 5vw, 64px) clamp(56px, 8vw, 96px); margin-top: calc(var(--header-h) * -1); padding-top: calc(var(--header-h) + clamp(20px, 4vw, 56px)); }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 50% at 20% 30%, rgba(215, 249, 74, .10), transparent 70%),
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 56px 56px;
  -webkit-mask-image: radial-gradient(80% 70% at 50% 40%, #000 30%, transparent 100%);
  mask-image: radial-gradient(80% 70% at 50% 40%, #000 30%, transparent 100%);
}
.hero-grid { position: relative; display: grid; gap: 40px; align-items: center; }
.pill-badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 14px;
  border: 1px solid var(--line-2); border-radius: var(--pill); background: rgba(255, 255, 255, .04);
  font-weight: 700; font-size: 14px; color: var(--ink);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--volt); box-shadow: 0 0 0 4px rgba(215, 249, 74, .18); animation: pulse 2.2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(215, 249, 74, 0); } }
.hero-title { margin-top: 22px; font-size: clamp(38px, 5.4vw, 70px); font-weight: 900; line-height: 1.12; letter-spacing: -.015em; }
.hero-title .line { display: block; }
.hero-text { margin-top: 22px; max-width: 520px; color: var(--muted); font-size: clamp(16px, 1.7vw, 19px); line-height: 1.9; }
.hero-actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-stats { margin-top: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; max-width: 600px; }
.hero-stats li {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px;
  border-radius: 18px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line);
}
.hero-stats li.is-link { padding: 0; transition: border-color .25s, background-color .25s, transform .25s var(--ease); }
.hero-stats li.is-link a { display: flex; align-items: center; gap: 12px; padding: 14px 16px; width: 100%; height: 100%; border-radius: inherit; }
.hero-stats li.is-link:hover { border-color: var(--volt); background: var(--volt-soft); transform: translateY(-3px); }
.hero-stats li.is-link:hover .stat-icon { background: var(--volt); color: var(--volt-ink); }
.stat-icon { transition: background-color .25s, color .25s; }
.stat-icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; flex-shrink: 0; background: var(--volt-soft); color: var(--volt); }
.stat-icon svg { width: 24px; height: 24px; }
.stat-txt { display: flex; flex-direction: column; min-width: 0; }
.hero-stats strong { font-size: clamp(24px, 2.8vw, 30px); font-weight: 900; line-height: 1.15; }
.stat-txt span { color: var(--muted); font-size: 13.5px; font-weight: 700; line-height: 1.4; }

.hero-media { position: relative; max-width: 460px; width: 100%; margin-inline: auto; }
.hero-glow { position: absolute; inset: 12% 8% -4%; background: radial-gradient(closest-side, rgba(215, 249, 74, .35), transparent); filter: blur(40px); }
.hero-frame {
  position: relative; border-radius: 32px; overflow: hidden; aspect-ratio: 4 / 5;
}
.hero-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
/* قبل وبعد بيتبدلوا: كل صورة ثانيتين، والتبديل سريع. لتغيير المدة غيّر 4s تحت (= المدة × ٢) */
.swap-layer { position: absolute; inset: 0; }
.swap-layer img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.swap-layer .badge { z-index: 2; top: 16px; inset-inline-start: 16px; font-size: 15px; padding: 5px 16px; }
.swap-after { animation: swapAfter 4s infinite; }
.swap-before { animation: swapBefore 4s infinite; }
@keyframes swapAfter { 0%, 44% { opacity: 0; } 50%, 94% { opacity: 1; } 100% { opacity: 0; } }
@keyframes swapBefore { 0%, 44% { opacity: 1; transform: scale(1); } 50%, 94% { opacity: 0; transform: scale(1.03); } 100% { opacity: 1; } }.hero-chip {
  position: absolute; inset-inline-start: -14px; bottom: 28px; z-index: 2;
  display: flex; align-items: baseline; gap: 6px; padding: 12px 20px; border-radius: 18px;
  background: var(--volt); color: var(--volt-ink); font-weight: 900; box-shadow: 0 20px 40px -12px rgba(0, 0, 0, .6);
  transform: rotate(-4deg);
}
.hero-chip { display: grid; padding: 0; background: none; box-shadow: none; }
.chip-face {
  grid-area: 1 / 1; display: flex; align-items: baseline; justify-content: center; gap: 6px;
  padding: 12px 22px; border-radius: 18px; box-shadow: 0 20px 40px -12px rgba(0, 0, 0, .6);
  background: #fff; color: var(--volt-ink);
}
.chip-face.swap-after { background: var(--volt); }
.chip-face strong { font-size: 30px; line-height: 1; }
.chip-face span { font-size: 16px; }
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.15fr .85fr; gap: 56px; }
  .hero-media { max-width: none; }
}
@media (max-width: 520px) {
  .hero-stats { gap: 8px; }
  .hero-stats li { flex-direction: column; align-items: center; text-align: center; padding: 14px 6px; gap: 8px; }
  .stat-txt { align-items: center; }
  .hero-stats li.is-link a { flex-direction: column; align-items: center; text-align: center; padding: 14px 6px; gap: 8px; }
  .stat-icon { width: 40px; height: 40px; }
  .hero-actions .btn { flex: 1 1 0; padding-inline: 14px; font-size: 16px; }
  .hero-actions #hero-primary { flex-basis: 100%; }
  .hero-chip { inset-inline-start: 10px; }
}

/* ---------- Marquee ---------- */
.marquee-wrap { overflow: hidden; padding-block: 14px; margin-block: -14px; position: relative; z-index: 2; }
.marquee { overflow: hidden; background: var(--volt); color: var(--volt-ink); padding-block: 14px; position: relative; z-index: 2; }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee-group { display: flex; align-items: center; gap: 28px; padding-inline-end: 28px; font-weight: 900; font-size: clamp(18px, 2.4vw, 24px); white-space: nowrap; }
.marquee-group i { font-style: normal; font-size: .8em; opacity: .7; }
@keyframes marquee { to { transform: translateX(50%); } }

/* ---------- About ---------- */
.about-grid { display: grid; gap: 40px; align-items: center; }
.about-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line-2); aspect-ratio: 4 / 5; max-width: 480px; width: 100%; margin-inline: auto; }
.about-media::before { content: ""; position: absolute; inset: auto 0 0; height: 40%; background: linear-gradient(to top, rgba(9, 9, 11, .6), transparent); z-index: 1; }
.about-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.about-copy .lead { margin-top: 20px; }
.stat-cards { margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.stat-card { padding: 20px 22px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; }
.stat-card:first-child { border-color: rgba(215, 249, 74, .35); background: linear-gradient(160deg, rgba(215, 249, 74, .10), var(--card) 60%); }
.stat-card strong { font-size: clamp(24px, 3vw, 32px); font-weight: 900; line-height: 1.3; color: var(--ink); }
.stat-card:first-child strong { color: var(--volt); }
.stat-card span { color: var(--muted); font-size: 14px; font-weight: 700; }
@media (min-width: 900px) { .about-grid { grid-template-columns: .9fr 1.1fr; gap: 72px; } }

/* transformation */
.transform {
  margin-top: clamp(32px, 5vw, 56px); display: grid; gap: 16px; align-items: center;
  padding: clamp(14px, 2vw, 22px); border-radius: var(--radius-lg); background: var(--card); border: 1px solid var(--line);
}
.t-group { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.t-photo { position: relative; padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; cursor: zoom-in; aspect-ratio: 3 / 4; background: var(--card-2); }
.t-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease), filter .4s; }
.t-photo:hover img { transform: scale(1.04); }

/* البرواز اللي تحت قبل وبعد */
.tf-quote {
  position: relative; margin: 22px auto 0; max-width: 900px; text-align: center;
  padding: clamp(32px, 5vw, 52px) clamp(22px, 5vw, 64px) clamp(26px, 4vw, 40px);
  border-radius: var(--radius-lg); border: 2px solid var(--volt);
  background: radial-gradient(80% 120% at 50% 0%, rgba(215, 249, 74, .10), transparent 60%), var(--card);
  box-shadow: 0 0 0 6px rgba(215, 249, 74, .07), 0 30px 70px -35px rgba(215, 249, 74, .5);
}
.q-mark {
  position: absolute; top: -30px; left: 50%; transform: translateX(-50%);
  width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center;
  background: var(--volt); color: var(--volt-ink); font-size: 56px; font-weight: 900; line-height: 1; padding-top: 22px;
  box-shadow: 0 0 0 6px var(--bg);
}
.tf-quote blockquote { margin: 0; font-size: clamp(21px, 2.8vw, 32px); font-weight: 900; line-height: 1.7; text-wrap: balance; }
.tf-quote .q-last { display: inline-block; margin-top: 6px; }
.tf-quote figcaption { margin-top: 20px; display: inline-flex; align-items: center; gap: 10px; color: var(--muted); font-weight: 800; font-size: 15px; }
.badge {
  position: absolute; top: 12px; inset-inline-start: 12px; padding: 4px 14px; border-radius: var(--pill);
  background: rgba(9, 9, 11, .75); color: #fff; font-weight: 800; font-size: 14px; backdrop-filter: blur(6px);
}
.badge-volt { background: var(--volt); color: var(--volt-ink); }
.t-delta { display: flex; align-items: center; justify-content: center; gap: 10px; color: var(--volt); padding: 6px; }
.t-delta .num { font-size: clamp(40px, 5vw, 64px); font-weight: 900; line-height: 1; }
.t-delta .unit { font-weight: 800; font-size: 18px; color: var(--ink); }
.t-delta svg { width: 32px; height: 32px; transform: rotate(90deg); }
@media (min-width: 800px) {
  .transform { grid-template-columns: 1fr auto 1fr; }
  .t-delta { flex-direction: column; gap: 4px; padding-inline: 12px; }
  .t-delta svg { transform: scaleX(-1); order: 3; }
}

/* ---------- Features ---------- */
.features-grid { display: grid; gap: 20px; }
.feature {
  position: relative; display: flex; flex-direction: column; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--card); border: 1px solid var(--line); transition: transform .35s var(--ease), border-color .3s;
}
.feature:hover { transform: translateY(-6px); border-color: rgba(215, 249, 74, .45); }
.feature-media { position: relative; aspect-ratio: 4 / 3.4; overflow: hidden; }
.feature-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transition: transform .6s var(--ease); }
.feature:hover .feature-media img { transform: scale(1.06); }
.feature-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--card) 2%, transparent 55%); }
.feature-num { position: absolute; top: 16px; inset-inline-start: 16px; z-index: 1; padding: 2px 12px; border-radius: var(--pill); background: rgba(9, 9, 11, .7); border: 1px solid var(--line-2); font-weight: 900; font-size: 14px; backdrop-filter: blur(6px); }
.feature-body { position: relative; padding: 4px 24px 28px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.feature-body h3 { font-size: 22px; font-weight: 900; }
.feature-body p { color: var(--muted); font-size: 15.5px; line-height: 1.85; padding-inline-end: 44px; }
.feature-go { position: absolute; bottom: 24px; inset-inline-end: 22px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); transition: background-color .25s, color .25s, transform .3s var(--ease); }
.feature-go svg { width: 18px; height: 18px; transform: scaleX(-1); }
.feature:hover .feature-go { background: var(--volt); color: var(--volt-ink); border-color: var(--volt); transform: rotate(-8deg); }
@media (min-width: 760px) { .features-grid { grid-template-columns: repeat(2, 1fr); max-width: 900px; margin-inline: auto; } }

/* كارت "كتبي": أغلفة الكتب التلاتة بتلف ورا بعض */
.feature-books .feature-media { background: radial-gradient(70% 70% at 50% 60%, rgba(215, 249, 74, .18), transparent 70%), var(--card-2); }
.feature-books .feature-media::after { background: linear-gradient(to top, var(--card) 0%, transparent 30%); }
.cover-stack { position: absolute; inset: 0; }
.cover-stack .stack-cover {
  position: absolute; top: 10%; left: 50%; width: 40%; height: auto; aspect-ratio: auto; object-fit: contain; border-radius: 8px;
  box-shadow: 0 24px 40px -14px rgba(0, 0, 0, .85);
  transition: transform .9s var(--ease), opacity .9s var(--ease), filter .9s var(--ease);
}
.cover-stack .stack-cover.pos-0 { z-index: 3; transform: translateX(-50%) scale(1); opacity: 1; filter: none; }
.cover-stack .stack-cover.pos-1 { z-index: 2; transform: translateX(-118%) translateY(8%) rotate(-8deg) scale(.8); opacity: .8; filter: brightness(.55); }
.cover-stack .stack-cover.pos-2 { z-index: 1; transform: translateX(18%) translateY(8%) rotate(8deg) scale(.8); opacity: .8; filter: brightness(.55); }
.feature-books:hover .cover-stack .stack-cover.pos-0 { transform: translateX(-50%) translateY(-3%) scale(1.04); }

/* الكارت اللي بتوصله من "إيه اللي هتاخده" بينوّر لحظة */
.pkg.flash { animation: flash 1.8s var(--ease) .35s; }
@keyframes flash {
  0%, 100% { box-shadow: 0 0 0 0 rgba(215, 249, 74, 0); }
  30% { box-shadow: 0 0 0 4px rgba(215, 249, 74, .9), 0 0 60px rgba(215, 249, 74, .35); }
}

/* ---------- Results ---------- */
.tabs { margin-top: 28px; display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 6px; padding: 6px; border-radius: var(--pill); border: 1px solid var(--line); background: var(--card); }
.tab {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 18px; border: 0; border-radius: var(--pill);
  background: transparent; color: var(--muted); font-weight: 800; font-size: 15px; cursor: pointer; transition: background-color .2s, color .2s;
}
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { background: var(--volt); color: var(--volt-ink); }
.tab .count { font-size: 12px; min-width: 24px; padding: 0 7px; border-radius: var(--pill); background: rgba(255, 255, 255, .08); line-height: 22px; }
.tab[aria-selected="true"] .count { background: rgba(0, 0, 0, .12); }
@media (max-width: 520px) {
  .tabs { display: grid; grid-template-columns: repeat(3, 1fr); border-radius: 22px; width: 100%; }
  .tab { flex-direction: column; gap: 2px; padding: 8px 6px; border-radius: 16px; font-size: 13.5px; line-height: 1.35; text-align: center; }
}

/* شريط الشهادات: الصور كلها جنب بعض وبتتحرك لوحدها، وبتقف لما تحط الماوس أو صباعك عليها */
.carousel {
  position: relative; overflow: hidden; padding-block: 14px 24px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.belt { display: flex; width: max-content; animation: belt var(--dur, 60s) linear infinite; }
.carousel:hover .belt, .carousel:active .belt, .carousel:focus-within .belt { animation-play-state: paused; }
.belt-group { display: flex; gap: 18px; padding-inline-end: 18px; }
@keyframes belt { to { transform: translateX(50%); } }
.shot {
  flex: 0 0 clamp(220px, 22vw, 270px); position: relative; padding: 0; cursor: zoom-in;
  border-radius: 22px; overflow: hidden; background: var(--card);
  border: 2px solid var(--volt);
  box-shadow: 0 0 0 4px rgba(215, 249, 74, .10), 0 18px 40px -18px rgba(215, 249, 74, .45);
  display: flex; flex-direction: column; text-align: start;
  animation: fadeUp .5s var(--ease) both;
  transition: transform .35s var(--ease), box-shadow .35s;
}
.shot:hover { transform: translateY(-6px) rotate(-1deg); box-shadow: 0 0 0 6px rgba(215, 249, 74, .18), 0 26px 50px -18px rgba(215, 249, 74, .6); }
.shot img { width: 100%; aspect-ratio: 3 / 4.4; object-fit: cover; object-position: top; background: #111; }
.shot-bar { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: var(--volt); color: var(--volt-ink); font-weight: 900; font-size: 14px; }
.shot-bar .brand-mark { background: var(--volt-ink); color: var(--volt); }
.shot-zoom { margin-inline-start: auto; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(0, 0, 0, .12); color: var(--volt-ink); }
.shot-zoom svg { width: 17px; height: 17px; }
.shot:hover .shot-zoom { background: var(--volt-ink); color: var(--volt); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } }
@media (prefers-reduced-motion: reduce) {
  .carousel { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .belt { animation: none; }
  .belt-group[aria-hidden="true"] { display: none; }
}

/* ---------- Packages ---------- */
.packages-grid { display: grid; gap: 24px; max-width: 980px; margin-inline: auto; }
.pkg {
  position: relative; padding: clamp(24px, 3vw, 36px); border-radius: var(--radius-lg);
  background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column;
}
.pkg.featured {
  border-color: rgba(215, 249, 74, .55);
  background: radial-gradient(120% 60% at 50% 0%, rgba(215, 249, 74, .10), transparent 60%), var(--card);
  box-shadow: 0 30px 80px -40px rgba(215, 249, 74, .45);
}
.pkg-badge { position: absolute; top: -14px; inset-inline-end: 28px; padding: 4px 16px; border-radius: var(--pill); background: var(--volt); color: var(--volt-ink); font-weight: 900; font-size: 13.5px; }
.pkg-top { display: flex; align-items: center; gap: 14px; padding-bottom: 22px; border-bottom: 1px dashed var(--line-2); }
.pkg-medal { width: 50px; height: 50px; border-radius: 16px; display: grid; place-items: center; background: var(--card-2); border: 1px solid var(--line-2); color: var(--muted); }
.pkg.featured .pkg-medal { background: var(--volt); color: var(--volt-ink); border-color: var(--volt); }
.pkg-medal svg { width: 24px; height: 24px; }
.pkg h3 { font-size: clamp(22px, 2.6vw, 28px); font-weight: 900; line-height: 1.3; }
.pkg-sub { color: var(--volt); font-weight: 800; font-size: 14px; }
.checks { display: grid; gap: 12px; margin-block: 22px 26px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; color: #D9D9DE; font-size: 15.5px; line-height: 1.7; }
.ck { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--volt-soft); color: var(--volt); margin-top: 1px; flex-shrink: 0; }
.ck svg { width: 15px; height: 15px; }
.dur-label { margin-top: auto; font-weight: 800; font-size: 14px; color: var(--muted); margin-bottom: 10px; }
.durations { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.dur {
  min-height: 56px; padding: 8px 6px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--card-2);
  font-weight: 800; font-size: 15px; cursor: pointer; line-height: 1.3; display: flex; flex-direction: column; align-items: center; justify-content: center;
  transition: background-color .2s, border-color .2s, color .2s;
}
.dur:hover { border-color: var(--volt); }
.dur[aria-checked="true"] { background: var(--ink); color: var(--volt-ink); border-color: var(--ink); }
.pkg.featured .dur[aria-checked="true"] { background: var(--volt); border-color: var(--volt); }
.gift { font-size: 11.5px; font-weight: 800; color: var(--volt); }
.dur[aria-checked="true"] .gift { color: #3F5A00; }
.pkg-price { display: flex; align-items: baseline; gap: 12px; margin-block: 24px 20px; flex-wrap: wrap; }
.price { font-size: clamp(40px, 5vw, 54px); font-weight: 900; line-height: 1; display: flex; align-items: baseline; gap: 8px; }
.price small { font-size: 17px; font-weight: 800; color: var(--muted); }
.per { color: var(--muted); font-weight: 700; font-size: 15px; padding: 2px 12px; border-radius: var(--pill); border: 1px solid var(--line); }
.bump { animation: bump .35s var(--ease); }
@keyframes bump { 40% { transform: scale(1.06); color: var(--volt); } }
.fit { margin: 36px auto 0; max-width: 980px; padding: 22px 26px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); display: grid; gap: 10px; color: #D9D9DE; }
.fit strong { color: var(--volt); }
.disclaimer { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); font-size: 14.5px; }
.disclaimer svg { width: 20px; height: 20px; margin-top: 3px; color: var(--warn); }
.packages-grid { max-width: 560px; }
.list-title { margin-top: 22px; font-weight: 900; font-size: 16px; }
.pkg-service .checks { margin-top: 12px; }
.pkg-service .pkg-price { margin-top: auto; }
.pkg-service .pkg-sub { color: var(--muted); }
@media (min-width: 1040px) {
  .packages-grid { grid-template-columns: repeat(3, 1fr); max-width: none; }
  .fit { max-width: none; }
}

/* ---------- 90-day service ---------- */
.service-card {
  display: grid; gap: 32px; padding: clamp(24px, 4vw, 48px); border-radius: 32px;
  background:
    radial-gradient(70% 90% at 100% 0%, rgba(215, 249, 74, .09), transparent 60%),
    linear-gradient(160deg, #17171C, #0F0F12);
  border: 1px solid var(--line-2);
}
.pill-warn { margin-top: 16px; display: inline-flex; gap: 8px; align-items: flex-start; padding: 8px 16px; border-radius: 16px; background: rgba(251, 191, 36, .1); border: 1px solid rgba(251, 191, 36, .3); color: #FCD877; font-weight: 700; font-size: 14.5px; line-height: 1.6; }
.pill-warn svg { width: 19px; height: 19px; margin-top: 2px; }
.service-list-title { margin-top: 24px; font-weight: 900; font-size: 18px; }
.service-main .checks { margin-block: 14px 0; }
.service-buy { margin-top: 30px; display: flex; flex-wrap: wrap; align-items: center; gap: 20px 28px; padding-top: 26px; border-top: 1px dashed var(--line-2); }
.samples { padding: 18px; border-radius: var(--radius-lg); background: rgba(255, 255, 255, .03); border: 1px solid var(--line); align-self: start; }
.samples-title { font-weight: 800; color: var(--muted); font-size: 14px; margin-bottom: 12px; }
.samples-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.sample { padding: 0; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; cursor: zoom-in; background: #111; aspect-ratio: 3 / 4.6; }
.sample img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .4s var(--ease); }
.sample:hover img { transform: scale(1.04); }
@media (min-width: 900px) { .service-card { grid-template-columns: 1.25fr .75fr; gap: 48px; } }

/* ---------- Books ---------- */
.books-grid { display: grid; gap: 22px; }
.book { display: flex; flex-direction: column; border-radius: var(--radius-lg); overflow: hidden; background: var(--card); border: 1px solid var(--line); transition: transform .35s var(--ease), border-color .3s; }
.book:hover { transform: translateY(-6px); border-color: rgba(215, 249, 74, .4); }
.book-media { padding: 28px 28px 0; background: radial-gradient(80% 70% at 50% 100%, rgba(215, 249, 74, .16), transparent 70%), var(--card-2); display: flex; justify-content: center; }
.book-cover { padding: 0; border: 0; background: none; cursor: zoom-in; width: 62%; border-radius: 10px 10px 0 0; overflow: hidden; box-shadow: 0 -10px 40px -10px rgba(0, 0, 0, .7); transition: transform .4s var(--ease); }
.book:hover .book-cover { transform: translateY(-6px) rotate(-1.5deg); }
.book-body { padding: 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.book-tag { align-self: flex-start; padding: 2px 12px; border-radius: var(--pill); background: var(--volt-soft); color: var(--volt); font-weight: 800; font-size: 13px; }
.book h3 { font-size: 22px; font-weight: 900; line-height: 1.4; }
.book-body > p { color: var(--muted); font-size: 15px; line-height: 1.85; }
.book-foot { margin-top: auto; padding-top: 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.book .price { font-size: 36px; }
@media (min-width: 760px) { .books-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; gap: 36px; }
.faq-head .btn { margin-top: 24px; }
.accordion { display: grid; gap: 10px; }
.acc-item { border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); transition: border-color .25s, background-color .25s; }
.acc-item.open { border-color: rgba(215, 249, 74, .4); background: var(--card-2); }
.acc-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; text-align: start;
  padding: 18px 22px; border: 0; background: none; cursor: pointer; font-weight: 800; font-size: 17px; min-height: 60px;
}
.acc-icon { position: relative; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-2); flex-shrink: 0; transition: background-color .25s, transform .3s var(--ease); }
.acc-icon::before, .acc-icon::after { content: ""; position: absolute; inset: 50% auto auto 50%; width: 12px; height: 2px; background: currentColor; border-radius: 2px; transform: translate(-50%, -50%); transition: transform .3s var(--ease); }
.acc-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.open .acc-icon { background: var(--volt); color: var(--volt-ink); border-color: var(--volt); transform: rotate(180deg); }
.open .acc-icon::after { transform: translate(-50%, -50%) rotate(0); }
.acc-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--ease); }
.acc-a > div { overflow: hidden; }
.acc-a p { padding: 0 22px 20px; color: var(--muted); line-height: 1.9; }
.open .acc-a { grid-template-rows: 1fr; }
@media (min-width: 900px) {
  .faq-layout { grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
  .faq-head { position: sticky; top: calc(var(--header-h) + 32px); }
}

/* ---------- Closing ---------- */
.closing { position: relative; overflow: hidden; padding-block: clamp(80px, 11vw, 140px); isolation: isolate; border-top: 1px solid var(--line); }
.closing-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; z-index: -2; filter: grayscale(.6) brightness(.35); }
.closing::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 70% at 50% 50%, rgba(9, 9, 11, .55), rgba(9, 9, 11, .95)), linear-gradient(to bottom, var(--bg), transparent 25%, transparent 75%, var(--bg)); }
.closing-inner { text-align: center; display: flex; flex-direction: column; align-items: center; }
.closing-title { font-size: clamp(34px, 6vw, 68px); font-weight: 900; line-height: 1.2; max-width: 820px; text-wrap: balance; }
.steps { margin-top: 44px; display: grid; gap: 14px; width: 100%; max-width: 1040px; counter-reset: s; }
.step {
  position: relative; padding: 22px 20px; border-radius: var(--radius); text-align: start;
  background: rgba(20, 20, 24, .72); border: 1px solid var(--line-2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  display: flex; gap: 14px; align-items: center;
}
.step-num { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; background: var(--card-2); border: 1px solid var(--line-2); font-weight: 900; font-size: 19px; flex-shrink: 0; }
.step:last-child .step-num { background: var(--volt); color: var(--volt-ink); border-color: var(--volt); }
.step p { font-weight: 700; font-size: 15.5px; line-height: 1.6; }
.closing-actions { margin-top: 40px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.closing-chips { margin-top: 26px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 24px; color: var(--muted); font-weight: 700; font-size: 14.5px; }
.closing-chips li { display: flex; gap: 8px; align-items: center; }
.closing-chips svg { width: 18px; height: 18px; color: var(--volt); }
@media (min-width: 760px) {
  .steps { grid-template-columns: repeat(4, 1fr); }
  .step { flex-direction: column; align-items: flex-start; padding: 24px; }
}
@media (max-width: 520px) { .closing-actions .btn { flex: 1 1 100%; } }

/* ---------- Footer ---------- */
.site-footer { background: #050506; border-top: 1px solid var(--line); padding-top: 64px; }
.footer-grid { display: grid; gap: 36px; padding-bottom: 44px; }
.footer-brand p { margin-top: 16px; color: var(--muted); max-width: 340px; font-size: 15px; }
.footer-h { font-size: 15px; font-weight: 900; margin-bottom: 14px; color: var(--ink); }
.footer-links { display: grid; gap: 6px; }
.footer-links a { color: var(--muted); font-weight: 600; transition: color .2s; }
.footer-links a:hover { color: var(--volt); }
.footer-wa { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: var(--pill); border: 1px solid var(--line-2); font-weight: 800; transition: border-color .2s, color .2s; }
.footer-wa svg { width: 20px; height: 20px; color: #25D366; }
.footer-wa:hover { border-color: var(--volt); color: var(--volt); }
.social { display: flex; flex-wrap: wrap; gap: 10px; }
.social a { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); color: var(--muted); transition: background-color .2s, color .2s, border-color .2s; }
.social a:hover { background: var(--volt); color: var(--volt-ink); border-color: var(--volt); }
.social svg { width: 20px; height: 20px; }
.footer-bottom { border-top: 1px solid var(--line); padding-block: 22px; color: var(--muted-2); font-size: 14px; text-align: center; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; } }
@media (max-width: 759px) { .footer-bottom { padding-bottom: 100px; } }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; bottom: 20px; inset-inline-start: 20px; z-index: 40;
  width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center;
  background: #25D366; color: #fff; box-shadow: 0 12px 30px -8px rgba(37, 211, 102, .6);
  transition: transform .25s var(--ease);
}
.wa-float svg { width: 30px; height: 30px; }
.wa-float:hover { transform: scale(1.08); }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(5, 5, 6, .95); display: grid; place-items: center; padding: 56px 12px 40px; }
.lightbox[hidden] { display: none; }
.lb-figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; max-height: 100%; width: 100%; height: 100%; justify-content: center; }
.lb-figure img { max-width: min(92vw, 900px); max-height: calc(100vh - 130px); width: auto; height: auto; object-fit: contain; border-radius: 12px; }
.lb-count { color: var(--muted); font-weight: 700; font-size: 14px; }
.lb-btn { position: absolute; width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(20, 20, 24, .85); color: #fff; cursor: pointer; display: grid; place-items: center; z-index: 2; }
.lb-btn:hover { background: var(--volt); color: var(--volt-ink); }
.lb-btn svg { width: 22px; height: 22px; }
.lb-close { top: 14px; inset-inline-end: 14px; }
.lb-prev { inset-inline-start: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { inset-inline-end: 14px; top: 50%; transform: translateY(-50%); }
.lb-btn[hidden] { display: none; }

/* =========================================================
   طبقة الفخامة: هدوء، مساحات، زجاج خفيف، وحركة ناعمة
   (نفس الألوان ونفس الترتيب)
   ========================================================= */
:root {
  --bg: #060607;
  --bg-2: rgba(255, 255, 255, .018);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --glass: rgba(255, 255, 255, .035);
  --glass-2: rgba(255, 255, 255, .055);
}

/* ١) خلفية أغمق بتدرج لوني خفيف ثابت ورا الصفحة كلها */
html { background: var(--bg); }
body { background: transparent; }
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(900px 520px at 85% -8%, rgba(215, 249, 74, .055), transparent 65%),
    radial-gradient(800px 600px at 0% 45%, rgba(120, 130, 160, .06), transparent 70%),
    radial-gradient(900px 600px at 100% 100%, rgba(215, 249, 74, .035), transparent 70%),
    linear-gradient(180deg, #08080A 0%, #050506 55%, #040405 100%);
}
.section-alt { background: var(--bg-2); border-color: rgba(255, 255, 255, .05); }
.site-footer { background: rgba(0, 0, 0, .55); }

/* ٢) مسافات أكبر بين الأقسام */
.section { padding-block: clamp(104px, 13vw, 176px); }
.section-head { margin-bottom: clamp(48px, 6vw, 80px); }
.section-head .sub { margin-top: 18px; }
.h2 { letter-spacing: -.02em; line-height: 1.15; }
.lead { line-height: 2.05; }

/* ٣) عنوان الهيرو أكبر وأقوى */
.hero { padding-bottom: clamp(72px, 10vw, 128px); }
.hero-title { font-size: clamp(44px, 6.3vw, 88px); line-height: 1.06; letter-spacing: -.025em; margin-top: 28px; }
.hero-title .line { text-shadow: 0 2px 30px rgba(0, 0, 0, .6); }
.hero-title .hl { text-shadow: 0 0 40px rgba(215, 249, 74, .25); }
.hero-text { margin-top: 28px; }
.hero-actions { margin-top: 40px; gap: 14px; }
.hero-stats { margin-top: 48px; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.22fr .78fr; gap: 64px; } }

/* ٤) أزرار أكبر وأوضح */
.btn { min-height: 54px; padding: 14px 28px; font-size: 17px; gap: 12px; letter-spacing: .005em; }
.btn svg { width: 21px; height: 21px; }
.btn-sm { min-height: 46px; padding: 10px 22px; font-size: 15.5px; }
.btn-lg { min-height: 62px; padding: 16px 36px; font-size: 18.5px; }
.btn-volt {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), 0 10px 34px -10px rgba(215, 249, 74, .6);
}
.btn-volt:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 16px 48px -8px rgba(215, 249, 74, .75); }
.btn-light { box-shadow: inset 0 1px 0 #fff, 0 10px 30px -14px rgba(255, 255, 255, .35); }
.btn-outline {
  border-color: rgba(255, 255, 255, .26); background: rgba(255, 255, 255, .05);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.btn-outline:hover { background: rgba(215, 249, 74, .08); }
.btn:focus-visible { outline-offset: 4px; }

/* ٥) كروت زجاجية بحدود رفيعة لامعة */
.pkg, .feature, .book, .acc-item, .hero-stats li, .step, .transform, .fit {
  position: relative; isolation: isolate; border: 0;
  background: linear-gradient(160deg, var(--glass-2), var(--glass) 45%, rgba(255, 255, 255, .02));
  backdrop-filter: blur(16px) saturate(1.25); -webkit-backdrop-filter: blur(16px) saturate(1.25);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), 0 24px 60px -30px rgba(0, 0, 0, .9);
}
/* الحد اللامع: خط رفيع بتدرج من الأبيض للأخضر */
.pkg::before, .feature::before, .book::before, .acc-item::before, .hero-stats li::before, .step::before, .transform::before, .fit::before {
  content: ""; position: absolute; inset: 0; z-index: 3; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, .30), rgba(255, 255, 255, .06) 35%, rgba(255, 255, 255, .03) 60%, rgba(215, 249, 74, .28));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  transition: background .4s var(--ease-out), opacity .4s;
}
.feature:hover::before, .book:hover::before, .hero-stats li.is-link:hover::before, .acc-item.open::before, .pkg.featured::before {
  background: linear-gradient(135deg, rgba(215, 249, 74, .95), rgba(215, 249, 74, .25) 40%, rgba(255, 255, 255, .08) 65%, rgba(215, 249, 74, .7));
}
.pkg.featured {
  background: radial-gradient(120% 60% at 50% 0%, rgba(215, 249, 74, .12), transparent 60%), linear-gradient(160deg, var(--glass-2), var(--glass));
}
.acc-item.open { background: linear-gradient(160deg, rgba(215, 249, 74, .06), var(--glass) 50%); }
.feature, .book { transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out); }
.feature:hover, .book:hover { transform: translateY(-8px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 40px 80px -36px rgba(0, 0, 0, .95), 0 0 0 1px rgba(215, 249, 74, .08); }
.book-media { background: radial-gradient(80% 70% at 50% 100%, rgba(215, 249, 74, .14), transparent 70%), rgba(255, 255, 255, .02); }
.dur { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .14); }
.pkg-top { border-bottom-color: rgba(255, 255, 255, .12); }
.site-header.scrolled { background: rgba(6, 6, 7, .7); }

/* ٦) ظهور ناعم لكل قسم وانت نازل */
.js .reveal {
  opacity: 0; transform: translateY(36px) scale(.985); filter: blur(6px);
  transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out), filter 1.1s var(--ease-out);
  will-change: opacity, transform;
}
.js .reveal.in { opacity: 1; transform: none; filter: none; }
.js .section-head.reveal { transform: translateY(24px); }

/* =========================================================
   المتجر: أول حاجة بتظهر — كروت زي المتاجر
   ========================================================= */
.shop { position: relative; padding-block: clamp(28px, 4vw, 48px) clamp(48px, 6vw, 80px); }
.shop-head { text-align: center; margin-bottom: clamp(24px, 3vw, 36px); }
.shop-title { font-size: clamp(30px, 4.4vw, 48px); font-weight: 900; line-height: 1.2; letter-spacing: -.02em; }
.shop-head .sub { margin-top: 8px; font-size: clamp(15px, 1.6vw, 17px); }
.shop-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 760px) { .shop-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; } }
@media (min-width: 1100px) { .shop-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; } }

.shop-card {
  position: relative; isolation: isolate; display: flex; flex-direction: column; overflow: hidden; border-radius: 20px;
  background: linear-gradient(160deg, var(--glass-2), var(--glass) 45%, rgba(255, 255, 255, .02));
  backdrop-filter: blur(16px) saturate(1.25); -webkit-backdrop-filter: blur(16px) saturate(1.25);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), 0 24px 60px -30px rgba(0, 0, 0, .9);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
  animation: shopIn .9s var(--ease-out) both;
}
.shop-card:nth-child(2) { animation-delay: .06s; } .shop-card:nth-child(3) { animation-delay: .12s; }
.shop-card:nth-child(4) { animation-delay: .18s; } .shop-card:nth-child(5) { animation-delay: .24s; } .shop-card:nth-child(6) { animation-delay: .3s; }
@keyframes shopIn { from { opacity: 0; transform: translateY(22px); } }
.shop-card::before {
  content: ""; position: absolute; inset: 0; z-index: 3; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, .30), rgba(255, 255, 255, .06) 35%, rgba(255, 255, 255, .03) 60%, rgba(215, 249, 74, .28));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.shop-card.is-featured::before, .shop-card:hover::before { background: linear-gradient(135deg, rgba(215, 249, 74, .95), rgba(215, 249, 74, .25) 40%, rgba(255, 255, 255, .08) 65%, rgba(215, 249, 74, .7)); }
.shop-card:hover { transform: translateY(-6px); }

.shop-media { position: relative; display: block; aspect-ratio: 4 / 4.4; overflow: hidden; background: var(--card-2); }
.shop-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; transition: transform .7s var(--ease-out); }
.shop-card:hover .shop-media img { transform: scale(1.05); }
.shop-card.is-book .shop-media { background: radial-gradient(80% 70% at 50% 100%, rgba(215, 249, 74, .16), transparent 70%), var(--card-2); display: grid; place-items: center; padding: 14px 18% 0; }
.shop-card.is-book .shop-media img { width: 100%; height: auto; object-fit: contain; border-radius: 6px 6px 0 0; align-self: end; box-shadow: 0 -8px 30px -10px rgba(0, 0, 0, .7); }
.shop-media::after { content: ""; position: absolute; inset: auto 0 0; height: 30%; background: linear-gradient(to top, rgba(10, 10, 12, .7), transparent); pointer-events: none; }

.sale-badge {
  position: absolute; top: 10px; inset-inline-start: 10px; z-index: 2; padding: 3px 10px; border-radius: var(--pill);
  background: #FF3B3B; color: #fff; font-weight: 900; font-size: 13px; box-shadow: 0 6px 18px -6px rgba(255, 59, 59, .7);
}
.offer-badge.on-shop { position: absolute; bottom: 10px; inset-inline-start: 10px; z-index: 2; font-size: 12px; padding: 4px 10px; }
.offer-badge.on-shop svg { width: 15px; height: 15px; }

.shop-body { display: flex; flex-direction: column; gap: 6px; padding: 12px 12px 14px; flex: 1; }
.shop-tag { align-self: flex-start; padding: 1px 10px; border-radius: var(--pill); background: var(--volt-soft); color: var(--volt); font-weight: 800; font-size: 11.5px; line-height: 1.8; }
.shop-name { font-size: clamp(15px, 1.5vw, 17px); font-weight: 900; line-height: 1.45; }
.shop-price { margin-top: auto; padding-top: 4px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; }
.shop-price .from { width: 100%; color: var(--muted); font-size: 12px; font-weight: 700; line-height: 1.2; }
.shop-price strong { font-size: clamp(22px, 2.4vw, 26px); font-weight: 900; line-height: 1.1; display: inline-flex; align-items: baseline; gap: 4px; }
.shop-price strong small { font-size: 13px; color: var(--muted); font-weight: 800; }
.old-price { color: var(--muted-2); font-size: 14px; font-weight: 700; text-decoration-color: #FF5A5A; text-decoration-thickness: 2px; }
.shop-btn.btn { margin-top: 8px; min-height: 46px; padding: 10px 12px; font-size: 14.5px; gap: 8px; }
.shop-btn svg { width: 18px; height: 18px; }
@media (min-width: 760px) { .shop-body { padding: 14px 16px 16px; } .shop-btn.btn { font-size: 15.5px; } }
.shop-btn.btn { white-space: nowrap; }
@media (min-width: 1100px) { .shop-body { padding: 12px 10px 14px; } .shop-btn.btn { font-size: 13.5px; padding-inline: 6px; gap: 6px; } .shop-btn svg { width: 16px; height: 16px; } }
@media (max-width: 400px) { .shop-btn.btn { font-size: 13px; padding-inline: 6px; gap: 5px; } .shop-btn svg { width: 16px; height: 16px; } .shop-body { padding-inline: 9px; } }

/* الشاشة الأولى: المتجر بيبقى أول حاجة، والواجهة بعده من غير ما تدخل تحت الهيدر */
.shop + .hero { margin-top: 0; padding-top: clamp(40px, 6vw, 80px); }
.book-price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.pkg-price .old-price { font-size: 16px; }

/* زرار الواتساب الثابت: أوضح، بكلمة وبنبضة */
.wa-float {
  width: auto; height: 58px; padding: 0 22px 0 18px; border-radius: var(--pill); gap: 10px;
  display: inline-flex; align-items: center; font-weight: 900; font-size: 16px; color: #fff; text-decoration: none;
  bottom: max(16px, env(safe-area-inset-bottom)); inset-inline-start: 16px;
  box-shadow: 0 0 0 4px rgba(37, 211, 102, .18), 0 14px 34px -8px rgba(37, 211, 102, .7);
}
.wa-float svg { width: 26px; height: 26px; }
.wa-pulse { position: absolute; inset: 0; border-radius: inherit; border: 2px solid #25D366; animation: waPulse 2.4s ease-out infinite; pointer-events: none; }
@keyframes waPulse { 0% { opacity: .8; transform: scale(1); } 100% { opacity: 0; transform: scale(1.25, 1.5); } }
@media (max-width: 380px) { .wa-float { height: 52px; padding: 0 16px 0 14px; font-size: 15px; } }

/* شريط "حصلت مشكلة" (بيظهر بس لو في غلطة في content.js) */
.load-error {
  margin: 20px var(--gutter); padding: 18px 20px; border-radius: var(--radius); text-align: center;
  background: rgba(251, 191, 36, .1); border: 1px solid rgba(251, 191, 36, .35); color: #FCD877;
  display: grid; gap: 12px; justify-items: center; font-weight: 700;
}

/* صفحة "الصفحة مش موجودة" (404.html) */
.page-404 { min-height: 100vh; display: grid; place-items: center; text-align: center; }
.page-404 .brand { justify-content: center; }
.page-404 .h2 { margin-top: 28px; }
.page-404 .lead { margin-top: 14px; }
.page-404-actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* أصغر موبايلات (٣٢٠–٣٨٠): العنوان والأزرار ميتزحموش */
.brand { min-height: 44px; }
@media (max-width: 380px) {
  .hero-title { font-size: 37px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .btn-lg { font-size: 16.5px; padding-inline: 18px; }
  .pkg { padding-inline: 18px; }
}

/* الواجهة بتدخل بهدوء أول ما الصفحة تفتح (من غير ما تأخر الصورة) */
.hero-copy > * { animation: heroIn 1.1s var(--ease-out) both; }
.hero-copy > :nth-child(2) { animation-delay: .08s; }
.hero-copy > :nth-child(3) { animation-delay: .16s; }
.hero-copy > :nth-child(4) { animation-delay: .24s; }
.hero-copy > :nth-child(5) { animation-delay: .32s; }
.hero-media { animation: heroMedia 1.3s var(--ease-out) both .1s; }
@keyframes heroIn { from { opacity: 0; transform: translateY(26px); filter: blur(6px); } }
@keyframes heroMedia { from { opacity: 0; transform: translateY(20px) scale(.97); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; filter: none; }
  .marquee-track { animation: none; }
  .swap-before { opacity: 0; }
  .swap-after { opacity: 1; }
}
