/* NOVASOFT_FX_V1 - gentle motion for novasoftapps.com. Text colours are never changed. */
.nfx-bar{position:fixed;top:0;left:0;height:3px;width:0;z-index:99999;pointer-events:none;
  background:linear-gradient(90deg,#22d3ee,#3b82f6,#8b5cf6,#22d3ee);background-size:200% 100%;animation:nfxFlow 3s linear infinite;
  box-shadow:0 0 10px rgba(59,130,246,.6);transition:width .1s linear}

/* moving background inside the first big section (hero) */
.nfx-host{position:relative;isolation:isolate}
.nfx-layer{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:-1;border-radius:inherit}
.nfx-layer canvas{position:absolute;inset:0;width:100%;height:100%}
.nfx-orb{position:absolute;border-radius:50%;filter:blur(40px);opacity:.38;mix-blend-mode:screen;animation:nfxDrift 18s ease-in-out infinite}
.nfx-orb.a{width:340px;height:340px;background:#3b82f6;left:-80px;top:-60px}
.nfx-orb.b{width:280px;height:280px;background:#22d3ee;right:6%;top:18%;animation-duration:22s;animation-delay:-6s}
.nfx-orb.c{width:240px;height:240px;background:#8b5cf6;left:38%;bottom:-90px;animation-duration:26s;animation-delay:-12s}
.nfx-light .nfx-orb{mix-blend-mode:multiply;opacity:.16}

/* headline words rise in */
.nfx-w{display:inline-block;font:inherit;color:inherit;opacity:0;transform:translateY(.45em) rotate(2deg);animation:nfxWord .7s cubic-bezier(.2,.8,.2,1) forwards}

/* scroll reveal (only when JavaScript is on, so nothing is ever hidden without it) */
html.nfx-on .nfx-r{opacity:0;transform:translateY(28px) scale(.98);transition:opacity .7s ease,transform .7s cubic-bezier(.2,.8,.2,1)}
html.nfx-on .nfx-r.nfx-l{transform:translateX(-30px)}
html.nfx-on .nfx-r.nfx-rt{transform:translateX(30px)}
html.nfx-on .nfx-r.nfx-in{opacity:1;transform:none}

/* floating card */
.nfx-float{animation:nfxFloat 6s ease-in-out infinite}

/* card hover: lift + light that follows the mouse */
.nfx-card{transition:transform .25s ease,box-shadow .25s ease;will-change:transform;position:relative}
.nfx-card:hover{box-shadow:0 18px 40px -18px rgba(37,99,235,.45)}
.nfx-card .nfx-glow{position:absolute;inset:0;border-radius:inherit;pointer-events:none;opacity:0;transition:opacity .25s;
  background:radial-gradient(260px circle at var(--mx,50%) var(--my,50%),rgba(96,165,250,.18),transparent 60%)}
.nfx-card:hover .nfx-glow{opacity:1}

/* buttons: shine sweep + soft pulse on the main button */
.nfx-btn{position:relative;overflow:hidden;transition:transform .2s ease,box-shadow .2s ease}
.nfx-btn:hover{transform:translateY(-2px)}
.nfx-btn:after{content:"";position:absolute;top:0;left:-120%;width:60%;height:100%;pointer-events:none;
  background:linear-gradient(110deg,transparent,rgba(255,255,255,.45),transparent);transform:skewX(-20deg);transition:left .6s ease}
.nfx-btn:hover:after{left:140%}
.nfx-pulse{animation:nfxPulse 2.6s ease-in-out infinite}

/* small sparkle next to section labels */
.nfx-eyebrow:before{content:"";display:inline-block;width:7px;height:7px;border-radius:50%;margin-right:8px;vertical-align:middle;
  background:currentColor;animation:nfxDot 2.4s ease-in-out infinite}

@keyframes nfxFlow{to{background-position:200% 0}}
@keyframes nfxDrift{0%,100%{transform:translate(0,0) scale(1)}33%{transform:translate(60px,30px) scale(1.12)}66%{transform:translate(-40px,50px) scale(.92)}}
@keyframes nfxWord{to{opacity:1;transform:none}}
@keyframes nfxFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-12px)}}
@keyframes nfxPulse{0%,100%{box-shadow:0 0 0 0 rgba(59,130,246,.45)}50%{box-shadow:0 0 0 12px rgba(59,130,246,0)}}
@keyframes nfxDot{0%,100%{opacity:1}50%{opacity:.35}}

@media (prefers-reduced-motion:reduce){
  .nfx-bar,.nfx-orb,.nfx-float,.nfx-pulse,.nfx-eyebrow:before{animation:none!important}
  .nfx-w{animation:none;opacity:1;transform:none}
  html.nfx-on .nfx-r{opacity:1;transform:none;transition:none}
  .nfx-layer canvas{display:none}
}
@media print{.nfx-bar,.nfx-layer{display:none!important}html.nfx-on .nfx-r{opacity:1!important;transform:none!important}}
