/* LORA داخل الموقع: نفس style.css الخاص بـ LORA2، مع خلفية شفافة تسمح بظهور الصفحة خلفه */
html, body { background: transparent !important; overflow: hidden; }
body { margin: 0; }
#stack { padding: 0 30px 30px; }
@media (max-width: 460px) {
  #stack { padding: 0 10px 20px; }
  .bar, .card, .toast { width: calc(100vw - 20px) !important; }
  body.expanded .card, body.expanded .bar { width: calc(100vw - 20px) !important; }
}
/* الموقع لا يحتاج الميكروفون ولا الإرفاق */
#mic-btn, #attach-btn { display: none !important; }

/* ---------- أقسام الموقع داخل لورا ---------- */
.pg { display: flex; flex-direction: column; gap: 10px; padding-bottom: 8px; }
.pg-lead { margin: 2px 0 6px; font-size: 15.5px; font-weight: 600; line-height: 1.6; }
.pg-p { margin: 0; font-size: 14px; line-height: 1.7; color: #444; }
.pg-label { margin-top: 6px; font-size: 12.5px; font-weight: 700; color: var(--muted); }
.pg-card { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border-radius: 18px; background: #f6f6f6; }
.pg-card b { display: block; font-size: 14.5px; }
.pg-card p { margin: 3px 0 0; font-size: 13.5px; line-height: 1.55; color: #555; }
.pg-ico { flex: none; width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; background: #111; color: #fff; }
.pg-h { margin: 14px 0 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: 16px; font-weight: 700; }
.pg-h:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.pg-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; }
.pg-grid > div { display: flex; flex-direction: column; gap: 4px; padding: 14px 12px; border-radius: 16px; background: #f6f6f6; }
.pg-grid i { display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 4px; border-radius: 50%; background: #111; color: #fff; }
.pg-grid i svg { width: 17px; height: 17px; }
.pg-grid b { font-size: 14px; }
.pg-grid span { font-size: 12.5px; line-height: 1.55; color: #666; }
.pg-cta { display: flex; flex-direction: column; align-items: center; gap: 6px; margin-top: 8px; padding: 20px 16px; border-radius: 20px; background: #111; color: #fff; text-align: center; }
.pg-cta b { font-size: 16px; }
.pg-cta span { font-size: 13px; color: #ccc; }
.pg-cta em { margin-top: 6px; padding: 9px 18px; border-radius: 999px; background: #fff; color: #111; font-size: 13.5px; font-weight: 700; text-decoration: none; }
/* ---- ألوان وحركة لصفحات الخدمات الطويلة ---- */
.pg { --c1: #14b8a6; --c2: #6366f1; --c3: #f59e0b; --c4: #ec4899; }
@keyframes pgUp { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes pgFlow { 0% { background-position: 0% 50%; } 100% { background-position: 200% 50%; } }
@keyframes pgShine { from { transform: translateX(-120%) skewX(-20deg); } to { transform: translateX(220%) skewX(-20deg); } }
@keyframes pgPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(255,255,255,.55); } 50% { box-shadow: 0 0 0 8px rgba(255,255,255,0); } }
.pg > * { animation: pgUp .55s cubic-bezier(.2,.8,.2,1) both; }
.pg > *:nth-child(2) { animation-delay: .05s } .pg > *:nth-child(3) { animation-delay: .1s } .pg > *:nth-child(4) { animation-delay: .15s }
.pg > *:nth-child(5) { animation-delay: .2s } .pg > *:nth-child(6) { animation-delay: .25s } .pg > *:nth-child(7) { animation-delay: .3s }
.pg > *:nth-child(8) { animation-delay: .35s } .pg > *:nth-child(n+9) { animation-delay: .4s }

.pg-h { background: linear-gradient(90deg, var(--c1), var(--c2), var(--c4), var(--c1)); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent; animation: pgUp .55s both, pgFlow 6s linear infinite; }

.pg-grid > div { position: relative; overflow: hidden; background: #fff; border: 1px solid #eee; box-shadow: 0 4px 14px rgba(20,20,40,.05); transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s; animation: pgUp .55s cubic-bezier(.2,.8,.2,1) both; }
.pg-grid > div:nth-child(1) { --c: var(--c1); } .pg-grid > div:nth-child(2) { --c: var(--c2); animation-delay: .08s; }
.pg-grid > div:nth-child(3) { --c: var(--c3); animation-delay: .16s; } .pg-grid > div:nth-child(4) { --c: var(--c4); animation-delay: .24s; }
.pg-grid > div::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--c); transform: scaleX(0); transform-origin: right; transition: transform .4s; }
.pg-grid > div:hover { transform: translateY(-4px); box-shadow: 0 12px 28px color-mix(in srgb, var(--c) 25%, transparent); }
.pg-grid > div:hover::before { transform: scaleX(1); }
.pg-grid i { background: linear-gradient(135deg, var(--c), color-mix(in srgb, var(--c) 55%, #fff)); box-shadow: 0 6px 14px color-mix(in srgb, var(--c) 40%, transparent); transition: transform .4s cubic-bezier(.3,1.6,.5,1); }
.pg-grid > div:hover i { transform: rotate(-8deg) scale(1.12); }

.pg-steps > div { background: #fff; transition: transform .3s, border-color .3s; animation: pgUp .55s both; }
.pg-steps > div:nth-child(2) { animation-delay: .1s } .pg-steps > div:nth-child(3) { animation-delay: .2s } .pg-steps > div:nth-child(4) { animation-delay: .3s }
.pg-steps > div:hover { transform: translateX(-4px); border-color: var(--c1); }
.pg .pg-steps i { background: linear-gradient(135deg, var(--c1), var(--c2)); box-shadow: 0 4px 12px rgba(99,102,241,.35); }

.pg-cta { position: relative; overflow: hidden; background: linear-gradient(120deg, var(--c1), var(--c2), var(--c4), var(--c1)); background-size: 300% 300%; animation: pgUp .55s both, pgFlow 8s linear infinite; box-shadow: 0 12px 30px rgba(99,102,241,.3); }
.pg-cta::after { content: ""; position: absolute; inset: 0; width: 40%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent); animation: pgShine 3.2s ease-in-out infinite; pointer-events: none; }
.pg-cta span { color: rgba(255,255,255,.88); }
.pg-cta em { position: relative; z-index: 1; animation: pgPulse 2.2s infinite; transition: transform .25s; }
.pg-cta:hover em { transform: scale(1.06); }

.pg-item .pg-ic { transition: transform .3s, background .3s, color .3s; }
.pg-item:hover .pg-ic { transform: scale(1.1) rotate(-6deg); background: linear-gradient(135deg, #14b8a6, #6366f1); color: #fff; }

@media (prefers-reduced-motion: reduce) { .pg *, .pg *::before, .pg *::after { animation: none !important; transition: none !important; } }
.pg-row {display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.pg-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; padding: 7px 14px; border-radius: 999px; background: #111; color: #fff; font-size: 13px; font-weight: 700; text-decoration: none; }
.pg-link svg { width: 15px; height: 15px; }
[dir="rtl"] .pg-link svg { transform: scaleX(-1); }
.pg-steps { display: grid; gap: 8px; }
.pg-steps > div { display: grid; grid-template-columns: 34px 1fr; column-gap: 10px; align-items: center; padding: 10px 12px; border-radius: 16px; border: 1px solid var(--line); }
.pg-steps i { grid-row: span 2; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #111; color: #fff; font-style: normal; font-weight: 700; }
.pg-steps span { font-size: 13px; color: #666; }
.pg-code { margin: 0; padding: 14px 16px; border-radius: 16px; background: #111; color: #eee; font: 12.5px/1.7 ui-monospace, Consolas, monospace; overflow-x: auto; text-align: left; white-space: pre; }
.pg-code .k { color: #c49bff; } .pg-code .s { color: #f1b35c; } .pg-code .c { color: #777; }
.pg-soon { padding: 12px 14px; border: 1.5px dashed #d9d9d9; border-radius: 16px; font-size: 13.5px; color: #666; }
.pg-prices { display: grid; gap: 10px; }
.pg-prices > div { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border-radius: 20px; border: 1px solid var(--line); }
.pg-prices > div.pro { background: #111; color: #fff; border-color: #111; }
.pg-prices > div.pro span { color: #bbb; }
.pg-prices > div.pro .pg-link { background: #fff; color: #111; }
.pg-prices b { font-size: 15px; } .pg-prices strong { font-size: 26px; } .pg-prices strong small { font-size: 13px; font-weight: 500; opacity: .7; }
.pg-prices span { font-size: 13px; color: #666; line-height: 1.6; }
.pg-prices .pg-link { align-self: flex-start; }
.pg-timeline { display: flex; flex-direction: column; border-inline-start: 2px solid #eee; margin-inline-start: 6px; }
.pg-timeline > div { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 4px 16px 16px; }
.pg-timeline > div::before { content: ""; position: absolute; inset-inline-start: -7px; top: 8px; width: 12px; height: 12px; border-radius: 50%; background: #111; }
.pg-timeline time { font-size: 12px; color: var(--muted); } .pg-timeline b { font-size: 14.5px; } .pg-timeline span { font-size: 13.5px; color: #555; }
.pg-list { display: flex; flex-direction: column; }
.pg-item { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; padding: 11px 6px; border-bottom: 1px solid var(--line); text-align: start; border-radius: 10px; }
.pg-item:hover { background: #f5f5f5; }
.pg-item b { display: block; font-size: 14.5px; font-weight: 600; }
.pg-item small { display: block; font-size: 12.5px; color: #777; margin-top: 1px; }
.pg-item > svg { flex: none; color: #999; }
.pg-item .pg-t { display: flex; align-items: center; gap: 10px; }
.pg-item .pg-ic { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: #f2f2f2; color: #444; }
.pg-item .pg-ic svg { width: 15px; height: 15px; }
[dir="rtl"] .pg-item > svg, [dir="rtl"] button.pg-link svg { transform: scaleX(-1); }
.pg-card .pg-ico { width: 22px; height: 22px; border-radius: 50%; margin-top: 2px; }
#site-q { margin: 0 0 6px; }

/* الشخصية: ملمس ناعم ثلاثي الأبعاد، توهّج حولها، وخدود وردية */
.notch { background: radial-gradient(120% 90% at 50% 10%, #ffffff 0%, #f6f5fa 55%, #e7e5f0 100%) !important;
  box-shadow: 0 0 0 1px #ffffffcc inset, inset 0 -10px 22px #c9c4dc66, inset 0 6px 14px #ffffff, 0 0 26px #dfe6ff66, 0 0 70px #b9c6ff2e, 0 10px 26px #00000055 !important; }
.notch::before, .notch::after { content: ""; position: absolute; z-index: 2; top: 58%; width: 48px; height: 26px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, #ff9aa866, transparent); filter: blur(2px); }
.notch::before { left: 15%; } .notch::after { right: 15%; }
/* الشريط والبطاقة بنفس أبيض الشخصية الناعم وتوهّجها */
.bar, .card, .toast { background: radial-gradient(120% 140% at 50% 0%, #ffffff 0%, #f6f5fa 55%, #ebe9f2 100%) !important;
  box-shadow: 0 0 0 1px #ffffffcc inset, inset 0 -6px 14px #c9c4dc55, inset 0 4px 10px #ffffff, 0 0 22px #dfe6ff55, 0 0 60px #b9c6ff26, 0 8px 22px #00000055 !important; }

/* الكارت ما يطلع برّه الشاشة، عشان آخر الصفحة يبان لما تنزل */
.card { max-height: min(430px, calc(100vh - 150px)) !important; }
body.expanded .card { max-height: min(640px, calc(100vh - 150px)) !important; }

/* القايمة الرئيسية: أيقونات ملوّنة وحركة */
@keyframes menuIn { from { opacity: 0; transform: translateY(10px) scale(.96); } to { opacity: 1; transform: none; } }
.menu button { --c: #14b8a6; animation: menuIn .45s cubic-bezier(.2,.8,.2,1) both; transition: background .25s, transform .25s; }
.menu button:nth-child(2) { --c: #6366f1; animation-delay: .04s } .menu button:nth-child(3) { --c: #f59e0b; animation-delay: .08s }
.menu button:nth-child(4) { --c: #ec4899; animation-delay: .12s } .menu button:nth-child(5) { --c: #0ea5e9; animation-delay: .16s }
.menu button:nth-child(6) { --c: #8b5cf6; animation-delay: .2s } .menu button:nth-child(7) { --c: #10b981; animation-delay: .24s }
.menu button > svg { box-sizing: border-box; flex: none; width: 36px; height: 36px; padding: 8px; border-radius: 11px; color: #fff;
  background: linear-gradient(135deg, var(--c), color-mix(in srgb, var(--c) 55%, #fff)); box-shadow: 0 5px 12px color-mix(in srgb, var(--c) 35%, transparent);
  transition: transform .35s cubic-bezier(.3,1.6,.5,1); }
.menu button:hover { background: color-mix(in srgb, var(--c) 9%, #fff); transform: translateY(-2px); }
.menu button:hover > svg { transform: rotate(-8deg) scale(1.1); }
@media (prefers-reduced-motion: reduce) { .menu button, .menu button > svg { animation: none !important; transition: none !important; } }

/* توب نت: بدون إرفاق ولا ميكروفون */
#attach-btn, #mic-btn { display: none !important; }

/* البلوكات ما تنضغط لما الصفحة طويلة، والصندوق كله زرار */
.pg > * { flex-shrink: 0; }
.pg-cta { color: #fff; text-decoration: none; cursor: pointer; }
.pg-cta em { font-style: normal; }

/* ===== قوائم الأقسام (خدماتنا، أعمالنا...): كروت ملوّنة وحركة ===== */
.pg .pg-label { display: flex; align-items: center; gap: 10px; margin-top: 12px; font-size: 13px; font-weight: 800; letter-spacing: .2px;
  background: linear-gradient(90deg, #14b8a6, #6366f1, #ec4899); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pg .pg-label::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, rgba(99,102,241,.35), transparent); }
[dir="rtl"] .pg .pg-label::after { background: linear-gradient(270deg, rgba(99,102,241,.35), transparent); }
.pg .pg-list { gap: 8px; }
.pg .pg-item { --c: #14b8a6; position: relative; overflow: hidden; padding: 12px 12px; border: 1px solid #ececf3; border-radius: 16px;
  background: linear-gradient(180deg, #fff, #fbfbfe); box-shadow: 0 2px 8px rgba(30,30,60,.04);
  animation: pgUp .5s cubic-bezier(.2,.8,.2,1) both; transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s, border-color .3s; }
.pg .pg-list .pg-item:nth-child(6n+2) { --c: #6366f1; } .pg .pg-list .pg-item:nth-child(6n+3) { --c: #f59e0b; }
.pg .pg-list .pg-item:nth-child(6n+4) { --c: #ec4899; } .pg .pg-list .pg-item:nth-child(6n+5) { --c: #0ea5e9; } .pg .pg-list .pg-item:nth-child(6n+6) { --c: #8b5cf6; }
.pg .pg-list .pg-item:nth-child(2) { animation-delay: .05s } .pg .pg-list .pg-item:nth-child(3) { animation-delay: .1s } .pg .pg-list .pg-item:nth-child(4) { animation-delay: .15s }
.pg .pg-list .pg-item:nth-child(5) { animation-delay: .2s } .pg .pg-list .pg-item:nth-child(6) { animation-delay: .25s } .pg .pg-list .pg-item:nth-child(n+7) { animation-delay: .3s }
/* شريط لون جانبي + توهّج يمرّ لما تأشّر */
.pg .pg-item::before { content: ""; position: absolute; inset-block: 10px; inset-inline-start: 0; width: 3px; border-radius: 3px; background: var(--c); transform: scaleY(0); transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.pg .pg-item::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120px 60px at var(--mx, 85%) 50%, color-mix(in srgb, var(--c) 14%, transparent), transparent 70%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.pg .pg-item:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--c) 35%, #fff); box-shadow: 0 10px 24px color-mix(in srgb, var(--c) 18%, transparent); background: #fff; }
.pg .pg-item:hover::before { transform: scaleY(1); }
.pg .pg-item:hover::after { opacity: 1; }
.pg .pg-item b { font-size: 15px; font-weight: 700; color: #15151f; }
.pg .pg-item small { color: #7a7a8c; }
.pg .pg-item .pg-t { gap: 12px; position: relative; z-index: 1; }
.pg .pg-item .pg-ic { width: 40px; height: 40px; border-radius: 13px; color: #fff;
  background: linear-gradient(135deg, var(--c), color-mix(in srgb, var(--c) 50%, #fff));
  box-shadow: 0 6px 14px color-mix(in srgb, var(--c) 35%, transparent), inset 0 1px 0 rgba(255,255,255,.4); }
.pg .pg-item .pg-ic svg { width: 19px; height: 19px; }
.pg .pg-item:hover .pg-ic { transform: rotate(-8deg) scale(1.08); background: linear-gradient(135deg, var(--c), color-mix(in srgb, var(--c) 50%, #fff)); }
.pg .pg-item > svg { position: relative; z-index: 1; width: 28px; height: 28px; padding: 6px; border-radius: 50%; color: #b0b0c0; transition: transform .3s, background .3s, color .3s; }
.pg .pg-item:hover > svg { color: #fff; background: var(--c); transform: translateX(-4px) scaleX(-1); }
[dir="ltr"] .pg .pg-item:hover > svg { transform: translateX(4px); }
/* شريط التمرير */
.card-body::-webkit-scrollbar-thumb { background: linear-gradient(#14b8a6, #6366f1) !important; }
@media (prefers-reduced-motion: reduce) { .pg .pg-item { animation: none !important; } }

/* عنوان بإيموجي، قائمة أمثلة بعلامات صح، واقتباس */
.pg .pg-h { display: flex; align-items: center; gap: 10px; }
.pg .pg-h > span:last-child { background: inherit; -webkit-background-clip: text; background-clip: text; }
.pg-emo { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; font-size: 21px;
  background: linear-gradient(135deg, #fff, #f1f0fb); box-shadow: 0 4px 12px rgba(99,102,241,.15); color: #000; -webkit-text-fill-color: #000; animation: emoBob 3s ease-in-out infinite; }
@keyframes emoBob { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-3px) rotate(-6deg); } }
.pg-checks { display: grid; gap: 8px; }
.pg-checks > div { --c: #6366f1; display: grid; grid-template-columns: 28px 1fr; column-gap: 10px; padding: 12px; border-radius: 14px; background: #fff;
  border: 1px solid color-mix(in srgb, var(--c) 30%, #fff); transition: transform .3s, box-shadow .3s; animation: pgUp .5s both; }
.pg-checks > div:nth-child(2) { --c: #14b8a6; animation-delay: .1s } .pg-checks > div:nth-child(3) { --c: #ec4899; animation-delay: .2s }
.pg-checks > div:hover { transform: translateY(-2px); box-shadow: 0 8px 20px color-mix(in srgb, var(--c) 20%, transparent); }
.pg-checks i { grid-row: span 2; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; color: #fff; background: var(--c); }
.pg-checks i svg { width: 15px; height: 15px; stroke-width: 2.6; }
.pg-checks b { font-size: 14px; } .pg-checks span { font-size: 12.5px; color: #666; }
.pg-quote { position: relative; margin: 6px 0 0; padding: 22px 18px 16px; border-radius: 18px; text-align: center;
  background: linear-gradient(135deg, rgba(20,184,166,.08), rgba(99,102,241,.1), rgba(236,72,153,.08)); border: 1px solid rgba(99,102,241,.2); }
.pg-quote i { position: absolute; top: -6px; inset-inline: 0; font-style: normal; font-size: 46px; line-height: 1; font-weight: 800;
  background: linear-gradient(90deg, #14b8a6, #6366f1); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pg-quote p { margin: 6px 0 0; font-size: 14px; line-height: 1.75; color: #333; font-weight: 500; }

/* لوحة «مثال من تقرير»: عدسة تمسح وأشرطة تتعبّى */
.pg-scan { position: relative; overflow: hidden; display: grid; gap: 11px; padding: 16px; border-radius: 20px; color: #fff;
  background: radial-gradient(120% 90% at 100% 0%, #312e81 0%, #1e1b4b 45%, #0f172a 100%); box-shadow: 0 14px 30px rgba(30,27,75,.35); }
.pg-scan::before { 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: 22px 22px; pointer-events: none; }
.pg-scan::after { content: ""; position: absolute; top: 0; bottom: 0; width: 70px; background: linear-gradient(90deg, transparent, rgba(45,212,191,.22), transparent); animation: scanSweep 3.4s ease-in-out infinite; pointer-events: none; }
@keyframes scanSweep { 0% { inset-inline-start: -80px; } 100% { inset-inline-start: 110%; } }
.pg-scan-top { position: relative; display: flex; align-items: center; gap: 8px; }
.pg-scan-top small { font-size: 12px; letter-spacing: .3px; color: #a5b4fc; }
.pg-scan-lens { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: rgba(45,212,191,.18); color: #5eead4; animation: lens 2.6s ease-in-out infinite; }
.pg-scan-lens svg { width: 16px; height: 16px; }
@keyframes lens { 0%, 100% { transform: translate(0, 0) rotate(0); } 50% { transform: translate(-4px, -2px) rotate(-12deg); } }
.pg-bar { position: relative; display: grid; grid-template-columns: 1fr 40px; grid-template-rows: auto 8px; column-gap: 10px; row-gap: 5px; align-items: center; }
.pg-bar span { font-size: 12.5px; color: #e0e7ff; }
.pg-bar b { grid-row: span 2; font-size: 15px; font-weight: 800; text-align: end; color: #fff; font-variant-numeric: tabular-nums; }
.pg-bar > div { height: 8px; border-radius: 99px; background: rgba(255,255,255,.1); overflow: hidden; }
.pg-bar i { display: block; height: 100%; width: var(--n); border-radius: inherit; transform-origin: right; transform: scaleX(0);
  background: linear-gradient(90deg, #ec4899, #6366f1, #2dd4bf); box-shadow: 0 0 12px rgba(45,212,191,.6); animation: barFill 1.2s cubic-bezier(.2,.8,.2,1) var(--d) forwards; }
[dir="ltr"] .pg-bar i { transform-origin: left; }
@keyframes barFill { to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) { .pg-bar i { transform: none; } }

/* ===== خدمات التسويق: مدار القنوات، شريط متحرك، وقمع العملاء ===== */
.pg-orbit { position: relative; height: 270px; border-radius: 24px; overflow: hidden; display: grid; place-items: center;
  background: radial-gradient(60% 60% at 50% 50%, #3b0764 0%, #1e1035 55%, #0b0716 100%); box-shadow: 0 16px 34px rgba(59,7,100,.35); }
.pg-orbit::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(1.2px 1.2px at 20% 30%, #fff8, transparent), radial-gradient(1px 1px at 70% 20%, #fff6, transparent), radial-gradient(1.4px 1.4px at 85% 70%, #fff7, transparent), radial-gradient(1px 1px at 30% 80%, #fff5, transparent), radial-gradient(1px 1px at 55% 55%, #fff4, transparent); }
.pg-wave { position: absolute; width: 90px; height: 90px; border-radius: 50%; border: 1.5px solid rgba(244,114,182,.6); animation: wave 3.6s cubic-bezier(.2,.6,.3,1) infinite; }
.pg-wave:nth-child(2) { animation-delay: 1.2s; } .pg-wave:nth-child(3) { animation-delay: 2.4s; }
@keyframes wave { from { transform: scale(.8); opacity: 1; } to { transform: scale(3.4); opacity: 0; } }
.pg-core { position: relative; z-index: 2; display: grid; place-items: center; gap: 2px; width: 92px; height: 92px; border-radius: 50%; color: #fff;
  background: conic-gradient(from 0deg, #f472b6, #a78bfa, #22d3ee, #f472b6); animation: coreSpin 6s linear infinite; box-shadow: 0 0 40px rgba(244,114,182,.55); }
.pg-core::before { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: #1e1035; }
.pg-core > * { position: relative; animation: coreSpin 6s linear infinite reverse; }
.pg-core svg { width: 26px; height: 26px; color: #f9a8d4; }
.pg-core b { font-size: 12px; font-weight: 800; letter-spacing: .3px; }
@keyframes coreSpin { to { transform: rotate(360deg); } }
.pg-ring { position: absolute; inset: 0; animation: coreSpin 26s linear infinite; }
.pg-sat { position: absolute; top: 50%; left: 50%; transform: rotate(var(--a)) translateX(112px) rotate(calc(-1 * var(--a))); }
.pg-sat em { display: block; translate: -50% -50%; padding: 5px 10px; border-radius: 99px; font-style: normal; font-size: 11.5px; font-weight: 700; color: #fff; white-space: nowrap;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(6px); animation: coreSpin 26s linear infinite reverse; box-shadow: 0 4px 14px rgba(0,0,0,.3); }
.pg-sat:nth-child(odd) em { border-color: rgba(244,114,182,.55); } .pg-sat:nth-child(3n) em { border-color: rgba(34,211,238,.55); }

.pg-marquee { overflow: hidden; margin-inline: -22px; padding: 4px 0; -webkit-mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.pg-marquee > div { display: flex; gap: 8px; width: max-content; animation: marq 22s linear infinite; }
.pg-marquee:hover > div { animation-play-state: paused; }
.pg-marquee span { padding: 8px 14px; border-radius: 99px; font-size: 13px; font-weight: 700; white-space: nowrap; color: #4c1d95; background: linear-gradient(135deg, #fdf2f8, #ede9fe); border: 1px solid #e9d5ff; }
.pg-marquee span:nth-child(3n+2) { color: #155e75; background: linear-gradient(135deg, #ecfeff, #eef2ff); border-color: #a5f3fc; }
@keyframes marq { to { transform: translateX(-50%); } }

.pg-funnel { position: relative; display: grid; justify-items: center; gap: 6px; padding: 6px 0 4px; }
.pg-funnel > div { position: relative; z-index: 1; width: var(--w); display: flex; flex-direction: column; align-items: center; padding: 11px 10px; border-radius: 16px; color: #fff; text-align: center;
  background: linear-gradient(90deg, hsl(calc(320 - var(--i) * 40) 85% 62%), hsl(calc(280 - var(--i) * 40) 80% 60%));
  box-shadow: 0 8px 18px hsl(calc(300 - var(--i) * 40) 80% 50% / .3); animation: funnelIn .6s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(.15s + var(--i) * .15s); }
.pg-funnel > div b { font-size: 14.5px; } .pg-funnel > div span { font-size: 12px; opacity: .9; }
@keyframes funnelIn { from { opacity: 0; transform: scaleX(.6); } to { opacity: 1; transform: none; } }
.pg-funnel i { position: absolute; z-index: 2; top: 0; left: 50%; width: 7px; height: 7px; border-radius: 50%; background: #fff; box-shadow: 0 0 10px #fff, 0 0 18px #f472b6; animation: drop 3s ease-in infinite; opacity: 0; }
.pg-funnel i:nth-of-type(2) { animation-delay: .6s; margin-left: -30px; } .pg-funnel i:nth-of-type(3) { animation-delay: 1.2s; margin-left: 26px; }
.pg-funnel i:nth-of-type(4) { animation-delay: 1.8s; margin-left: -14px; } .pg-funnel i:nth-of-type(5) { animation-delay: 2.4s; margin-left: 12px; }
@keyframes drop { 0% { transform: translateY(0) scale(1); opacity: 0; } 10% { opacity: 1; } 85% { opacity: 1; } 100% { transform: translateY(250px) translateX(0) scale(.4); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .pg-ring, .pg-sat em, .pg-core, .pg-core > *, .pg-wave, .pg-marquee > div, .pg-funnel i { animation: none !important; } }

/* خط أكبر وأوضح في صفحات توب نت */
.pg .pg-p { font-size: 16px; line-height: 1.9; color: #2b2b36; }
.pg .pg-lead { font-size: 17px; }
.pg .pg-grid b, .pg .pg-checks b, .pg .pg-steps b { font-size: 15.5px; }
.pg .pg-grid span, .pg .pg-checks span, .pg .pg-steps span, .pg .pg-card p { font-size: 14px; line-height: 1.65; }
.pg .pg-item b { font-size: 16px; } .pg .pg-item small { font-size: 13.5px; }
.pg .pg-quote p { font-size: 15.5px; }
.pg .pg-cta b { font-size: 18px; } .pg .pg-cta span { font-size: 14.5px; } .pg .pg-cta em { font-size: 15px; }
.pg .pg-funnel > div b { font-size: 16px; } .pg .pg-funnel > div span { font-size: 13.5px; }
.pg .pg-bar span { font-size: 14px; }
.pg .pg-h { font-size: 18px; }

/* ===== تطبيقات الجوال: جوال يبني تطبيقه قدامك ===== */
.pg-phone-stage { position: relative; height: 300px; display: grid; place-items: center; border-radius: 24px; overflow: hidden;
  background: radial-gradient(circle at 30% 20%, #ccfbf1 0%, transparent 45%), radial-gradient(circle at 75% 80%, #e0e7ff 0%, transparent 50%), linear-gradient(160deg, #f0fdfa, #eef2ff 60%, #fdf2f8); }
.pg-phone { position: relative; width: 150px; height: 270px; padding: 8px; border-radius: 30px; background: #111827;
  box-shadow: 0 24px 40px rgba(17,24,39,.3), inset 0 0 0 2px #374151; animation: phoneFloat 5s ease-in-out infinite; }
@keyframes phoneFloat { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-8px) rotate(2deg); } }
.pg-notch { position: absolute; top: 12px; left: 50%; translate: -50%; width: 44px; height: 12px; border-radius: 99px; background: #000; z-index: 2; }
.pg-scr { height: 100%; border-radius: 23px; overflow: hidden; background: #fff; display: flex; flex-direction: column; gap: 7px; padding: 30px 9px 9px; }
.pg-scr > * { animation: pgBuild 7s cubic-bezier(.2,.8,.2,1) infinite both; }
.pg-scr > :nth-child(2) { animation-delay: .35s } .pg-scr > :nth-child(3) { animation-delay: .7s } .pg-scr > :nth-child(4) { animation-delay: 1.05s }
.pg-scr > :nth-child(5) { animation-delay: 1.4s } .pg-scr > :nth-child(6) { animation-delay: 1.75s }
@keyframes pgBuild { 0% { opacity: 0; transform: translateY(14px) scale(.9); } 8%, 85% { opacity: 1; transform: none; } 95%, 100% { opacity: 0; transform: translateY(-6px); } }
.s-bar { display: flex; align-items: center; justify-content: space-between; }
.s-bar b { font-size: 11px; font-weight: 800; color: #111; }
.s-bar i { width: 18px; height: 18px; border-radius: 50%; background: linear-gradient(135deg, #14b8a6, #6366f1); }
.s-hero { height: 66px; border-radius: 12px; background: linear-gradient(120deg, #14b8a6, #6366f1, #ec4899); background-size: 200% 100%; }
.pg-scr .s-hero { animation: pgBuild 7s cubic-bezier(.2,.8,.2,1) .35s infinite both, pgFlow 4s linear infinite; }
.s-row { display: flex; align-items: center; gap: 6px; padding: 5px; border-radius: 9px; background: #f4f4f8; }
.s-row i { flex: none; width: 20px; height: 20px; border-radius: 6px; background: #c7d2fe; }
.s-row:nth-of-type(4) i { background: #99f6e4; } .s-row:nth-of-type(5) i { background: #fbcfe8; }
.s-row span { flex: 1; height: 6px; border-radius: 9px; background: linear-gradient(90deg, #d4d4dc 70%, transparent 70%); }
.s-btn { margin-top: auto; height: 26px; border-radius: 99px; background: #111; box-shadow: 0 4px 10px rgba(0,0,0,.25); }
.pg-float { position: absolute; z-index: 3; padding: 6px 11px; border-radius: 99px; font-size: 12px; font-weight: 800; background: #fff; color: #111;
  box-shadow: 0 8px 20px rgba(30,30,60,.15); animation: floaty 4s ease-in-out infinite; }
.pg-float.f1 { top: 34px; inset-inline-start: 22px; } .pg-float.f1::before { content: " iOS"; }
.pg-float.f2 { top: 120px; inset-inline-end: 18px; color: #15803d; animation-delay: -1.3s; }
.pg-float.f3 { bottom: 34px; inset-inline-start: 16px; animation: notif 7s cubic-bezier(.2,.8,.2,1) infinite; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes notif { 0%, 30% { opacity: 0; transform: translateY(16px) scale(.8); } 38%, 82% { opacity: 1; transform: none; } 90%, 100% { opacity: 0; transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .pg-phone, .pg-scr > *, .pg-float { animation: none !important; opacity: 1 !important; } }

/* ===== أنظمة الشركات: من الفوضى إلى لوحة تحكم ===== */
.pg-chaos { position: relative; padding: 14px; border-radius: 24px; overflow: hidden;
  background: linear-gradient(160deg, #fff7ed, #fef3c7 40%, #ecfeff 60%, #eef2ff); background-size: 100% 300%; animation: chaosBg 8s ease-in-out infinite; }
@keyframes chaosBg { 0%, 30% { background-position: 0 0; } 50%, 90% { background-position: 0 100%; } 100% { background-position: 0 0; } }
.pg-chaos-cap { position: relative; height: 26px; margin-bottom: 10px; text-align: center; }
.pg-chaos-cap span { position: absolute; inset: 0; font-size: 14px; font-weight: 800; }
.pg-chaos-cap .c1 { color: #c2410c; animation: capA 8s infinite; }
.pg-chaos-cap .c2 { color: #4338ca; animation: capB 8s infinite; }
@keyframes capA { 0%, 30% { opacity: 1; transform: none; } 40%, 92% { opacity: 0; transform: translateY(-8px); } 100% { opacity: 1; } }
@keyframes capB { 0%, 35% { opacity: 0; transform: translateY(8px); } 45%, 90% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.pg-dash { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 10px; border-radius: 16px; border: 1.5px dashed transparent; animation: dashFrame 8s infinite; }
@keyframes dashFrame { 0%, 35% { background: transparent; border-color: transparent; box-shadow: none; } 48%, 90% { background: #fff; border-color: #c7d2fe; box-shadow: 0 14px 30px rgba(67,56,202,.15); } 100% { background: transparent; border-color: transparent; } }
.pg-tile { position: relative; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 10px 4px 12px; border-radius: 12px; background: #fff;
  box-shadow: 0 6px 14px rgba(0,0,0,.08); animation: tileSnap 8s cubic-bezier(.5,1.6,.4,1) infinite; animation-delay: calc(var(--i) * .06s); }
@keyframes tileSnap {
  0%, 28% { transform: translate(var(--cx), var(--cy)) rotate(var(--cr)) scale(.92); background: #fffbeb; }
  14% { transform: translate(calc(var(--cx) * -.4), calc(var(--cy) * .6)) rotate(calc(var(--cr) * -1)) scale(.92); }
  45%, 90% { transform: none; background: #f8f9ff; }
  100% { transform: translate(var(--cx), var(--cy)) rotate(var(--cr)) scale(.92); background: #fffbeb; } }
.pg-tile em { font-style: normal; font-size: 22px; }
.pg-tile b { font-size: 12.5px; color: #1f2937; }
.pg-tile i { position: absolute; bottom: 5px; inset-inline: 14%; height: 4px; border-radius: 9px; background: linear-gradient(90deg, #14b8a6, #6366f1); transform: scaleX(0); animation: tileBar 8s infinite; }
@keyframes tileBar { 0%, 45% { transform: scaleX(0); } 60%, 90% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
@media (prefers-reduced-motion: reduce) { .pg-chaos *, .pg-chaos { animation: none !important; } .pg-chaos-cap .c1 { opacity: 0; } }

/* ===== تكامل الأنظمة: شبكة تمشي فيها البيانات + سلسلة أحداث ===== */
.pg-net { border-radius: 24px; overflow: hidden; background: radial-gradient(circle at 50% 50%, #12233f 0%, #0b1426 60%, #070c18 100%); box-shadow: 0 16px 34px rgba(11,20,38,.4); }
.pg-net svg { display: block; width: 100%; height: auto; }
.nlines path { fill: none; stroke: rgba(94,234,212,.28); stroke-width: 1.4; stroke-dasharray: 4 5; animation: dashMove 1.6s linear infinite; }
@keyframes dashMove { to { stroke-dashoffset: -18; } }
.pg-net .nd0 { fill: #5eead4; filter: drop-shadow(0 0 4px #5eead4); } .pg-net .nd1 { fill: #a5b4fc; filter: drop-shadow(0 0 4px #a5b4fc); } .pg-net .nd2 { fill: #f9a8d4; filter: drop-shadow(0 0 4px #f9a8d4); }
.nhub { fill: url(#none); fill: #14b8a6; stroke: #99f6e4; stroke-width: 2; filter: drop-shadow(0 0 14px rgba(20,184,166,.8)); }
.nhub-wave { fill: none; stroke: #5eead4; stroke-width: 1.5; transform-origin: 160px 125px; animation: hubWave 2.4s ease-out infinite; }
@keyframes hubWave { from { transform: scale(1); opacity: .9; } to { transform: scale(2.2); opacity: 0; } }
.nhub-t { fill: #fff; font-size: 13px; font-weight: 800; }
.nn rect { fill: rgba(255,255,255,.08); stroke: rgba(255,255,255,.25); stroke-width: 1; }
.nn text { fill: #e2e8f0; font-size: 11px; font-weight: 700; }
.nn { animation: nodePulse 3s ease-in-out infinite; animation-delay: calc(var(--i) * .5s); }
@keyframes nodePulse { 0%, 100% { opacity: .85; } 50% { opacity: 1; } }
.nn:nth-child(odd) rect { stroke: rgba(94,234,212,.5); }

.pg-chain { position: relative; display: grid; gap: 10px; padding-inline-start: 26px; }
.pg-chain::before { content: ""; position: absolute; top: 18px; bottom: 18px; inset-inline-start: 10px; width: 3px; border-radius: 3px; background: linear-gradient(#14b8a6, #6366f1, #ec4899); opacity: .35; }
.pg-chain > div { position: relative; display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 14px; background: #fff; border: 1px solid #ececf3;
  animation: chainLit 5s infinite; animation-delay: calc(var(--i) * 1s); }
.pg-chain > div::before { content: ""; position: absolute; inset-inline-start: -21px; top: 50%; width: 11px; height: 11px; margin-top: -5.5px; border-radius: 50%; background: #fff; border: 2.5px solid #c7d2fe; animation: chainDot 5s infinite; animation-delay: calc(var(--i) * 1s); }
.pg-chain em { font-style: normal; font-size: 20px; }
.pg-chain b { font-size: 15px; }
@keyframes chainLit { 0%, 100% { box-shadow: none; border-color: #ececf3; transform: none; } 6%, 18% { box-shadow: 0 8px 20px rgba(99,102,241,.22); border-color: #a5b4fc; transform: translateX(-4px); } 26% { box-shadow: none; border-color: #ececf3; transform: none; } }
@keyframes chainDot { 0%, 100% { background: #fff; border-color: #c7d2fe; } 6%, 18% { background: #6366f1; border-color: #6366f1; box-shadow: 0 0 0 5px rgba(99,102,241,.2); } 26% { background: #fff; border-color: #c7d2fe; box-shadow: none; } }
.pg .pg-chain-note { margin: 2px 0 0; text-align: center; font-size: 14.5px; font-weight: 700; color: #4338ca; }
@media (prefers-reduced-motion: reduce) { .pg-net *, .pg-chain * { animation: none !important; } }

/* ===== الذكاء الاصطناعي: كرة تفكّر وتكتب ===== */
@property --ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.pg-ai { position: relative; isolation: isolate; overflow: hidden; display: grid; justify-items: center; gap: 12px; padding: 22px 14px 16px; border-radius: 26px; color: #fff;
  background: #05040f; box-shadow: 0 20px 44px rgba(76,29,149,.45), inset 0 0 0 1px rgba(255,255,255,.08); }
.ai-aurora { position: absolute; inset: -40%; z-index: -2; filter: blur(38px); opacity: .85;
  background: radial-gradient(30% 30% at 30% 30%, #7c3aed, transparent 70%), radial-gradient(28% 28% at 70% 35%, #06b6d4, transparent 70%), radial-gradient(30% 30% at 50% 75%, #db2777, transparent 70%);
  animation: aurora 14s ease-in-out infinite alternate; }
@keyframes aurora { 0% { transform: rotate(0) scale(1); } 50% { transform: rotate(120deg) scale(1.15); } 100% { transform: rotate(240deg) scale(1); } }
.ai-stars { position: absolute; inset: 0; z-index: -1; opacity: .7;
  background-image: radial-gradient(1px 1px at 12% 18%, #fff, transparent), radial-gradient(1px 1px at 82% 12%, #fff, transparent), radial-gradient(1.5px 1.5px at 66% 64%, #fff, transparent), radial-gradient(1px 1px at 28% 82%, #fff, transparent), radial-gradient(1px 1px at 90% 88%, #fff, transparent), radial-gradient(1.2px 1.2px at 45% 40%, #fff, transparent);
  animation: twinkle 4s ease-in-out infinite alternate; }
@keyframes twinkle { to { opacity: .25; } }
.ai-note { position: absolute; top: 12px; inset-inline-end: 12px; padding: 3px 9px; border-radius: 99px; font-size: 11px; font-weight: 700; color: #e9d5ff; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); }

.ai-orb { position: relative; width: 120px; height: 120px; perspective: 400px; }
.ai-orb span { position: absolute; inset: 22px; border-radius: 46% 54% 52% 48% / 50% 46% 54% 50%;
  background: radial-gradient(circle at 35% 30%, #fff 0%, #f0abfc 12%, #a855f7 38%, #4f46e5 64%, #0e7490 100%);
  box-shadow: 0 0 40px #a855f7, 0 0 80px rgba(6,182,212,.6), inset -8px -10px 24px rgba(0,0,0,.35);
  animation: blob 7s ease-in-out infinite, orbSpin 12s linear infinite; }
@keyframes blob { 0%, 100% { border-radius: 46% 54% 52% 48% / 50% 46% 54% 50%; } 33% { border-radius: 58% 42% 40% 60% / 44% 58% 42% 56%; } 66% { border-radius: 40% 60% 56% 44% / 58% 40% 60% 42%; } }
@keyframes orbSpin { to { rotate: 360deg; } }
.ai-orb i { position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid rgba(165,180,252,.55); border-top-color: transparent; border-bottom-color: transparent; }
.ai-orb i:nth-child(1) { transform: rotateX(70deg); animation: ring1 4s linear infinite; }
.ai-orb i:nth-child(2) { inset: 6px; border-color: rgba(103,232,249,.6) transparent; transform: rotateY(70deg); animation: ring2 5s linear infinite; }
.ai-orb i:nth-child(3) { inset: -8px; border-color: rgba(244,114,182,.45) transparent transparent; animation: ring3 9s linear infinite; }
@keyframes ring1 { to { transform: rotateX(70deg) rotateZ(360deg); } }
@keyframes ring2 { to { transform: rotateY(70deg) rotateZ(-360deg); } }
@keyframes ring3 { to { transform: rotateZ(360deg); } }
.pg-ai.thinking .ai-orb span { animation-duration: 1.4s, 2s; box-shadow: 0 0 60px #e879f9, 0 0 110px rgba(6,182,212,.8), inset -8px -10px 24px rgba(0,0,0,.3); }
.pg-ai.thinking .ai-orb i { animation-duration: 1s, 1s, 1s; }

.ai-screen { position: relative; width: 100%; min-height: 104px; padding: 14px 16px; border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.04)); border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(10px); box-shadow: inset 0 1px 0 rgba(255,255,255,.15); }
.pg-ai.thinking .ai-screen::before { content: ""; position: absolute; inset-inline-start: 16px; top: 18px; width: 46px; height: 10px;
  background: radial-gradient(circle 4px, #e9d5ff 98%, transparent) 0 50%/15px 10px repeat-x; animation: dots .9s steps(3) infinite; }
@keyframes dots { from { width: 0; } to { width: 46px; } }
.pg .ai-out { margin: 0; font-size: 15.5px; line-height: 1.85; color: #f5f3ff; }
.ai-out.caret::after { content: ""; display: inline-block; width: 2px; height: 1.1em; margin-inline-start: 3px; vertical-align: -3px; background: #c4b5fd; animation: caret .8s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.ai-ask { font-size: 12.5px; color: #c4b5fd; font-weight: 700; }
.ai-chips { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; width: 100%; }
.ai-chip { position: relative; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 8px; border-radius: 14px; color: #fff; font-size: 14px; font-weight: 700;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); transition: transform .25s, background .25s; cursor: pointer; }
.ai-chip em { font-style: normal; font-size: 17px; }
.ai-chip:hover { transform: translateY(-2px); background: rgba(255,255,255,.13); }
.ai-chip.on { border-color: transparent; background: linear-gradient(#1a1033, #1a1033) padding-box, conic-gradient(from var(--ang), #22d3ee, #a855f7, #f472b6, #22d3ee) border-box; box-shadow: 0 0 22px rgba(168,85,247,.45); animation: angSpin 3s linear infinite; }
@keyframes angSpin { to { --ang: 360deg; } }

/* بينتو بإطار متدرّج يلف */
.pg-bento { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.pg-bento > div { --c1: #22d3ee; --c2: #a855f7; position: relative; display: flex; flex-direction: column; gap: 4px; padding: 16px 13px; border-radius: 18px; border: 1.5px solid transparent;
  background: linear-gradient(#fff, #fff) padding-box, conic-gradient(from var(--ang), var(--c1), var(--c2), #f472b6, var(--c1)) border-box;
  animation: angSpin 6s linear infinite, pgUp .55s both; animation-delay: calc(var(--i) * -1.5s), calc(var(--i) * .08s); transition: transform .3s, box-shadow .3s; }
.pg-bento > div:nth-child(1) { grid-column: span 2; background: linear-gradient(135deg, #faf5ff, #ecfeff) padding-box, conic-gradient(from var(--ang), #22d3ee, #a855f7, #f472b6, #22d3ee) border-box; }
.pg-bento > div:hover { transform: translateY(-3px); box-shadow: 0 14px 28px rgba(168,85,247,.2); }
.pg-bento em { font-style: normal; font-size: 26px; }
.pg-bento b { font-size: 15.5px; } .pg-bento span { font-size: 14px; line-height: 1.6; color: #555; }
@media (prefers-reduced-motion: reduce) { .pg-ai *, .pg-bento > div { animation: none !important; } }
.pg-bento > div:nth-child(4):last-child { grid-column: span 2; }

/* العقل المرسوم بالنقاط */
.ai-cv { display: block; width: calc(100% + 28px); height: 270px; margin: -10px -14px 0; cursor: pointer; }
.ai-hint { margin-top: -10px; font-size: 12px; color: rgba(233,213,255,.7); animation: twinkle 2.4s ease-in-out infinite alternate; }
.pg-ai { padding-top: 14px; }

/* الفقرات: بطاقة بإطار متدرّج يلف، شريط جانبي ينبض، ولمعة تمرّ */
.pg .pg-p { position: relative; overflow: hidden; padding: 16px 18px 16px 16px; padding-inline-start: 22px; border-radius: 18px; border: 1.5px solid transparent;
  background: linear-gradient(135deg, #fdf4ff 0%, #f5f3ff 45%, #ecfeff 100%) padding-box, conic-gradient(from var(--ang), #a855f7, #22d3ee, #f472b6, #a855f7) border-box;
  box-shadow: 0 10px 26px rgba(124,58,237,.12); animation: angSpin 8s linear infinite, pgUp .55s both; color: #2e1065; }
.pg .pg-p::before { content: ""; position: absolute; inset-block: 14px; inset-inline-start: 9px; width: 4px; border-radius: 4px;
  background: linear-gradient(#a855f7, #22d3ee, #f472b6); background-size: 100% 200%; animation: pgFlow 3s linear infinite; }
.pg .pg-p::after { content: ""; position: absolute; top: 0; bottom: 0; width: 40%; inset-inline-start: -50%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.7), transparent); transform: skewX(-18deg); animation: pShine 6s ease-in-out infinite; pointer-events: none; }
@keyframes pShine { 0%, 70% { inset-inline-start: -50%; } 100% { inset-inline-start: 130%; } }
.pg .pg-p:hover { box-shadow: 0 14px 34px rgba(124,58,237,.22); }
@media (prefers-reduced-motion: reduce) { .pg .pg-p, .pg .pg-p::before, .pg .pg-p::after { animation: none !important; } }

/* ===== بينتو مميّز: لون لكل كارت، أيقونة طايرة بهالة، رقم مائي، وإمالة 3D مع الماوس ===== */
.pg-bento { perspective: 800px; counter-reset: bn; }
.pg-bento > div { --t1: #a855f7; --t2: #22d3ee; counter-increment: bn; overflow: hidden; padding: 18px 15px; transform-style: preserve-3d;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .15s ease-out, box-shadow .3s; }
.pg-bento > div:nth-child(1) { --t1: #a855f7; --t2: #6366f1; background: linear-gradient(135deg, #faf5ff, #eef2ff) padding-box, conic-gradient(from var(--ang), #a855f7, #6366f1, #22d3ee, #a855f7) border-box; }
.pg-bento > div:nth-child(2) { --t1: #ec4899; --t2: #f97316; background: linear-gradient(135deg, #fdf2f8, #fff7ed) padding-box, conic-gradient(from var(--ang), #ec4899, #f97316, #facc15, #ec4899) border-box; }
.pg-bento > div:nth-child(3) { --t1: #10b981; --t2: #06b6d4; background: linear-gradient(135deg, #ecfdf5, #ecfeff) padding-box, conic-gradient(from var(--ang), #10b981, #06b6d4, #3b82f6, #10b981) border-box; }
.pg-bento > div:nth-child(4) { --t1: #3b82f6; --t2: #8b5cf6; background: linear-gradient(135deg, #eff6ff, #f5f3ff) padding-box, conic-gradient(from var(--ang), #3b82f6, #8b5cf6, #ec4899, #3b82f6) border-box; }
.pg-bento > div::after { content: "0" counter(bn); position: absolute; inset-inline-end: 10px; bottom: -14px; font-size: 64px; font-weight: 900; line-height: 1;
  background: linear-gradient(135deg, var(--t1), var(--t2)); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: .13; pointer-events: none; }
.pg-bento > div::before { content: ""; position: absolute; inset: 0; background: radial-gradient(160px circle at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--t1) 22%, transparent), transparent 70%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.pg-bento > div:hover::before { opacity: 1; }
.pg-bento > div:hover { box-shadow: 0 18px 36px color-mix(in srgb, var(--t1) 28%, transparent); }
.pg-bento em { position: relative; display: grid; place-items: center; width: 50px; height: 50px; margin-bottom: 6px; border-radius: 16px; font-size: 26px;
  background: linear-gradient(135deg, var(--t1), var(--t2)); box-shadow: 0 10px 22px color-mix(in srgb, var(--t1) 40%, transparent), inset 0 1px 0 rgba(255,255,255,.5);
  animation: emoFloat 4s ease-in-out infinite; animation-delay: calc(var(--i) * -.9s); transform: translateZ(30px); }
.pg-bento em::after { content: ""; position: absolute; inset: -6px; border-radius: 20px; border: 2px solid color-mix(in srgb, var(--t1) 45%, transparent); animation: halo 2.6s ease-out infinite; animation-delay: calc(var(--i) * -.6s); }
@keyframes emoFloat { 0%, 100% { translate: 0 0; rotate: 0deg; } 50% { translate: 0 -5px; rotate: -6deg; } }
@keyframes halo { from { transform: scale(.9); opacity: .9; } to { transform: scale(1.35); opacity: 0; } }
.pg-bento b { position: relative; font-size: 16.5px; color: #1e1b4b; transform: translateZ(20px); }
.pg-bento span { position: relative; color: #4b5563; }

/* ===== الوعود: ختم ينبض، تعبئة لونية، وسطر يتمدّد ===== */
.pg-checks { counter-reset: ck; }
.pg-checks > div { position: relative; overflow: hidden; grid-template-columns: 44px 1fr; padding: 15px 14px; border-radius: 18px; border: 1.5px solid color-mix(in srgb, var(--c) 35%, #fff);
  background: linear-gradient(100deg, color-mix(in srgb, var(--c) 12%, #fff) 0%, #fff 70%); box-shadow: 0 6px 16px color-mix(in srgb, var(--c) 12%, transparent); }
.pg-checks > div::before { content: ""; position: absolute; inset-block: 0; inset-inline-start: 0; width: 5px; background: linear-gradient(var(--c), color-mix(in srgb, var(--c) 40%, #fff)); }
.pg-checks > div::after { content: ""; position: absolute; bottom: 0; inset-inline-start: 0; height: 2px; width: 0; background: var(--c); transition: width .5s cubic-bezier(.2,.8,.2,1); }
.pg-checks > div:hover::after { width: 100%; }
.pg-checks > div:hover { transform: translateX(-4px); box-shadow: 0 12px 26px color-mix(in srgb, var(--c) 25%, transparent); }
.pg-checks i { position: relative; width: 36px; height: 36px; background: linear-gradient(135deg, var(--c), color-mix(in srgb, var(--c) 55%, #fff)); box-shadow: 0 6px 14px color-mix(in srgb, var(--c) 40%, transparent); }
.pg-checks i::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid var(--c); animation: halo 2.2s ease-out infinite; }
.pg-checks > div:nth-child(2) i::after { animation-delay: .7s } .pg-checks > div:nth-child(3) i::after { animation-delay: 1.4s }
.pg-checks i svg { width: 19px; height: 19px; stroke-dasharray: 24; stroke-dashoffset: 24; animation: tick .6s .4s ease-out forwards; }
.pg-checks > div:nth-child(2) i svg { animation-delay: .6s } .pg-checks > div:nth-child(3) i svg { animation-delay: .8s }
@keyframes tick { to { stroke-dashoffset: 0; } }
.pg-checks b { font-size: 16px; color: #111827; } .pg-checks span { font-size: 14px; }
@media (prefers-reduced-motion: reduce) { .pg-bento *, .pg-checks *, .pg-checks i svg { animation: none !important; stroke-dashoffset: 0 !important; } }

/* ===== مواقع ومتاجر: متصفح يبني الموقع من مخطط لتصميم، ماوس يشتري، والشاشة تصير جوال ===== */
.pg-web { position: relative; padding: 18px 14px 14px; border-radius: 24px; overflow: hidden;
  background: radial-gradient(circle at 15% 10%, #fde68a 0%, transparent 40%), radial-gradient(circle at 90% 90%, #a5f3fc 0%, transparent 45%), linear-gradient(150deg, #fff7ed, #fdf4ff 50%, #ecfeff); }
.bw { position: relative; margin-inline: auto; width: 100%; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 18px 40px rgba(30,30,60,.18), 0 0 0 1px rgba(0,0,0,.06);
  animation: bwResp 10s cubic-bezier(.6,0,.3,1) infinite; }
@keyframes bwResp { 0%, 58% { width: 100%; } 66%, 88% { width: 58%; border-radius: 22px; } 96%, 100% { width: 100%; } }
.bw-top { display: flex; align-items: center; gap: 5px; padding: 8px 10px; background: #f3f4f6; }
.bw-top i { width: 8px; height: 8px; border-radius: 50%; background: #f87171; } .bw-top i:nth-child(2) { background: #fbbf24; } .bw-top i:nth-child(3) { background: #34d399; }
.bw-top span { flex: 1; margin-inline-start: 6px; padding: 3px 8px; border-radius: 99px; background: #fff; font-size: 10.5px; color: #6b7280; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bw-page { display: grid; gap: 8px; padding: 10px; }
.bw-page b, .bw-page span:not(.bw-cart):not(.bw-cart *), .bw-page i, .bw-page button, .bw-hero, .bw-grid > div { animation: wf 10s infinite; outline-offset: -1px; }
@keyframes wf { 0%, 10% { background: transparent; outline: 1.5px dashed #a5b4fc; color: transparent; box-shadow: none; } 22%, 100% { background: var(--bg); outline: 1.5px dashed transparent; } }
.bw-nav { display: flex; align-items: center; gap: 6px; }
.bw-nav b { --bg: linear-gradient(90deg, #f97316, #ec4899); width: 46px; height: 10px; border-radius: 4px; }
.bw-nav > span:not(.bw-cart) { --bg: #e5e7eb; width: 28px; height: 6px; border-radius: 4px; }
.bw-cart { position: relative; margin-inline-start: auto; font-size: 14px; }
.bw-cart em { position: absolute; top: -6px; inset-inline-end: -8px; display: grid; width: 15px; height: 15px; overflow: hidden; border-radius: 50%; background: #ef4444; color: #fff; font-size: 9.5px; font-style: normal; font-weight: 800; line-height: 15px; text-align: center; animation: badge 10s infinite; }
.bw-cart s { text-decoration: none; display: block; animation: badgeNum 10s infinite; }
@keyframes badge { 0%, 44% { transform: scale(1); } 47% { transform: scale(1.6); } 52%, 100% { transform: scale(1); } }
@keyframes badgeNum { 0%, 45% { transform: translateY(0); } 47%, 96% { transform: translateY(-15px); } 100% { transform: translateY(0); } }
.bw-hero { --bg: linear-gradient(120deg, #fff1f2, #fdf4ff); display: flex; align-items: center; gap: 8px; padding: 10px; border-radius: 10px; }
.bw-hero > div { flex: 1; display: grid; gap: 5px; }
.bw-hero b { --bg: #111827; height: 10px; width: 80%; border-radius: 4px; }
.bw-hero span { --bg: #d1d5db; height: 6px; border-radius: 4px; } .bw-hero span:last-child { width: 60%; }
.bw-hero > i { --bg: linear-gradient(135deg, #f97316, #ec4899, #8b5cf6); width: 64px; height: 50px; border-radius: 10px; }
.bw-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.bw-grid > div { --bg: #f9fafb; display: grid; gap: 4px; padding: 5px; border-radius: 9px; }
.bw-grid i { --bg: linear-gradient(135deg, #fde68a, #fca5a5); height: 34px; border-radius: 6px; }
.bw-grid > div:nth-child(2) i { --bg: linear-gradient(135deg, #a7f3d0, #93c5fd); } .bw-grid > div:nth-child(3) i { --bg: linear-gradient(135deg, #ddd6fe, #f9a8d4); }
.bw-grid span { --bg: #e5e7eb; height: 5px; border-radius: 4px; }
.bw-grid button { --bg: #111827; padding: 3px 0; border: 0; border-radius: 6px; color: #fff; font-size: 8.5px; font-weight: 800; white-space: nowrap; overflow: hidden; animation: wf 10s infinite, press 10s infinite; }
@keyframes press { 0%, 43% { transform: none; } 45% { transform: scale(.88); filter: brightness(1.6); } 48%, 100% { transform: none; } }
.bw-cursor { position: absolute; z-index: 5; top: 0; left: 0; width: 18px; height: 18px; pointer-events: none;
  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 2l16 9-7 2-3 7z' fill='%23111' stroke='%23fff' stroke-width='1.5' stroke-linejoin='round'/%3E%3C/svg%3E");
  filter: drop-shadow(0 2px 3px rgba(0,0,0,.3)); animation: cur 10s cubic-bezier(.5,0,.3,1) infinite; }
@keyframes cur { 0%, 24% { transform: translate(60%, 230%); opacity: 0; left: 50%; top: 40%; } 28% { opacity: 1; } 42% { left: 12%; top: 86%; transform: none; } 45% { transform: scale(.8); } 48% { transform: none; left: 12%; top: 86%; } 54% { left: 88%; top: 16%; opacity: 1; } 60%, 100% { left: 88%; top: 16%; opacity: 0; } }
[dir="ltr"] .bw-cursor { animation-name: curL; }
@keyframes curL { 0%, 24% { opacity: 0; left: 50%; top: 40%; } 28% { opacity: 1; } 42% { left: 82%; top: 86%; } 45% { transform: scale(.8); } 48% { transform: none; left: 82%; top: 86%; } 54% { left: 8%; top: 16%; opacity: 1; } 60%, 100% { left: 8%; top: 16%; opacity: 0; } }
.bw-tags { display: flex; justify-content: center; gap: 6px; margin-top: 12px; }
.bw-tags span { padding: 5px 10px; border-radius: 99px; font-size: 11.5px; font-weight: 800; background: rgba(255,255,255,.8); box-shadow: 0 4px 10px rgba(0,0,0,.08); animation: floaty 3.5s ease-in-out infinite; }
.bw-tags span:nth-child(2) { animation-delay: -1.2s } .bw-tags span:nth-child(3) { animation-delay: -2.4s }

/* حلقات الأداء */
.pg-rings { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.pg-rings > div { --c: #10b981; position: relative; display: grid; justify-items: center; gap: 4px; padding: 14px 6px 12px; border-radius: 18px; background: #fff; border: 1px solid #ececf3; box-shadow: 0 6px 16px rgba(0,0,0,.05); }
.pg-rings > div:nth-child(2) { --c: #6366f1; } .pg-rings > div:nth-child(3) { --c: #f97316; }
.pg-rings svg { width: 74px; height: 74px; rotate: -90deg; }
.pg-rings circle { fill: none; stroke: #f1f1f6; stroke-width: 7; }
.pg-rings .rg { stroke: var(--c); stroke-linecap: round; stroke-dasharray: 213.6; stroke-dashoffset: 213.6; filter: drop-shadow(0 0 4px color-mix(in srgb, var(--c) 60%, transparent));
  animation: ringFill 1.4s cubic-bezier(.2,.8,.2,1) var(--d) forwards; }
@keyframes ringFill { to { stroke-dashoffset: calc(213.6 - 213.6 * var(--n) / 100); } }
.pg-rings b { position: absolute; top: 37px; font-size: 21px; font-weight: 900; color: var(--c); font-variant-numeric: tabular-nums; }
.pg-rings span { font-size: 13px; font-weight: 700; color: #374151; text-align: center; }
@media (prefers-reduced-motion: reduce) { .pg-web *, .pg-rings * { animation: none !important; } .pg-rings .rg { stroke-dashoffset: calc(213.6 - 213.6 * var(--n) / 100); } }
.bw-page b, .bw-page span:not(.bw-cart):not(.bw-cart *), .bw-page i, .bw-page button, .bw-hero, .bw-grid > div { background: var(--bg); }

/* ===== تصميم UI/UX: قبل/بعد تسحبه بإيدك + ألوان الهوية ===== */
.pg-cmp-wrap { --brand: #7c3aed; display: grid; gap: 10px; padding: 14px; border-radius: 24px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--brand) 14%, #fff), #fff 55%, color-mix(in srgb, var(--brand) 8%, #fff)); border: 1px solid color-mix(in srgb, var(--brand) 25%, #fff); transition: background .5s; }
.pg-cmp { position: relative; height: 250px; border-radius: 18px; overflow: hidden; cursor: ew-resize; touch-action: none; user-select: none; box-shadow: 0 16px 34px rgba(0,0,0,.14); }
.cmp-bad, .cmp-good { position: absolute; inset: 0; padding: 12px; display: flex; flex-direction: column; gap: 7px; }
/* قبل: فوضى مقصودة */
.cmp-bad { background: repeating-linear-gradient(45deg, #fef08a 0 12px, #fde047 12px 24px); font-family: "Times New Roman", serif; color: #000; }
.cb-head { align-self: flex-start; padding: 3px 8px; background: red; color: #ff0; font-weight: 900; font-size: 15px; transform: rotate(-3deg); border: 3px double blue; }
.cb-ad { align-self: flex-end; padding: 2px 6px; background: lime; font-size: 10px; animation: blinkAd .5s steps(1) infinite; }
@keyframes blinkAd { 50% { background: magenta; color: #fff; } }
.cb-row { display: flex; gap: 2px; margin-inline-start: 18px; } .cb-row button { width: 22px; height: 18px; font-size: 9px; border: 1px solid #000; background: #ccc; padding: 0; }
.cmp-bad p { margin: 0; font-size: 9px; line-height: 1.3; color: #555; }
.cb-btns { display: flex; gap: 3px; margin-top: auto; } .cb-btns button { flex: 1; padding: 4px 0; font-size: 10px; border: 2px outset #999; background: #ddd; }
.cb-btns button:nth-child(2) { background: #f0f; } .cb-btns button:nth-child(3) { background: #0ff; transform: translateY(5px); }
/* بعد: نظيف وبهوية */
.cmp-good { clip-path: inset(0 0 0 var(--pos)); background: linear-gradient(180deg, #fff, color-mix(in srgb, var(--brand) 6%, #fff)); gap: 9px; padding: 16px; transition: background .4s; }
.cg-top { display: flex; align-items: center; justify-content: space-between; }
.cg-top b { font-size: 17px; font-weight: 800; color: #111827; }
.cg-top i { width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg, var(--brand), color-mix(in srgb, var(--brand) 50%, #fff)); transition: background .4s; }
.cmp-good small { font-size: 12px; color: #6b7280; font-weight: 600; }
.cg-days, .cg-times { display: flex; gap: 6px; }
.cg-days span { flex: 1; display: grid; justify-items: center; gap: 1px; padding: 7px 0; border-radius: 12px; background: #f3f4f6; font-size: 11px; color: #6b7280; }
.cg-days b { font-size: 16px; color: #111827; }
.cg-times span { flex: 1; padding: 6px 0; border-radius: 99px; text-align: center; font-size: 12px; font-weight: 700; background: #f3f4f6; color: #374151; }
.cmp-good .on { background: var(--brand); color: #fff; box-shadow: 0 6px 14px color-mix(in srgb, var(--brand) 40%, transparent); transition: background .4s; }
.cmp-good .on b { color: #fff; }
.cmp-good button { margin-top: auto; padding: 11px 0; border: 0; border-radius: 14px; background: var(--brand); color: #fff; font-size: 14px; font-weight: 800; box-shadow: 0 10px 20px color-mix(in srgb, var(--brand) 40%, transparent); transition: background .4s; }
/* الخط اللي ينسحب */
.cmp-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; translate: -50%; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.08), 0 0 16px rgba(255,255,255,.9); }
.cmp-handle span { position: absolute; top: 50%; left: 50%; translate: -50% -50%; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  background: #fff; color: var(--brand); font-size: 18px; font-weight: 900; box-shadow: 0 6px 18px rgba(0,0,0,.25); animation: handlePulse 2s ease-in-out infinite; }
@keyframes handlePulse { 0%, 100% { box-shadow: 0 6px 18px rgba(0,0,0,.25), 0 0 0 0 color-mix(in srgb, var(--brand) 50%, transparent); } 50% { box-shadow: 0 6px 18px rgba(0,0,0,.25), 0 0 0 9px transparent; } }
.cmp-lb { position: absolute; top: 10px; padding: 3px 10px; border-radius: 99px; font-size: 11.5px; font-weight: 800; pointer-events: none; }
.lb-bad { left: 10px; background: rgba(0,0,0,.75); color: #fff; } .lb-good { right: 10px; background: var(--brand); color: #fff; }
.cmp-hint { text-align: center; font-size: 13px; font-weight: 700; color: color-mix(in srgb, var(--brand) 70%, #111); }
.cmp-sw { display: flex; justify-content: center; gap: 10px; }
.cmp-sw button { width: 30px; height: 30px; border-radius: 50%; border: 3px solid #fff; background: var(--s); box-shadow: 0 3px 8px rgba(0,0,0,.18); cursor: pointer; transition: transform .25s cubic-bezier(.3,1.6,.5,1); }
.cmp-sw button:hover { transform: scale(1.15); }
.cmp-sw button.on { transform: scale(1.2); box-shadow: 0 0 0 2.5px var(--s), 0 6px 14px rgba(0,0,0,.2); }
@media (prefers-reduced-motion: reduce) { .pg-cmp-wrap * { animation: none !important; } }
.cmp-good { padding-top: 40px; } .cmp-bad { padding-top: 40px; }

/* ===== نظام تصميم حيّ: لوحة هوية فخمة تتجمّع قطعة قطعة ===== */
.pg-ds { --ink: #1e1b4b; --royal: #6d28d9; --lilac: #c084fc; --gold: #f5c26b; position: relative; overflow: hidden; padding: 16px; border-radius: 24px; color: #ede9fe;
  background: radial-gradient(120% 80% at 100% 0%, rgba(109,40,217,.45), transparent 60%), radial-gradient(80% 60% at 0% 100%, rgba(245,194,107,.18), transparent 60%), #0e0b24;
  box-shadow: 0 22px 44px rgba(14,11,36,.45), inset 0 0 0 1px rgba(255,255,255,.07); }
.pg-ds::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px); background-size: 16px 16px;
  -webkit-mask: radial-gradient(circle at 50% 30%, #000, transparent 75%); mask: radial-gradient(circle at 50% 30%, #000, transparent 75%); }
.ds-head { position: relative; display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.ds-head span { width: 22px; height: 22px; border-radius: 7px; background: conic-gradient(from 200deg, var(--gold), var(--lilac), var(--royal), var(--gold)); box-shadow: 0 0 14px rgba(192,132,252,.6); animation: orbSpin 8s linear infinite; }
.ds-head b { flex: 1; font-size: 14.5px; font-weight: 800; letter-spacing: .2px; }
.ds-head em { font-style: normal; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 99px; color: var(--gold); border: 1px solid rgba(245,194,107,.4); }
.ds-board { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ds-tile { position: relative; min-height: 132px; padding: 10px; border-radius: 16px; overflow: hidden;
  background: linear-gradient(160deg, rgba(255,255,255,.08), rgba(255,255,255,.025)); border: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(6px);
  animation: dsIn .7s cubic-bezier(.2,.9,.2,1) both; }
.ds-tile:nth-child(2) { animation-delay: .15s } .ds-tile:nth-child(3) { animation-delay: .3s } .ds-tile:nth-child(4) { animation-delay: .45s }
@keyframes dsIn { from { opacity: 0; transform: translateY(18px) scale(.94); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
.ds-tile small { display: block; margin-bottom: 8px; font-size: 11px; font-weight: 700; color: rgba(237,233,254,.55); letter-spacing: .3px; }
.ds-tile::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.09) 50%, transparent 70%); background-size: 250% 100%; animation: tileSheen 6s ease-in-out infinite; }
@keyframes tileSheen { 0%, 60% { background-position: 150% 0; } 100% { background-position: -100% 0; } }
/* الألوان: كروت مروحة */
.ds-fan { position: relative; height: 92px; }
.ds-fan span { position: absolute; bottom: 0; left: 50%; width: 44px; height: 78px; margin-left: -22px; border-radius: 9px; background: var(--c); transform-origin: 50% 110%;
  box-shadow: 0 6px 14px rgba(0,0,0,.35), inset 0 0 0 1px rgba(255,255,255,.15); animation: fan 6s cubic-bezier(.3,1.3,.5,1) infinite; animation-delay: .6s; }
.ds-fan i { position: absolute; bottom: 5px; inset-inline: 0; text-align: center; font-size: 8.5px; font-style: normal; font-weight: 800; color: rgba(255,255,255,.85); mix-blend-mode: difference; }
@keyframes fan { 0%, 8% { transform: rotate(0); } 22%, 80% { transform: rotate(calc((var(--i) - 2) * 17deg)) translateY(-2px); } 94%, 100% { transform: rotate(0); } }
.ds-colors:hover .ds-fan span { animation-play-state: paused; transform: rotate(calc((var(--i) - 2) * 20deg)) translateY(-6px); }
/* الخطوط */
.ds-glyph { display: block; font-size: 52px; line-height: 1; font-weight: 900; background: linear-gradient(135deg, #fff, var(--lilac) 45%, var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; animation: glyphW 5s ease-in-out infinite; }
@keyframes glyphW { 0%, 100% { letter-spacing: 0; } 50% { letter-spacing: 3px; } }
.ds-weights { display: flex; justify-content: space-between; margin-top: 10px; font-size: 12px; color: rgba(237,233,254,.85); }
/* المكوّنات */
.ds-comp button { position: relative; overflow: hidden; width: 100%; padding: 7px 0; border: 0; border-radius: 10px; color: #1e1b4b; font-size: 12.5px; font-weight: 800;
  background: linear-gradient(135deg, var(--gold), #ffe3a3); box-shadow: 0 6px 14px rgba(245,194,107,.35); }
.ds-comp button::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; margin: -5px; border-radius: 50%; background: rgba(255,255,255,.7); animation: ripple 3s ease-out infinite; }
@keyframes ripple { 0%, 60% { transform: scale(0); opacity: 1; } 100% { transform: scale(14); opacity: 0; } }
.ds-row { display: flex; align-items: center; justify-content: space-between; margin-top: 9px; }
.ds-toggle { position: relative; width: 32px; height: 18px; border-radius: 99px; background: rgba(255,255,255,.18); animation: tgBg 3s infinite; }
.ds-toggle i { position: absolute; top: 2px; inset-inline-start: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; animation: tgKnob 3s cubic-bezier(.5,1.5,.5,1) infinite; }
@keyframes tgBg { 0%, 40% { background: rgba(255,255,255,.18); } 50%, 90% { background: var(--royal); } 100% { background: rgba(255,255,255,.18); } }
@keyframes tgKnob { 0%, 40% { transform: none; } 50%, 90% { transform: translateX(-14px); } 100% { transform: none; } }
[dir="ltr"] .ds-toggle i { animation-name: tgKnobL; } @keyframes tgKnobL { 0%, 40% { transform: none; } 50%, 90% { transform: translateX(14px); } 100% { transform: none; } }
.ds-check { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 6px; background: var(--lilac); }
.ds-check svg { width: 13px; height: 13px; fill: none; stroke: #1e1b4b; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 20; animation: chk 3s infinite; }
@keyframes chk { 0%, 30% { stroke-dashoffset: 20; } 45%, 90% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 20; } }
.ds-chip { padding: 2px 8px; border-radius: 99px; font-size: 10.5px; font-weight: 800; color: var(--gold); background: rgba(245,194,107,.14); border: 1px solid rgba(245,194,107,.4); }
.ds-slider { position: relative; height: 4px; margin-top: 12px; border-radius: 9px; background: rgba(255,255,255,.15); }
.ds-slider::before { content: ""; position: absolute; inset-block: 0; inset-inline-start: 0; border-radius: inherit; background: linear-gradient(90deg, var(--royal), var(--lilac)); animation: sld 4s ease-in-out infinite; }
.ds-slider i { position: absolute; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%; background: #fff; box-shadow: 0 0 10px var(--lilac); animation: sldK 4s ease-in-out infinite; }
@keyframes sld { 0%, 100% { width: 25%; } 50% { width: 80%; } }
@keyframes sldK { 0%, 100% { inset-inline-start: calc(25% - 6px); } 50% { inset-inline-start: calc(80% - 6px); } }
/* الشاشة النهائية تتركّب من القطع */
.ds-phone { width: 74px; height: 108px; margin: 0 auto; padding: 6px; border-radius: 14px; background: var(--ink); border: 2px solid rgba(255,255,255,.18); display: flex; flex-direction: column; gap: 5px; box-shadow: 0 10px 22px rgba(0,0,0,.4); }
.ds-phone > * { animation: dpIn 6s cubic-bezier(.3,1.4,.5,1) infinite both; }
.dp-bar { height: 6px; width: 60%; border-radius: 4px; background: rgba(255,255,255,.7); }
.dp-card { display: grid; gap: 3px; padding: 5px; border-radius: 7px; background: linear-gradient(135deg, var(--royal), var(--lilac)); animation-delay: .25s; }
.dp-card i { width: 12px; height: 12px; border-radius: 50%; background: var(--gold); } .dp-card span { height: 3px; border-radius: 3px; background: rgba(255,255,255,.75); } .dp-card span:last-child { width: 60%; }
.dp-row { display: flex; gap: 4px; animation-delay: .5s; } .dp-row i { flex: 1; height: 16px; border-radius: 5px; background: rgba(255,255,255,.14); }
.dp-btn { margin-top: auto; height: 11px; border-radius: 99px; background: var(--gold); animation-delay: .75s; }
@keyframes dpIn { 0%, 6% { opacity: 0; transform: translateY(-14px) scale(.7); } 14%, 88% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; transform: scale(.9); } }
.ds-foot { position: relative; display: flex; justify-content: center; gap: 6px; margin-top: 12px; }
.ds-foot span { padding: 4px 10px; border-radius: 99px; font-size: 11.5px; font-weight: 700; color: rgba(237,233,254,.85); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); }
@media (prefers-reduced-motion: reduce) { .pg-ds *, .pg-ds::before { animation: none !important; } }
.ds-fan span { transform: rotate(calc((var(--i) - 2) * 17deg)) translateY(-2px); } .ds-comp button::after { transform: scale(0); }

/* ===== صفحة UI/UX كاملة كأنها ملف تصميم ===== */
.pg-canvas { --sel: #0d99ff; background-color: #f5f5f7; background-image: radial-gradient(#d4d4dc 1px, transparent 1px); background-size: 14px 14px; }
/* اسم الإطار */
.cv-frame { display: flex; align-items: center; gap: 5px; margin-top: 10px; font-size: 12.5px; font-weight: 700; color: #8a8a99; }
.cv-frame svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2; }
/* طبقة نص محدّدة */
.cv-layer { position: relative; margin: 6px 4px 8px; padding: 14px 14px; border: 1.5px solid var(--sel); background: #fff; box-shadow: 0 10px 26px rgba(13,153,255,.12); }
.cv-layer p { margin: 0; font-size: 16.5px; line-height: 1.9; font-weight: 700; color: #111827; }
.cv-tag { position: absolute; top: -11px; inset-inline-start: -1.5px; padding: 1px 7px; border-radius: 4px 4px 0 0; background: var(--sel); color: #fff; font-size: 10.5px; font-weight: 700; direction: ltr; }
.cv-layer > i { position: absolute; width: 8px; height: 8px; background: #fff; border: 1.5px solid var(--sel); }
.cv-layer .h1 { top: -5px; left: -5px; } .cv-layer .h2 { top: -5px; right: -5px; } .cv-layer .h3 { bottom: -5px; left: -5px; } .cv-layer .h4 { bottom: -5px; right: -5px; }
.cv-cursor { position: absolute; z-index: 3; bottom: -16px; left: 30%; width: 16px; height: 16px; pointer-events: none;
  background: no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 2l17 8-7 2-3 8z' fill='%23f24e1e' stroke='%23fff' stroke-width='1.5'/%3E%3C/svg%3E"); animation: cvCur 7s ease-in-out infinite; }
.cv-cursor b { position: absolute; top: 14px; left: 12px; padding: 2px 7px; border-radius: 6px; background: #f24e1e; color: #fff; font-size: 10.5px; white-space: nowrap; }
@keyframes cvCur { 0%, 100% { transform: translate(0, 0); } 30% { transform: translate(120px, -40px); } 60% { transform: translate(60px, -10px); } }
/* مخطط الرحلة */
.cv-flow { display: grid; padding: 4px 6px; }
.cv-node { position: relative; display: flex; align-items: center; gap: 12px; padding-bottom: 46px; animation: pgUp .5s both; animation-delay: calc(var(--i) * .12s); }
.cv-node:last-child { padding-bottom: 0; }
.cv-mini { position: relative; flex: none; display: grid; place-items: center; width: 54px; height: 70px; border-radius: 12px; background: #fff; border: 1.5px solid #e4e4ea;
  box-shadow: 0 8px 18px rgba(0,0,0,.07); transition: transform .3s, border-color .3s; }
.cv-mini::before { content: ""; position: absolute; top: 6px; left: 50%; width: 16px; height: 3px; margin-left: -8px; border-radius: 3px; background: #e4e4ea; }
.cv-mini em { font-style: normal; font-size: 24px; }
.cv-node:hover .cv-mini { transform: scale(1.08) rotate(-3deg); border-color: var(--sel); }
.cv-node b { display: block; font-size: 16px; color: #111827; } .cv-node span { font-size: 14px; color: #6b7280; }
.cv-link { position: absolute; top: 72px; inset-inline-start: 7px; width: 40px; height: 46px; overflow: visible; }
.cv-link path { fill: none; stroke: var(--sel); stroke-width: 1.8; stroke-dasharray: 3 4; }
.cv-link circle { fill: var(--sel); filter: drop-shadow(0 0 4px var(--sel)); }
/* أوراق لاصقة */
.cv-notes { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 10px; padding: 8px 4px; }
.cv-note { --n: #fff3a6; position: relative; display: grid; gap: 4px; min-height: 110px; padding: 18px 12px 12px; background: var(--n);
  box-shadow: 0 10px 18px rgba(0,0,0,.1), inset 0 -18px 18px -18px rgba(0,0,0,.08); transform: rotate(var(--r, -2deg)); transition: transform .35s cubic-bezier(.3,1.5,.5,1), box-shadow .35s;
  animation: noteIn .6s cubic-bezier(.3,1.5,.5,1) both; animation-delay: calc(.1s + var(--i) * .12s); }
.cv-note:nth-child(2) { --n: #ffd6e7; --r: 2.5deg; } .cv-note:nth-child(3) { --n: #c8f5df; --r: 1.5deg; } .cv-note:nth-child(4) { --n: #d4e4ff; --r: -2.5deg; }
@keyframes noteIn { from { opacity: 0; transform: translateY(-20px) rotate(-12deg) scale(.8); } }
.cv-note i { position: absolute; top: -8px; left: 50%; width: 46px; height: 16px; margin-left: -23px; background: rgba(255,255,255,.6); border: 1px solid rgba(0,0,0,.05); transform: rotate(-4deg); }
.cv-note:hover { transform: rotate(0) translateY(-6px) scale(1.04); box-shadow: 0 18px 28px rgba(0,0,0,.15); z-index: 2; }
.cv-note b { font-size: 15.5px; color: #1f2937; } .cv-note span { font-size: 13.5px; line-height: 1.6; color: #374151; }
/* تعليق */
.cv-comment { display: flex; align-items: flex-start; gap: 8px; margin: 8px 0; }
.cv-pin { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50% 50% 50% 4px; background: linear-gradient(135deg, #7c3aed, #ec4899); color: #fff; font-size: 12px; font-weight: 900; box-shadow: 0 6px 14px rgba(124,58,237,.35); animation: pinBob 3s ease-in-out infinite; }
[dir="rtl"] .cv-pin { border-radius: 50% 50% 4px 50%; }
@keyframes pinBob { 50% { transform: translateY(-4px); } }
.cv-bubble { flex: 1; padding: 12px 14px; border-radius: 16px; background: #fff; box-shadow: 0 10px 24px rgba(0,0,0,.08); border: 1px solid #ececf3; }
.cv-meta { display: flex; justify-content: space-between; } .cv-meta b { font-size: 12.5px; color: #111827; } .cv-meta small { font-size: 11.5px; color: #9ca3af; }
.cv-bubble p { margin: 6px 0 8px; font-size: 16px; line-height: 1.7; font-weight: 600; color: #1f2937; }
.cv-react { display: flex; gap: 6px; } .cv-react span { padding: 2px 8px; border-radius: 99px; font-size: 12px; background: #f3f4f6; }
/* زر تشغيل النموذج */
.cv-play { position: relative; display: grid; justify-items: center; gap: 6px; margin-top: 14px; padding: 26px 16px 18px; border-radius: 20px; text-align: center; text-decoration: none; color: #fff;
  background: radial-gradient(120% 100% at 50% 0%, #1d4ed8, #0b1437); border: 1.5px solid var(--sel); box-shadow: 0 16px 34px rgba(13,153,255,.3); }
.cv-plabel { position: absolute; top: -11px; inset-inline-start: 12px; padding: 1px 8px; border-radius: 4px; background: var(--sel); font-size: 10.5px; font-weight: 700; direction: ltr; }
.cv-pbtn { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: #fff; color: #1d4ed8; font-size: 20px; padding-inline-start: 4px; box-shadow: 0 0 0 0 rgba(255,255,255,.6); animation: playPulse 2s infinite; }
@keyframes playPulse { 70% { box-shadow: 0 0 0 16px rgba(255,255,255,0); } 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); } }
.cv-play b { font-size: 18px; } .cv-ptext { font-size: 14px; color: rgba(255,255,255,.85); }
.cv-play em { margin-top: 4px; padding: 9px 18px; border-radius: 10px; font-style: normal; font-weight: 800; font-size: 14.5px; background: var(--sel); transition: transform .25s; }
.cv-play:hover em { transform: scale(1.06); } .cv-play:hover .cv-pbtn { transform: scale(1.08); }
@media (prefers-reduced-motion: reduce) { .pg-canvas * { animation: none !important; } }

/* ===== معرض الخدمات ===== */
.pg-svcs { gap: 6px; }
.svc-label { display: flex; align-items: center; gap: 10px; margin: 14px 2px 4px; }
.svc-label span { font-size: 19px; font-weight: 900; letter-spacing: -.2px; background: linear-gradient(90deg, #111827, #6d28d9 60%, #db2777); -webkit-background-clip: text; background-clip: text; color: transparent; }
.svc-label::after { content: ""; flex: 1; height: 2px; border-radius: 2px; background: linear-gradient(90deg, rgba(109,40,217,.3), transparent); }
[dir="rtl"] .svc-label::after { background: linear-gradient(270deg, rgba(109,40,217,.3), transparent); }
.svc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; perspective: 900px; }
.svc { position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; min-height: 150px; padding: 14px; border-radius: 22px; text-align: start; color: #fff; cursor: pointer;
  background: linear-gradient(145deg, var(--c1), var(--c2)); box-shadow: 0 14px 28px color-mix(in srgb, var(--c1) 35%, transparent), inset 0 1px 0 rgba(255,255,255,.35);
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .2s ease-out, box-shadow .3s;
  animation: svcIn .6s cubic-bezier(.2,.9,.2,1) both; animation-delay: calc(var(--i) * .07s); }
@keyframes svcIn { from { opacity: 0; transform: translateY(24px) scale(.92); } }
.svc.wide { grid-column: span 2; min-height: 132px; }
.svc.dark { background: radial-gradient(120% 120% at 85% 10%, color-mix(in srgb, var(--c2) 70%, transparent), transparent 55%), radial-gradient(100% 100% at 10% 100%, color-mix(in srgb, var(--c1) 80%, transparent), transparent 60%), #0b0820; }
.svc.dark::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .8; background-image: radial-gradient(1px 1px at 20% 30%, #fff, transparent), radial-gradient(1px 1px at 60% 20%, #fff, transparent), radial-gradient(1.5px 1.5px at 80% 60%, #fff, transparent), radial-gradient(1px 1px at 35% 75%, #fff, transparent), radial-gradient(1px 1px at 90% 85%, #fff, transparent); animation: twinkle 3s ease-in-out infinite alternate; }
/* زخارف: كرة ضوء وحلقة */
.svc-orb { position: absolute; z-index: -1; top: -40px; inset-inline-end: -30px; width: 150px; height: 150px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.45), transparent 65%); animation: orbDrift 7s ease-in-out infinite; animation-delay: calc(var(--i) * -1.3s); }
.svc-ring { position: absolute; z-index: -1; bottom: -50px; inset-inline-start: -40px; width: 140px; height: 140px; border-radius: 50%; border: 18px solid rgba(255,255,255,.1); }
@keyframes orbDrift { 50% { transform: translate(-14px, 12px) scale(1.1); } }
/* الرمز الطاير */
.svc em { position: absolute; top: 12px; inset-inline-end: 14px; font-style: normal; font-size: 46px; line-height: 1; filter: drop-shadow(0 10px 14px rgba(0,0,0,.28));
  animation: emoFloat 4.5s ease-in-out infinite; animation-delay: calc(var(--i) * -.7s); transition: transform .4s cubic-bezier(.3,1.6,.5,1); }
.svc.wide em { font-size: 58px; top: 50%; translate: 0 -50%; }
.svc-txt { position: relative; display: grid; gap: 2px; max-width: 85%; }
.svc b { font-size: 16.5px; font-weight: 800; line-height: 1.35; text-shadow: 0 2px 8px rgba(0,0,0,.15); }
.svc.wide b { font-size: 19px; }
.svc small { font-size: 13px; font-weight: 600; color: rgba(255,255,255,.85); }
.svc-go { position: absolute; bottom: 12px; inset-inline-end: 12px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: rgba(255,255,255,.22); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.35); transition: transform .3s, background .3s; }
.svc-go svg { width: 16px; height: 16px; color: #fff; }
[dir="rtl"] .svc-go svg { transform: scaleX(-1); }
.svc:not(.wide) .svc-go { display: none; }
/* لمعة + رفع لما تأشّر */
.svc::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.35) 50%, transparent 65%); background-size: 260% 100%; background-position: 140% 0; transition: background-position .8s; }
.svc:hover::after { background-position: -40% 0; }
.svc:hover { box-shadow: 0 22px 40px color-mix(in srgb, var(--c1) 45%, transparent), inset 0 1px 0 rgba(255,255,255,.35); }
.svc:hover em { transform: scale(1.15) rotate(-8deg); }
.svc:hover .svc-go { background: #fff; } .svc:hover .svc-go svg { color: var(--c1); }
.svc:active { transform: scale(.97); }
@media (prefers-reduced-motion: reduce) { .svc, .svc *, .svc::before { animation: none !important; } }

/* ===== من نحن: واجهة الشركة ===== */
.pg-about { gap: 14px; }
/* غروب العين وجبل حفيت */
.ab-hero { position: relative; height: 300px; margin: 0 -10px; border-radius: 26px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: 18px; color: #fff; box-shadow: 0 20px 44px rgba(30,17,69,.4); }
.ab-sky { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.ab-sun { animation: sunSet 14s ease-in-out infinite alternate; transform-origin: center; }
@keyframes sunSet { from { transform: translateY(-14px); } to { transform: translateY(12px); } }
.ab-stars circle { fill: #fff; animation: twinkle 2.6s ease-in-out infinite alternate; } .ab-stars circle:nth-child(odd) { animation-delay: -1.3s; }
.ab-palms { animation: sway 5s ease-in-out infinite; transform-origin: 50% 100%; }
@keyframes sway { 50% { transform: skewX(1.5deg); } }
.ab-mono { position: absolute; z-index: 1; top: 16px; inset-inline-start: 16px; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; font-weight: 900; font-size: 17px; letter-spacing: -.5px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.35); backdrop-filter: blur(8px); box-shadow: 0 0 24px rgba(255,197,107,.35); }
.ab-loc { position: absolute; z-index: 1; top: 24px; inset-inline-end: 16px; padding: 4px 11px; border-radius: 99px; font-size: 12px; font-weight: 700; background: rgba(0,0,0,.25); border: 1px solid rgba(255,255,255,.25); backdrop-filter: blur(6px); }
.ab-title { position: relative; z-index: 1; margin: 0; display: grid; font-size: 32px; line-height: 1.25; font-weight: 900; text-shadow: 0 4px 18px rgba(0,0,0,.35); }
.ab-title span { animation: wordUp .9s cubic-bezier(.2,.9,.2,1) both; }
.ab-title span:last-child { animation-delay: .35s; background: linear-gradient(90deg, #ffe0a3, #ffb3c7); -webkit-background-clip: text; background-clip: text; color: transparent; }
@keyframes wordUp { from { opacity: 0; transform: translateY(24px); filter: blur(8px); } }
/* السالفة */
.ab-story { position: relative; padding: 18px 18px 18px 18px; border-radius: 20px; background: #fff; box-shadow: 0 10px 28px rgba(0,0,0,.06); border: 1px solid #f0eef6; }
.ab-q { position: absolute; top: -18px; inset-inline-start: 14px; font-size: 64px; line-height: 1; font-weight: 900; background: linear-gradient(135deg, #f08a5d, #7c2d6b); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ab-story p { margin: 6px 0 0; font-size: 16.5px; line-height: 2; color: #1f1633; font-weight: 600; }
/* الرؤية والرسالة */
.ab-vm { display: grid; gap: 10px; }
.ab-vm-card { position: relative; overflow: hidden; padding: 18px 16px 16px; border-radius: 22px; color: #fff; animation: pgUp .6s both; }
.ab-vm-card.v0 { background: radial-gradient(120% 100% at 100% 0%, #6d28d9, transparent 60%), linear-gradient(135deg, #1e1145, #3b1a6b); }
.ab-vm-card.v1 { background: radial-gradient(120% 100% at 0% 100%, #f08a5d, transparent 60%), linear-gradient(135deg, #7c2d6b, #b4465a); animation-delay: .12s; }
.ab-vm-n { position: absolute; bottom: -18px; inset-inline-end: 8px; font-size: 92px; font-weight: 900; line-height: 1; color: rgba(255,255,255,.08); }
.ab-vm-card em { display: inline-grid; place-items: center; width: 44px; height: 44px; margin-bottom: 8px; border-radius: 14px; font-style: normal; font-size: 24px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25); animation: emoFloat 4s ease-in-out infinite; }
.ab-vm-card b { display: block; font-size: 19px; font-weight: 900; color: #ffe0a3; }
.ab-vm-card p { position: relative; margin: 6px 0 0; font-size: 15.5px; line-height: 1.9; color: rgba(255,255,255,.92); }
/* القيم: خلية نحل */
.ab-sub { display: block; margin-bottom: 10px; font-size: 19px; font-weight: 900; background: linear-gradient(90deg, #1e1145, #b4465a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ab-hex { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 6px; }
.ab-hex > div { --c: hsl(calc(270 + var(--i) * 18) 70% 55%); display: grid; place-items: center; align-content: center; gap: 2px; width: 92px; height: 104px; text-align: center;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); background: linear-gradient(160deg, color-mix(in srgb, var(--c) 18%, #fff), color-mix(in srgb, var(--c) 32%, #fff));
  transition: transform .35s cubic-bezier(.3,1.6,.5,1), background .3s; animation: hexIn .6s cubic-bezier(.3,1.5,.5,1) both; animation-delay: calc(var(--i) * .07s); }
.ab-hex > div:nth-child(n+4) { margin-top: -18px; }
@keyframes hexIn { from { opacity: 0; transform: scale(.4) rotate(-30deg); } }
.ab-hex em { font-style: normal; font-size: 26px; }
.ab-hex span { font-size: 12.5px; font-weight: 800; color: #1f1633; }
.ab-hex > div:hover { transform: scale(1.1); background: linear-gradient(160deg, var(--c), color-mix(in srgb, var(--c) 60%, #000)); }
.ab-hex > div:hover span { color: #fff; }
/* الأرقام */
.ab-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ab-stats > div { display: grid; justify-items: center; gap: 2px; padding: 16px 6px; border-radius: 18px; text-align: center; background: linear-gradient(180deg, #fff, #fbf7ff); border: 1px solid #efe9fb; }
.ab-stats b { font-size: 30px; font-weight: 900; line-height: 1.1; background: linear-gradient(135deg, #6d28d9, #f08a5d); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.ab-stats small { font-size: 12.5px; font-weight: 700; color: #4b4560; line-height: 1.45; }
/* الرسالة الموقّعة */
.ab-letter { position: relative; padding: 20px 18px 16px; border-radius: 6px 22px 22px 22px; background: #fffdf7; border: 1px solid #f3e7c9;
  background-image: repeating-linear-gradient(transparent 0 31px, rgba(180,150,90,.14) 31px 32px); box-shadow: 0 12px 28px rgba(120,90,30,.12); transform: rotate(-.6deg); }
.ab-letter b { font-size: 17px; color: #7c2d6b; }
.ab-letter p { margin: 8px 0 6px; font-size: 16px; line-height: 2; color: #3b2f1e; font-weight: 600; }
.ab-sign { display: flex; flex-direction: column; align-items: flex-end; }
[dir="rtl"] .ab-sign { align-items: flex-start; }
.ab-sign svg { width: 130px; height: 40px; }
.ab-sign path { fill: none; stroke: #7c2d6b; stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 400; stroke-dashoffset: 400; animation: sign 2.4s .6s ease-out forwards; }
@keyframes sign { to { stroke-dashoffset: 0; } }
.ab-sign small { font-size: 12.5px; font-weight: 800; color: #7c2d6b; }
/* شو حلمك؟ */
.ab-dream { position: relative; overflow: hidden; display: grid; justify-items: center; gap: 6px; padding: 26px 16px 20px; border-radius: 24px; text-align: center; text-decoration: none; color: #fff;
  background: linear-gradient(135deg, #1e1145, #7c2d6b 55%, #f08a5d); box-shadow: 0 18px 38px rgba(124,45,107,.4); }
.ab-dream-glow { position: absolute; width: 220px; height: 220px; border-radius: 50%; top: -110px; left: 50%; margin-left: -110px; background: radial-gradient(circle, rgba(255,207,138,.55), transparent 65%); animation: orbDrift 6s ease-in-out infinite; }
.ab-dream b { position: relative; font-size: 26px; font-weight: 900; }
.ab-dream > span:not(.ab-dream-glow) { position: relative; font-size: 15px; color: rgba(255,255,255,.88); }
.ab-dream em { position: relative; margin-top: 6px; padding: 10px 20px; border-radius: 99px; font-style: normal; font-weight: 800; font-size: 15px; color: #1e1145; background: linear-gradient(90deg, #ffe0a3, #ffb3c7); box-shadow: 0 8px 20px rgba(255,179,199,.4); transition: transform .25s; }
.ab-dream:hover em { transform: scale(1.06); }
@media (prefers-reduced-motion: reduce) { .pg-about *, .ab-sign path { animation: none !important; stroke-dashoffset: 0 !important; } }

/* صورة العين الحقيقية بدل الرسمة */
.ab-hero { height: 340px; background: #2a1a12; }
.ab-photo { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; animation: kenBurns 22s ease-in-out infinite alternate; }
@keyframes kenBurns { from { transform: scale(1.05) translate(0, 0); } to { transform: scale(1.18) translate(-3%, -4%); } }
.ab-shade { position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg, rgba(20,10,30,.45) 0%, transparent 30%, transparent 45%, rgba(20,10,30,.85) 100%); }
.ab-credit { position: absolute; z-index: 1; bottom: 8px; left: 12px; font-size: 9.5px; color: rgba(255,255,255,.6); }
[dir="rtl"] .ab-title { padding-bottom: 8px; }
@media (prefers-reduced-motion: reduce) { .ab-photo { animation: none; } }

/* ===== الدعم الفني ===== */
.pg-support { gap: 12px; }
.hp-hero { position: relative; overflow: hidden; display: grid; justify-items: center; gap: 6px; padding: 22px 18px 18px; border-radius: 24px; text-align: center; color: #fff;
  background: radial-gradient(120% 100% at 50% 0%, #22d3ee 0%, transparent 55%), linear-gradient(160deg, #0e7490, #1e3a8a); box-shadow: 0 18px 38px rgba(14,116,144,.35); }
.hp-head { position: relative; display: grid; place-items: center; width: 84px; height: 84px; margin-bottom: 4px; }
.hp-ico { position: relative; display: grid; place-items: center; width: 70px; height: 70px; border-radius: 50%; font-size: 36px; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.4); backdrop-filter: blur(6px); animation: emoFloat 3.5s ease-in-out infinite; }
.hp-wave { position: absolute; inset: 7px; border-radius: 50%; border: 2px solid rgba(255,255,255,.55); animation: halo 2.4s ease-out infinite; } .hp-wave + .hp-wave { animation-delay: 1.2s; }
.hp-hero b { font-size: 21px; font-weight: 900; }
.hp-hero p { margin: 0; font-size: 15px; line-height: 1.8; color: rgba(255,255,255,.9); }
.hp-issues { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.hp-issue { --c: hsl(calc(190 + var(--i) * 28) 75% 50%); position: relative; display: grid; gap: 6px; padding: 14px 12px; border-radius: 18px; text-decoration: none; color: #111827;
  background: linear-gradient(160deg, #fff, color-mix(in srgb, var(--c) 8%, #fff)); border: 1.5px solid color-mix(in srgb, var(--c) 25%, #fff); box-shadow: 0 6px 16px rgba(0,0,0,.05);
  transition: transform .3s cubic-bezier(.3,1.5,.5,1), box-shadow .3s, border-color .3s; animation: pgUp .5s both; animation-delay: calc(var(--i) * .06s); }
.hp-issue em { font-style: normal; font-size: 26px; transition: transform .35s cubic-bezier(.3,1.6,.5,1); }
.hp-issue b { font-size: 15px; line-height: 1.4; }
.hp-arrow { position: absolute; top: 12px; inset-inline-end: 10px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: color-mix(in srgb, var(--c) 14%, #fff); color: var(--c); transition: background .3s, color .3s; }
.hp-arrow svg { width: 15px; height: 15px; } [dir="rtl"] .hp-arrow svg { transform: scaleX(-1); }
.hp-issue:hover { transform: translateY(-4px); border-color: var(--c); box-shadow: 0 14px 28px color-mix(in srgb, var(--c) 25%, transparent); }
.hp-issue:hover em { transform: scale(1.2) rotate(-8deg); } .hp-issue:hover .hp-arrow { background: var(--c); color: #fff; }
.hp-issue:first-child { --c: #ef4444; }
.hp-issue:first-child em { animation: urgent 1.2s ease-in-out infinite; } @keyframes urgent { 50% { transform: scale(1.15); filter: drop-shadow(0 0 6px #ef4444); } }
.hp-channels { display: grid; gap: 8px; }
.hp-ch { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 18px; text-decoration: none; color: #fff; transition: transform .3s; }
.hp-ch.wa { background: linear-gradient(135deg, #16a34a, #22c55e); box-shadow: 0 10px 22px rgba(34,197,94,.3); }
.hp-ch.mail { background: linear-gradient(135deg, #4f46e5, #7c3aed); box-shadow: 0 10px 22px rgba(124,58,237,.3); }
.hp-ch em { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; font-style: normal; font-size: 22px; background: rgba(255,255,255,.2); }
.hp-ch span { display: grid; } .hp-ch b { font-size: 16px; } .hp-ch small { font-size: 14px; opacity: .9; text-align: start; }
.hp-ch:hover { transform: translateY(-3px) scale(1.01); }
@media (prefers-reduced-motion: reduce) { .pg-support * { animation: none !important; } }

/* ===== الصيانة والدعم: مراقبة، تبويبات، باقات، خط إصلاح، وشارات ===== */
.mt-sub { display: block; margin-bottom: 10px; font-size: 19px; font-weight: 900; background: linear-gradient(90deg, #0e7490, #1e3a8a); -webkit-background-clip: text; background-clip: text; color: transparent; }
/* شاشة المراقبة */
.mt-mon { padding: 14px; border-radius: 22px; color: #e0f2fe; background: radial-gradient(100% 80% at 100% 0%, rgba(34,211,238,.25), transparent 60%), #071a2b; box-shadow: 0 16px 34px rgba(7,26,43,.35); }
.mt-mon-top { display: flex; align-items: center; justify-content: space-between; }
.mt-live { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 800; color: #4ade80; }
.mt-live i { width: 9px; height: 9px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 0 rgba(74,222,128,.6); animation: livePulse 1.6s infinite; }
@keyframes livePulse { 70% { box-shadow: 0 0 0 8px rgba(74,222,128,0); } }
.mt-mon-top small { font-size: 11px; color: rgba(224,242,254,.5); }
.mt-ekg { display: block; width: 100%; height: 70px; margin: 8px 0; }
.mt-grid { stroke: rgba(255,255,255,.08); stroke-width: 1; fill: none; }
.mt-line { fill: none; stroke: #22d3ee; stroke-width: 2.2; stroke-linejoin: round; filter: drop-shadow(0 0 4px #22d3ee); stroke-dasharray: 520; stroke-dashoffset: 520; animation: ekg 2.8s linear infinite; }
@keyframes ekg { to { stroke-dashoffset: -520; } }
.mt-dot { fill: #fff; filter: drop-shadow(0 0 6px #22d3ee); }
.mt-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.mt-pills span { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 99px; font-size: 12px; font-weight: 700; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); }
.mt-pills i { width: 7px; height: 7px; border-radius: 50%; background: #4ade80; animation: livePulse 1.6s infinite; animation-delay: calc(var(--i) * .3s); }
.mt-mon p { margin: 12px 0 0; font-size: 15.5px; line-height: 1.9; color: rgba(224,242,254,.92); }
/* التبويبات */
.mt-tabbar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; padding: 4px; border-radius: 16px; background: #eef2f7; }
.mt-tabbar button { display: grid; justify-items: center; gap: 2px; padding: 8px 2px; border-radius: 12px; font-size: 12.5px; font-weight: 800; color: #475569; transition: background .3s, color .3s, box-shadow .3s; cursor: pointer; }
.mt-tabbar em { font-style: normal; font-size: 20px; transition: transform .35s cubic-bezier(.3,1.6,.5,1); }
.mt-tabbar button.on { background: #fff; color: #0e7490; box-shadow: 0 6px 14px rgba(14,116,144,.15); } .mt-tabbar button.on em { transform: scale(1.18); }
.mt-panel { display: none; position: relative; overflow: hidden; margin-top: 10px; padding: 16px; border-radius: 20px; background: linear-gradient(160deg, #ecfeff, #eff6ff); border: 1px solid #cdeaf3; }
.mt-panel.on { display: block; animation: panelIn .45s cubic-bezier(.2,.9,.2,1); }
@keyframes panelIn { from { opacity: 0; transform: translateY(10px); } }
.mt-big { position: absolute; top: -6px; inset-inline-end: 6px; font-size: 64px; opacity: .14; }
.mt-panel p { position: relative; margin: 0 0 10px; font-size: 15.5px; line-height: 1.8; font-weight: 700; color: #0f172a; }
.mt-panel ul, .mt-tier ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.mt-panel li, .mt-tier li { position: relative; padding-inline-start: 26px; font-size: 14.5px; color: #334155; }
.mt-panel li::before, .mt-tier li::before { content: "✓"; position: absolute; inset-inline-start: 0; top: 1px; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; font-size: 11px; font-weight: 900; color: #fff; background: #0e7490; }
.mt-panel.on li { animation: pgUp .4s both; } .mt-panel.on li:nth-child(2) { animation-delay: .06s } .mt-panel.on li:nth-child(3) { animation-delay: .12s } .mt-panel.on li:nth-child(4) { animation-delay: .18s }
/* الباقات */
.mt-tiers { display: grid; gap: 10px; }
.mt-tiers .mt-sub { margin-bottom: 0; }
.mt-tier { position: relative; overflow: hidden; padding: 16px; border-radius: 20px; background: #fff; border: 1.5px solid #e2e8f0; box-shadow: 0 6px 16px rgba(0,0,0,.04); transition: transform .3s; }
.mt-tier:hover { transform: translateY(-3px); }
.mt-tier-h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.mt-tier-h b { font-size: 18px; color: #0f172a; }
.mt-tier-h span { padding: 3px 12px; border-radius: 99px; font-size: 12px; font-weight: 900; color: #fff; background: #0e7490; }
.mt-tier.vip { color: #fff; border: 0; background: linear-gradient(150deg, #0b1d3a, #1e3a8a 60%, #0e7490); box-shadow: 0 18px 36px rgba(30,58,138,.35); transform: scale(1.02); }
.mt-tier.vip::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1.5px; background: conic-gradient(from var(--ang), #facc15, #22d3ee, #facc15); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: angSpin 4s linear infinite; pointer-events: none; }
.mt-tier.vip .mt-tier-h b { color: #fff; } .mt-tier.vip .mt-tier-h span { color: #422006; background: linear-gradient(90deg, #facc15, #fde68a); box-shadow: 0 0 14px rgba(250,204,21,.5); }
.mt-tier.vip li { color: rgba(255,255,255,.92); } .mt-tier.vip li::before { background: #facc15; color: #422006; }
.mt-tier.ent { background: linear-gradient(160deg, #f8fafc, #eef2ff); } .mt-tier.ent .mt-tier-h span { background: #4338ca; }
/* خط الإصلاح */
.mt-steps { position: relative; display: grid; gap: 14px; padding-inline-start: 4px; }
.mt-track { position: absolute; top: 20px; bottom: 20px; inset-inline-start: 23px; width: 4px; border-radius: 4px; background: #e2e8f0; overflow: hidden; }
.mt-track i { position: absolute; inset-inline: 0; top: 0; height: 100%; background: linear-gradient(#22d3ee, #0e7490, #16a34a); transform-origin: top; animation: trackFill 6s ease-in-out infinite; }
@keyframes trackFill { 0% { transform: scaleY(0); } 70%, 90% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
.mt-steps > div { position: relative; display: flex; align-items: center; gap: 12px; }
.mt-steps em { position: relative; z-index: 1; flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; font-style: normal; font-size: 21px; background: #fff; border: 2px solid #e2e8f0; animation: stepLit 6s infinite; animation-delay: calc(var(--i) * 1.05s); }
@keyframes stepLit { 0%, 100% { border-color: #e2e8f0; box-shadow: none; transform: none; } 6%, 60% { border-color: #22d3ee; box-shadow: 0 0 0 5px rgba(34,211,238,.18); transform: scale(1.06); } }
.mt-steps span { display: grid; } .mt-steps b { font-size: 16px; color: #0f172a; } .mt-steps small { font-size: 14px; color: #64748b; }
/* الشارات */
.mt-trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mt-trio > div { display: grid; justify-items: center; gap: 4px; padding: 14px 6px; border-radius: 18px; text-align: center; background: linear-gradient(180deg, #fff, #f0f9ff); border: 1px solid #dbeafe; }
.mt-badge { position: relative; display: grid; place-items: center; width: 62px; height: 62px; }
.mt-badge svg { position: absolute; inset: 0; animation: orbSpin 10s linear infinite; animation-delay: calc(var(--i) * -2s); }
.mt-badge circle { fill: none; stroke: #22d3ee; stroke-width: 3; stroke-dasharray: 6 8; stroke-linecap: round; }
.mt-badge em { font-style: normal; font-size: 26px; }
.mt-trio b { font-size: 14px; color: #0f172a; } .mt-trio small { font-size: 12.5px; line-height: 1.5; color: #64748b; }
@media (prefers-reduced-motion: reduce) { .pg-support * { animation: none !important; } .mt-line { stroke-dashoffset: 0; } }
.mt-line { stroke-dashoffset: 0; animation-name: ekg2; } @keyframes ekg2 { from { stroke-dashoffset: 520; } to { stroke-dashoffset: -520; } }
