/* Axionex motion layer: comet star on the logo + AI/tech effects in the hero.
   Everything is decorative (aria-hidden) and switches off for prefers-reduced-motion. */

/* ---------- Logo comet: the star travels along the swoosh ---------- */
.ax-comet{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none}
.ax-comet .tail{fill:none;stroke-linecap:round}
.ax-comet .t1{stroke:#7DD3FF;stroke-width:16;opacity:.18;filter:blur(3px)}
.ax-comet .t2{stroke:#BEE8FF;stroke-width:7;opacity:.55}
.ax-comet .t3{stroke:#FFFFFF;stroke-width:3.5}
.ax-comet .c-glow stop:first-child{stop-color:#FFFFFF}
.ax-comet .c-glow stop:nth-child(2){stop-color:#7DD3FF}
.ax-comet .c-glow stop:last-child{stop-color:#0066FF}
[data-theme="light"] .ax-comet .t1{stroke:#0066FF;opacity:.16}
[data-theme="light"] .ax-comet .t2{stroke:#00A3FF}
/* the baked-in flare now flashes when the comet arrives instead of twinkling on its own */
.ax-logo.has-comet .ax-flare{animation:axFlareHit 6s ease-in-out infinite;animation-delay:var(--comet-delay,0s)}
@keyframes axFlareHit{0%,38%{opacity:.35;transform:translate(-50%,-50%) scale(.55) rotate(0)}
  43%{opacity:1;transform:translate(-50%,-50%) scale(1.35) rotate(18deg)}
  52%{opacity:.85;transform:translate(-50%,-50%) scale(.95) rotate(10deg)}
  70%,100%{opacity:.35;transform:translate(-50%,-50%) scale(.55) rotate(0)}}

/* ---------- Hero: neural network canvas + cursor glow ---------- */
.hero .ax-net{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:0;
  -webkit-mask-image:linear-gradient(90deg,rgba(0,0,0,.25) 0%,rgba(0,0,0,.55) 35%,#000 65%);mask-image:linear-gradient(90deg,rgba(0,0,0,.25) 0%,rgba(0,0,0,.55) 35%,#000 65%)}
.hero .ax-glow{position:absolute;inset:0;pointer-events:none;z-index:0;opacity:0;transition:opacity .4s;
  background:radial-gradient(420px circle at var(--mx,50%) var(--my,50%),rgba(0,163,255,.13),transparent 60%)}
.hero:hover .ax-glow{opacity:1}
[data-theme="light"] .hero .ax-glow{background:radial-gradient(420px circle at var(--mx,50%) var(--my,50%),rgba(0,102,255,.08),transparent 60%)}

/* ---------- Hero: data pulses running along the brand waves ---------- */
.hero .waves .wv-pulse{fill:none;stroke:#BEE8FF;stroke-linecap:round;stroke-dasharray:.05 .95;stroke-dashoffset:1;
  filter:drop-shadow(0 0 4px #00D4FF);animation:axPulse 7s linear infinite}
[data-theme="light"] .hero .waves .wv-pulse{stroke:#0066FF;filter:drop-shadow(0 0 3px rgba(0,102,255,.6))}
@keyframes axPulse{to{stroke-dashoffset:-1}}

/* ---------- Hero: "AI." light sweep and live status dot ---------- */
.hero h1 .hl{background-image:linear-gradient(90deg,#0066FF 0%,#00D4FF 30%,#BEE8FF 45%,#00D4FF 60%,#0066FF 100%);background-size:250% 100%;animation:axShine 5s ease-in-out infinite}
@keyframes axShine{0%{background-position:100% 0}60%,100%{background-position:0 0}}
.hero .status i{position:relative}
.hero .status i::after{content:"";position:absolute;inset:0;border-radius:50%;border:2px solid currentColor;color:#00D4FF;animation:axPing 2.2s cubic-bezier(0,0,.2,1) infinite}
@keyframes axPing{0%{transform:scale(1);opacity:.8}80%,100%{transform:scale(3.2);opacity:0}}

/* ---------- Hero: product mockups float, load and draw ---------- */
.hero .w1{animation:axFloat 8s ease-in-out infinite}
.hero .w2{animation:axFloat 9s ease-in-out -3s infinite}
.hero .w3{animation:axFloat 7s ease-in-out -1.5s infinite}
@keyframes axFloat{0%,100%{translate:0 0}50%{translate:0 -10px}}
.hero .w1 .sk,.hero .w1 .big,.hero .w1 .tiles i,.hero .w3 .sk{position:relative;overflow:hidden}
.hero .w1 .sk::after,.hero .w1 .big::after,.hero .w1 .tiles i::after,.hero .w3 .sk::after{content:"";position:absolute;inset:0;
  background:linear-gradient(100deg,transparent 30%,rgba(125,211,255,.28) 50%,transparent 70%);background-size:250% 100%;animation:axLoad 3.2s ease-in-out infinite}
@keyframes axLoad{0%{background-position:150% 0}100%{background-position:-60% 0}}
.hero .w2 .draw{stroke-dasharray:1;stroke-dashoffset:1;animation:axDraw 2.4s .6s cubic-bezier(.4,0,.2,1) forwards}
@keyframes axDraw{to{stroke-dashoffset:0}}
.hero .scan{position:absolute;left:0;right:0;height:40px;top:-40px;pointer-events:none;
  background:linear-gradient(180deg,transparent,rgba(0,212,255,.10) 70%,rgba(0,212,255,.35));border-bottom:1px solid rgba(0,212,255,.55);animation:axScan 4.5s ease-in-out infinite}
@keyframes axScan{0%{top:-40px;opacity:0}10%{opacity:1}85%{opacity:1}100%{top:100%;opacity:0}}

@media (prefers-reduced-motion:reduce){
  .ax-comet,.hero .ax-net,.hero .ax-glow,.hero .waves .wv-pulse,.hero .scan{display:none}
  .hero h1 .hl,.hero .status i::after,.hero .w1,.hero .w2,.hero .w3,.hero .w1 .sk::after,.hero .w1 .big::after,.hero .w1 .tiles i::after,.hero .w3 .sk::after,.ax-logo.has-comet .ax-flare{animation:none}
  .hero .w2 .draw{stroke-dashoffset:0;animation:none}
}
