﻿/* Quick System — جرافيك عالي (2026-11-22): موج البانر، حيطة الشاشات 3D، يومك مع البرنامج، الإطارات الملوّنة، العناوين، دايرة الماوس */

/* ===== موج ألوان في البانر ===== */
.fx-aurora { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: .9; mix-blend-mode: screen; }
.fx-hero .fx-net { z-index: 1; }
.fx-hero-in { z-index: 3; }

/* ===== حيطة الشاشات 3D ===== */
.fx-wall { position: relative; height: 640px; overflow: hidden; background: radial-gradient(900px 400px at 50% 0%, #1d4ed8 0%, transparent 70%), #071233; color: #fff; perspective: 1400px; }
.fx-wall .tilt { position: absolute; inset: -20% -10%; display: grid; grid-template-columns: repeat(6, 1fr); gap: 22px; transform: rotateX(28deg) rotateZ(-14deg) translateY(-6%); transform-style: preserve-3d; }
[dir=rtl] .fx-wall .tilt { transform: rotateX(28deg) rotateZ(14deg) translateY(-6%); }
.fx-wall .col { display: flex; flex-direction: column; gap: 22px; animation: wallUp 60s linear infinite; will-change: transform; }
.fx-wall .col:nth-child(even) { animation-name: wallDown; animation-duration: 70s; }
.fx-wall .col:nth-child(3n) { animation-duration: 80s; }
.fx-wall .col img { width: 100%; aspect-ratio: 1440/860; object-fit: cover; object-position: top; border-radius: 14px; box-shadow: 0 20px 40px rgba(0,0,0,.45); border: 1px solid rgba(255,255,255,.12); background: #0f172a; }
@keyframes wallUp { from { transform: translateY(0); } to { transform: translateY(-50%); } }
@keyframes wallDown { from { transform: translateY(-50%); } to { transform: translateY(0); } }
.fx-wall::before { content: ""; position: absolute; inset: 0; z-index: 2; background: linear-gradient(180deg, #071233 0%, rgba(7,18,51,.55) 22%, rgba(7,18,51,.35) 50%, rgba(7,18,51,.55) 78%, #071233 100%), radial-gradient(600px 300px at 50% 50%, rgba(7,18,51,.85), transparent 75%); }
.fx-wall .over { position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 20px; }
.fx-wall .over h2 { font-size: clamp(1.9em, 4.4vw, 3.2em); font-weight: 800; margin: 10px 0; text-shadow: 0 6px 40px rgba(0,0,0,.6); }
.fx-wall .over h2 em { font-style: normal; background: linear-gradient(90deg, #fdba74, #f97316, #fbbf24); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fx-wall .over p { color: #cbd5e1; max-width: 620px; font-size: 1.1em; margin: 0 0 24px; }
.fx-wall .big-n { font-size: clamp(3em, 9vw, 6em); font-weight: 800; line-height: 1; background: linear-gradient(180deg, #fff, #93c5fd); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ===== يومك مع Quick System (بيتغير مع النزول) ===== */
.fx-day { position: relative; }
.fx-day .grid2 { display: grid; grid-template-columns: 1fr 1.1fr; gap: 50px; align-items: start; }
.fx-day .steps { display: flex; flex-direction: column; }
.fx-day .st { min-height: 70vh; display: flex; flex-direction: column; justify-content: center; padding: 20px 0; opacity: .28; transition: opacity .5s, transform .5s; transform: translateX(0); }
.fx-day .st.on { opacity: 1; }
.fx-day .st .tm { display: inline-flex; align-items: center; gap: 8px; color: var(--orange-d); background: var(--orange-l); border-radius: 99px; padding: 4px 14px; font-weight: 800; width: max-content; margin-bottom: 12px; }
.fx-day .st h3 { font-size: clamp(1.5em, 3vw, 2.2em); margin: 0 0 10px; }
.fx-day .st p { color: var(--muted); font-size: 1.1em; margin: 0 0 14px; max-width: 480px; }
.fx-day .st ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.fx-day .st li { display: flex; gap: 10px; align-items: center; font-weight: 600; }
.fx-day .st li i { color: #16a34a; }
.fx-day .sticky { position: sticky; top: 110px; height: calc(100vh - 140px); min-height: 420px; display: flex; align-items: center; }
.fx-day .dev { width: 100%; background: #0f172a; border-radius: 22px; padding: 12px; border: 2px solid #334155; box-shadow: 0 40px 80px -20px rgba(15,23,42,.5), 0 0 0 10px rgba(29,78,216,.06); position: relative; }
.fx-day .dev .bar { display: flex; gap: 6px; padding: 0 4px 10px; align-items: center; }
.fx-day .dev .bar i { width: 10px; height: 10px; border-radius: 50%; background: #ef4444; } .fx-day .dev .bar i:nth-child(2) { background: #f59e0b; } .fx-day .dev .bar i:nth-child(3) { background: #22c55e; }
.fx-day .dev .bar span { margin-inline-start: auto; color: #94a3b8; font-size: .85em; }
.fx-day .dev .slides img { transition: opacity .7s ease, transform .9s ease; }
.fx-day .prog { position: absolute; inset-inline-start: -26px; top: 12%; bottom: 12%; width: 4px; border-radius: 2px; background: var(--line); }
.fx-day .prog b { position: absolute; top: 0; inset-inline: 0; height: 0; border-radius: 2px; background: linear-gradient(180deg, var(--orange), var(--blue)); transition: height .4s; }

/* ===== إطار ملوّن بيلف ===== */
@property --ang { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
.fx-glow { position: relative; isolation: isolate; }
.fx-glow::before { content: ""; position: absolute; inset: -2px; border-radius: inherit; padding: 2px; background: conic-gradient(from var(--ang), #f97316, #1d4ed8, #22c55e, #f97316); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: angRot 4s linear infinite; z-index: -1; opacity: 0; transition: opacity .4s; }
.fx-glow:hover::before, .fx-glow.always::before { opacity: 1; }
@keyframes angRot { to { --ang: 360deg; } }
.plan.pop.fx-glow::before { opacity: 1; inset: -3px; padding: 3px; }

/* ===== العناوين بتظهر كلمة كلمة ===== */
.wsplit .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .08em; }
.wsplit .w > span { display: inline-block; transform: translateY(110%); transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.wsplit.in .w > span { transform: none; }

/* ===== دايرة الماوس ===== */
.cur-dot, .cur-ring { position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9999; border-radius: 50%; transform: translate(-50%, -50%); opacity: 0; transition: opacity .3s, width .25s, height .25s, background .25s, border-color .25s; }
.cur-dot { width: 8px; height: 8px; background: var(--orange); }
.cur-ring { width: 38px; height: 38px; border: 2px solid rgba(29,78,216,.45); }
body.cur-on .cur-dot, body.cur-on .cur-ring { opacity: 1; }
body.cur-hover .cur-ring { width: 64px; height: 64px; background: rgba(249,115,22,.10); border-color: rgba(249,115,22,.6); }
html[data-theme="dark"] .cur-ring { border-color: rgba(147,197,253,.5); }

/* ===== الموبايل ===== */
@media (max-width: 980px) {
    .fx-day .grid2 { grid-template-columns: 1fr; }
    .fx-day .sticky { position: sticky; top: 76px; height: auto; min-height: 0; z-index: 2; padding: 10px 0; background: var(--bg); }
    .fx-day .st { min-height: 46vh; }
    .fx-day .prog { display: none; }
    .fx-wall { height: 520px; }
    .fx-wall .tilt { grid-template-columns: repeat(4, 1fr); }
    .fx-wall .col:nth-child(n+5) { display: none; }
}
@media (max-width: 600px) {
    .fx-wall { height: 460px; }
    .fx-wall .tilt { grid-template-columns: repeat(3, 1fr); gap: 12px; } .fx-wall .col { gap: 12px; }
    .fx-wall .col:nth-child(n+4) { display: none; }
    .fx-day .st { min-height: 40vh; }
    .fx-day .sticky .dev { padding: 8px; border-radius: 16px; }
}
@media (hover: none) { .cur-dot, .cur-ring { display: none; } }
@media (prefers-reduced-motion: reduce) { .fx-wall .col { animation: none; } .wsplit .w > span { transform: none; } }
