﻿/* Quick System — جرافيك إضافي (2026-11-22): أيقونات طايرة، منظومة الأجهزة، دواير العدّادات، أشكال متحركة، عناوين متدرّجة، ضوء الماوس */

/* أيقونات طايرة حوالين اللابتوب */
.fx-float { position: absolute; z-index: 6; width: 48px; height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.25em; color: #fff; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: 0 10px 30px rgba(0,0,0,.25); animation: flt 7s ease-in-out infinite; }
.fx-float i { filter: drop-shadow(0 2px 6px rgba(0,0,0,.25)); }
.fx-float.f1 { top: -6%; inset-inline-start: 38%; animation-delay: -1s; } .fx-float.f1 i { color: #fdba74; }
.fx-float.f2 { top: 18%; inset-inline-end: -5%; animation-delay: -2.5s; } .fx-float.f2 i { color: #86efac; }
.fx-float.f3 { bottom: 26%; inset-inline-start: -6%; animation-delay: -4s; } .fx-float.f3 i { color: #93c5fd; }
.fx-float.f4 { bottom: -4%; inset-inline-start: 46%; animation-delay: -3s; width: 42px; height: 42px; } .fx-float.f4 i { color: #f9a8d4; }
.fx-float.f5 { top: 52%; inset-inline-end: 30%; animation-delay: -5s; width: 40px; height: 40px; } .fx-float.f5 i { color: #fde68a; }
.fx-float.f6 { top: -2%; inset-inline-end: 6%; animation-delay: -6s; width: 40px; height: 40px; } .fx-float.f6 i { color: #a5b4fc; }
@keyframes flt { 0%, 100% { transform: translate(0, 0) rotate(0deg); } 33% { transform: translate(6px, -14px) rotate(6deg); } 66% { transform: translate(-6px, -6px) rotate(-5deg); } }

/* حلقات حوالين البانر */
.fx-ring { position: absolute; border-radius: 50%; border: 1.5px dashed rgba(255,255,255,.22); pointer-events: none; animation: spin 40s linear infinite; }
.fx-ring.r1 { width: 520px; height: 520px; top: 50%; left: 50%; margin: -260px 0 0 -260px; }
.fx-ring.r2 { width: 700px; height: 700px; top: 50%; left: 50%; margin: -350px 0 0 -350px; animation-direction: reverse; animation-duration: 60s; border-color: rgba(253,186,116,.18); }
.fx-ring::after { content: ""; position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; border-radius: 50%; background: #fdba74; box-shadow: 0 0 14px #f97316; }
.fx-ring.r2::after { background: #93c5fd; box-shadow: 0 0 14px #3b82f6; }
@keyframes spin { to { transform: rotate(360deg); } }
.fx-stage .fx-ring { z-index: 0; }

/* دواير العدّادات */
.fx-count { padding-top: 22px; }
.fx-count .ring { display: block; width: 92px; height: 92px; margin: 0 auto 10px; position: relative; }
.fx-count .ring svg { display: block; width: 100%; height: 100%; transform: rotate(-90deg); }
.fx-count .ring circle { fill: none; stroke-width: 7; }
.fx-count .ring .bg { stroke: var(--blue-l); }
.fx-count .ring .fg { stroke: url(#ringGrad); stroke-linecap: round; stroke-dasharray: 264; stroke-dashoffset: 264; transition: stroke-dashoffset 1.8s cubic-bezier(.2,.7,.2,1); }
.fx-count.in .ring .fg, .fx-counters .in .ring .fg { stroke-dashoffset: var(--off, 40); }
.fx-count .ring i { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; margin: 0; font-size: 1.5em; color: var(--orange); }

/* منظومة الأجهزة */
.fx-eco { position: relative; overflow: hidden; background: linear-gradient(180deg, #fff 0%, #eff6ff 100%); }
html[data-theme="dark"] .fx-eco { background: linear-gradient(180deg, var(--bg), #0f1a33); }
.fx-eco .scene { max-width: 1000px; margin: 0 auto; position: relative; }
.fx-eco .scene svg { width: 100%; height: auto; display: block; overflow: visible; }
.fx-eco .scene svg .lbl { font-family: 'Cairo', 'Segoe UI', Arial, sans-serif; }
html[data-theme="dark"] .fx-eco .scene svg .lbl { fill: #e2e8f0; }
.fx-eco .chips { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.fx-eco .chips span { background: #fff; border: 1px solid var(--line); padding: 8px 16px; border-radius: 99px; font-weight: 700; font-size: .92em; box-shadow: 0 6px 16px rgba(15,23,42,.06); }
html[data-theme="dark"] .fx-eco .chips span { background: #111a2e; }
.fx-eco .chips i { color: var(--orange); margin-inline-end: 6px; }

/* أشكال ملوّنة بتتحرك في الخلفية */
.sec { position: relative; }
.blob { position: absolute; z-index: 0; pointer-events: none; filter: blur(2px); opacity: .55; animation: morph 14s ease-in-out infinite; }
.blob.b1 { width: 260px; height: 260px; background: linear-gradient(135deg, #dbeafe, #bfdbfe); top: 40px; inset-inline-start: -90px; }
.blob.b2 { width: 200px; height: 200px; background: linear-gradient(135deg, #ffedd5, #fed7aa); bottom: 30px; inset-inline-end: -70px; animation-delay: -5s; }
.blob.b3 { width: 140px; height: 140px; background: linear-gradient(135deg, #e0e7ff, #c7d2fe); top: 45%; inset-inline-end: 8%; animation-delay: -9s; opacity: .4; }
html[data-theme="dark"] .blob { opacity: .12; }
@keyframes morph { 0%, 100% { border-radius: 42% 58% 60% 40% / 45% 45% 55% 55%; transform: translate(0, 0) rotate(0deg); } 33% { border-radius: 60% 40% 35% 65% / 55% 60% 40% 45%; transform: translate(20px, -16px) rotate(20deg); } 66% { border-radius: 35% 65% 55% 45% / 40% 50% 50% 60%; transform: translate(-14px, 12px) rotate(-14deg); } }
.sec > .wrap { position: relative; z-index: 1; }
.deco { position: absolute; z-index: 0; pointer-events: none; color: var(--blue-m); opacity: .7; will-change: transform; }
.deco.d-plus { font-size: 26px; font-weight: 800; }
.deco.d-ring { width: 34px; height: 34px; border-radius: 50%; border: 4px solid #fed7aa; }
.deco.d-tri { width: 0; height: 0; border-left: 16px solid transparent; border-right: 16px solid transparent; border-bottom: 28px solid #bfdbfe; }
.deco.d-dots { width: 90px; height: 60px; background-image: radial-gradient(#93c5fd 2px, transparent 2px); background-size: 14px 14px; }
html[data-theme="dark"] .deco { opacity: .25; }

/* عناوين متدرّجة متحركة */
.sec-head h2 { background: linear-gradient(90deg, var(--blue-d), var(--blue), var(--orange-d), var(--blue)); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: gradTxt 8s ease-in-out infinite; }
html[data-theme="dark"] .sec-head h2 { background-image: linear-gradient(90deg, #93c5fd, #e2e8f0, #fdba74, #93c5fd); }
.sec-head.light h2 { background-image: linear-gradient(90deg, #fff, #bfdbfe, #fdba74, #fff); }
@keyframes gradTxt { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.sec-head h2::after { width: 0; transition: width 1s .3s ease; background: linear-gradient(90deg, var(--orange), #fbbf24); }
.sec-head.in h2::after, [data-anim].in .sec-head h2::after { width: 70px; }

/* كروت البرامج: شريط متدرّج + أيقونة كبيرة باهتة */
.pcard::before { height: 6px; background: linear-gradient(90deg, var(--c, var(--blue)), color-mix(in srgb, var(--c, var(--blue)) 40%, #f97316)); }
.pcard .pc-bg { position: absolute; bottom: -18px; inset-inline-end: -10px; font-size: 6.5em; color: var(--c, var(--blue)); opacity: .06; transform: rotate(-12deg); transition: transform .5s, opacity .5s; pointer-events: none; }
.pcard:hover .pc-bg { transform: rotate(0deg) scale(1.1); opacity: .12; }
.pcard .ic { background: linear-gradient(135deg, var(--c, var(--blue)), color-mix(in srgb, var(--c, var(--blue)) 65%, #000)); }

/* فاصل مايل */
.fx-tilt { position: relative; }
.fx-tilt::before { content: ""; position: absolute; top: -60px; left: 0; right: 0; height: 61px; background: inherit; clip-path: polygon(0 100%, 100% 0, 100% 100%); }

/* ضوء بيمشي مع الماوس في الأقسام الغامقة */
.fx-show, .pro-head, .fx-hero { --sx: 50%; --sy: 30%; }
.fx-show::after, .pro-head::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(500px circle at var(--sx) var(--sy), rgba(255,255,255,.10), transparent 60%); z-index: 0; }
.fx-show .wrap { z-index: 1; }

/* زراير بتلمع لما الماوس يعدّي */
.btn.primary, .btn.orange { box-shadow: 0 8px 20px -8px currentColor; }
.btn.orange { box-shadow: 0 10px 24px -10px rgba(249,115,22,.8); }
.btn.primary { box-shadow: 0 10px 24px -10px rgba(29,78,216,.8); }
.btn.orange:hover, .btn.primary:hover { transform: translateY(-2px); }

@media (max-width: 980px) {
    .fx-ring { display: none; }
    .fx-float.f2, .fx-float.f5 { display: none; }
}
@media (max-width: 600px) {
    .fx-float { width: 36px; height: 36px; font-size: 1em; }
    .fx-float.f6 { display: none; }
    .blob.b3, .deco { display: none; }
    .fx-count .ring { width: 74px; height: 74px; }
}

html, body { overflow-x: clip; }
