/* ═══════════════════════════════════════════════════════════════
   منصة مشاهير العراق — نظام التصميم
   ═══════════════════════════════════════════════════════════════ */

@view-transition { navigation: auto; }

:root {
  --bg: #09080f;
  --bg-2: #0f0d18;
  --surface: #14121f;
  --surface-2: #1b1829;
  --surface-3: #242037;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .15);
  --text: #f7f4ef;
  --muted: #aca8bd;
  --dim: #7f7b95;
  --gold: #ffbe55;
  --coral: #ff6080;
  --violet: #9d7dff;
  --mint: #3fe0b0;
  --sky: #5cc8ff;
  --ink: #170d1c;
  --grad: linear-gradient(115deg, #ffc35a 0%, #ff6a6a 48%, #b45cff 100%);
  --grad-soft: linear-gradient(115deg, rgba(255, 195, 90, .14), rgba(255, 106, 106, .12) 48%, rgba(180, 92, 255, .14));
  --r: 22px;
  --r-sm: 14px;
  --shadow: 0 24px 60px -28px rgba(0, 0, 0, .8);
  --shadow-glow: 0 18px 50px -18px rgba(255, 106, 106, .55);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --font-head: "Alexandria", "IBM Plex Sans Arabic", system-ui, sans-serif;
  --font-body: "IBM Plex Sans Arabic", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
  --nav-h: 72px;
  --wrap: 1240px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; min-height: 100vh; background: var(--bg); color: var(--text);
  font-family: var(--font-body); font-size: 16px; line-height: 1.7;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
body.lock { overflow: hidden; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
[hidden] { display: none !important; }
::selection { background: rgba(255, 106, 106, .35); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
section[id] { scroll-margin-top: calc(var(--nav-h) + 16px); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-inline: 24px; }
.muted { color: var(--muted); }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }

.skip { position: absolute; inset-inline-start: 12px; top: -80px; z-index: 200; background: var(--text); color: var(--bg); padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.skip:focus { top: 12px; }

/* ─── أيقونات ─── */
.ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.ic--fill { fill: currentColor; stroke: none; }

/* ─── أزرار ─── */
.btn {
  --h: 50px;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: var(--h); padding: 0 22px; border-radius: 15px; border: 1px solid transparent;
  font: 600 15.5px/1 var(--font-body); white-space: nowrap; cursor: pointer;
  transition: transform .18s var(--ease), box-shadow .25s var(--ease), background-color .2s, border-color .2s, color .2s;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn--primary { background: var(--grad); color: var(--ink); box-shadow: var(--shadow-glow); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 22px 50px -16px rgba(255, 106, 106, .75); }
.btn--ghost { background: rgba(255, 255, 255, .045); border-color: var(--line-2); }
.btn--ghost:hover { background: rgba(255, 255, 255, .09); border-color: rgba(255, 255, 255, .25); }
.btn--light { background: var(--text); color: var(--ink); }
.btn--light:hover { background: #fff; transform: translateY(-2px); }
.btn--wa { background: #25d366; color: #052e16; }
.btn--wa:hover { background: #3be07a; transform: translateY(-2px); }
.btn--sm { --h: 40px; padding: 0 15px; font-size: 14.5px; border-radius: 12px; }
.btn--xs { --h: 32px; padding: 0 11px; font-size: 13px; border-radius: 10px; gap: 6px; }
.btn--block { width: 100%; }
.btn--icon { width: var(--h); padding: 0; }
.btn[disabled] { opacity: .55; pointer-events: none; }
.btn .ic { width: 19px; height: 19px; }

/* ─── شارات ورقاقات ─── */
.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px;
  border: 1px solid var(--line-2); background: rgba(255, 255, 255, .035);
  font-size: 13.5px; font-weight: 500; color: var(--muted); white-space: nowrap;
}
button.chip { cursor: pointer; transition: all .18s var(--ease); }
button.chip:hover { color: var(--text); border-color: rgba(255, 255, 255, .3); }
.chip.is-on { background: var(--text); color: var(--ink); border-color: var(--text); }
.chip .n { font-size: 11.5px; opacity: .7; }

.badge {
  display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 999px;
  font-size: 12px; font-weight: 700; line-height: 1.6; white-space: nowrap;
  background: rgba(10, 9, 16, .62); color: #fff; border: 1px solid rgba(255, 255, 255, .18);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.badge--gold { background: var(--grad); color: var(--ink); border-color: transparent; }
.badge--fire { color: #ffd2a1; }
.badge--demo { background: rgba(92, 200, 255, .2); color: #bfe8ff; border-color: rgba(92, 200, 255, .4); }
.badge--auto { color: #a9f5dc; }
.badge .ic { width: 13px; height: 13px; }

/* ─── شريط الإعلان ─── */
.announce { background: var(--grad); color: var(--ink); text-align: center; font-weight: 600; font-size: 14px; padding: 8px 16px; }

/* ═══ الهيدر ═══ */
.site-header {
  position: sticky; top: 0; z-index: 60; min-height: var(--nav-h);
  background: rgba(9, 8, 15, .72);
  -webkit-backdrop-filter: saturate(160%) blur(16px); backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid transparent; transition: border-color .25s, background-color .25s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); background: rgba(9, 8, 15, .86); }
.hdr { display: flex; align-items: center; gap: 18px; height: var(--nav-h); }
.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--font-head); font-weight: 700; font-size: 18px; flex: none; }
.brand__mark {
  position: relative; width: 40px; height: 40px; border-radius: 13px; background: var(--grad);
  display: grid; place-items: center; box-shadow: 0 8px 22px -8px rgba(255, 106, 106, .8);
}
.brand__mark svg { width: 21px; height: 21px; fill: var(--ink); }
.brand__txt { display: grid; line-height: 1.25; }
.brand__txt small { font-family: var(--font-body); font-size: 11.5px; font-weight: 500; color: var(--dim); }
.brand__txt b { font-weight: 800; }

.nav { display: flex; gap: 2px; margin-inline-start: auto; }
.nav a { position: relative; padding: 9px 13px; border-radius: 11px; color: var(--muted); font-weight: 500; font-size: 15px; transition: color .15s, background-color .15s; }
.nav a:hover { color: var(--text); background: rgba(255, 255, 255, .055); }
.hdr__actions { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  position: relative; width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; cursor: pointer;
  background: rgba(255, 255, 255, .045); border: 1px solid var(--line-2); transition: background-color .2s, transform .2s var(--ease);
}
.icon-btn:hover { background: rgba(255, 255, 255, .1); }
.icon-btn .count {
  position: absolute; top: -6px; inset-inline-end: -6px; min-width: 21px; height: 21px; padding: 0 5px;
  border-radius: 999px; background: var(--grad); color: var(--ink); font-size: 12px; font-weight: 800;
  display: grid; place-items: center; border: 2px solid var(--bg);
}
.icon-btn.bump { animation: bump .5s var(--ease); }
@keyframes bump { 30% { transform: scale(1.18) rotate(-6deg); } 60% { transform: scale(.95); } }
.menu-btn { display: none; }

/* قائمة الموبايل */
.mmenu {
  position: fixed; inset: 0; z-index: 90; background: rgba(9, 8, 15, .97);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  display: flex; flex-direction: column; padding: 18px 20px calc(24px + env(safe-area-inset-bottom));
  opacity: 0; pointer-events: none; transition: opacity .25s var(--ease);
}
.mmenu.is-open { opacity: 1; pointer-events: auto; }
.mmenu__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.mmenu nav { display: grid; gap: 4px; }
.mmenu nav a { font-family: var(--font-head); font-weight: 700; font-size: 26px; padding: 10px 4px; border-bottom: 1px solid var(--line); transform: translateY(10px); opacity: 0; transition: transform .4s var(--ease), opacity .4s var(--ease); }
.mmenu.is-open nav a { transform: none; opacity: 1; }
.mmenu.is-open nav a:nth-child(2) { transition-delay: .04s; }
.mmenu.is-open nav a:nth-child(3) { transition-delay: .08s; }
.mmenu.is-open nav a:nth-child(4) { transition-delay: .12s; }
.mmenu.is-open nav a:nth-child(5) { transition-delay: .16s; }
.mmenu.is-open nav a:nth-child(6) { transition-delay: .2s; }
.mmenu__foot { margin-top: auto; display: grid; gap: 10px; }

/* ═══ البداية ═══ */
.hero { position: relative; overflow: clip; padding: 56px 0 72px; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; animation: drift 18s ease-in-out infinite; }
.blob--1 { width: 520px; height: 520px; background: #ff5f7e; top: -180px; right: -120px; opacity: .32; }
.blob--2 { width: 460px; height: 460px; background: #8a5cff; bottom: -160px; left: -120px; opacity: .34; animation-delay: -6s; }
.blob--3 { width: 320px; height: 320px; background: #ffb547; top: 30%; left: 38%; opacity: .16; animation-delay: -11s; }
@keyframes drift { 0%, 100% { translate: 0 0; } 33% { translate: 40px -30px; } 66% { translate: -30px 25px; } }
.hero__grid-bg {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 30%, #000 30%, transparent 75%); mask-image: radial-gradient(70% 60% at 50% 30%, #000 30%, transparent 75%);
}
.hero__in { display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px; padding: 6px 14px 6px 16px; border-radius: 999px;
  border: 1px solid var(--line-2); background: rgba(255, 255, 255, .04); color: var(--muted); font-size: 14px; font-weight: 500;
}
.pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--mint); }
.pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--mint); animation: ping 2s ease-out infinite; }
@keyframes ping { to { transform: scale(3); opacity: 0; } }
.hero h1 {
  font-family: var(--font-head); font-weight: 800; font-size: clamp(36px, 5.2vw, 64px); line-height: 1.22;
  margin: 22px 0 18px; text-wrap: balance;
}
.hero h1 .grad-text { white-space: nowrap; }
.hero .lead { font-size: clamp(16.5px, 1.5vw, 19px); color: var(--muted); max-width: 34em; margin-bottom: 30px; }

/* صندوق الاقتراح الذكي */
.smart {
  position: relative; padding: 8px; border-radius: 22px; background: rgba(20, 18, 31, .75);
  border: 1px solid var(--line-2); box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.smart::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: var(--grad); opacity: .55;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.smart__row { display: flex; align-items: center; gap: 8px; }
.smart__ic { width: 44px; height: 44px; display: grid; place-items: center; color: var(--gold); flex: none; }
.smart__ic .ic { width: 24px; height: 24px; }
.smart input {
  flex: 1; min-width: 0; height: 54px; border: 0; outline: 0; background: transparent; color: var(--text);
  font: 500 16.5px var(--font-body);
}
.smart input::placeholder { color: var(--dim); }
.smart .btn { --h: 52px; border-radius: 15px; }
.smart__hints { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.smart__hints .chip { font-size: 13px; }

.hero__stats { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 34px; }
.hstat b { display: block; font-family: var(--font-head); font-size: 28px; font-weight: 800; line-height: 1.2; }
.hstat span { font-size: 14px; color: var(--muted); }

/* البطاقات المتراكبة بالبداية */
.hero__stage { position: relative; height: 560px; perspective: 1400px; }
.stack-card { position: absolute; width: 260px; transition: transform .6s var(--ease); }
.stack-card .cc { box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .9); }
.stack-card:nth-child(1) { top: 40px; left: 50%; translate: -50% 0; z-index: 3; animation: float 7s ease-in-out infinite; }
.stack-card:nth-child(2) { top: 110px; left: 2%; rotate: -9deg; z-index: 2; animation: float 7s ease-in-out -2.4s infinite; opacity: .92; }
.stack-card:nth-child(3) { top: 120px; right: 2%; rotate: 9deg; z-index: 1; animation: float 7s ease-in-out -4.6s infinite; opacity: .92; }
@keyframes float { 0%, 100% { translate: var(--tx, 0) 0; } 50% { translate: var(--tx, 0) -14px; } }
.stack-card:nth-child(1) { --tx: -50%; }
.glass-tag {
  position: absolute; z-index: 5; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 16px;
  background: rgba(20, 18, 31, .82); border: 1px solid var(--line-2); box-shadow: var(--shadow); font-size: 14px; font-weight: 600;
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); animation: float 8s ease-in-out infinite;
}
.glass-tag .ic { color: var(--mint); }
.glass-tag--a { top: 14px; right: 0; animation-delay: -3s; }
.glass-tag--b { bottom: 30px; left: 0; animation-delay: -1s; }
.glass-tag--b .ic { color: var(--gold); }

/* شريط متحرك */
.marquee { position: relative; overflow: hidden; border-block: 1px solid var(--line); background: rgba(255, 255, 255, .015); padding: 16px 0; }
.marquee__track { display: flex; gap: 40px; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { display: inline-flex; align-items: center; gap: 12px; color: var(--muted); font-family: var(--font-head); font-weight: 600; font-size: 17px; white-space: nowrap; }
.marquee__item::after { content: "✦"; color: var(--gold); font-size: 12px; margin-inline-start: 28px; }
@keyframes marquee { to { transform: translateX(50%); } }
.marquee::before, .marquee::after { content: ""; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 1; pointer-events: none; }
.marquee::before { right: 0; background: linear-gradient(270deg, var(--bg), transparent); }
.marquee::after { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }

/* ═══ الأقسام ═══ */
.section { padding: 96px 0; position: relative; }
.section--tint { background: linear-gradient(180deg, transparent, rgba(255, 255, 255, .02) 15%, rgba(255, 255, 255, .02) 85%, transparent); }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap; margin-bottom: 36px; }
.sec-head--center { flex-direction: column; align-items: center; text-align: center; max-width: 680px; margin-inline: auto; }
.kicker { display: inline-flex; align-items: center; gap: 8px; color: var(--gold); font-weight: 700; font-size: 14px; }
.kicker::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: var(--grad); }
.sec-head h2, .h2 { font-family: var(--font-head); font-weight: 800; font-size: clamp(27px, 3.4vw, 42px); line-height: 1.3; margin-top: 8px; text-wrap: balance; }
.sec-head p { color: var(--muted); font-size: 17px; margin-top: 10px; max-width: 40em; }

/* ═══ بطاقة المشهور ═══ */
.cc {
  position: relative; display: flex; flex-direction: column; border-radius: var(--r); overflow: hidden;
  background: var(--surface); border: 1px solid var(--line); container-type: inline-size;
  transition: transform .35s var(--ease), border-color .3s, box-shadow .35s var(--ease);
}
.cc::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; opacity: 0; transition: opacity .3s;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, .07), transparent 45%);
}
.cc:hover { transform: translateY(-6px); border-color: var(--line-2); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .04); }
.cc:hover::after { opacity: 1; }
.cc__media { position: relative; display: block; aspect-ratio: 4 / 4.6; overflow: hidden; background: var(--surface-2); }
.cc__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.cc:hover .cc__media img { transform: scale(1.05); }
.ph {
  width: 100%; height: 100%; display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 800; font-size: clamp(46px, 28cqi, 92px); color: rgba(255, 255, 255, .9);
  background: var(--ph, linear-gradient(135deg, #ff9a52, #ff4f78 50%, #8a5cff));
}
.cc__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(9, 8, 15, .35) 0%, transparent 30%, transparent 50%, rgba(9, 8, 15, .92) 100%); }
.cc__badges { position: absolute; top: 12px; inset-inline: 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.cc__id { position: absolute; inset-inline: 16px; bottom: 14px; }
.cc__id h3 { font-family: var(--font-head); font-size: 20px; font-weight: 800; line-height: 1.35; text-shadow: 0 2px 14px rgba(0, 0, 0, .5); }
.cc__id p { font-size: 14px; color: rgba(255, 255, 255, .78); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.cc__id .loc { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; color: rgba(255, 255, 255, .7); margin-top: 2px; }
.cc__id .loc .ic { width: 13px; height: 13px; }
.cc__body { display: flex; flex-direction: column; gap: 12px; padding: 14px 16px 16px; flex: 1; }
.socials { display: flex; flex-wrap: wrap; gap: 6px; }
.soc {
  display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 10px 0 8px; border-radius: 10px;
  background: rgba(255, 255, 255, .05); border: 1px solid var(--line); font-size: 13px; font-weight: 700; direction: ltr;
  transition: background-color .2s, border-color .2s, transform .2s var(--ease);
}
a.soc:hover { background: rgba(255, 255, 255, .1); border-color: var(--line-2); transform: translateY(-1px); }
.soc i { width: 20px; height: 20px; border-radius: 6px; display: grid; place-items: center; font-style: normal; }
.soc i svg { width: 13px; height: 13px; fill: currentColor; }
.p-tiktok i { background: #111; color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .15); }
.p-instagram i { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); color: #fff; }
.p-facebook i { background: #1877f2; color: #fff; }
.p-youtube i { background: #ff0033; color: #fff; }
.p-snapchat i { background: #fffc00; color: #111; }
.cc__cats { display: flex; flex-wrap: wrap; gap: 6px; }
.cc__cats .chip { padding: 3px 10px; font-size: 12.5px; }
.cc__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 12px; border-top: 1px dashed var(--line-2); }
.price small { display: block; font-size: 12px; color: var(--dim); line-height: 1.4; }
.price b { font-size: 14.5px; font-weight: 700; line-height: 1.4; }
.price--hidden b { color: var(--muted); font-weight: 600; }
.add-btn {
  flex: none; width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; cursor: pointer;
  background: rgba(255, 255, 255, .06); border: 1px solid var(--line-2); transition: all .25s var(--ease);
}
.add-btn:hover { background: rgba(255, 255, 255, .12); transform: rotate(90deg); }
.add-btn.is-on { background: var(--grad); color: var(--ink); border-color: transparent; }
.add-btn.is-on:hover { transform: none; }
.add-btn .ic { width: 20px; height: 20px; }
.cc__why { margin: -2px 0 0; padding: 10px 12px; border-radius: 12px; background: var(--grad-soft); border: 1px solid rgba(255, 190, 85, .2); font-size: 13.5px; line-height: 1.6; }
.cc__why b { color: var(--gold); font-weight: 700; }
.cc__why ul { margin: 4px 0 0; padding: 0 18px 0 0; color: var(--muted); }

@container (max-width: 230px) {
  .cc__id h3 { font-size: 17px; }
  .cc__body { padding: 12px; }
  .soc { height: 28px; font-size: 12px; }
}

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 262px), 1fr)); gap: 20px; }

/* هيكل تحميل */
.skel { border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.skel__media { aspect-ratio: 4 / 4.6; }
.skel__line { height: 14px; margin: 14px 16px 0; border-radius: 8px; }
.skel__line:last-child { width: 50%; margin-bottom: 18px; }
.shimmer { background: linear-gradient(90deg, var(--surface-2) 0%, var(--surface-3) 50%, var(--surface-2) 100%); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ═══ الاقتراحات ═══ */
.suggest-box { padding: 28px; border-radius: 28px; background: var(--surface); border: 1px solid var(--line-2); position: relative; overflow: hidden; }
.suggest-box::before { content: ""; position: absolute; inset: 0; background: var(--grad-soft); opacity: .7; pointer-events: none; }
.suggest-box > * { position: relative; }
.suggest-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.suggest-head h2 { font-family: var(--font-head); font-size: 26px; font-weight: 800; }
.suggest-summary { color: var(--text); opacity: .9; margin-top: 6px; max-width: 46em; }
.intent { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.intent .chip { background: rgba(9, 8, 15, .4); }
.ai-badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 999px; background: rgba(157, 125, 255, .18); border: 1px solid rgba(157, 125, 255, .4); color: #d6c9ff; font-size: 12.5px; font-weight: 700; }
.empty { text-align: center; padding: 48px 20px; color: var(--muted); }
.empty .ic { width: 44px; height: 44px; margin: 0 auto 12px; color: var(--dim); }
.empty b { display: block; color: var(--text); font-size: 18px; margin-bottom: 4px; }

/* ═══ الاستكشاف والفلاتر ═══ */
.toolbar { display: flex; gap: 10px; align-items: center; margin-bottom: 14px; flex-wrap: wrap; }
.search {
  flex: 1 1 320px; position: relative; display: flex; align-items: center;
}
.search .ic { position: absolute; inset-inline-start: 16px; color: var(--dim); pointer-events: none; }
.search input {
  width: 100%; height: 52px; padding: 0 48px 0 16px; border-radius: 16px; border: 1px solid var(--line-2);
  background: var(--surface); color: var(--text); font: 500 16px var(--font-body); transition: border-color .2s, box-shadow .2s;
}
.search input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(255, 190, 85, .14); }
.select {
  height: 52px; padding: 0 16px 0 40px; border-radius: 16px; border: 1px solid var(--line-2); cursor: pointer;
  background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23aca8bd' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") left 14px center / 16px no-repeat;
  color: var(--text); font: 500 15px var(--font-body); -webkit-appearance: none; appearance: none;
}
.select:focus { outline: none; border-color: var(--gold); }
.select option { background: var(--bg-2); }
.filters { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)) auto; gap: 10px; margin-bottom: 14px; }
.filters .select { width: 100%; height: 46px; font-size: 14.5px; border-radius: 14px; }
.toggle { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 14px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--surface); cursor: pointer; font-size: 14.5px; white-space: nowrap; user-select: none; }
.toggle input { position: absolute; opacity: 0; pointer-events: none; }
.toggle .sw { position: relative; width: 36px; height: 21px; border-radius: 999px; background: var(--surface-3); transition: background-color .2s; }
.toggle .sw::after { content: ""; position: absolute; top: 3px; right: 3px; width: 15px; height: 15px; border-radius: 50%; background: #fff; transition: transform .25s var(--ease); }
.toggle input:checked + .sw { background: var(--coral); }
.toggle input:checked + .sw::after { transform: translateX(-15px); }
.toggle input:focus-visible + .sw { outline: 2px solid var(--gold); outline-offset: 2px; }
.cat-row { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 18px; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent); mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent); padding-inline: 8px; }
.cat-row::-webkit-scrollbar { display: none; }
.cat-row .chip { padding: 8px 15px; font-size: 14px; }
.results-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; color: var(--muted); font-size: 14.5px; min-height: 32px; flex-wrap: wrap; }
.active-filters { display: flex; flex-wrap: wrap; gap: 6px; }
.active-filters .chip { cursor: pointer; color: var(--text); }
.active-filters .chip::after { content: "×"; font-size: 16px; line-height: 1; opacity: .7; }
.more { display: flex; justify-content: center; margin-top: 32px; }
.filters-btn { display: none; }
.trend-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 18px; }
.trend-row > span { font-weight: 700; color: var(--gold); display: inline-flex; align-items: center; gap: 6px; margin-inline-end: 4px; }

