/* ذاكرة — حركة ترويسة الرئيسية (hero-fx v1) */
body .hero.hx-on{background-image:none!important;background-color:#05070f}
body .hero.hx-on::before{z-index:1}
body .hero.hx-on::after{z-index:1}
.hx-layers{position:absolute;inset:0;overflow:hidden;z-index:0;pointer-events:none;contain:layout paint}
.hx-bg{position:absolute;inset:-7%;transform:translate3d(calc(var(--px,0)*-26px),calc(var(--py,0)*-16px + var(--sy,0)*.22px),0);will-change:transform}
.hx-bg i{position:absolute;inset:0;background-size:cover;background-position:center;opacity:0;animation:hxkb 34s ease-in-out infinite alternate,hxfade 1.6s ease .1s forwards;will-change:transform}
@keyframes hxkb{0%{transform:scale(1.02) translate3d(0,0,0)}50%{transform:scale(1.11) translate3d(-1.4%,-.8%,0)}100%{transform:scale(1.18) translate3d(.8%,-1.6%,0)}}
@keyframes hxfade{to{opacity:1}}
.hx-shade{position:absolute;inset:0;background:rgba(7,10,24,var(--hx-a,.30))}
.hx-sheen{position:absolute;inset:-25%;background:linear-gradient(112deg,transparent 38%,rgba(255,214,140,.11) 50%,transparent 62%);mix-blend-mode:screen;animation:hxsheen 11s ease-in-out infinite alternate}
@keyframes hxsheen{0%{transform:translateX(-32%)}100%{transform:translateX(32%)}}
.hx-spot{position:absolute;inset:0;background:radial-gradient(560px circle at var(--mx,70%) var(--my,35%),rgba(255,206,130,.22),rgba(110,140,255,.09) 42%,transparent 70%);mix-blend-mode:screen;opacity:.9}
.hx-fx{position:absolute;inset:0;width:100%;height:100%}
.hx-vig{position:absolute;inset:0;background:radial-gradient(125% 105% at 50% 42%,transparent 52%,rgba(2,4,12,.6))}
.hx-tilt{transform-style:preserve-3d;transition:transform .3s cubic-bezier(.2,.7,.2,1),box-shadow .3s;will-change:transform;position:relative}
.hx-glare{position:absolute;inset:0;border-radius:inherit;pointer-events:none;opacity:0;transition:opacity .3s;background:radial-gradient(260px circle at var(--gx,50%) var(--gy,0%),rgba(255,255,255,.22),transparent 60%);mix-blend-mode:soft-light}
.hx-tilt:hover .hx-glare{opacity:1}
.hx-mag{transition:transform .25s cubic-bezier(.2,.7,.2,1)}
.hx-in .hero-tag{animation:hxup .8s cubic-bezier(.2,.7,.2,1) .05s both}
.hx-in .hero-h1{animation:hxup .95s cubic-bezier(.2,.7,.2,1) .18s both}
.hx-in .hero-h2{animation:hxup .9s cubic-bezier(.2,.7,.2,1) .34s both}
.hx-in .hero-desc{animation:hxup .9s cubic-bezier(.2,.7,.2,1) .46s both}
.hx-in .hero-inner a.btn-primary{animation:hxup .8s cubic-bezier(.2,.7,.2,1) .6s both}
.hx-in .hero-inner a.btn-outline{animation:hxup .8s cubic-bezier(.2,.7,.2,1) .7s both}
.hx-in .hs>*{animation:hxup .8s cubic-bezier(.2,.7,.2,1) both}
.hx-in .hs>*:nth-child(1){animation-delay:.8s}.hx-in .hs>*:nth-child(2){animation-delay:.9s}.hx-in .hs>*:nth-child(3){animation-delay:1s}.hx-in .hs>*:nth-child(4){animation-delay:1.1s}
.hx-in #hero-right{animation:hxside 1.1s cubic-bezier(.2,.7,.2,1) .5s both}
@keyframes hxup{from{opacity:0;transform:translate3d(0,28px,0);filter:blur(7px)}to{opacity:1;transform:none;filter:none}}
@keyframes hxside{from{opacity:0;transform:translate3d(-46px,10px,0) scale(.96);filter:blur(8px)}to{opacity:1;transform:none;filter:none}}
body .hero.hx-on .hero-h1 em,body .hero.hx-on .hero-h1 span,body .hero.hx-on .hero-h1 b{background-size:230% 100%!important;animation:hxshine 7s ease-in-out infinite alternate}
@keyframes hxshine{from{background-position:0 0}to{background-position:100% 0}}
body .hero.hx-on .hs-n{font-variant-numeric:tabular-nums}
@media (prefers-reduced-motion:reduce){.hx-bg i,.hx-sheen,.hx-in *{animation:none!important;opacity:1}.hx-tilt,.hx-mag{transform:none!important}}
@media (max-width:820px){.hx-spot{opacity:.6}.hx-bg{inset:-9%}}
