/* SPACE Z AI STUDIO — الواجهة العامة (RTL، الهاتف أولًا) */
:root {
  --bg: #070a1c; --bg2: #0b1026; --surface: #10163a; --surface2: #151c48; --line: rgba(160, 170, 255, .12); --line2: rgba(160, 170, 255, .22);
  --text: #eef0ff; --muted: #a3a9cf; --dim: #737aa6;
  --violet: #7c5cff; --violet2: #a78bfa; --orange: #ff8a3d; --pink: #ec4899; --green: #22c3a6;
  --grad: linear-gradient(135deg, #8b5cf6 0%, #7c5cff 45%, #ff8a3d 100%);
  --r: 20px; --r-sm: 12px; --shadow: 0 20px 60px -20px rgba(0, 0, 0, .6);
  --font: 'IBM Plex Sans Arabic', system-ui, sans-serif; --display: 'Space Grotesk', 'IBM Plex Sans Arabic', sans-serif;
  --wrap: 1200px; --head: 72px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.75 var(--font); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { line-height: 1.3; margin: 0 0 .5em; font-weight: 700; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--violet); color: #fff; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.narrow { max-width: 780px; }
.ic { width: 1.2em; height: 1.2em; flex: none; }
.ic.flip, [dir=rtl] .btn .ic:last-child:not(:first-child) { }
.ic.flip { transform: scaleX(-1); }
.skip { position: absolute; inset-inline-start: 8px; top: 8px; background: var(--orange); color: #000; padding: 8px 14px; border-radius: 8px; z-index: 100; transform: translateY(-200%); }
.skip:focus { transform: none; }
.muted { color: var(--muted); } .small { font-size: .85rem; } .center { text-align: center; }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; opacity: 0; pointer-events: none; }

/* ---------- الأزرار ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .8em 1.4em; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; cursor: pointer; transition: transform .2s, box-shadow .25s, background .25s, border-color .25s; white-space: nowrap; line-height: 1.2; }
.btn:active { transform: scale(.97); }
.btn-sm { padding: .55em 1.05em; font-size: .9rem; }
.btn-lg { padding: 1em 1.7em; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-glow { background: var(--grad); color: #fff; box-shadow: 0 10px 30px -10px rgba(124, 92, 255, .8), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn-glow:hover { box-shadow: 0 14px 40px -8px rgba(255, 138, 61, .65), inset 0 1px 0 rgba(255, 255, 255, .3); transform: translateY(-1px); }
.btn-ghost { background: rgba(255, 255, 255, .04); border-color: var(--line2); color: var(--text); backdrop-filter: blur(8px); }
.btn-ghost:hover { border-color: var(--violet2); background: rgba(124, 92, 255, .12); }
.btn[disabled] { opacity: .5; pointer-events: none; }
.btn .ic { width: 1.1em; height: 1.1em; }
.btn-glow .ic, .btn-ghost .ic { }
/* السهم يشير لليسار (اتجاه التقدّم في RTL) */

/* ---------- الشريط العلوي ---------- */
.topbar { position: sticky; top: 0; z-index: 50; height: var(--head); background: rgba(7, 10, 28, .72); backdrop-filter: blur(18px) saturate(1.4);
  border-bottom: 1px solid var(--line); }
.topbar-in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { width: 52px; height: 40px; object-fit: cover; mix-blend-mode: screen; filter: saturate(1.15) brightness(1.1); }
.brand:hover img { filter: saturate(1.3) brightness(1.35); }
.brand-t { display: flex; flex-direction: column; line-height: 1; font-family: var(--display); direction: ltr; text-align: left; }
.brand-t b { font-size: 1.05rem; letter-spacing: .06em; }
.brand-t small { font-size: .62rem; letter-spacing: .32em; color: var(--violet2); margin-top: 4px; }
.nav { display: flex; gap: 2px; }
.nav a { padding: 8px 11px; border-radius: 10px; color: var(--muted); font-size: .92rem; font-weight: 500; transition: color .2s, background .2s; }
.nav a:hover { color: var(--text); background: rgba(255, 255, 255, .05); }
.nav a.on { color: var(--text); background: rgba(124, 92, 255, .16); }
.nav-cta-m { display: none; }
.topbar-act { display: flex; align-items: center; gap: 8px; }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line2); background: rgba(255, 255, 255, .04); cursor: pointer; align-items: center; justify-content: center; }
.menu-btn .ic { width: 22px; height: 22px; }
@media (max-width: 1140px) {
  .menu-btn { display: inline-flex; }
  .nav-cta { display: none; }
  .nav { position: fixed; inset: var(--head) 0 auto 0; flex-direction: column; gap: 4px; padding: 16px; background: rgba(9, 12, 32, .97); backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: .25s; max-height: calc(100dvh - var(--head)); overflow: auto; }
  .nav.open { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: 12px 14px; font-size: 1.02rem; }
  .nav-cta-m { display: inline-flex; margin-top: 8px; color: #fff !important; }
}

/* ---------- عناوين الأقسام ---------- */
.sec { padding: 88px 0; position: relative; }
.sec-tight { padding-top: 0; }
.sec-alt { background: linear-gradient(180deg, transparent, rgba(124, 92, 255, .05) 20%, rgba(124, 92, 255, .05) 80%, transparent); }
.sec-head { max-width: 720px; margin-bottom: 40px; }
.sec-head h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); letter-spacing: -.01em; }
.sec-head p { color: var(--muted); font-size: 1.08rem; }
.sec-row { display: flex; align-items: end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 40px; }
.sec-row .sec-head { margin-bottom: 0; }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-family: var(--display); font-size: .8rem; font-weight: 700; letter-spacing: .08em;
  color: var(--orange); text-transform: uppercase; margin-bottom: 12px; }
.kicker .ic { width: 16px; height: 16px; }