/* ═══ المجالات ═══ */
.fields { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 14px; }
.field {
  --c: var(--gold);
  position: relative; display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: 18px; cursor: pointer;
  background: var(--surface); border: 1px solid var(--line); text-align: start; overflow: hidden;
  transition: transform .25s var(--ease), border-color .25s, background-color .25s;
}
.field:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--c) 50%, transparent); background: var(--surface-2); }
.field__ic { width: 48px; height: 48px; flex: none; border-radius: 14px; display: grid; place-items: center; color: var(--c); background: color-mix(in srgb, var(--c) 15%, transparent); }
.field__ic .ic { width: 24px; height: 24px; }
.field b { display: block; font-size: 16px; }
.field small { color: var(--dim); font-size: 13px; }
.field:nth-child(5n+2) { --c: var(--coral); }
.field:nth-child(5n+3) { --c: var(--violet); }
.field:nth-child(5n+4) { --c: var(--mint); }
.field:nth-child(5n+5) { --c: var(--sky); }

/* ═══ الخطوات ═══ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: st; list-style: none; padding: 0; margin: 0; }
.step { position: relative; padding: 28px 24px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.step::before { counter-increment: st; content: counter(st); position: absolute; top: -18px; inset-inline-end: 8px; font-family: var(--font-head); font-weight: 800; font-size: 110px; line-height: 1; color: rgba(255, 255, 255, .035); }
.step__ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--grad); color: var(--ink); margin-bottom: 18px; box-shadow: var(--shadow-glow); }
.step__ic .ic { width: 25px; height: 25px; }
.step h3 { font-size: 19px; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 15px; }

/* ═══ المميزات (بينتو) ═══ */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.tile { position: relative; padding: 26px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.tile h3 { font-family: var(--font-head); font-size: 20px; font-weight: 700; margin: 14px 0 6px; }
.tile p { color: var(--muted); font-size: 15px; }
.tile__ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: rgba(255, 255, 255, .06); color: var(--gold); }
.tile--a { grid-column: span 3; background: linear-gradient(160deg, rgba(255, 106, 106, .14), var(--surface) 60%); }
.tile--b { grid-column: span 3; background: linear-gradient(160deg, rgba(157, 125, 255, .16), var(--surface) 60%); }
.tile--c, .tile--d, .tile--e { grid-column: span 2; }
.tile__demo { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; }

