:root {
  --bg: #0a1120; --bg2: #0f1a30; --line: #1d2c4d; --in: #0a1426; --inl: #263a63;
  --tx: #e3ebfa; --mut: #9fb2d6; --dim: #5f7399; --acc: #3b8cff; --acc2: #6fa8ff;
  --ok: #8fe3a5; --okbg: #1f4d2b; --bad: #f19b9b; --badbg: #4d1f1f; --wait: #ffd27a; --waitbg: #4d3d14;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--tx); font-family: "Cairo", "Segoe UI", Tahoma, sans-serif; font-size: 15px; line-height: 1.6; min-height: 100vh;
  background-image: radial-gradient(ellipse at 50% -10%, #17305e 0%, transparent 60%); background-repeat: no-repeat; }
a { color: var(--acc2); text-decoration: none; cursor: pointer; }
a:hover { text-decoration: underline; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
header { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; gap: 12px; flex-wrap: wrap; }
.logo { display: inline-flex; align-items: center; gap: 9px; font-weight: 800; font-size: 21px; color: var(--tx); direction: ltr; white-space: nowrap; letter-spacing: -.2px; }
.logo:hover { text-decoration: none; }
.logo span { color: var(--acc2); font-weight: 800; margin-left: -9px; }
.who { color: var(--mut); font-size: 13px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.who b { color: var(--tx); direction: ltr; font-weight: 600; }

.hero { text-align: center; padding: 40px 0 28px; }
.hero h1 { font-size: clamp(26px, 5vw, 40px); margin: 0 0 8px; line-height: 1.3; }
.hero h1 em { font-style: normal; color: var(--acc2); }
.hero p { color: var(--mut); margin: 0 auto; max-width: 560px; }
.feats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin: 28px 0; }
.feat { background: var(--bg2); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.feat b { display: block; margin-bottom: 2px; }
.feat span { color: var(--mut); font-size: 13px; }

.card { background: var(--bg2); border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
.auth { max-width: 400px; margin: 0 auto 48px; }
.auth h2 { margin: 0 0 14px; font-size: 20px; text-align: center; }
label { display: block; color: var(--mut); font-size: 13px; margin: 10px 0 4px; }
input, select, textarea { width: 100%; background: var(--in); color: var(--tx); border: 1px solid var(--inl); border-radius: 8px; padding: 9px 11px; font: inherit; font-size: 14px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--acc); }
input[type="email"], input[type="password"] { direction: ltr; text-align: right; }
input[type="checkbox"] { width: auto; }
button, .btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border-radius: 8px; padding: 9px 16px; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer;
  border: 1px solid #2a4170; background: #14264a; color: var(--tx); text-decoration: none; }
button:hover, .btn:hover { background: #1b3366; text-decoration: none; }
button.primary, .btn.primary { background: linear-gradient(90deg, #2f6fe0, #3b8cff); border: none; color: #fff; }
button.primary:hover { filter: brightness(1.1); }
button:disabled { opacity: .5; cursor: default; }
button.full { width: 100%; margin-top: 16px; padding: 11px; }
button.sm { padding: 4px 10px; font-size: 13px; font-weight: 600; }
button.ok { background: var(--okbg); border-color: #2f7a44; color: var(--ok); }
button.bad { background: var(--badbg); border-color: #7a2f2f; color: var(--bad); }
.links { display: flex; justify-content: space-between; margin-top: 12px; font-size: 13px; gap: 8px; flex-wrap: wrap; }
.msg { min-height: 22px; margin-top: 12px; font-size: 14px; color: var(--ok); text-align: center; }
.msg.bad { color: var(--bad); }
.hidden { display: none !important; }
.center { text-align: center; }
.mut { color: var(--mut); }
.dim { color: var(--dim); font-size: 13px; }
.big-ico { font-size: 44px; line-height: 1; margin-bottom: 8px; }
.steps { text-align: right; color: var(--mut); padding-right: 18px; margin: 14px 0 0; font-size: 14px; }
.steps li { margin: 4px 0; }

.badge { display: inline-block; padding: 1px 10px; border-radius: 20px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.badge.active { background: var(--okbg); color: var(--ok); }
.badge.pending { background: var(--waitbg); color: var(--wait); }
.badge.blocked { background: var(--badbg); color: var(--bad); }

/* ---------- admin ---------- */
.tabs { display: flex; gap: 6px; margin: 4px 0 16px; flex-wrap: wrap; }
.tabs button { background: transparent; }
.tabs button.on { background: #1b3366; border-color: var(--acc); }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; margin-bottom: 16px; }
.stat { background: var(--bg2); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.stat b { display: block; font-size: 24px; line-height: 1.2; }
.stat span { color: var(--mut); font-size: 13px; }
.toolbar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; align-items: center; }
.toolbar input { max-width: 280px; }
.toolbar select { width: auto; }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tblwrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--bg2); }
.tbl th { text-align: right; color: var(--mut); font-weight: 600; font-size: 13px; padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl td { padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tbl tr:last-child td { border-bottom: none; }
.tbl .em { direction: ltr; text-align: right; font-size: 13px; color: var(--mut); }
.tbl .acts { display: flex; gap: 6px; flex-wrap: wrap; }
.tbl select { width: auto; padding: 3px 6px; }
.devs { margin: 6px 0 0; padding: 0; list-style: none; font-size: 12px; color: var(--mut); }
.devs li { display: flex; gap: 8px; align-items: center; }
.devs a { color: var(--bad); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.row { display: flex; gap: 8px; align-items: center; margin-top: 10px; }
.bar { height: 6px; background: #14264a; border-radius: 3px; overflow: hidden; margin-top: 10px; }
.bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #2f6fe0, #3b8cff); transition: width .2s; }
footer { color: var(--dim); text-align: center; font-size: 12px; padding: 30px 0; }

@media (max-width: 640px) {
  .grid2 { grid-template-columns: 1fr; }
  .tbl .hide-m { display: none; }
  .card { padding: 16px; }
}

.gbtn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 10px; font-size: 15px; font-weight: 600; border-radius: 8px; background: #fff; color: #1f1f1f; border: 1px solid #dadce0; cursor: pointer; }
.gbtn:hover { background: #f1f3f4; }
.gor { display: flex; align-items: center; gap: 10px; color: var(--dim); font-size: 13px; margin: 14px 0 0; }
.gor::before, .gor::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* ---------- admin: الواجهة التفاعلية ---------- */
.hero-adm { position: relative; display: grid; grid-template-columns: 1fr 250px; align-items: center; gap: 12px; margin: 6px 0 18px; padding: 10px 22px; overflow: hidden;
  background: linear-gradient(135deg, #0f1a30 0%, #10213f 60%, #0f1a30 100%); border: 1px solid var(--line); border-radius: 16px; }
.hero-adm::before { content: ""; position: absolute; inset: -40% -10% auto auto; width: 420px; height: 420px; background: radial-gradient(circle, rgba(59,140,255,.18), transparent 65%); pointer-events: none; animation: haGlow 9s ease-in-out infinite alternate; }
@keyframes haGlow { from { transform: translate(0,0); } to { transform: translate(-60px, 40px); } }
.ha-txt { position: relative; z-index: 1; }
.ha-hi { color: var(--acc2); font-weight: 700; font-size: 14px; }
.hero-adm h1 { margin: 2px 0 4px; font-size: clamp(22px, 4vw, 30px); line-height: 1.3; }
.hero-adm p { margin: 0; font-size: 14px; }
.ha-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.chip { padding: 4px 12px; border-radius: 20px; font-size: 13px; font-weight: 700; background: #14264a; border: 1px solid #2a4170; transition: transform .15s, filter .15s; }
.chip:hover { transform: translateY(-2px); filter: brightness(1.15); }
.chip.wait { background: var(--waitbg); color: var(--wait); border-color: #7a6220; }
.chip.bad { background: var(--badbg); color: var(--bad); border-color: #7a2f2f; }
.ha-fig { position: relative; z-index: 1; width: 250px; justify-self: end; cursor: crosshair;
  --hairline-plate: #0f1d38; --hairline-hi: #cfe0ff; --hairline-edge: #6fa8ff; --hairline-mid: #3a5a92; --hairline-lo: #1f3360; --hairline-stroke: 1; }
.ha-fig.in { animation: figIn .6s cubic-bezier(.2,.8,.2,1); }
@keyframes figIn { from { opacity: 0; transform: translateY(10px) scale(.97); } to { opacity: 1; transform: none; } }

.stat { transition: transform .2s, border-color .2s, box-shadow .2s; }
.stat:hover { transform: translateY(-3px); border-color: #2f4c84; box-shadow: 0 10px 24px -14px rgba(59,140,255,.55); }
.tabs button { transition: background .2s, border-color .2s, transform .15s; }
.tabs button:active { transform: scale(.97); }
.tbl tbody tr { animation: rowIn .35s ease both; transition: background .15s; }
.tbl tbody tr:hover { background: #12203d; }
.tbl tbody tr:nth-child(2) { animation-delay: .04s; } .tbl tbody tr:nth-child(3) { animation-delay: .08s; } .tbl tbody tr:nth-child(4) { animation-delay: .12s; }
.tbl tbody tr:nth-child(5) { animation-delay: .16s; } .tbl tbody tr:nth-child(n+6) { animation-delay: .2s; }
@keyframes rowIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.tbl tr.row-exp td { background: rgba(77,31,31,.25); }

/* الاشتراك */
.tbl td.exp { min-width: 175px; }
.tbl td.exp input[type="date"] { padding: 4px 6px; font-size: 13px; width: 140px; color-scheme: dark; }
.expq { display: flex; gap: 4px; margin: 5px 0 3px; flex-wrap: nowrap; }
.expq button { padding: 1px 7px; font-size: 12px; }
.exp-soon { color: var(--wait); font-weight: 700; font-size: 13px; }

@media (max-width: 760px) {
  .hero-adm { grid-template-columns: 1fr; }
  .ha-fig { width: 220px; justify-self: center; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-adm::before, .ha-fig.in, .tbl tbody tr { animation: none; }
}

/* ================= الصفحة الرئيسية: هيرو + محاكاة ================= */
html { scroll-behavior: smooth; }
.kicker { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .3px; color: var(--acc2); background: rgba(59,140,255,.12); border: 1px solid rgba(59,140,255,.3); padding: 2px 12px; border-radius: 20px; }
.hero2 { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 24px; text-align: right; padding: 34px 0 10px; }
.hero2 h1 { margin: 10px 0 8px; }
.hero2 p { margin: 0; max-width: 520px; }
.h2-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.h2-cta .btn { padding: 10px 18px; }
.h2-fig { width: 100%; max-width: 380px; justify-self: center; cursor: crosshair; animation: figIn .8s cubic-bezier(.2,.8,.2,1);
  --hairline-plate: #0b1529; --hairline-hi: #d6e4ff; --hairline-edge: #6fa8ff; --hairline-mid: #35558c; --hairline-lo: #1c2e55; --hairline-stroke: 1; }
.feat { position: relative; transition: transform .25s, border-color .25s, box-shadow .25s; }
.feat i { font-style: normal; display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: #14264a; margin-bottom: 8px; font-size: 17px; transition: transform .3s; }
.feat:hover { transform: translateY(-4px); border-color: #2f4c84; box-shadow: 0 14px 30px -18px rgba(59,140,255,.6); }
.feat:hover i { transform: rotate(-8deg) scale(1.1); }
.rv { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.8,.2,1); }
.rv.in { opacity: 1; transform: none; }

.sim-sec { margin: 56px 0 20px; }
.sec-h { text-align: center; margin-bottom: 18px; }
.sec-h h2 { margin: 10px 0 6px; font-size: clamp(22px, 3.6vw, 30px); }
.sec-h p { margin: 0 auto; max-width: 620px; }

.sim { --cap-base: #fff; --cap-hi: #ffd400; position: relative; border: 1px solid #22355e; border-radius: 14px; overflow: hidden; background: #0b1426;
  box-shadow: 0 30px 70px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(111,168,255,.05) inset; }
.sim-bar { display: flex; align-items: center; gap: 12px; padding: 8px 12px; background: #0e1a31; border-bottom: 1px solid #1d2c4d; font-size: 12px; color: var(--mut); }
.sim-bar .dots { display: flex; gap: 6px; direction: ltr; }
.sim-bar .dots i { width: 10px; height: 10px; border-radius: 50%; background: #2a3a5e; }
.sim-bar .dots i:nth-child(1) { background: #ff5f57; } .sim-bar .dots i:nth-child(2) { background: #febc2e; } .sim-bar .dots i:nth-child(3) { background: #28c840; }
.sim-title { flex: 1; text-align: center; direction: ltr; }
.sim-title b { color: var(--acc2); }
.sim-tour { padding: 4px 12px; font-size: 12px; border-radius: 20px; }
.sim.touring .sim-tour { background: var(--badbg); border-color: #7a2f2f; color: var(--bad); }
.sim-body { display: grid; grid-template-columns: 300px 1fr; min-height: 520px; }

/* البانل */
.sim-panel { background: #0a1222; border-left: 1px solid #1d2c4d; padding: 10px; font-size: 13px; position: relative; }
.sp-tabs { display: flex; gap: 4px; margin-bottom: 8px; }
.sp-tab { padding: 5px 9px; font-size: 12px; background: transparent; border-color: #1d2c4d; }
.sp-tab.on { background: #1b3366; border-color: var(--acc); }
.sp-tabmsg { position: absolute; top: 44px; right: 10px; left: 10px; z-index: 3; background: #14264a; border: 1px solid #2a4170; border-radius: 8px; padding: 6px 10px; font-size: 12px; opacity: 0; transform: translateY(-4px); transition: .2s; pointer-events: none; }
.sp-tabmsg.on { opacity: 1; transform: none; }
.sp-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.sp-step { border: 1px solid #1a2a4a; border-radius: 10px; background: #0d1830; transition: border-color .2s, background .2s; }
.sp-step.on { border-color: #2f5aa8; background: #0f1d3a; }
.sp-step.lock .sp-head { opacity: .55; }
.sp-head { display: flex; align-items: center; gap: 8px; padding: 8px 10px; font-weight: 700; cursor: pointer; }
.sp-head .n { width: 22px; height: 22px; border-radius: 50%; display: inline-grid; place-items: center; font-size: 12px; background: #1b2c50; color: var(--mut); transition: .25s; }
.sp-step.on .n { background: var(--acc); color: #fff; }
.sp-step.done .n { background: var(--okbg); color: var(--ok); }
.sp-step.done .n::after { content: "✓"; } .sp-step.done .n { font-size: 0; } .sp-step.done .n::after { font-size: 12px; }
.sp-ctl { display: none; padding: 0 10px 10px; }
.sp-step.on .sp-ctl { display: block; animation: rowIn .3s ease; }
.sp-ctl label { margin: 8px 0 4px; font-size: 12px; }
.sp-row { display: flex; gap: 6px; }
.sp-row select { flex: 1; padding: 6px 8px; font-size: 12px; }
.sp-row button, #sIns { padding: 6px 12px; font-size: 13px; }
#sIns { width: 100%; }
.sp-prog { height: 5px; background: #14264a; border-radius: 3px; overflow: hidden; margin-top: 10px; }
.sp-prog i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #2f6fe0, #6fe0c0); }
.sp-stage { margin-top: 6px; font-size: 12px; color: var(--ok); min-height: 18px; }
.sp-words { margin-top: 6px; display: flex; flex-wrap: wrap; gap: 3px; max-height: 92px; overflow: auto; }
.sp-words span { background: #14264a; border-radius: 5px; padding: 0 6px; font-size: 12px; animation: rowIn .3s ease both; }
.sws { display: flex; gap: 6px; }
.sw { width: 24px; height: 24px; padding: 0; border-radius: 50%; background: var(--c); border: 2px solid #0a1222; box-shadow: 0 0 0 1px #2a4170; transition: transform .15s, box-shadow .15s; }
.sw:hover { transform: scale(1.12); background: var(--c); }
.sw.on { box-shadow: 0 0 0 2px var(--acc2); transform: scale(1.12); }
.sp-ctl input[type=range] { width: 100%; accent-color: var(--acc); padding: 0; border: 0; background: none; }
.sp-chk { display: flex !important; align-items: center; gap: 6px; color: var(--tx) !important; cursor: pointer; }
.an-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.an-tile { flex-direction: column; gap: 4px; padding: 6px; font-size: 11px; font-weight: 600; background: #0b1528; border-color: #1d2c4d; }
.an-tile.on { border-color: var(--acc); background: #12234a; }
.an-prev { font-style: normal; display: flex; gap: 3px; justify-content: center; height: 26px; align-items: center; width: 100%; background: #060c18; border-radius: 6px; font-weight: 800; font-size: 13px; }
.an-prev b:last-child { color: #ffd400; }
.an-tile:hover .p-pop b, .an-tile.on .p-pop b { animation: capPop .9s ease infinite; }
.an-tile:hover .p-bounce b, .an-tile.on .p-bounce b { animation: capBounce 1s ease infinite; }
.an-tile:hover .p-bounce b:last-child, .an-tile.on .p-bounce b:last-child { animation-delay: .15s; }
.an-tile:hover .p-type b:last-child, .an-tile.on .p-type b:last-child { animation: typeIn 1.2s steps(1) infinite; }
.an-tile:hover .p-slide b, .an-tile.on .p-slide b { animation: capSlide 1.1s ease infinite; }
.p-box b:last-child { background: #ffd400; color: #111 !important; border-radius: 4px; padding: 0 3px; }
.an-tile:hover .p-fade b, .an-tile.on .p-fade b { animation: capFade 1.2s ease infinite; }

/* الشاشة */
.sim-stage { padding: 12px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.sim-mon { position: relative; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: #000; }
.mon-video, .mon-video svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.bok { animation: bok 6s ease-in-out infinite alternate; } .b2 { animation-duration: 8s; } .b3 { animation-duration: 7s; }
@keyframes bok { to { transform: translate(6px, 3px); opacity: .7; } }
.spk { animation: breathe 3.4s ease-in-out infinite; transform-origin: 80px 90px; }
@keyframes breathe { 50% { transform: translateY(-.6px) scale(1.004); } }
.mon-cap { position: absolute; left: 4%; right: 4%; bottom: 13%; display: flex; justify-content: center; pointer-events: none; }
.cap { font-weight: 800; font-size: clamp(16px, 3.3vw, 34px); line-height: 1.25; text-align: center; color: var(--cap-base);
  text-shadow: 0 2px 0 #000, 0 0 2px #000, 0 0 2px #000, 0 4px 14px rgba(0,0,0,.6); }
.cap .w { display: inline-block; transition: color .08s, transform .12s; }
.cap .w.hi { color: var(--cap-hi); }
.a-pop { animation: capPop .28s cubic-bezier(.3,1.6,.5,1); }
.a-pop .w.hi { transform: scale(1.12); }
.a-bounce .w { animation: capBounce .5s cubic-bezier(.3,1.7,.5,1) both; animation-delay: calc(var(--k) * .07s); }
.a-type .w { opacity: 0; } .a-type .w.vis { opacity: 1; animation: capPop .18s ease; }
.a-slide { animation: capSlide .35s cubic-bezier(.2,.8,.2,1); }
.a-box .w.hi { color: #111; background: var(--cap-hi); border-radius: 8px; padding: 0 .18em; text-shadow: none; transform: rotate(-2deg) scale(1.05); }
.a-fade { animation: capFade .4s ease; }
@keyframes capPop { 0% { transform: scale(.6); opacity: 0; } 70% { transform: scale(1.08); opacity: 1; } 100% { transform: scale(1); } }
@keyframes capBounce { 0% { transform: translateY(-60%); opacity: 0; } 60% { transform: translateY(8%); opacity: 1; } 100% { transform: none; } }
@keyframes capSlide { from { transform: translateY(40%); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes capFade { from { opacity: 0; filter: blur(4px); } to { opacity: 1; filter: none; } }
@keyframes typeIn { 0% { opacity: 0; } 50% { opacity: 1; } }
.mon-hint { position: absolute; inset: auto 0 14% 0; text-align: center; font-size: 14px; color: #cfe0ff; text-shadow: 0 1px 3px #000; animation: capFade 1.4s ease infinite alternate; }
.mon-tc { position: absolute; top: 8px; left: 10px; font: 600 11px/1 Consolas, monospace; color: #9fd0ff; background: rgba(0,0,0,.45); padding: 3px 6px; border-radius: 4px; direction: ltr; }
.sim-ctrls { display: flex; align-items: center; gap: 10px; }
#simPlay { width: 34px; height: 30px; padding: 0; border-radius: 8px; }
.seek { flex: 1; height: 6px; border-radius: 3px; background: #14264a; cursor: pointer; display: flex; justify-content: flex-start; }
.seek i { display: block; height: 100%; width: 0; border-radius: 3px; background: linear-gradient(270deg, #2f6fe0, #6fa8ff); }

/* التايم لاين */
.sim-tl { display: flex; gap: 6px; background: #081020; border: 1px solid #172644; border-radius: 8px; padding: 6px; }
.tl-labels { display: grid; grid-template-rows: repeat(3, 30px); gap: 4px; font: 600 10px/30px Consolas, monospace; color: var(--dim); }
.tl-area { position: relative; flex: 1; display: grid; grid-template-rows: repeat(3, 30px); gap: 4px; cursor: pointer; min-width: 0; }
.tl-track { position: relative; background: #0d1830; border-radius: 4px; overflow: hidden; }
.tl-track canvas { width: 100%; height: 100%; display: block; }
.vclip { position: absolute; top: 0; bottom: 0; right: 0; width: 100%; background: linear-gradient(180deg, #2c4b8a, #22396b); border-radius: 4px; font-size: 10px; color: #cfe0ff; padding: 0 6px; line-height: 30px; direction: ltr; text-align: right; transition: filter .3s; }
.vclip.seg { animation: segIn .4s ease; }
@keyframes segIn { from { filter: brightness(1.8); } to { filter: none; } }
.cclip { position: absolute; top: 2px; bottom: 2px; text-overflow: clip; background: linear-gradient(180deg, #b0306b, #8a1f52); border: 1px solid #d14a86; border-radius: 4px; font-size: 9px; color: #ffe1ee; overflow: hidden; white-space: nowrap; padding: 0 3px; line-height: 24px; }
.cclip.drop { animation: clipDrop .45s cubic-bezier(.3,1.5,.5,1) both; }
@keyframes clipDrop { from { transform: translateY(-140%); opacity: 0; } to { transform: none; opacity: 1; } }
.tl-play { position: absolute; top: -4px; bottom: -4px; width: 2px; background: #ff5b5b; transform: translateX(50%); pointer-events: none; }
.tl-play::before { content: ""; position: absolute; top: 0; left: -4px; width: 10px; height: 8px; background: #ff5b5b; clip-path: polygon(0 0, 100% 0, 50% 100%); }

/* الماوس الوهمي */
.sim-cursor { position: absolute; top: 0; left: 0; width: 22px; height: 22px; pointer-events: none; z-index: 10; transform: translate(-60px, -60px); transition: transform .6s cubic-bezier(.45,.05,.2,1);
  background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 2l15 10-7 1.5L8.5 21z' fill='%23fff' stroke='%23000' stroke-width='1.4' stroke-linejoin='round'/%3E%3C/svg%3E"); margin: -3px 0 0 -4px; filter: drop-shadow(0 2px 4px rgba(0,0,0,.5)); }
.sim-cursor::after { content: ""; position: absolute; left: 0; top: 0; width: 26px; height: 26px; margin: -10px 0 0 -10px; border-radius: 50%; border: 2px solid var(--acc2); opacity: 0; }
.sim-cursor.click::after { animation: ripple .45s ease-out; }
@keyframes ripple { from { transform: scale(.3); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
.flash { animation: flashB .9s ease 2; }
@keyframes flashB { 50% { box-shadow: 0 0 0 4px rgba(111,168,255,.55); } }

@media (max-width: 860px) {
  .hero2 { grid-template-columns: 1fr; text-align: center; }
  .hero2 p { margin: 0 auto; }
  .h2-cta { justify-content: center; }
  .h2-fig { max-width: 280px; }
  .sim-body { grid-template-columns: 1fr; }
  .sim-panel { border-left: 0; border-bottom: 1px solid #1d2c4d; order: 2; }
  .sim-stage { order: 1; }
  .sim-title { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; }
  .bok, .spk, .mon-hint { animation: none; }
}

/* ---------- المحاكاة: تابة الحركات ---------- */
.sp-view.hidden { display: none; }
.an-more { grid-column: 1 / -1; padding: 6px; font-size: 12px; background: transparent; border-style: dashed; color: var(--acc2); }
.fx-top { display: flex; align-items: center; gap: 6px; }
.fx-top input { padding: 6px 9px; font-size: 12px; }
.fx-top .dim { white-space: nowrap; font-size: 11px; }
.fx-chips { display: flex; flex-wrap: wrap; gap: 4px; margin: 8px 0; }
.fx-chip { padding: 2px 9px; font-size: 11px; border-radius: 20px; background: transparent; border-color: #1d2c4d; }
.fx-chip.on { background: #1b3366; border-color: var(--acc); }
.fx-cols { display: flex; align-items: center; gap: 6px; font-size: 11px; margin-bottom: 8px; flex-wrap: wrap; }
.fx-cm { padding: 2px 8px; font-size: 11px; border-radius: 20px; background: transparent; border-color: #1d2c4d; }
.fx-cm.on { background: #1b3366; border-color: var(--acc); }
.fx-pairs { display: flex; gap: 4px; }
.fx-pair { width: 22px; height: 22px; padding: 0; border-radius: 50%; border: 2px solid #0a1222; box-shadow: 0 0 0 1px #2a4170; background: linear-gradient(135deg, var(--b) 50%, var(--h) 50%); }
.fx-pair:hover { background: linear-gradient(135deg, var(--b) 50%, var(--h) 50%); transform: scale(1.1); }
.fx-pair.on { box-shadow: 0 0 0 2px var(--acc2); }
.fx-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; max-height: 318px; overflow-y: auto; padding: 2px 2px 2px 4px; scrollbar-width: thin; scrollbar-color: #2a4170 transparent; }
.fx-tile { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 5px; border: 1px solid #1d2c4d; border-radius: 8px; background: #0b1528; cursor: pointer; transition: border-color .15s, transform .15s; }
.fx-tile:hover { border-color: #2f4c84; transform: translateY(-2px); }
.fx-tile.on { border-color: var(--acc); background: #12234a; box-shadow: 0 0 0 1px var(--acc) inset; }
.fx-prev, .an-prev { display: flex; align-items: center; justify-content: center; height: 40px; border-radius: 6px; overflow: hidden;
  background: radial-gradient(ellipse at 30% 20%, #253a66, #070d1a 75%); font-style: normal; }
.an-prev { height: 30px; }
.fx-prev .cap, .an-prev .cap { font-size: 14px; }
.an-prev .cap { font-size: 12px; }
.fx-nm { font-size: 11px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-left: 16px; }
.fx-star { position: absolute; left: 4px; bottom: 3px; padding: 0 2px; font-size: 13px; line-height: 1; background: none; border: 0; color: #5f7399; }
.fx-star:hover { background: none; color: #ffd27a; }
.fx-star.on { color: #ffd400; }
.fx-empty { grid-column: 1 / -1; text-align: center; padding: 20px 6px; }
#fxApply { width: 100%; margin-top: 8px; padding: 7px; font-size: 13px; }
.sp-stage.warn { color: var(--wait); }

/* ---------- عائلات الحركات (الشاشة + المعاينات) ---------- */
.a-hormozi { animation: capPop .3s cubic-bezier(.3,1.6,.5,1); }
.a-hormozi .w.hi { transform: scale(1.28); }
.a-karaoke .w.past, .a-karaoke .w.hi { color: var(--cap-hi); }
.a-karaoke .w.hi { transform: translateY(-4%); }
.a-beast { animation: beastIn .4s cubic-bezier(.3,1.6,.5,1); }
.a-beast .w.hi { transform: scale(1.15) rotate(-3deg); }
@keyframes beastIn { 0% { transform: scale(.3) rotate(-8deg); opacity: 0; } 60% { transform: scale(1.12) rotate(3deg); opacity: 1; } 80% { transform: rotate(-2deg); } 100% { transform: none; } }
.a-impact { animation: impactIn .32s cubic-bezier(.2,.8,.2,1); }
@keyframes impactIn { from { transform: scale(1.9); opacity: 0; filter: blur(6px); } to { transform: none; opacity: 1; filter: none; } }
.a-neon, .a-flicker { text-shadow: 0 0 4px var(--cap-hi), 0 0 12px var(--cap-hi), 0 0 2px #000; }
.a-neon .w.hi, .a-flicker .w.hi { color: #fff; text-shadow: 0 0 6px var(--cap-hi), 0 0 16px var(--cap-hi), 0 0 28px var(--cap-hi); }
.a-neon { animation: capFade .45s ease; }
.a-flicker { animation: flicker .9s steps(1); }
@keyframes flicker { 0% { opacity: 0; } 10% { opacity: 1; } 18% { opacity: .2; } 26% { opacity: 1; } 40% { opacity: .5; } 48%, 100% { opacity: 1; } }
.a-zoom { animation: zoomIn .35s cubic-bezier(.2,1.4,.4,1); }
@keyframes zoomIn { from { transform: scale(0); opacity: 0; } to { transform: none; opacity: 1; } }
.a-drop .w { animation: dropIn .4s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(var(--k) * .06s); }
@keyframes dropIn { from { transform: translateY(-80%); opacity: 0; } to { transform: none; opacity: 1; } }
.a-wave .w { animation: waveW 1.1s ease-in-out infinite; animation-delay: calc(var(--k) * -.18s); }
@keyframes waveW { 50% { transform: translateY(-12%); } }
.a-blur .w { animation: blurW .45s ease both; animation-delay: calc(var(--k) * .07s); }
@keyframes blurW { from { filter: blur(8px); opacity: 0; transform: scale(1.08); } to { filter: none; opacity: 1; transform: none; } }
.a-glitch { animation: glitch .45s steps(2); }
.a-glitch .w.hi { text-shadow: 2px 0 #ff2b6b, -2px 0 #22d3ee, 0 2px 0 #000; }
@keyframes glitch { 0% { transform: translate(4px, -2px); text-shadow: 3px 0 #ff2b6b, -3px 0 #22d3ee; opacity: .4; } 25% { transform: translate(-4px, 2px); } 50% { transform: translate(2px, 0); opacity: 1; } 75% { transform: translate(-1px, 1px); } 100% { transform: none; } }
.a-spin .w { animation: spinW .5s cubic-bezier(.2,1.2,.4,1) both; animation-delay: calc(var(--k) * .07s); }
@keyframes spinW { from { transform: rotate(-90deg) scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
.a-echo { animation: capSlide .4s cubic-bezier(.2,.8,.2,1); }
.a-echo .w.hi { text-shadow: 0 2px 0 #000, -6px 0 0 color-mix(in srgb, var(--cap-hi) 45%, transparent), -12px 0 0 color-mix(in srgb, var(--cap-hi) 20%, transparent); }
.a-bigbox { background: rgba(0,0,0,.82); padding: .05em .45em .12em; border-radius: .25em; text-shadow: none; animation: capPop .28s ease; }
.a-comic { animation: beastIn .4s ease; transform: rotate(-2deg); }
.a-comic .w.hi { color: #111; background: var(--cap-hi); border: 2px solid #000; border-radius: 6px; padding: 0 .18em; text-shadow: none; box-shadow: 3px 3px 0 #000; }
.a-glow .w.hi { text-shadow: 0 0 10px var(--cap-hi), 0 0 22px var(--cap-hi), 0 2px 0 #000; }
.a-glow { animation: capFade .4s ease; }
.a-gradient .w.hi { background: linear-gradient(90deg, var(--cap-hi), #fff 50%, var(--cap-hi)); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none; filter: drop-shadow(0 2px 0 #000); }
.a-gradient { animation: capFade .4s ease; }
.a-track { animation: trackIn .5s cubic-bezier(.2,.8,.2,1); }
@keyframes trackIn { from { word-spacing: 1.2em; opacity: 0; } to { word-spacing: normal; opacity: 1; } }
.a-wipe .w { clip-path: inset(0 0 0 100%); }
.a-wipe .w.vis { animation: wipeW .35s ease forwards; }
@keyframes wipeW { to { clip-path: inset(0 0 0 0); } }
.a-wipe .w.vis.past, .fx-prev .a-wipe .w, .an-prev .a-wipe .w { clip-path: none; }

/* ---------- الدعم ---------- */
.sup-sec { margin: 30px 0 0; }
.sup-card { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; background: linear-gradient(135deg, #0f1a30, #10233f); border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; }
.sup-card b { display: block; font-size: 17px; }
.sup-card span.mut { font-size: 14px; }
.sup-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.btn.sup-wa { background: #1f7a43; border-color: #2a9a56; color: #fff; }
.btn.sup-wa:hover { background: #24904f; }
.wa-float { position: fixed; left: 18px; bottom: 18px; z-index: 50; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: #25d366; box-shadow: 0 8px 22px -6px rgba(37,211,102,.6); transition: transform .2s; animation: waPulse 2.6s ease-in-out infinite; }
.wa-float:hover { transform: scale(1.08); text-decoration: none; }
@keyframes waPulse { 0%, 100% { box-shadow: 0 8px 22px -6px rgba(37,211,102,.6), 0 0 0 0 rgba(37,211,102,.45); } 50% { box-shadow: 0 8px 22px -6px rgba(37,211,102,.6), 0 0 0 10px rgba(37,211,102,0); } }
@media (prefers-reduced-motion: reduce) { .wa-float { animation: none; } }

/* ---------- المحاكاة: إضافات ---------- */
.ghost-sm { padding: 5px 9px; font-size: 12px; background: #0b1528; border-color: #1d2c4d; flex: 1; }
.ghost-sm.on { background: #12234a; border-color: var(--acc); color: var(--ok); }
.sp-note { font-size: 11px; margin-top: 6px; line-height: 1.6; }
.sp-fx { margin: 0 0 4px; }
.ch-list { list-style: none; margin: 8px 0 6px; padding: 0; display: grid; gap: 3px; font-size: 12px; }
.ch-list li { background: #0b1528; border: 1px solid #1d2c4d; border-radius: 6px; padding: 3px 8px; animation: rowIn .35s ease both; }
.ch-list li span { color: var(--acc2); font-family: Consolas, monospace; margin-left: 6px; }
.tl-marks { position: absolute; top: -8px; left: 0; right: 0; height: 8px; z-index: 2; pointer-events: none; }
.tl-marks i { position: absolute; top: 0; width: 10px; height: 10px; margin-right: -5px; background: #ffc83d; clip-path: polygon(0 0, 100% 0, 100% 60%, 50% 100%, 0 60%); animation: clipDrop .4s ease both; }
.cap-en { margin-top: .25em; font-size: clamp(11px, 2vw, 20px); font-weight: 700; color: #e9f2ff; text-shadow: 0 2px 0 #000, 0 0 3px #000; direction: ltr; text-align: center; font-family: "Segoe UI", Tahoma, sans-serif; }
.mon-cap { flex-direction: column; align-items: center; }
/* التأثيرات */
.sim:not(.fx-stroke) .cap { text-shadow: none; }
.sim.fx-shadow .cap { filter: drop-shadow(5px 7px 3px rgba(0,0,0,.85)); }
.sim.fx-glow .cap .w { text-shadow: 0 0 8px var(--cap-hi), 0 0 18px var(--cap-hi), 0 2px 0 #000; }
.sim.fx-box .cap { background: rgba(0,0,0,.62); padding: .06em .45em .14em; border-radius: .3em; }
.sim.fx-grad .cap .w.hi { background: linear-gradient(90deg, var(--cap-hi), #fff); -webkit-background-clip: text; background-clip: text; color: transparent; }
/* الريلز */
.sim.reels .sim-mon { aspect-ratio: 9 / 16; width: auto; height: min(52vh, 400px); margin: 0 auto; transition: height .4s; }
.sim.reels .sim-mon::after { content: ""; position: absolute; inset: 6% 8% 16% 8%; border: 1px dashed rgba(111,168,255,.55); border-radius: 6px; pointer-events: none; }
.sim.reels .mon-cap { bottom: 22%; }
.sim.reels .cap { font-size: clamp(16px, 2.6vw, 26px); }
/* المفاتيح والحساب */
.kv-h { font-weight: 700; margin: 6px 0 4px; display: flex; align-items: center; gap: 6px; }
.kv-row { display: grid; grid-template-columns: 70px 1fr 18px; gap: 4px 6px; align-items: center; background: #0b1528; border: 1px solid #1d2c4d; border-radius: 8px; padding: 6px 8px; margin-top: 6px; font-size: 12px; }
.kv-row input { padding: 4px 6px; font-size: 11px; direction: ltr; }
.kv-row a { grid-column: 1 / -1; font-size: 11px; }
.kv-ok { color: var(--ok); font-weight: 700; } .kv-no { color: var(--dim); }
.ac-head { display: flex; align-items: center; gap: 8px; background: #0b1528; border: 1px solid #1d2c4d; border-radius: 10px; padding: 8px; }
.ac-head div { flex: 1; display: flex; flex-direction: column; } .ac-head .dim { font-size: 11px; direction: ltr; text-align: right; }
.ac-av { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #2f6fe0, #6fa8ff); font-weight: 800; }
.ac-st { background: var(--okbg); color: var(--ok); border-radius: 20px; padding: 1px 10px; font-size: 12px; font-weight: 700; box-shadow: 0 0 12px rgba(143,227,165,.25); }
.ac-line { font-size: 12px; margin: 8px 0; }
.ac-cnt { background: var(--okbg); color: var(--ok); border-radius: 20px; padding: 0 8px; font-size: 11px; }
.ac-dev { display: flex; justify-content: space-between; font-size: 12px; background: #0b1528; border: 1px solid #2f5aa8; border-radius: 8px; padding: 6px 8px; }
.ac-dev em { font-style: normal; font-size: 10px; background: #1b3366; border-radius: 10px; padding: 0 6px; margin-right: 4px; }
.ac-sup { width: 100%; margin-top: 10px; padding: 7px; font-size: 13px; }

/* ---------- كل المميزات ---------- */
.all-feats { margin: 50px 0 10px; }
.af-tabs { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; margin: 6px 0 16px; }
.af-tab { padding: 5px 14px; border-radius: 20px; font-size: 13px; background: transparent; border-color: #22355e; }
.af-tab.on { background: #1b3366; border-color: var(--acc); }
.af-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.af { background: var(--bg2); border: 1px solid var(--line); border-radius: 12px; padding: 13px 14px; transition: transform .2s, border-color .2s, box-shadow .2s, opacity .3s; }
.af:hover { transform: translateY(-3px); border-color: #2f4c84; box-shadow: 0 12px 26px -18px rgba(59,140,255,.6); }
.af b { display: flex; align-items: center; gap: 8px; font-size: 14px; margin-bottom: 3px; }
.af b i { font-style: normal; width: 28px; height: 28px; border-radius: 8px; background: #14264a; display: inline-grid; place-items: center; font-size: 14px; flex: none; }
.af span { color: var(--mut); font-size: 12.5px; line-height: 1.7; display: block; }
.af.hide { display: none; }
.af.pop { animation: rowIn .35s ease both; }

/* ===== v3.10 — اللوجو الجديد والمحاكاة الجديدة ===== */
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-ic { width: 34px; height: 34px; border-radius: 9px; box-shadow: 0 6px 18px rgba(59,140,255,.35); }
.dl-sec { margin: 40px 0 10px; }
.dl-sec .card.auth { margin-left: auto; margin-right: auto; }

.glass-logo { position: relative; flex: none; display: inline-block; width: 30px; height: 30px; border-radius: 9px; overflow: hidden; color: #fff; isolation: isolate;
  background: radial-gradient(120% 90% at 20% 0%, rgba(255,255,255,.55) 0%, rgba(255,255,255,.12) 38%, rgba(255,255,255,0) 60%),
    radial-gradient(90% 70% at 85% 110%, rgba(140,200,255,.55) 0%, rgba(140,200,255,0) 60%),
    linear-gradient(155deg, rgba(110,170,255,.85) 0%, rgba(59,140,255,.62) 50%, rgba(37,99,235,.78) 100%);
  border: 1px solid rgba(255,255,255,.38);
  box-shadow: inset 0 1px 1.5px rgba(255,255,255,.75), inset 0 -1px 2px rgba(10,40,120,.35), inset 0 -10px 18px rgba(20,60,160,.25), 0 6px 18px rgba(59,140,255,.42);
  -webkit-backdrop-filter: blur(12px) saturate(180%); backdrop-filter: blur(12px) saturate(180%); }
.glass-logo svg { position: absolute; inset: 0; margin: auto; width: 72%; height: 44%; overflow: visible; filter: drop-shadow(0 1px 1.2px rgba(0,30,100,.45)) drop-shadow(0 0 5px rgba(255,255,255,.3)); }

/* رأس البانل في المحاكاة */
.sp-hd { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.sp-hd .glass-logo { width: 26px; height: 26px; border-radius: 8px; }
.sp-hd b { flex: 1; font-size: 13px; direction: ltr; text-align: left; color: #fff; }
.sp-hd b em { font-style: normal; color: var(--acc2); }
.sp-tab.sp-ic { padding: 0; width: 28px; height: 28px; display: inline-grid; place-items: center; border-radius: 8px; }
.sp-tab svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sp-tab svg.mk { width: 22px; height: 15px; }
.sp-tabs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 3px; padding: 3px; border: 1px solid #1d2c4d; border-radius: 10px; background: #0d1830; }
.sp-tabs .sp-tab { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 5px 1px; font-size: 10.5px; border: 1px solid transparent; border-radius: 7px; color: var(--mut); min-width: 0; }
.sp-tabs .sp-tab span { white-space: nowrap; }
.sp-tabs .sp-tab.on { background: linear-gradient(180deg, #2f6fe0, #3b8cff); color: #fff; border-color: transparent; }
.sp-sub, .sp-seg { display: flex; gap: 3px; padding: 3px; margin: 0 0 8px; border: 1px solid #1d2c4d; border-radius: 9px; background: #0a1426; }
.sp-sub button, .sp-seg button { flex: 1; padding: 5px 4px; font-size: 11px; background: transparent; border-color: transparent; color: var(--mut); white-space: nowrap; }
.sp-sub button.on { background: #14264a; border-color: #2a4170; color: #fff; }
.sp-seg button.on { background: linear-gradient(180deg, #2f6fe0, #3b8cff); color: #fff; }
.sp-note { font-size: 11.5px; margin: 0 0 8px; line-height: 1.6; }
button.wide { display: block; width: 100%; margin-top: 6px; }
.sp-sum { margin-top: 8px; padding: 7px 9px; border-radius: 8px; background: #0a1426; border: 1px solid #1d2c4d; font-size: 12px; }
.bt-stats { display: flex; gap: 5px; margin-top: 8px; }
.bt-stats > div { flex: 1; text-align: center; padding: 5px 2px; border-radius: 8px; background: #0a1426; border: 1px solid #1d2c4d; }
.bt-stats b { display: block; font-size: 15px; color: #fff; line-height: 1.2; } .bt-stats small { font-size: 10px; color: var(--dim); }
.pt-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin: 8px 0; }
.pt-tile { display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 3px; font-size: 10px; background: #0b1528; border-color: #1d2c4d; border-radius: 7px; }
.pt-tile canvas { width: 100%; height: auto; }
.pt-tile.on { border-color: var(--acc); background: #12234a; }
#ptText, #chTitle { width: 100%; padding: 6px 9px; font-size: 12px; }
.lg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; margin: 8px 0 4px; }
.lg-tile { display: flex; flex-direction: column; gap: 3px; padding: 4px; font-size: 10.5px; background: #0b1528; border-color: #1d2c4d; border-radius: 8px; }
.lg-tile.on { border-color: var(--acc); background: #12234a; }
.lg-box { height: 40px; border-radius: 6px; display: grid; place-items: center; overflow: hidden; background: radial-gradient(70% 90% at 50% 50%, #13244a, #060c18); }
.lg-mini { width: 24px; height: 24px; border-radius: 7px; will-change: transform, opacity; }
.plat { display: flex; gap: 5px; }
.plat button { flex: 1; display: flex; flex-direction: column; align-items: center; padding: 7px 2px; background: #0b1528; border-color: #1d2c4d; border-radius: 9px; }
.plat button b { font-size: 12px; direction: ltr; } .plat button small { font-size: 10px; color: var(--dim); }
.plat button.on { border-color: var(--acc); background: #12234a; }

/* الشاشة */
.mon-fx { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 2; }
.mon-logo { position: absolute; top: 9%; right: 6%; z-index: 3; width: 9%; height: auto; aspect-ratio: 1; min-width: 30px; border-radius: 22%; transform-origin: 50% 50%; will-change: transform, opacity; }
.mon-logo.hidden { display: none; }
.sim.has-guide .sim-mon::after { display: none; }

/* التايم لاين: V3 فوق، و A2 للمزيكا */
.tl-labels { grid-template-rows: repeat(5, 24px) !important; line-height: 24px !important; }
.tl-area { grid-template-rows: repeat(5, 24px) !important; }
.oclip { position: absolute; top: 0; bottom: 0; border-radius: 4px; font-size: 10px; color: #fff; padding: 0 6px; line-height: 24px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  background: linear-gradient(180deg, #6d4bd8, #5236b0); box-shadow: inset 0 0 0 1px rgba(255,255,255,.15); }
.oclip.k-path { background: linear-gradient(180deg, #1aa6a6, #12807f); }
.oclip.k-guide { background: repeating-linear-gradient(135deg, #8a2a35 0 6px, #6e2029 6px 12px); }
.oclip.drop { animation: clipDrop .4s ease both; }
.oclip .kf { position: absolute; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; background: #ffd27a; transform: rotate(45deg); box-shadow: 0 0 0 1px rgba(0,0,0,.4); }
.mclip { position: absolute; inset: 0; border-radius: 4px; background: linear-gradient(180deg, #1f6b4f, #17543e); font-size: 10px; color: #c9f5df; padding: 0 6px; line-height: 24px; overflow: hidden;
  background-image: repeating-linear-gradient(90deg, rgba(255,255,255,.08) 0 2px, transparent 2px 9px), linear-gradient(180deg, #1f6b4f, #17543e); }
.tl-sil { position: absolute; inset: 0; pointer-events: none; }
.tl-sil i { position: absolute; top: 0; bottom: 0; background: repeating-linear-gradient(135deg, rgba(229,72,77,.55) 0 4px, rgba(229,72,77,.25) 4px 8px); animation: capFade .3s ease both; }
.tl-beats { position: absolute; inset: -4px 0 -4px 0; z-index: 3; pointer-events: none; }
.tl-beats i { position: absolute; top: 0; bottom: 0; width: 1px; margin-right: -.5px; background: rgba(255,210,122,.35); animation: capFade .3s ease both; }
.tl-beats i.s { background: rgba(255,91,91,.55); }
.tl-beats.on i { background: #ffd27a; box-shadow: 0 0 4px rgba(255,210,122,.6); }
.tl-beats.on i.s { background: #ff5b5b; box-shadow: 0 0 4px rgba(255,91,91,.7); width: 2px; }
@media (max-width: 860px) { .sp-tabs .sp-tab { font-size: 10px; } }
#chAddCti { flex: none; white-space: nowrap; }
#chTitle { flex: 1; min-width: 0; }
.oclip.k-logo span { margin-right: 12%; }
.mon-logo { width: 7%; }
.sim.reels .mon-logo { width: 13%; top: 12%; right: 14%; }

/* ===== زرار اللغة + English ===== */
.langbtn { margin-inline-start: 10px; padding: 7px 14px; border-radius: 10px; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer;
  color: #cfe0ff; background: rgba(59,140,255,.1); border: 1px solid rgba(111,168,255,.35); }
.langbtn:hover { color: #fff; border-color: #3b8cff; }
.langbtn.float { position: fixed; top: 14px; inset-inline-end: 14px; z-index: 99; }
html.i18n-wait body { visibility: hidden; }
html.lang-en .hero2, html.lang-en .steps, html.lang-en .tbl th, html.lang-en .ac-head .dim, html.lang-en input[type="email"], html.lang-en input[type="password"] { text-align: left; }
html.lang-en .steps { padding-right: 0; padding-left: 18px; }
html.lang-en body { font-family: "Segoe UI", "Cairo", Tahoma, sans-serif; }
/* ويندوز وماك */
.os-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.os-row.center { justify-content: center; margin-top: 10px; }
.os { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 10px; font-size: 13px; font-weight: 700; color: #e3ebfa;
  background: rgba(255,255,255,.05); border: 1px solid rgba(111,168,255,.28); }
.os svg { width: 16px; height: 16px; fill: none; stroke: #6fa8ff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.os-note { font-size: 12.5px; color: var(--mut); }

/* ===== أزرار التحميل لكل نظام ===== */
.dl-os { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin: 6px 0 8px; }
.dl-btn { flex: 1 1 200px; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 14px; cursor: pointer; text-align: start;
  background: rgba(255,255,255,.04); border: 1px solid rgba(111,168,255,.28); color: #dbe7ff; font: inherit; transition: transform .15s, background .15s, border-color .15s; }
.dl-btn:hover { transform: translateY(-1px); border-color: rgba(111,168,255,.6); }
.dl-btn svg { width: 28px; height: 28px; fill: currentColor; flex: none; }
.dl-btn span { display: flex; flex-direction: column; line-height: 1.35; }
.dl-btn b { font-size: 15px; }
.dl-btn small { font-size: 11.5px; opacity: .75; }
.dl-btn.main { background: linear-gradient(135deg, #3b8cff, #2563eb); border-color: transparent; color: #fff; box-shadow: 0 10px 28px rgba(59,140,255,.35); }
.dl-btn:disabled { opacity: .6; cursor: wait; }
label.up { display: inline-block; padding: 3px 9px; border-radius: 8px; font-size: 12px; font-weight: 700; cursor: pointer; color: #ffcf8a; border: 1px dashed rgba(255,190,90,.55); background: rgba(255,170,60,.08); margin: 0; }
label.up:hover { background: rgba(255,170,60,.16); }
td.inst { white-space: nowrap; }

/* ===== محاكاة التابات الجديدة ===== */
.mon-media { position: absolute; inset: 0; z-index: 3; background: #000; }
.mon-media video, .mon-media canvas, .mon-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sim.reels.sim2-on .sim-mon { aspect-ratio: 16 / 9; width: 100%; height: auto; }
.sim.reels.sim2-on .sim-mon::after { display: none; }
.sim.sim2-on .mon-cap, .sim.sim2-on .mon-logo { display: none; }
.mon-video { transform-origin: 50% 38%; }
.mon-video.zm-smooth { animation: zmSmooth 6s ease-in-out infinite; }
.mon-video.zm-punch { animation: zmPunch 3s steps(1, end) infinite; }
.mon-video.zm-mix { animation: zmMix 6s ease-in-out infinite; }
@keyframes zmSmooth { 0%, 100% { transform: scale(1); } 30%, 55% { transform: scale(var(--zm, 1.15)); } }
@keyframes zmPunch { 0% { transform: scale(1); } 40% { transform: scale(var(--zm, 1.15)); } 75% { transform: scale(1); } }
@keyframes zmMix { 0% { transform: scale(1); } 20% { transform: scale(var(--zm, 1.15)); } 45% { transform: scale(1); } 50% { transform: scale(calc(var(--zm, 1.15) + .05)); } 80% { transform: scale(1); } }
#tlOver .zk { position: absolute; top: 50%; width: 7px; height: 7px; margin: -3.5px -3.5px 0 0; background: #ffcf5a; transform: rotate(45deg); box-shadow: 0 0 6px rgba(255,207,90,.7); }
#tlOver { position: relative; }
.s2clip { position: absolute; inset: 2px 8% 2px 30%; }
.s2-split { background: linear-gradient(180deg, #7a4be0, #5a2fc0) !important; }
.s2-glass { background: linear-gradient(180deg, #4f9bff, #2f6fe0) !important; }
.s2-car { background: linear-gradient(180deg, #2bb3c9, #1b7f91) !important; }
.s2-audio { background: linear-gradient(180deg, #31b97a, #1f8a58) !important; }
.spm-sim { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; max-height: 190px; overflow: auto; margin-bottom: 6px; }
.spm-t { display: flex; flex-direction: column; gap: 2px; padding: 3px; border-radius: 7px; background: #0a1426; border: 1px solid #1d2c4d; color: var(--mut); font-size: 10px; cursor: pointer; }
.spm-t video { width: 100%; aspect-ratio: 16 / 9; border-radius: 4px; display: block; background: #000; object-fit: cover; }
.spm-t b { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.spm-t.on { border-color: var(--acc); color: #fff; background: #12234a; }
.gl-sim-chips { display: flex; flex-wrap: wrap; gap: 3px; margin-bottom: 6px; }
.gl-sim-chips button { padding: 3px 8px; font-size: 10.5px; border-radius: 12px; background: #0a1426; border: 1px solid #1d2c4d; color: var(--mut); }
.gl-sim-chips button.on { border-color: var(--acc, #3b8cff); color: #fff; background: rgba(59,140,255,.14); }
#glTxt { width: 100%; margin-bottom: 6px; }
.sp-tabs { grid-template-columns: repeat(6, 1fr); }

/* ===== صفحة الشرح ===== */
.g-top { display: flex; gap: 14px; font-size: 14px; font-weight: 700; }
.g-top a { color: var(--mut); text-decoration: none; }
.g-top a:hover { color: var(--acc2); }
.g-hero { text-align: center; padding: 26px 0 30px; }
.g-hero h1 { font-size: clamp(26px, 4.4vw, 40px); margin: 12px 0 8px; }
.g-hero p { max-width: 680px; margin: 0 auto; line-height: 1.8; }
.g-layout { display: grid; grid-template-columns: 220px 1fr; gap: 26px; align-items: start; }
.g-toc { position: sticky; top: 14px; display: flex; flex-direction: column; gap: 2px; padding: 14px; border-radius: 14px; background: var(--bg2); border: 1px solid var(--line); max-height: calc(100vh - 28px); overflow: auto; }
.g-toc b { font-size: 13px; color: var(--dim); margin-bottom: 6px; }
.g-toc a { padding: 6px 10px; border-radius: 8px; color: var(--mut); text-decoration: none; font-size: 13.5px; font-weight: 600; }
.g-toc a:hover { background: rgba(59,140,255,.08); color: #fff; }
.g-toc a.on { background: rgba(59,140,255,.16); color: #fff; box-shadow: inset -3px 0 0 var(--acc); }
.g-main { min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.g-sec { background: var(--bg2); border: 1px solid var(--line); border-radius: 16px; padding: 22px 24px; scroll-margin-top: 14px; line-height: 1.85; }
.g-sec h2 { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; font-size: 24px; }
.g-sec h2 i { font-style: normal; display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: linear-gradient(155deg, rgba(110,170,255,.9), rgba(37,99,235,.85)); font-size: 19px; }
.g-sec h3 { margin: 18px 0 6px; font-size: 17px; color: #dbe7ff; }
.g-sec ol, .g-sec ul { padding-inline-start: 22px; margin: 6px 0; }
.g-sec li { margin: 4px 0; }
.g-sec code { direction: ltr; unicode-bidi: embed; padding: 1px 6px; border-radius: 5px; background: rgba(111,168,255,.12); font-size: .92em; }
.g-try { display: inline-block; margin: 4px 0 6px; padding: 6px 14px; border-radius: 20px; font-size: 13px; font-weight: 700; text-decoration: none; color: #fff; background: linear-gradient(135deg, #3b8cff, #2563eb); }
.g-tbl { width: 100%; border-collapse: collapse; margin: 8px 0; font-size: 14px; }
.g-tbl th, .g-tbl td { text-align: start; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.g-tbl th { color: var(--dim); font-size: 12.5px; font-weight: 700; }
.g-tbl td:first-child { font-weight: 700; color: #dbe7ff; white-space: nowrap; }
.g-tip, .g-warn { margin: 12px 0 4px; padding: 10px 14px; border-radius: 12px; font-size: 14px; line-height: 1.8; background: rgba(59,140,255,.08); border: 1px solid rgba(59,140,255,.28); }
.g-warn { background: rgba(255,170,60,.08); border-color: rgba(255,170,60,.35); }
.g-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 10px 0; }
.g-box { padding: 12px 16px; border-radius: 12px; background: rgba(255,255,255,.03); border: 1px solid var(--line); }
.g-box h3 { margin-top: 0; }
.g-media { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 10px 0; }
.g-media figure { margin: 0; }
.g-media video { width: 100%; aspect-ratio: 16 / 9; border-radius: 10px; display: block; background: #000; object-fit: cover; border: 1px solid var(--line); }
.g-media figcaption { text-align: center; font-size: 12.5px; color: var(--mut); margin-top: 4px; }
.g-sec details { padding: 10px 14px; border-radius: 10px; background: rgba(255,255,255,.03); border: 1px solid var(--line); margin: 8px 0; }
.g-sec summary { cursor: pointer; font-weight: 700; }
.g-sec details p { margin: 8px 0 0; }
@media (max-width: 860px) {
  .g-layout { grid-template-columns: 1fr; }
  .g-toc { position: static; flex-direction: row; flex-wrap: wrap; max-height: none; }
  .g-toc b { width: 100%; }
  .g-cols, .g-media { grid-template-columns: 1fr; }
  .g-tbl td:first-child { white-space: normal; }
  .g-sec { padding: 16px; }
}
.btn.ghost-btn { background: rgba(255,255,255,.05); border: 1px solid rgba(111,168,255,.4); color: #dbe7ff; }
.btn.ghost-btn:hover { border-color: var(--acc); }

/* ===== محاكاة 3.18 ===== */
.tr-sim { max-height: 120px; overflow-y: auto; }
.pod-sim { display: flex; flex-direction: column; gap: 4px; margin: 6px 0; font-size: 11px; }
.pod-sim div { display: flex; align-items: center; gap: 6px; padding: 5px 8px; border-radius: 8px; background: #0a1426; border: 1px solid #1d2c4d; }
.pod-sim i { width: 8px; height: 8px; border-radius: 50%; }
.pod-sim span { color: #7f93b8; } .pod-sim b { margin-inline-start: auto; font-weight: 700; }
.pod-sim-strip { display: block; width: 100%; height: 55px; border-radius: 8px; border: 1px solid #1d2c4d; margin-bottom: 6px; }
#arCol { display: flex; gap: 6px; margin: 6px 0; }
#arCol i { width: 20px; height: 20px; border-radius: 50%; cursor: pointer; border: 2px solid #1d2c4d; }
#arCol i.on { border-color: #fff; }
.org-sim { position: absolute; inset: 0; overflow: auto; background: #1d1d1d; color: #d8d8d8; font: 12px/1.6 "Segoe UI", Tahoma, sans-serif; direction: ltr; text-align: left; padding: 8px 10px; }
.org-h { font-weight: 700; color: #fff; border-bottom: 1px solid #333; padding-bottom: 4px; margin-bottom: 4px; }
.org-f { padding: 1px 6px; border-radius: 3px; animation: orgIn .4s both; }
.org-f.in { padding-left: 24px; color: #bbb; }
.org-b { margin-top: 4px; padding: 2px 6px; font-weight: 700; color: #fff; border-left: 3px solid #3b8cff; background: rgba(59,140,255,.08); animation: orgIn .4s both; }
.org-b-a { border-color: #3fbf5a; } .org-b-i { border-color: #f2b51d; } .org-b-g { border-color: #9b6bff; } .org-b-s { border-color: #3bd6e6; } .org-b-o { border-color: #e5484d; }
@keyframes orgIn { from { opacity: 0; transform: translateX(-6px); } to { opacity: 1; transform: none; } }

.pr-sim-list { display: flex; flex-direction: column; gap: 4px; margin: 6px 0; }
.pr-sim-list div { display: flex; gap: 6px; align-items: flex-start; padding: 6px 8px; border-radius: 8px; background: #0a1426; border: 1px solid #1d2c4d; font-size: 11px; line-height: 1.5; animation: orgIn .4s both; }
.pr-sim-list b { flex: none; width: 18px; height: 18px; border-radius: 50%; background: rgba(59,140,255,.2); display: flex; align-items: center; justify-content: center; font-size: 10px; }
.pr-sim-list i { font-style: normal; font-size: 9.5px; font-weight: 800; padding: 1px 6px; border-radius: 8px; background: rgba(242,181,29,.2); color: #f6cf62; flex: none; }

/* ---------- القايمة فوق ---------- */
header { position: relative; }
.nav { display: flex; gap: 4px; align-items: center; margin-inline-start: auto; }
.nav a { color: var(--mut); font-size: 14px; font-weight: 700; padding: 6px 10px; border-radius: 8px; }
.nav a:hover { color: var(--tx); background: rgba(255,255,255,.05); text-decoration: none; }
.nav-cta { padding: 7px 16px; }
@media (max-width: 760px) {
  .nav { order: 3; width: 100%; margin: 0; overflow-x: auto; scrollbar-width: none; justify-content: center; }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { white-space: nowrap; font-size: 13px; padding: 5px 9px; }
  .nav-cta { margin-inline-start: auto; }
}

/* ---------- الأسعار ---------- */
.price-sec { margin: 60px 0 10px; scroll-margin-top: 20px; }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 340px)); justify-content: center; gap: 18px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 30px 24px 24px;
  background: var(--bg2); border: 1px solid var(--line); border-radius: 18px; }
.plan.best { border-color: rgba(59,140,255,.7); background: linear-gradient(180deg, rgba(59,140,255,.14), rgba(59,140,255,.03) 55%), var(--bg2);
  box-shadow: 0 18px 50px rgba(59,140,255,.18), inset 0 1px 0 rgba(255,255,255,.06); }
.pl-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: 12px; font-weight: 800; color: #fff;
  background: linear-gradient(90deg, #2f6fe0, #3b8cff); padding: 3px 14px; border-radius: 99px; box-shadow: 0 6px 18px rgba(59,140,255,.4); }
.pl-name { font-size: 17px; font-weight: 800; color: var(--mut); }
.pl-price { display: flex; align-items: baseline; justify-content: center; gap: 8px; margin: 4px 0 0; }
.pl-price b { font-size: 52px; line-height: 1.1; font-weight: 800; letter-spacing: -1px; color: var(--tx); }
.pl-price span { font-size: 16px; font-weight: 700; color: var(--mut); }
.pl-price s { font-size: 18px; color: var(--dim); font-weight: 700; text-decoration-thickness: 2px; }
.pl-per { color: var(--mut); font-size: 14px; }
.pl-note { color: var(--dim); font-size: 13px; min-height: 22px; margin-top: 2px; }
.pl-save { color: var(--ok); font-size: 13px; font-weight: 800; background: rgba(143,227,165,.1); border: 1px solid rgba(143,227,165,.25); padding: 1px 12px; border-radius: 99px; margin-top: 2px; }
.plan .pl-btn { width: 100%; margin-top: auto; padding: 11px; font-size: 15px; }
.plan .pl-btn { margin-top: 18px; }
.pl-inc { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; padding: 0; margin: 22px auto 0; max-width: 940px; }
.pl-inc li { color: var(--tx); font-size: 14px; font-weight: 600; }
.pl-inc li::before { content: "✓"; color: var(--ok); font-weight: 800; margin-inline-end: 6px; }
.pl-pay { text-align: center; margin: 12px auto 0; max-width: 760px; }
@media (max-width: 640px) { .plans { grid-template-columns: 1fr; } .plan.best { order: -1; } }

/* ---------- الأسئلة ---------- */
.faq-sec { margin: 60px 0 10px; scroll-margin-top: 20px; }
.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 8px; }
.faq details { background: var(--bg2); border: 1px solid var(--line); border-radius: 12px; padding: 0 18px; }
.faq details[open] { border-color: #2a4170; }
.faq summary { cursor: pointer; list-style: none; padding: 14px 0; font-weight: 700; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--acc2); font-size: 20px; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 14px; color: var(--mut); font-size: 14px; }

/* ---------- الباقات جوه كارت الحساب ---------- */
.a-plans { margin-top: 14px; }
.a-pl-btns { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 8px; }
.a-pl-btns .btn { flex: 1 1 160px; }
#download, #features, #demo { scroll-margin-top: 20px; }
.logo .adm { color: var(--mut); font-size: 13px; font-weight: 700; margin-left: 2px; }

/* ---------- الأدمن: الإيميلات ---------- */
.mail-head { display: flex; flex-direction: column; gap: 2px; margin-bottom: 12px; }
.mail-head b { font-size: 16px; }
.chk-inline { display: inline-flex; align-items: center; gap: 6px; margin: 0; color: var(--tx); font-size: 14px; cursor: pointer; }
.chk-inline input { width: auto; margin: 0; }
.mail-stats { margin: 2px 0 8px; font-size: 14px; }
#mList { font-family: ui-monospace, Consolas, monospace; font-size: 12.5px; resize: vertical; }
.mail-tip { margin-top: 10px; line-height: 1.7; }
.mkt-chk { display: flex; align-items: flex-start; gap: 8px; margin: 12px 0 0; color: var(--mut); font-size: 13px; cursor: pointer; text-align: right; }
.mkt-chk input { width: auto; margin: 4px 0 0; flex: none; }
.mkt-note { margin-top: 10px; text-align: center; line-height: 1.6; }