/* ---------- الواجهة الرئيسية ---------- */
.hero { position: relative; overflow: hidden; padding: 56px 0 0; min-height: calc(100dvh - var(--head)); display: flex; flex-direction: column; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; }
.g1 { width: 620px; height: 620px; background: #5b3fff; top: -220px; inset-inline-end: -160px; }
.g2 { width: 460px; height: 460px; background: #ff7a2f; bottom: -200px; inset-inline-start: -160px; opacity: .3; }
.grid-bg { position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%); opacity: .5; }
.stars { position: absolute; inset: 0; background-image: radial-gradient(1.5px 1.5px at 20% 30%, #fff8, transparent), radial-gradient(1px 1px at 70% 20%, #fff9, transparent),
  radial-gradient(1.5px 1.5px at 85% 65%, #fff6, transparent), radial-gradient(1px 1px at 35% 80%, #fff7, transparent), radial-gradient(1px 1px at 55% 50%, #fff5, transparent),
  radial-gradient(1.2px 1.2px at 10% 70%, #fff6, transparent), radial-gradient(1px 1px at 92% 12%, #fff8, transparent); }
.hero-in { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; flex: 1; padding-bottom: 48px; }
.hero-k { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line2); background: rgba(124, 92, 255, .1); color: var(--violet2); letter-spacing: 0; text-transform: none; font-family: var(--font); font-size: .9rem; }
.hero-title { font-size: clamp(2.3rem, 6vw, 4.4rem); line-height: 1.15; letter-spacing: -.02em; margin-bottom: 20px;
  background: linear-gradient(180deg, #fff 30%, #c9c3ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { font-size: clamp(1.02rem, 1.6vw, 1.18rem); color: var(--muted); max-width: 600px; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 18px; }
.hero-tag { color: var(--violet2); font-weight: 500; }
.stats { display: flex; gap: 36px; margin: 32px 0 0; flex-wrap: wrap; }
.stats div { margin: 0; }
.stats dt { font-family: var(--display); font-size: 2rem; font-weight: 700; color: #fff; line-height: 1; direction: ltr; text-align: right; }
.stats dt b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats dd { margin: 6px 0 0; color: var(--muted); font-size: .9rem; }
.stats-col { flex-direction: column; gap: 20px; padding: 28px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }

.hero-vis { position: relative; aspect-ratio: 1; max-width: 520px; width: 100%; justify-self: center; }
.orbit { position: absolute; inset: 0; }
.ring { position: absolute; border-radius: 50%; border: 1px solid var(--line2); inset: 0; }
.r1 { inset: 4%; } .r2 { inset: 20%; border-style: dashed; animation: spin 60s linear infinite; } .r3 { inset: 34%; border-color: rgba(255, 138, 61, .3); }
.core { position: absolute; inset: 37%; display: grid; place-items: center; border-radius: 34px; background: radial-gradient(circle, rgba(124, 92, 255, .5), transparent 70%); }
.core img { width: 100%; height: auto; filter: drop-shadow(0 0 40px rgba(124, 92, 255, .7)); animation: float 6s ease-in-out infinite; }
.sat { --a: calc(360deg / var(--n) * var(--i)); position: absolute; top: 50%; left: 50%; width: 54px; height: 54px; margin: -27px; border-radius: 16px; display: grid; place-items: center;
  color: var(--c); background: rgba(16, 22, 58, .85); border: 1px solid color-mix(in srgb, var(--c) 45%, transparent); backdrop-filter: blur(8px);
  box-shadow: 0 0 24px -6px var(--c); transform: rotate(var(--a)) translate(min(46vw, 230px)) rotate(calc(-1 * var(--a))); animation: orbit 50s linear infinite; }
.sat .ic { width: 24px; height: 24px; }
@keyframes orbit { from { transform: rotate(var(--a)) translate(min(42vw, 230px)) rotate(calc(-1 * var(--a))); } to { transform: rotate(calc(var(--a) + 360deg)) translate(min(42vw, 230px)) rotate(calc(-1 * var(--a) - 360deg)); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 50% { transform: translateY(-10px); } }
.float-card { position: absolute; display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 16px; background: rgba(16, 22, 58, .8);
  border: 1px solid var(--line2); backdrop-filter: blur(12px); box-shadow: var(--shadow); animation: float 7s ease-in-out infinite; }
.float-card .ic { width: 34px; height: 34px; padding: 7px; border-radius: 10px; background: var(--grad); color: #fff; }
.float-card b { display: block; font-size: .95rem; } .float-card small { color: var(--muted); font-size: .78rem; }
.fc1 { top: 4%; inset-inline-start: -4%; } .fc2 { bottom: -7%; inset-inline-end: 2%; animation-delay: -3s; }

/* الشعار التفاعلي: صورة على خلفية سوداء + mix-blend-mode: screen (الأسود يختفي ويبقى الضوء والدخان)
   ملاحظة: لا transform على أي أب للعنصر المدموج، وإلا ظهر مربع أسود */
.logo3d { position: absolute; inset: 4%; cursor: pointer; /* بلا z-index: أي سياق تكديس هنا يُظهر المربع الأسود */ -webkit-tap-highlight-color: transparent; }
.logo3d .aura { position: absolute; inset: 14% 12% 32%; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(124, 92, 255, .55), rgba(56, 189, 248, .22) 48%, transparent 70%); filter: blur(34px);
  translate: calc(var(--px, 0) * -22px) calc(var(--py, 0) * -22px); animation: breathe 5.5s ease-in-out infinite; transition: translate .3s ease-out; }
@keyframes breathe { 50% { opacity: .55; scale: .92; } }
.logo3d-in { position: absolute; inset: 0;
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .35s cubic-bezier(.2, .8, .2, 1);
  animation: logoFloat 7s ease-in-out infinite; }
@keyframes logoFloat { 50% { translate: 0 -10px; } }
.logo3d-in img { width: 100%; height: 100%; object-fit: contain; filter: brightness(1) saturate(1.05); transition: filter .45s; }
.logo3d:hover .logo3d-in img { filter: brightness(1.18) saturate(1.2); }
.logo3d.surge .logo3d-in img { animation: surge .95s ease-out; }
@keyframes surge { 0% { filter: brightness(2) saturate(1.6) hue-rotate(28deg); } 40% { filter: brightness(1.35) saturate(1.3) hue-rotate(10deg); } 100% { filter: brightness(1) saturate(1.05); } }
.logo3d .shock { position: absolute; left: 50%; top: 40%; width: 38%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; pointer-events: none; opacity: 0;
  border: 2px solid rgba(125, 211, 252, .85); box-shadow: 0 0 30px rgba(167, 139, 250, .7), inset 0 0 30px rgba(125, 211, 252, .45); }
.logo3d.surge .shock { animation: shock .85s ease-out; }
@keyframes shock { from { opacity: .95; scale: .35; } to { opacity: 0; scale: 2.3; } }
.logo3d .sparks { position: absolute; inset: -12%; width: 124%; height: 124%; pointer-events: none; mix-blend-mode: screen; }

.marquee { position: relative; border-block: 1px solid var(--line); background: rgba(16, 22, 58, .5); overflow: hidden; padding: 16px 0; direction: ltr; }
.marquee-in { display: flex; gap: 40px; width: max-content; animation: marq 60s linear infinite reverse; }
.marquee span { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); white-space: nowrap; font-weight: 500; direction: rtl; }
.marquee .ic { color: var(--orange); width: 16px; height: 16px; }
@keyframes marq { to { transform: translateX(-50%); } }

/* ---------- البنتو (الأقسام) ---------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.dcard { --c: var(--violet); position: relative; display: flex; flex-direction: column; padding: 26px; border-radius: var(--r); overflow: hidden; isolation: isolate;
  background: linear-gradient(160deg, color-mix(in srgb, var(--c) 14%, var(--surface)), var(--surface) 60%); border: 1px solid var(--line);
  transition: transform .3s, border-color .3s, box-shadow .3s; min-height: 240px; }
.dcard::before { content: ''; position: absolute; width: 220px; height: 220px; border-radius: 50%; background: var(--c); filter: blur(80px); opacity: .18;
  top: -90px; inset-inline-end: -70px; z-index: -1; transition: opacity .3s; }
.dcard:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--c) 55%, transparent); box-shadow: 0 24px 50px -24px color-mix(in srgb, var(--c) 70%, transparent); }
.dcard:hover::before { opacity: .35; }
.dcard-xl { grid-column: span 2; grid-row: span 2; }
.dcard-xl h3 { font-size: 1.8rem; } .dcard-xl p { font-size: 1.08rem; }
.dcard-ic { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; color: var(--c); margin-bottom: 18px;
  background: color-mix(in srgb, var(--c) 16%, transparent); border: 1px solid color-mix(in srgb, var(--c) 35%, transparent); }
.dcard-ic .ic { width: 26px; height: 26px; }
.dcard-en { font-family: var(--display); font-size: .76rem; letter-spacing: .08em; color: var(--c); direction: ltr; text-align: right; font-weight: 700; }
.dcard h3 { font-size: 1.25rem; margin: 6px 0 8px; }
.dcard p { color: var(--muted); font-size: .94rem; margin-bottom: 14px; }
.chips { list-style: none; padding: 0; margin: 0 0 16px; display: flex; flex-wrap: wrap; gap: 6px; }
.chips li { font-size: .8rem; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); color: var(--muted); }
.more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; color: var(--c, var(--violet2)); font-weight: 600; font-size: .92rem; }
.more .ic { transition: transform .25s; width: 1em; }
a:hover .more .ic, .more:hover .ic { transform: translateX(-4px); }

/* ---------- البطاقات ---------- */
.grid { display: grid; gap: 20px; }
.g3 { grid-template-columns: repeat(3, 1fr); } .g4 { grid-template-columns: repeat(4, 1fr); }
.card { display: flex; flex-direction: column; border-radius: var(--r); overflow: hidden; background: var(--surface); border: 1px solid var(--line); transition: transform .3s, border-color .3s, box-shadow .3s; }
.card:hover { transform: translateY(-4px); border-color: var(--line2); box-shadow: var(--shadow); }
.card-media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.card-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { font-size: 1.1rem; margin: 8px 0 6px; }
.card-body h3 a:hover { color: var(--violet2); }
.card-body p { color: var(--muted); font-size: .92rem; }
.card-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 12px; flex-wrap: wrap; }
.card-actions { display: flex; gap: 6px; }
.tag { --c: var(--violet2); display: inline-flex; align-self: flex-start; font-size: .76rem; font-weight: 600; padding: 3px 10px; border-radius: 999px;
  color: var(--c); background: color-mix(in srgb, var(--c) 14%, transparent); border: 1px solid color-mix(in srgb, var(--c) 30%, transparent); }
.price { font-family: var(--display); font-weight: 700; font-size: 1.2rem; color: #fff; }
.price s { color: var(--dim); font-size: .85rem; font-weight: 500; margin-inline-start: 4px; }
.mini-feats { list-style: none; padding: 0; margin: 0 0 8px; display: grid; gap: 4px; font-size: .86rem; color: var(--muted); }
.mini-feats li { display: flex; gap: 6px; align-items: center; } .mini-feats .ic { color: var(--green); width: 16px; }
.client { font-size: .8rem; color: var(--dim); margin-bottom: 6px; }
.meta { display: flex; gap: 10px; align-items: center; font-size: .82rem; color: var(--dim); }
.play { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0, 0, 0, .25); transition: background .2s; }
.play .ic { width: 58px; height: 58px; color: #fff; } .play:hover { background: rgba(0, 0, 0, .45); }

/* أغلفة بديلة عند غياب الصور */
.cover { width: 100%; height: 100%; }
.cover.has-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.card:hover .cover.has-img img { transform: scale(1.04); }
.cover-gen { --c: var(--violet); position: relative; display: grid; place-items: center; overflow: hidden;
  background: radial-gradient(circle at 70% 20%, color-mix(in srgb, var(--c) 55%, transparent), transparent 60%), linear-gradient(140deg, #141a44, #0b1026); }
.cover-gen::after { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 28px 28px; mask-image: linear-gradient(180deg, #000, transparent); }
.cover-orb { position: absolute; width: 60%; aspect-ratio: 1; border-radius: 50%; border: 1px dashed color-mix(in srgb, var(--c) 50%, transparent); }
.cover-ic { width: 30%; height: 30%; color: #fff; filter: drop-shadow(0 0 24px var(--c)); position: relative; z-index: 1; }
.cover-lbl { position: absolute; bottom: 12px; inset-inline-start: 12px; font-size: .74rem; padding: 3px 10px; border-radius: 999px; background: rgba(0, 0, 0, .35); color: #fff; z-index: 1; }
.cover-site { --c: var(--orange); display: grid; place-items: center; padding: 8% 9% 0; background: radial-gradient(circle at 50% 120%, color-mix(in srgb, var(--c) 45%, transparent), transparent 65%), linear-gradient(160deg, #161c4a, #0b1026); }
.mock { width: 100%; height: 100%; border-radius: 12px 12px 0 0; background: #f6f5fb; overflow: hidden; box-shadow: 0 -10px 40px -10px rgba(0, 0, 0, .6); color: #1b1d3a; transition: transform .5s; }
.card:hover .mock, .detail-media .mock { transform: translateY(-4px); }
.mock-bar { height: 20px; display: flex; gap: 4px; align-items: center; padding: 0 8px; background: #e7e5f2; direction: ltr; }
.mock-bar i { width: 7px; height: 7px; border-radius: 50%; background: #ff5f57; } .mock-bar i:nth-child(2) { background: #febc2e; } .mock-bar i:nth-child(3) { background: #28c840; }
.mock-bar span { flex: 1; height: 8px; margin-inline-start: 8px; border-radius: 4px; background: #fff; }
.mock-body { padding: 10px 12px; }
.mock-hero { padding: 12px; border-radius: 8px; background: linear-gradient(135deg, color-mix(in srgb, var(--c) 85%, #000), color-mix(in srgb, var(--c) 50%, #6d28d9)); color: #fff; }
.mock-hero b { display: block; font-size: .78rem; margin-bottom: 6px; }
.mock-hero em { display: block; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .6); width: 80%; margin-bottom: 4px; }
.mock-hero em.s { width: 55%; } .mock-btn { display: inline-block; width: 46px; height: 12px; border-radius: 6px; background: #fff; margin-top: 6px; }
.mock-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 8px; }
.mock-cards i { height: 34px; border-radius: 6px; background: #e3e0f0; }

/* ---------- فيديوهات طولية (Reels) ---------- */
.sec-videos { background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(124, 92, 255, .12), transparent 70%); }
.sec-tight-b { padding-bottom: 24px; }
.vrail { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(220px, 24%, 280px); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 6px 2px 12px; scrollbar-width: none; overscroll-behavior-x: contain; }
.vrail::-webkit-scrollbar { display: none; }
.vcard { position: relative; aspect-ratio: 9 / 16; border-radius: 22px; overflow: hidden; border: 1px solid var(--line2); background: #000; padding: 0; cursor: pointer;
  scroll-snap-align: start; text-align: start; color: #fff; isolation: isolate; transition: transform .35s, box-shadow .35s, border-color .35s; }
.vcard > img, .vcard > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s, opacity .4s; }
.vcard .vcard-prev { opacity: 0; }
.vcard.playing .vcard-prev { opacity: 1; }
.vcard:hover { transform: translateY(-6px); border-color: rgba(167, 139, 250, .6); box-shadow: 0 30px 60px -25px rgba(124, 92, 255, .8); }
.vcard:hover > img { transform: scale(1.04); }
.vcard-shade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(5, 7, 22, .92)); z-index: 1; }
.vcard-play { position: absolute; top: 50%; left: 50%; translate: -50% -50%; z-index: 2; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, .16); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, .35); transition: transform .3s, background .3s, opacity .3s; }
.vcard-play .ic { width: 64px; height: 64px; stroke-width: 1.2; }
.vcard:hover .vcard-play { transform: scale(1.1); background: var(--grad); }
.vcard.playing .vcard-play { opacity: 0; }
.vcard-info { position: absolute; inset: auto 0 0 0; z-index: 2; padding: 16px; display: grid; gap: 6px; }
.vcard-info b { font-size: 1rem; line-height: 1.4; } .vcard-info small { color: #c9cdf0; font-size: .8rem; }
.vplayer { padding: 0; border: 0; background: transparent; max-width: none; max-height: none; width: 100%; height: 100%; color: var(--text); }
.vplayer::backdrop { background: rgba(3, 4, 14, .88); backdrop-filter: blur(10px); }
.vplayer-in { position: relative; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 20px; }
.vplayer video { max-height: calc(100dvh - 160px); max-width: min(100%, 520px); aspect-ratio: 9 / 16; border-radius: 18px; background: #000; box-shadow: 0 40px 100px -30px rgba(124, 92, 255, .6); }
.vplayer-t { margin: 0; font-weight: 600; text-align: center; }
.vplayer-in .btn { max-width: min(100%, 520px); }
.vplayer-x { position: absolute; top: 16px; inset-inline-end: 16px; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line2); background: rgba(16, 22, 58, .9);
  color: #fff; cursor: pointer; display: grid; place-items: center; z-index: 2; }
.vplayer-x .ic { width: 22px; height: 22px; }

/* ---------- الخطوات ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: s; }
.step { position: relative; padding: 28px 24px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.step-n { position: absolute; top: 12px; inset-inline-end: 18px; font-family: var(--display); font-size: 3.2rem; font-weight: 700; line-height: 1;
  background: linear-gradient(180deg, rgba(167, 139, 250, .35), transparent); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step-ic { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--grad); color: #fff; margin-bottom: 18px; }
.step h3 { font-size: 1.15rem; } .step p { color: var(--muted); font-size: .93rem; margin: 0; }

/* ---------- لماذا ---------- */
.why { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.why-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.why-list li { display: flex; gap: 14px; padding: 20px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.why-list .ic { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: rgba(124, 92, 255, .15); color: var(--violet2); }
.why-list b { display: block; margin-bottom: 2px; } .why-list span { color: var(--muted); font-size: .9rem; }

/* ---------- آراء ---------- */
.quote { margin: 0; padding: 26px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.stars-r { display: flex; gap: 2px; color: #fbbf24; margin-bottom: 10px; } .stars-r .ic { width: 18px; fill: currentColor; }
.quote blockquote { margin: 0 0 16px; color: var(--text); }
.quote figcaption b { display: block; } .quote figcaption span { color: var(--muted); font-size: .88rem; }

/* ---------- دعوة ---------- */
.cta-band { padding: 40px 0 96px; }
.cta-in { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; padding: 48px; border-radius: 28px;
  background: radial-gradient(circle at 10% 100%, rgba(255, 138, 61, .35), transparent 45%), radial-gradient(circle at 90% 0%, rgba(124, 92, 255, .55), transparent 55%), var(--surface);
  border: 1px solid var(--line2); }
.cta-in h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); } .cta-in p { color: var(--muted); margin: 0; }
.cta-btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- رأس الصفحات الداخلية ---------- */
.page-hero { --c: var(--violet); position: relative; padding: 72px 0 48px; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; width: 600px; height: 400px; border-radius: 50%; background: var(--c); filter: blur(120px); opacity: .25; top: -200px; inset-inline-end: -100px; }
.page-hero .wrap { position: relative; }
.page-hero h1 { font-size: clamp(2rem, 5vw, 3.4rem); letter-spacing: -.01em; max-width: 860px; }
.page-hero p { color: var(--muted); font-size: 1.12rem; max-width: 720px; }
.crumb { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: .9rem; margin-bottom: 18px; }
.crumb:hover { color: var(--text); }
.crumb .ic { transform: scaleX(-1); width: 1em; }

/* ---------- صفحة الخدمات ---------- */
.jump { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px; position: sticky; top: calc(var(--head) + 8px); z-index: 5; padding: 8px; border-radius: 16px;
  background: rgba(7, 10, 28, .8); backdrop-filter: blur(12px); border: 1px solid var(--line); overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
.jump a { --c: var(--violet); display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 10px; font-size: .87rem; color: var(--muted); white-space: nowrap; }
.jump a .ic { color: var(--c); width: 16px; } .jump a:hover { background: rgba(255, 255, 255, .05); color: var(--text); }
.srv-block { scroll-margin-top: calc(var(--head) + 80px); padding: 32px; border-radius: var(--r); margin-bottom: 18px; background: linear-gradient(160deg, color-mix(in srgb, var(--c) 10%, var(--surface)), var(--surface) 50%); border: 1px solid var(--line); }
.srv-block header { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 20px; }
.srv-block header .dcard-ic { margin: 0; flex: none; } .srv-block h2 { font-size: 1.5rem; margin: 2px 0 4px; } .srv-block header p { color: var(--muted); margin: 0; }
.srv-list { list-style: none; padding: 0; margin: 0 0 22px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 24px; }
.srv-list li { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.srv-list .ic { color: var(--c); width: 18px; } .srv-list em { margin-inline-start: auto; font-style: normal; font-size: .82rem; color: var(--orange); white-space: nowrap; }
.srv-act { display: flex; gap: 10px; flex-wrap: wrap; }
.svc { --c: var(--violet); display: flex; flex-direction: column; padding: 24px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.svc h3 { font-size: 1.1rem; } .svc p { color: var(--muted); font-size: .92rem; }
.svc-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; padding-top: 10px; }
.svc .price { font-size: 1rem; color: var(--orange); }

/* ---------- الفلاتر ---------- */
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.filters button { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line2); background: transparent; color: var(--muted); cursor: pointer; transition: .2s; }
.filters button:hover { color: var(--text); } .filters button.on { background: var(--grad); border-color: transparent; color: #fff; }
.is-hidden { display: none !important; }
.pay-note { display: flex; align-items: center; gap: 12px; margin-top: 32px; padding: 16px 20px; border-radius: 14px; background: rgba(124, 92, 255, .08); border: 1px solid var(--line2); color: var(--muted); }
.pay-note .ic { color: var(--orange); width: 24px; height: 24px; } .pay-note b { color: var(--text); } .pay-note a { color: var(--violet2); text-decoration: underline; }
.empty { text-align: center; padding: 48px 20px; border: 1px dashed var(--line2); border-radius: var(--r); color: var(--muted); }
.empty .ic { width: 40px; height: 40px; margin: 0 auto 10px; color: var(--dim); }

/* ---------- صفحة التفاصيل ---------- */
.detail { padding-top: 40px; }
.detail-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: start; }
.detail-media { border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3; border: 1px solid var(--line); position: sticky; top: calc(var(--head) + 20px); }
.detail-info h1 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); margin-top: 10px; }
.lead { font-size: 1.12rem; color: var(--muted); }
.detail-price { display: flex; align-items: baseline; gap: 10px; margin: 18px 0; } .detail-price .price { font-size: 2rem; }
.detail-price small { color: var(--muted); }
.detail-desc { margin-top: 48px; max-width: 820px; }
.check-list { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 8px; }
.check-list li { display: flex; align-items: center; gap: 10px; }
.check-list .ic { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: rgba(34, 195, 166, .15); color: var(--green); }

/* ---------- الباقات ---------- */
.pkgs { align-items: stretch; }
.pkg { position: relative; display: flex; flex-direction: column; padding: 30px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); }
.pkg-hl { background: linear-gradient(170deg, rgba(124, 92, 255, .28), var(--surface) 45%); border-color: rgba(167, 139, 250, .5); box-shadow: 0 30px 60px -30px rgba(124, 92, 255, .7); }
.pkg-flag { position: absolute; top: -12px; inset-inline-start: 24px; padding: 4px 12px; border-radius: 999px; background: var(--grad); font-size: .78rem; font-weight: 700; }
.pkg h3 { font-size: 1.35rem; margin-top: 10px; } .pkg > p { color: var(--muted); font-size: .93rem; }
.pkg-price { display: flex; align-items: baseline; gap: 8px; margin: 6px 0 18px; }
.pkg-price b { font-family: var(--display); font-size: 2.2rem; } .pkg-price span { color: var(--muted); }
.pkg ul { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; }
.pkg li { display: flex; gap: 8px; align-items: flex-start; font-size: .94rem; } .pkg li .ic { color: var(--green); width: 18px; margin-top: 4px; }
.pkg-act { margin-top: auto; display: grid; gap: 8px; }
.price-table { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pt-group { --c: var(--violet); padding: 22px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.pt-group h3 { display: flex; gap: 8px; align-items: center; font-size: 1.05rem; } .pt-group h3 .ic { color: var(--c); }
.pt-group ul { list-style: none; padding: 0; margin: 0; }
.pt-group li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: .9rem; color: var(--muted); }
.pt-group li b { color: var(--text); white-space: nowrap; font-family: var(--display); }

/* ---------- المقالات ---------- */
.prose { font-size: 1.06rem; color: #d7daf3; }
.prose h2, .prose h3 { color: #fff; margin-top: 1.4em; }
.post h1 { font-size: clamp(1.9rem, 4.4vw, 2.8rem); margin: 12px 0 24px; }
.post-cover { border-radius: var(--r); margin-bottom: 28px; }
.about { display: grid; grid-template-columns: 1.4fr .6fr; gap: 48px; }

/* ---------- النماذج ---------- */
.form-wrap { display: grid; grid-template-columns: 1.6fr 1fr; gap: 28px; align-items: start; }
.form-card { padding: 32px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); }
.form { display: grid; gap: 16px; }
.form-h { font-size: 1.05rem; color: var(--violet2); margin: 8px 0 -4px; }
.f-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; } .field > span { font-size: .92rem; font-weight: 500; color: #d7daf3; }
.field small { color: var(--dim); font-size: .8rem; }
input:not([type=checkbox]):not([type=radio]):not([type=file]), select, textarea {
  width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line2); background: rgba(7, 10, 28, .6); color: var(--text); transition: border-color .2s, box-shadow .2s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 3px rgba(124, 92, 255, .25); }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: 18px 52%, 13px 52%; background-size: 5px 5px; background-repeat: no-repeat; padding-left: 34px; }
select option { background: var(--bg2); }
textarea { resize: vertical; min-height: 90px; }
input[type=file] { width: 100%; padding: 14px; border-radius: 12px; border: 1px dashed var(--line2); background: rgba(124, 92, 255, .05); color: var(--muted); cursor: pointer; }
input[type=file]::file-selector-button { margin-inline-end: 12px; padding: 6px 14px; border-radius: 8px; border: 0; background: var(--violet); color: #fff; cursor: pointer; font: inherit; }
::placeholder { color: var(--dim); }
.checks { display: flex; flex-wrap: wrap; gap: 8px; }
.chk { display: inline-flex; align-items: flex-start; gap: 8px; cursor: pointer; font-size: .92rem; }
.checks .chk { padding: 8px 12px; border-radius: 10px; border: 1px solid var(--line2); }
.checks .chk:has(input:checked) { border-color: var(--violet); background: rgba(124, 92, 255, .14); }
.chk input { accent-color: var(--violet); width: 18px; height: 18px; margin-top: 3px; flex: none; }
.consent a { color: var(--violet2); text-decoration: underline; }
.form-side { display: grid; gap: 14px; position: sticky; top: calc(var(--head) + 20px); }
.side-card { display: flex; flex-direction: column; gap: 6px; padding: 22px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.side-card > .ic { color: var(--green); width: 26px; height: 26px; }
.side-card h3 { font-size: 1.05rem; }
.side-wa { flex-direction: row; align-items: center; gap: 14px; background: linear-gradient(135deg, rgba(37, 211, 102, .18), var(--surface)); border-color: rgba(37, 211, 102, .35); }
.side-wa .ic { width: 40px; height: 40px; color: #25d366; } .side-wa b { display: block; } .side-wa span { color: var(--muted); font-size: .9rem; }
.mini-steps { margin: 0; padding-inline-start: 20px; color: var(--muted); display: grid; gap: 6px; font-size: .93rem; }
.contact-list { gap: 4px; padding: 10px; }
.contact-list > a, .contact-list > div { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: 12px; }
.contact-list > a:hover { background: rgba(255, 255, 255, .04); }
.contact-list .ic { width: 38px; height: 38px; padding: 9px; border-radius: 11px; background: rgba(124, 92, 255, .15); color: var(--violet2); }
.contact-list b { display: block; font-size: .9rem; } .contact-list span { color: var(--muted); font-size: .92rem; }
.alert { padding: 14px 16px; border-radius: 12px; font-size: .94rem; display: flex; gap: 10px; align-items: flex-start; flex-wrap: wrap; }
.alert .ic { width: 20px; height: 20px; margin-top: 3px; }
.alert-err { background: rgba(239, 68, 68, .12); border: 1px solid rgba(239, 68, 68, .35); color: #fecaca; }
.alert-info { background: rgba(124, 92, 255, .12); border: 1px solid rgba(124, 92, 255, .35); }
.alert-ok { background: rgba(34, 195, 166, .12); border: 1px solid rgba(34, 195, 166, .35); color: #c6f6eb; margin-bottom: 16px; }
.alert a { text-decoration: underline; }
.thanks { text-align: center; padding: 100px 0; } .thanks .narrow { margin-inline: auto; }
.thanks p { margin-inline: auto; }
.ok-ic { display: inline-grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: var(--grad); margin-bottom: 20px; box-shadow: 0 0 60px -10px var(--violet); }
.ok-ic .ic { width: 42px; height: 42px; color: #fff; stroke-width: 2.4; }
.code-box { display: inline-block; padding: 10px 20px; border-radius: 12px; background: var(--surface); border: 1px dashed var(--line2); font-family: var(--display); }

/* ---------- الطلب والدفع ---------- */
.co-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 28px; align-items: start; }
.co-title { font-size: 1.6rem; display: flex; gap: 10px; align-items: center; }
.summary { padding: 28px; border-radius: 24px; background: linear-gradient(170deg, rgba(124, 92, 255, .2), var(--surface) 50%); border: 1px solid var(--line2); position: sticky; top: calc(var(--head) + 20px); }
.sum-item { display: grid; gap: 8px; padding: 16px 0; border-bottom: 1px solid var(--line); } .sum-item b { font-size: 1.1rem; }
.sum-row { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 0 20px; }
.sum-total { font-family: var(--display); font-size: 1.8rem; }
.order { max-width: 860px; }
.order-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 28px; }
.order-head h1 { font-family: var(--display); font-size: clamp(1.6rem, 4vw, 2.2rem); margin: 0; text-align: right; }
.order-head p { color: var(--muted); margin: 6px 0 0; }
.order-amt { display: grid; justify-items: end; gap: 8px; } .order-amt b { font-family: var(--display); font-size: 2rem; }
.badge { display: inline-flex; padding: 4px 12px; border-radius: 999px; font-size: .8rem; font-weight: 600; white-space: nowrap; }
.b-warn { background: rgba(255, 138, 61, .15); color: #ffb37f; border: 1px solid rgba(255, 138, 61, .35); }
.b-info { background: rgba(59, 130, 246, .15); color: #93c5fd; border: 1px solid rgba(59, 130, 246, .35); }
.b-ok { background: rgba(34, 195, 166, .15); color: #6ee7cf; border: 1px solid rgba(34, 195, 166, .35); }
.b-done { background: rgba(124, 92, 255, .2); color: #c4b5fd; border: 1px solid rgba(124, 92, 255, .45); }
.b-muted { background: rgba(255, 255, 255, .06); color: var(--muted); border: 1px solid var(--line2); }
.progress { list-style: none; padding: 0; margin: 0 0 28px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; counter-reset: p; }
.progress li { position: relative; display: grid; justify-items: center; gap: 8px; text-align: center; font-size: .8rem; color: var(--dim); }
.progress li::before { content: ''; position: absolute; top: 17px; inset-inline-start: 50%; width: calc(100% + 8px); height: 2px; background: var(--line2); z-index: -1; }
.progress li:last-child::before { display: none; }
.progress li span { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: var(--surface); border: 2px solid var(--line2); font-weight: 700; font-family: var(--display); }
.progress li.done span { background: var(--green); border-color: var(--green); color: #04201b; } .progress li.done::before { background: var(--green); }
.progress li.cur span { background: var(--grad); border-color: transparent; color: #fff; box-shadow: 0 0 20px -2px var(--violet); } .progress li.cur { color: var(--text); font-weight: 600; }
.progress .ic { width: 18px; }
.pay-box { padding: 28px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line2); margin-bottom: 20px; }
.pay-box h2 { display: flex; align-items: center; gap: 10px; font-size: 1.4rem; } .pay-box h2 .ic { color: var(--orange); }
.pay-amount { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; padding: 18px 20px; border-radius: 16px; background: rgba(7, 10, 28, .6); margin-bottom: 20px; }
.pay-amount > b { font-family: var(--display); font-size: 1.9rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pay-amount > span { color: var(--muted); font-size: .9rem; }
.copyable { cursor: pointer; display: inline-flex; gap: 4px; align-items: center; color: var(--text); font-family: var(--display); } .copyable .ic { width: 14px; color: var(--violet2); }
fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 12px; }
legend { font-weight: 700; margin-bottom: 10px; color: var(--violet2); padding: 0; }
.methods { grid-template-columns: 1fr 1fr; }
.methods legend { grid-column: 1 / -1; }
.method input { position: absolute; opacity: 0; }
.method-in { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; padding: 16px; border-radius: 16px; border: 2px solid var(--line2); cursor: pointer; transition: .2s; }
.method-in .ic { grid-row: span 2; width: 40px; height: 40px; padding: 8px; border-radius: 12px; background: rgba(124, 92, 255, .15); color: var(--violet2); }
.method-in b { font-family: var(--display); font-size: 1.1rem; } .method-in small { color: var(--muted); font-size: .8rem; }
.method input:checked + .method-in { border-color: var(--violet); background: rgba(124, 92, 255, .12); box-shadow: 0 0 0 4px rgba(124, 92, 255, .15); }
.method input:focus-visible + .method-in { outline: 2px solid var(--orange); }
.method-panel h3 { font-size: 1.05rem; color: var(--violet2); }
.transfer { margin: 0; display: grid; gap: 2px; border-radius: 16px; overflow: hidden; border: 1px solid var(--line2); }
.transfer > div { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; background: rgba(7, 10, 28, .5); flex-wrap: wrap; }
.transfer dt { color: var(--muted); font-size: .9rem; } .transfer dd { margin: 0; display: flex; align-items: center; gap: 10px; }
.transfer dd b { font-size: 1.08rem; font-family: var(--display); }
.copy-btn { position: relative; display: inline-flex; align-items: center; gap: 4px; padding: 6px 12px; border-radius: 8px; border: 1px solid var(--line2); background: rgba(124, 92, 255, .15); color: var(--text); cursor: pointer; font-size: .82rem; }
.copy-btn .ic { width: 14px; } .copy-btn.copied { background: var(--green); color: #04201b; border-color: var(--green); }
.spark { position: absolute; width: 5px; height: 5px; border-radius: 50%; background: var(--orange); pointer-events: none; animation: spark .6s ease-out forwards; }
@keyframes spark { to { transform: translate(var(--x), var(--y)) scale(0); opacity: 0; } }
.qr { margin: 16px 0 0; display: grid; justify-items: center; gap: 6px; } .qr img { border-radius: 14px; background: #fff; padding: 8px; }
.qr figcaption { color: var(--muted); font-size: .85rem; }
.pay-instr { display: flex; gap: 10px; padding: 14px 16px; border-radius: 12px; background: rgba(255, 138, 61, .08); border: 1px solid rgba(255, 138, 61, .25); color: #ffd5b8; font-size: .94rem; margin: 0; }
.pay-instr .ic { color: var(--orange); margin-top: 4px; }
.state-card { display: flex; gap: 18px; padding: 28px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line2); margin-bottom: 20px; }
.state-card > .ic { width: 52px; height: 52px; padding: 12px; border-radius: 16px; background: rgba(59, 130, 246, .15); color: #93c5fd; flex: none; }
.state-card.ok > .ic { background: rgba(34, 195, 166, .15); color: var(--green); } .state-card.done > .ic { background: var(--grad); color: #fff; }
.state-card h2 { font-size: 1.3rem; } .state-card p { color: var(--muted); }
.timeline { margin: 20px 0; padding: 16px 20px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.timeline summary { cursor: pointer; font-weight: 600; }
.timeline ul { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 10px; }
.timeline li { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; font-size: .9rem; }
.timeline time { color: var(--dim); white-space: nowrap; } .timeline small { grid-column: 2; color: var(--muted); }

/* ---------- التذييل ---------- */
.footer { border-top: 1px solid var(--line); background: linear-gradient(180deg, var(--bg), #050716); padding: 64px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; }
.footer h4 { font-size: .95rem; margin-bottom: 14px; color: #fff; }
.footer-grid > div:not(.f-brand) { display: flex; flex-direction: column; gap: 8px; }
.footer-grid a, .footer-grid span { color: var(--muted); font-size: .92rem; display: inline-flex; align-items: center; gap: 8px; }
.footer-grid a:hover { color: var(--text); }
.f-brand p { color: var(--muted); margin: 16px 0; }
.socials { display: flex; gap: 8px; }
.socials a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line2); }
.socials a:hover { background: rgba(124, 92, 255, .15); border-color: var(--violet); }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--dim); font-size: .85rem; }
.footer-bottom a:hover { color: var(--text); }
.wa-float { position: fixed; bottom: 20px; inset-inline-start: 20px; z-index: 60; display: flex; align-items: center; gap: 8px; padding: 12px 18px 12px 14px;
  border-radius: 999px; background: #25d366; color: #052e14; font-weight: 700; box-shadow: 0 12px 30px -8px rgba(37, 211, 102, .6); transition: transform .2s; }
.wa-float .ic { width: 26px; height: 26px; } .wa-float:hover { transform: translateY(-3px) scale(1.03); }

/* ---------- حركة الظهور ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- الشاشات ---------- */
@media (max-width: 1024px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .price-table { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hero { min-height: auto; padding-top: 32px; }
  .hero-in { grid-template-columns: 1fr; gap: 12px; }
  .hero-vis { max-width: 340px; margin-top: 8px; }
  .sat { width: 44px; height: 44px; margin: -22px; border-radius: 13px; }
  .sat .ic { width: 20px; height: 20px; }
  @keyframes orbit { from { transform: rotate(var(--a)) translate(min(40vw, 160px)) rotate(calc(-1 * var(--a))); } to { transform: rotate(calc(var(--a) + 360deg)) translate(min(40vw, 160px)) rotate(calc(-1 * var(--a) - 360deg)); } }
  .float-card { padding: 8px 12px; } .float-card .ic { width: 28px; height: 28px; padding: 6px; } .float-card b { font-size: .82rem; } .float-card small { font-size: .7rem; }
  .fc1 { inset-inline-start: 0; top: 0; } .fc2 { inset-inline-end: 0; bottom: -9%; }
  @media (max-width: 640px) { .float-card { display: none; } }
  .g3 { grid-template-columns: repeat(2, 1fr); }
  .why, .about, .detail-grid, .form-wrap, .co-grid { grid-template-columns: 1fr; }
  .detail-media, .form-side, .summary { position: static; }
  .summary { order: -1; }
}
@media (max-width: 640px) {
  :root { --head: 64px; }
  .sec { padding: 64px 0; }
  .sec-head { margin-bottom: 28px; }
  .bento, .g3, .g4, .steps, .why-list, .price-table, .f-grid, .srv-list, .methods { grid-template-columns: 1fr; }
  .dcard-xl { grid-column: auto; grid-row: auto; } .dcard-xl h3 { font-size: 1.4rem; }
  .vrail { grid-auto-columns: 68%; margin-inline: -16px; padding-inline: 16px; scroll-padding-inline: 16px; }
  .vplayer-in { padding: 64px 12px 16px; } .vplayer video { max-height: calc(100dvh - 190px); }
  .dcard { min-height: 0; }
  .hero-btns .btn { flex: 1 1 100%; }
  .stats { gap: 24px; justify-content: space-between; } .stats dt { font-size: 1.6rem; }
  .cta-in { padding: 30px 22px; } .cta-btns, .cta-btns .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-card, .pay-box, .summary { padding: 22px 18px; border-radius: 20px; }
  .srv-block { padding: 22px 18px; } .srv-block header { flex-direction: column; gap: 12px; }
  .progress li { font-size: .7rem; }
  .wa-float span { display: none; } .wa-float { padding: 14px; }
  .state-card { flex-direction: column; }
  .order-amt { justify-items: start; }
  .brand-t small { letter-spacing: .24em; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