/* ═══ عن المنصة ═══ */
.about { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.about__text p { color: var(--muted); font-size: 17px; margin-top: 14px; }
.manager {
  position: relative; padding: 30px; border-radius: 28px; background: var(--surface); border: 1px solid var(--line-2); overflow: hidden;
}
.manager::before { content: ""; position: absolute; width: 280px; height: 280px; top: -120px; left: -80px; border-radius: 50%; background: var(--coral); filter: blur(80px); opacity: .25; }
.manager__row { position: relative; display: flex; align-items: center; gap: 18px; }
.manager__av { width: 76px; height: 76px; border-radius: 22px; background: var(--grad); display: grid; place-items: center; color: var(--ink); font-family: var(--font-head); font-weight: 800; font-size: 30px; flex: none; }
.manager small { color: var(--gold); font-weight: 700; font-size: 13.5px; }
.manager h3 { font-family: var(--font-head); font-size: 26px; font-weight: 800; }
.manager ul { position: relative; list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.manager li { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); }
.manager li .ic { color: var(--mint); margin-top: 3px; }

/* ═══ انضم ═══ */
.join {
  position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
  padding: 48px; border-radius: 34px; overflow: hidden; border: 1px solid var(--line-2);
  background: radial-gradient(60% 80% at 100% 0%, rgba(255, 96, 128, .26), transparent 70%), radial-gradient(60% 80% at 0% 100%, rgba(157, 125, 255, .3), transparent 70%), var(--surface);
}
.join ul { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.join li { display: flex; gap: 10px; align-items: center; }
.join li .ic { color: var(--mint); }

/* ═══ النماذج ═══ */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form--card { padding: 24px; border-radius: 22px; background: rgba(9, 8, 15, .55); border: 1px solid var(--line); }
.form .full { grid-column: 1 / -1; }
.form label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.form .opt { color: var(--dim); font-weight: 500; }
.input, .form input, .form select, .form textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 13px; border: 1px solid var(--line-2);
  background: var(--bg-2); color: var(--text); font: 500 16px var(--font-body); transition: border-color .15s, box-shadow .15s;
}
.form textarea { min-height: 92px; resize: vertical; line-height: 1.6; }
.form select { -webkit-appearance: none; appearance: none; cursor: pointer; padding-left: 40px; background: var(--bg-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23aca8bd' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") left 14px center / 16px no-repeat; }
.form select:invalid { color: var(--dim); }
.form input::placeholder, .form textarea::placeholder { color: var(--dim); }
.input:focus, .form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(255, 190, 85, .14); }
.form__msg { min-height: 1.5em; font-size: 14.5px; margin: 4px 0 0; text-align: center; }
.form__msg.ok { color: var(--mint); }
.form__msg.err { color: #ff9aa9; }

/* ═══ الأسئلة ═══ */
.faq { display: grid; gap: 12px; max-width: 860px; margin: 0 auto; }
.faq details { border-radius: 18px; background: var(--surface); border: 1px solid var(--line); overflow: hidden; transition: border-color .2s; }
.faq details[open] { border-color: var(--line-2); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; font-weight: 700; font-size: 16.5px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; background: rgba(255, 255, 255, .06); font-size: 20px; font-weight: 400; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 22px 20px; color: var(--muted); }

/* ═══ الفوتر ═══ */
.cta-band {
  position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding: 40px 44px; border-radius: 30px; background: var(--grad); color: var(--ink); margin-bottom: 64px;
}
.cta-band::after { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 120% at 10% 50%, rgba(255, 255, 255, .35), transparent 60%); pointer-events: none; }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { font-family: var(--font-head); font-size: clamp(24px, 3vw, 34px); font-weight: 800; }
.cta-band p { font-weight: 500; opacity: .8; margin-top: 4px; }
.cta-band .btn--dark { background: var(--ink); color: #fff; }
.cta-band .btn--dark:hover { transform: translateY(-2px); background: #000; }
.cta-band .btn--outline { border-color: rgba(23, 13, 28, .35); color: var(--ink); background: rgba(255, 255, 255, .2); }
.site-footer { padding: 72px 0 calc(28px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: linear-gradient(180deg, transparent, rgba(255, 255, 255, .015)); }
.ftr { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr) 1.2fr; gap: 36px 28px; }
.ftr h4 { font-size: 15px; font-weight: 700; margin-bottom: 14px; }
.ftr ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.ftr li a, .ftr li span { color: var(--muted); font-size: 15px; transition: color .15s; }
.ftr li a:hover { color: var(--text); }
.ftr__about p { color: var(--muted); font-size: 15px; margin: 16px 0; max-width: 30em; }
.managed { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 10px; border-radius: 14px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line-2); font-size: 14px; }
.managed i { width: 30px; height: 30px; border-radius: 10px; background: var(--grad); color: var(--ink); display: grid; place-items: center; font-style: normal; font-weight: 800; font-family: var(--font-head); }
.managed b { font-weight: 700; }
.soc-links { display: flex; gap: 8px; margin-top: 14px; }
.soc-links a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); transition: all .2s; }
.soc-links a:hover { background: rgba(255, 255, 255, .1); transform: translateY(-2px); }
.soc-links svg { width: 18px; height: 18px; fill: currentColor; }
.ftr__bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--dim); font-size: 14px; }
.to-top { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; background: none; border: 0; color: var(--muted); }
.to-top:hover { color: var(--text); }

/* ═══ قائمة الحملة (درج) ═══ */
.scrim { position: fixed; inset: 0; z-index: 95; background: rgba(5, 4, 9, .6); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); opacity: 0; pointer-events: none; transition: opacity .3s; }
.scrim.is-open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; z-index: 100; top: 0; bottom: 0; right: 0; width: min(480px, 100%);
  background: var(--bg-2); border-inline-end: 1px solid var(--line-2); box-shadow: -30px 0 80px rgba(0, 0, 0, .5);
  display: flex; flex-direction: column; transform: translateX(105%); transition: transform .45s var(--ease);
}
.drawer.is-open { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer__head h3 { font-family: var(--font-head); font-size: 20px; font-weight: 800; }
.drawer__body { flex: 1; overflow-y: auto; padding: 18px 20px 24px; overscroll-behavior: contain; }
.sl-list { display: grid; gap: 10px; margin-bottom: 18px; }
.sl-item { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.sl-item img, .sl-item .ph { width: 52px; height: 52px; border-radius: 13px; object-fit: cover; flex: none; font-size: 22px; }
.sl-item .meta { flex: 1; min-width: 0; }
.sl-item b { display: block; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sl-item small { color: var(--muted); font-size: 13px; }
.sl-total { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-radius: 16px; background: var(--grad-soft); border: 1px solid rgba(255, 190, 85, .25); margin-bottom: 20px; }
.sl-total small { color: var(--muted); display: block; font-size: 12.5px; }
.sl-total b { font-size: 16px; }
.done { text-align: center; padding: 30px 10px; }
.done__ic { width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 16px; display: grid; place-items: center; background: rgba(63, 224, 176, .15); color: var(--mint); }
.done__ic .ic { width: 34px; height: 34px; }
.done h4 { font-family: var(--font-head); font-size: 22px; margin-bottom: 6px; }
.done p { color: var(--muted); margin-bottom: 20px; }

/* زر قائمة الحملة العائم (موبايل) */
.sl-fab {
  position: fixed; z-index: 70; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom));
  display: none; align-items: center; gap: 8px; height: 54px; padding: 0 18px; border-radius: 999px; cursor: pointer; border: 0;
  background: var(--grad); color: var(--ink); font-weight: 800; box-shadow: var(--shadow-glow);
}
.sl-fab .n { min-width: 24px; height: 24px; border-radius: 999px; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 13px; padding: 0 6px; }

/* ═══ الدعم الذكي ═══ */
.chat-launch {
  position: fixed; z-index: 80; left: 20px; bottom: calc(20px + env(safe-area-inset-bottom));
  width: 62px; height: 62px; border-radius: 22px; border: 0; cursor: pointer; display: grid; place-items: center;
  background: var(--grad); color: var(--ink); box-shadow: 0 18px 40px -12px rgba(255, 106, 106, .75);
  transition: transform .3s var(--ease), border-radius .3s var(--ease);
}
.chat-launch:hover { transform: translateY(-3px) rotate(-4deg); border-radius: 50%; }
.chat-launch .ic { width: 28px; height: 28px; }
.chat-launch .dot { position: absolute; top: 8px; right: 8px; width: 12px; height: 12px; border-radius: 50%; background: var(--mint); border: 2px solid var(--ink); }
.chat-launch__tip {
  position: absolute; left: calc(100% + 12px); bottom: 12px; white-space: nowrap; padding: 8px 14px; border-radius: 14px;
  background: var(--surface-2); border: 1px solid var(--line-2); color: var(--text); font-size: 14px; font-weight: 600; box-shadow: var(--shadow);
  animation: tip-in .5s var(--ease) both 1.5s;
}
@keyframes tip-in { from { opacity: 0; transform: translateX(-8px); } }
.chat {
  position: fixed; z-index: 110; left: 20px; bottom: calc(20px + env(safe-area-inset-bottom));
  width: 390px; height: min(620px, calc(100vh - 40px)); border-radius: 26px; overflow: hidden;
  display: flex; flex-direction: column; background: var(--bg-2); border: 1px solid var(--line-2); box-shadow: 0 40px 100px -20px rgba(0, 0, 0, .85);
  transform-origin: bottom left; transform: scale(.6) translateY(40px); opacity: 0; pointer-events: none;
  transition: transform .4s var(--ease), opacity .3s var(--ease);
}
.chat.is-open { transform: none; opacity: 1; pointer-events: auto; }
.chat__head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: linear-gradient(180deg, rgba(255, 255, 255, .04), transparent); border-bottom: 1px solid var(--line); }
.chat__av { width: 42px; height: 42px; border-radius: 14px; background: var(--grad); display: grid; place-items: center; flex: none; }
.chat__av svg { width: 22px; height: 22px; fill: var(--ink); }
.chat__head b { display: block; font-size: 15.5px; }
.chat__head small { display: inline-flex; align-items: center; gap: 6px; color: var(--mint); font-size: 12.5px; }
.chat__head small::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.chat__head .icon-btn { margin-inline-start: auto; width: 38px; height: 38px; border-radius: 12px; }
.chat__body { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; overscroll-behavior: contain; scroll-behavior: smooth; }
.msg { max-width: 86%; padding: 10px 14px; border-radius: 18px; font-size: 15px; line-height: 1.65; white-space: pre-wrap; word-wrap: break-word; animation: msg-in .35s var(--ease) both; }
@keyframes msg-in { from { opacity: 0; transform: translateY(8px); } }
.msg--bot { align-self: flex-start; background: var(--surface-2); border: 1px solid var(--line); border-start-start-radius: 6px; }
.msg--me { align-self: flex-end; background: var(--grad); color: var(--ink); font-weight: 500; border-start-end-radius: 6px; }
.typing { display: inline-flex; gap: 5px; padding: 14px 16px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.mini-cards { display: grid; gap: 8px; align-self: stretch; animation: msg-in .35s var(--ease) both; }
.mini { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); transition: border-color .2s; }
.mini:hover { border-color: var(--line-2); }
.mini img, .mini .ph { width: 48px; height: 48px; border-radius: 12px; object-fit: cover; flex: none; font-size: 20px; }
.mini .meta { flex: 1; min-width: 0; }
.mini b { display: block; font-size: 14.5px; }
.mini small { display: block; color: var(--muted); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini .add-btn { width: 36px; height: 36px; border-radius: 11px; }
.quick { display: flex; flex-wrap: wrap; gap: 6px; animation: msg-in .35s var(--ease) both; }
.quick .chip { cursor: pointer; font-size: 13px; color: var(--text); }
.quick .chip:hover { border-color: var(--gold); }
.handoff { display: flex; flex-wrap: wrap; gap: 8px; animation: msg-in .35s var(--ease) both; }
.chat__foot { padding: 12px; border-top: 1px solid var(--line); }
.chat__form { display: flex; gap: 8px; align-items: flex-end; }
.chat__form textarea {
  flex: 1; resize: none; min-height: 48px; max-height: 120px; padding: 12px 14px; border-radius: 15px; border: 1px solid var(--line-2);
  background: var(--surface); color: var(--text); font: 500 15.5px/1.5 var(--font-body);
}
.chat__form textarea:focus { outline: none; border-color: var(--gold); }
.chat__form .btn { --h: 48px; border-radius: 15px; }
.chat__note { font-size: 11.5px; color: var(--dim); text-align: center; margin-top: 8px; }

/* ═══ صفحة المشهور ═══ */
.p-hero { position: relative; padding: 28px 0 0; }
.p-cover { position: relative; height: 300px; border-radius: 30px; overflow: hidden; background: var(--ph, var(--grad)); }
.p-cover img { width: 100%; height: 100%; object-fit: cover; }
.p-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(9, 8, 15, .85)); }
.p-cover__pattern { position: absolute; inset: 0; opacity: .35; background-image: radial-gradient(rgba(255, 255, 255, .5) 1px, transparent 1px); background-size: 22px 22px; }
.crumbs { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; margin-bottom: 16px; }
.crumbs a:hover { color: var(--text); }
.p-id { position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: end; margin-top: -110px; padding: 0 32px; z-index: 2; }
.p-avatar { width: 210px; aspect-ratio: 4 / 5; border-radius: 28px; overflow: hidden; border: 5px solid var(--bg); background: var(--surface-2); box-shadow: var(--shadow); view-transition-name: celeb-avatar; }
.p-avatar img { width: 100%; height: 100%; object-fit: cover; }
.p-avatar .ph { font-size: 80px; }
.p-name { padding-bottom: 8px; }
.p-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.p-name h1 { font-family: var(--font-head); font-size: clamp(30px, 4vw, 46px); font-weight: 800; line-height: 1.25; }
.p-name p { color: var(--muted); font-size: 18px; margin-top: 4px; }
.p-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 12px; color: var(--muted); font-size: 14.5px; }
.p-meta span { display: inline-flex; align-items: center; gap: 6px; }
.p-actions { display: flex; flex-wrap: wrap; gap: 10px; padding-bottom: 8px; }
.p-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; margin-top: 40px; align-items: start; }
.p-main { display: grid; gap: 22px; min-width: 0; }
.p-side { position: sticky; top: calc(var(--nav-h) + 20px); display: grid; gap: 16px; }
.panel { padding: 24px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); }
.panel__title { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 16px; }
.panel__title h2 { font-family: var(--font-head); font-size: 20px; font-weight: 800; display: flex; align-items: center; gap: 10px; }
.panel__title h2 .ic { color: var(--gold); }
.total-reach { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.total-reach b { font-family: var(--font-head); font-size: 40px; font-weight: 800; line-height: 1; }
.total-reach span { color: var(--muted); }
.acc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 14px; }
.acc { padding: 18px; border-radius: 20px; background: var(--bg-2); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; }
.acc__top { display: flex; align-items: center; gap: 12px; }
.acc__top .soc { height: auto; padding: 0; background: none; border: 0; }
.acc__top .soc i { width: 40px; height: 40px; border-radius: 12px; }
.acc__top .soc i svg { width: 20px; height: 20px; }
.acc__name { flex: 1; min-width: 0; }
.acc__name b { display: block; font-size: 15.5px; }
.acc__name a, .acc__name span { color: var(--muted); font-size: 13.5px; direction: ltr; display: inline-block; }
.acc__name a:hover { color: var(--text); }
.metrics { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.metric { padding: 10px 12px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.metric small { display: block; color: var(--dim); font-size: 12px; }
.metric b { font-size: 18px; font-weight: 800; font-family: var(--font-head); direction: ltr; display: inline-block; }
.metric--hl { background: var(--grad-soft); border-color: rgba(255, 190, 85, .2); }
.acc__src { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--dim); }
.acc__src .ic { width: 14px; height: 14px; }
.acc__src.is-auto { color: #8fe9cc; }
.skills { display: flex; flex-wrap: wrap; gap: 8px; }
.skill { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 14px; background: var(--bg-2); border: 1px solid var(--line); font-weight: 600; font-size: 14.5px; }
.skill .ic { width: 16px; height: 16px; color: var(--gold); }
.prose { color: var(--muted); white-space: pre-line; }
.tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 14px; background: var(--bg-2); border: 1px solid var(--line); }
.tabs button { border: 0; background: none; cursor: pointer; padding: 8px 14px; border-radius: 10px; color: var(--muted); font-weight: 600; font-size: 14px; }
.tabs button.is-on { background: var(--surface-3); color: var(--text); }
.vids { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 170px), 1fr)); gap: 12px; }
.vid { position: relative; aspect-ratio: 9 / 14; border-radius: 18px; overflow: hidden; cursor: pointer; background: var(--surface-2); border: 1px solid var(--line); padding: 0; text-align: start; }
.vid img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.vid:hover img { transform: scale(1.06); }
.vid::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(9, 8, 15, .9)); }
.vid__play { position: absolute; top: 50%; left: 50%; translate: -50% -50%; z-index: 1; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .2); border: 1px solid rgba(255, 255, 255, .4); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: transform .3s var(--ease); }
.vid:hover .vid__play { transform: scale(1.1); }
.vid__play svg { width: 20px; fill: #fff; margin-left: 3px; }
.vid__cap { position: absolute; z-index: 1; inset-inline: 12px; bottom: 10px; color: #fff; }
.vid__cap b { display: block; font-size: 13.5px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.vid__cap small { color: var(--gold); font-weight: 700; font-size: 12px; }
.vid__plat { position: absolute; z-index: 1; top: 10px; right: 10px; }
.vid__plat i { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; font-style: normal; }
.vid__plat svg { width: 14px; height: 14px; fill: currentColor; }
.price-card { padding: 24px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line-2); position: relative; overflow: hidden; }
.price-card::before { content: ""; position: absolute; inset: 0; background: var(--grad-soft); pointer-events: none; }
.price-card > * { position: relative; }
.price-card small { color: var(--muted); font-size: 13.5px; }
.price-card .amount { font-family: var(--font-head); font-size: 27px; font-weight: 800; line-height: 1.35; margin: 4px 0; }
.price-card .unit { color: var(--gold); font-weight: 600; font-size: 14px; }
.price-card .details { margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line-2); color: var(--muted); font-size: 14.5px; white-space: pre-line; }
.price-card .btn { margin-top: 16px; }
.p-bar { display: none; }

/* عارض الفيديو */
.lightbox { position: fixed; inset: 0; z-index: 130; display: grid; place-items: center; padding: 20px; background: rgba(5, 4, 9, .9); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); opacity: 0; pointer-events: none; transition: opacity .3s; }
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox__frame { position: relative; width: min(420px, 100%); aspect-ratio: 9 / 16; max-height: calc(100vh - 100px); border-radius: 22px; overflow: hidden; background: #000; box-shadow: var(--shadow); }
.lightbox__frame.wide { width: min(960px, 100%); aspect-ratio: 16 / 9; }
.lightbox__frame iframe, .lightbox__frame video { width: 100%; height: 100%; border: 0; }
.lightbox__close { position: absolute; top: 16px; left: 16px; }
.lightbox__ext { position: absolute; bottom: 18px; left: 50%; translate: -50% 0; }

/* تنبيه صغير */
.toast-wrap { position: fixed; z-index: 150; left: 50%; bottom: 96px; translate: -50% 0; display: grid; gap: 8px; pointer-events: none; }
.toast { padding: 12px 18px; border-radius: 14px; background: var(--text); color: var(--ink); font-weight: 600; font-size: 14.5px; box-shadow: var(--shadow); animation: toast 2.6s var(--ease) both; white-space: nowrap; }
@keyframes toast { 0% { opacity: 0; transform: translateY(12px); } 10%, 85% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(-6px); } }

/* 404 */
.nf { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 40px 20px; }
.nf b { font-family: var(--font-head); font-size: 120px; line-height: 1; }
.nf p { margin: 10px 0 24px; }

/* ─── ظهور عند النزول (scroll-driven إذا مدعوم) ─── */
.reveal { opacity: 1; }
@supports (animation-timeline: view()) {
  .reveal { animation: reveal linear both; animation-timeline: view(); animation-range: entry 0% entry 40%; }
  @keyframes reveal { from { opacity: 0; transform: translateY(36px) scale(.98); } }
}

/* ═══ الشاشات المتوسطة ═══ */
@media (max-width: 1100px) {
  .ftr { grid-template-columns: 1.4fr 1fr 1fr; }
  .ftr__contact { grid-column: span 3; }
  .filters { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .p-layout { grid-template-columns: 1fr; }
  .p-side { position: static; grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  .nav, .hdr__cta { display: none; }
  .menu-btn { display: grid; }
  .hdr__actions { margin-inline-start: auto; }
  .hero__in { grid-template-columns: 1fr; gap: 24px; }
  .hero__copy { text-align: center; display: flex; flex-direction: column; align-items: center; }
  .hero .lead { margin-inline: auto; }
  .smart { width: 100%; max-width: 640px; text-align: start; }
  .smart__hints, .hero__stats { justify-content: center; }
  .hero__stage { height: 480px; max-width: 600px; width: 100%; margin: 0 auto; }
  .steps { grid-template-columns: 1fr 1fr; }
  .bento { grid-template-columns: 1fr 1fr; }
  .tile--a, .tile--b { grid-column: span 2; }
  .tile--c, .tile--d { grid-column: span 1; }
  .tile--e { grid-column: span 2; }
  .about, .join { grid-template-columns: 1fr; }
  .join { padding: 34px 26px; }
  .p-id { grid-template-columns: auto 1fr; padding: 0 20px; }
  .p-actions { grid-column: 1 / -1; }
}

/* ═══ الموبايل ═══ */
@media (max-width: 640px) {
  :root { --nav-h: 64px; }
  .wrap { padding-inline: 16px; }
  .brand__txt small { display: none; }
  .brand { font-size: 16.5px; }
  .brand__mark { width: 36px; height: 36px; border-radius: 12px; }
  .icon-btn { width: 42px; height: 42px; }
  .hero { padding: 32px 0 48px; }
  .hero h1 { font-size: clamp(31px, 9vw, 40px); }
  .smart__row { flex-wrap: wrap; }
  .smart__ic { display: none; }
  .smart input { width: 100%; flex-basis: 100%; height: 50px; padding: 0 10px; }
  .smart .btn { width: 100%; }
  .hero__stats { gap: 18px 26px; }
  .hstat b { font-size: 23px; }
  .hero__stage { height: 400px; }
  .stack-card { width: 196px; }
  .stack-card:nth-child(2) { left: -4%; top: 90px; }
  .stack-card:nth-child(3) { right: -4%; top: 96px; }
  .stack-card .cc__body { display: none; }
  .glass-tag { font-size: 12.5px; padding: 8px 11px; }
  .glass-tag--a { top: 0; }
  .glass-tag--b { bottom: 10px; }
  .section { padding: 64px 0; }
  .sec-head { margin-bottom: 26px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .cc__id { inset-inline: 12px; bottom: 10px; }
  .cc__body { padding: 10px 12px 12px; gap: 10px; }
  .cc__cats { display: none; }
  .socials .soc:nth-child(n+3) { display: none; }
  .price b { font-size: 13px; }
  .add-btn { width: 38px; height: 38px; }
  .filters { display: none; grid-template-columns: 1fr 1fr; }
  .filters.is-open { display: grid; }
  .filters-btn { display: inline-flex; }
  .toolbar .select { flex: 1; }
  .steps { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .tile--a, .tile--b, .tile--c, .tile--d, .tile--e { grid-column: auto; }
  .form { grid-template-columns: 1fr; }
  .form--card { padding: 18px; }
  .join { padding: 28px 18px; border-radius: 26px; }
  .cta-band { padding: 28px 22px; border-radius: 24px; }
  .ftr { grid-template-columns: 1fr 1fr; }
  .ftr__about, .ftr__contact { grid-column: 1 / -1; }
  .drawer { top: auto; height: 92vh; width: 100%; border-radius: 26px 26px 0 0; transform: translateY(105%); }
  .chat { left: 0; bottom: 0; width: 100%; height: 100%; height: 100dvh; border-radius: 0; }
  .chat-launch { left: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); width: 58px; height: 58px; }
  .chat-launch__tip { display: none; }
  .sl-fab.has-items { display: inline-flex; }
  .p-cover { height: 200px; border-radius: 22px; }
  .p-id { grid-template-columns: 1fr; justify-items: center; text-align: center; margin-top: -90px; gap: 14px; padding: 0; }
  .p-avatar { width: 150px; border-radius: 24px; }
  .p-badges, .p-meta, .p-actions { justify-content: center; }
  .p-side { grid-template-columns: 1fr; }
  .panel { padding: 18px; border-radius: 20px; }
  .p-bar {
    display: flex; position: fixed; z-index: 75; left: 0; right: 0; bottom: 0; align-items: center; gap: 10px;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(15, 13, 24, .94);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-top: 1px solid var(--line-2);
  }
  .p-bar .price { flex: 1; min-width: 0; }
  .has-pbar .chat-launch { bottom: calc(86px + env(safe-area-inset-bottom)); }
  .has-pbar .sl-fab { display: none !important; }
  .has-pbar .site-footer { padding-bottom: 110px; }
}

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