/* Qironex FX layer v1 (2026-11-29) — camada visual sobre styles.css (não altera a loja).
   Conceitos adaptados do GetLayers: campo WebGL de contornos (Waves & Terrain / Shader Backgrounds),
   texto cinético por palavra (Text Animations: mola + stagger 30 ms), spotlight de cartão, cursor HUD (Custom Cursors),
   bordas com brilho (Glow/Electric). Remover este arquivo + fx.js = site volta ao visual anterior. */
:root{
  --ice:#9EDCFF;
  --volt-a:rgba(212,255,58,.55);
  --fx-ease:cubic-bezier(.16,1,.3,1);
}

/* ---------- ambient: deeper aurora + film grain ---------- */
body:before{background:
  radial-gradient(1100px 620px at 85% -10%,rgba(212,255,58,.09),transparent 60%),
  radial-gradient(900px 600px at -10% 35%,rgba(158,220,255,.06),transparent 60%),
  radial-gradient(800px 500px at 50% 110%,rgba(255,91,46,.05),transparent 60%),var(--bg)}
body:after{content:"";position:fixed;inset:-50%;z-index:60;pointer-events:none;opacity:.035;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation:fx-grain 1.2s steps(4) infinite}
@keyframes fx-grain{0%{transform:translate(0,0)}25%{transform:translate(-3%,2%)}50%{transform:translate(2%,-3%)}75%{transform:translate(-2%,-1%)}}

/* ---------- scroll progress ---------- */
.fx-progress{position:fixed;top:0;left:0;right:0;height:2px;z-index:70;pointer-events:none;transform-origin:0 50%;transform:scaleX(var(--p,0));
  background:linear-gradient(90deg,var(--ice),var(--volt) 60%,#fff);box-shadow:0 0 12px var(--volt-a)}

/* ---------- header: glass + glowing hairline ---------- */
.hdr{background:rgba(10,11,13,.62)}
.hdr:after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:1px;opacity:0;transition:opacity .4s;
  background:linear-gradient(90deg,transparent,rgba(212,255,58,.55) 30%,rgba(158,220,255,.55) 70%,transparent)}
.hdr.scrolled:after{opacity:1}
.nav a{position:relative}
.nav a:after{content:"";position:absolute;left:14%;right:14%;bottom:2px;height:2px;border-radius:2px;background:var(--volt);transform:scaleX(0);transition:transform .35s var(--fx-ease)}
.nav a:hover:after,.nav a[aria-current="page"]:after{transform:scaleX(1)}

/* ---------- hero: live WebGL field ---------- */
.hero{background:radial-gradient(1200px 700px at 70% 40%,rgba(212,255,58,.05),transparent 65%)}
.fx-field{position:absolute;inset:0;z-index:-2;width:100%;height:100%;display:block;opacity:0;transition:opacity 1.4s ease}
.fx-field.on{opacity:1}
.hero:after{content:"";position:absolute;left:0;right:0;bottom:0;height:140px;z-index:-1;pointer-events:none;background:linear-gradient(transparent,var(--bg))}
.hero h1 .hl{background:linear-gradient(100deg,var(--volt) 10%,#EFFFB0 45%,var(--ice) 90%);-webkit-background-clip:text;background-clip:text;color:transparent;
  background-size:200% 100%;animation:fx-sheen 7s ease-in-out infinite}
@keyframes fx-sheen{50%{background-position:100% 0}}
.hero .eyebrow{box-shadow:0 0 0 1px rgba(212,255,58,.25),0 0 24px -6px rgba(212,255,58,.5)}
.hero .stats>div{position:relative;transition:transform .4s var(--fx-ease)}
.hero .stats>div:hover{transform:translateY(-3px)}
.fx-scan{position:absolute;left:0;right:0;height:1px;top:0;z-index:-1;pointer-events:none;opacity:.5;
  background:linear-gradient(90deg,transparent,rgba(158,220,255,.7),transparent);animation:fx-scan 6s linear infinite}
@keyframes fx-scan{from{top:0}to{top:100%}}

/* ---------- kinetic headings (word reveal) ---------- */
.fx-words .fx-w{display:inline-block;overflow:hidden;vertical-align:top;padding-bottom:.08em;margin-bottom:-.08em}
.fx-words .fx-w>span{display:inline-block;transform:translateY(105%) rotate(4deg);opacity:0;
  transition:transform .9s var(--fx-ease),opacity .6s ease;transition-delay:calc(var(--i)*30ms + var(--d,0ms))}
.fx-words.in .fx-w>span{transform:none;opacity:1}
.fx-words.fx-done .fx-w>span{transition:none;transform:none;opacity:1}
.fx-words .hl .fx-w>span{background:inherit;-webkit-background-clip:text;background-clip:text}

/* ---------- spotlight + glowing border on surfaces ---------- */
.card,.wcard,.perk,.step,.promo,.band,.qa details,.bento>a,.bento>div{--mx:50%;--my:50%}
.fx-spot{position:relative;isolation:isolate}
.fx-spot:before{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;z-index:3;opacity:0;transition:opacity .35s;
  background:radial-gradient(420px circle at var(--mx) var(--my),rgba(212,255,58,.10),transparent 45%)}
.fx-spot:after{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;z-index:3;padding:1px;opacity:0;transition:opacity .35s;
  background:radial-gradient(260px circle at var(--mx) var(--my),rgba(212,255,58,.85),rgba(158,220,255,.35) 40%,transparent 70%);
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude}
.fx-spot:hover:before,.fx-spot:hover:after{opacity:1}
.paper .fx-spot:before{background:radial-gradient(420px circle at var(--mx) var(--my),rgba(10,11,13,.06),transparent 45%)}
.card{transition:transform .5s var(--fx-ease),box-shadow .5s var(--fx-ease)}
.card:hover{transform:translateY(-6px);box-shadow:0 30px 60px -30px rgba(0,0,0,.8),0 0 0 1px rgba(212,255,58,.18)}
.wcard{transition:transform .5s var(--fx-ease)}
.wcard:hover{transform:translateY(-4px)}

/* ---------- buttons: magnetic + light sweep ---------- */
.btn{position:relative;overflow:hidden;transition:transform .35s var(--fx-ease),box-shadow .35s}
.btn:not(.ghost):not(.dark){box-shadow:0 10px 30px -12px rgba(212,255,58,.65)}
.btn:before{content:"";position:absolute;top:0;bottom:0;left:-60%;width:40%;transform:skewX(-20deg);pointer-events:none;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.45),transparent);transition:left .7s var(--fx-ease)}
.btn:hover:before{left:120%}

/* ---------- section headers: tech rule ---------- */
.sechead .kicker{position:relative;padding-left:22px}
.sechead .kicker:before{content:"";position:absolute;left:0;top:50%;width:14px;height:1px;background:currentColor;box-shadow:0 0 8px currentColor}
.sec{position:relative}
.marq{position:relative}
.marq:before,.marq:after{content:"";position:absolute;top:0;bottom:0;width:120px;z-index:2;pointer-events:none}
.marq:before{left:0;background:linear-gradient(90deg,var(--bg),transparent)}
.marq:after{right:0;background:linear-gradient(-90deg,var(--bg),transparent)}

/* ---------- footer giant wordmark ---------- */
.ftr .giant{background:linear-gradient(180deg,rgba(212,255,58,.22),rgba(158,220,255,.06) 70%,transparent);-webkit-background-clip:text;background-clip:text;color:transparent}

/* ---------- HUD cursor (desktop, fine pointer only) ---------- */
.fx-cursor{position:fixed;left:0;top:0;z-index:80;pointer-events:none;width:34px;height:34px;margin:-17px 0 0 -17px;opacity:0;
  transition:opacity .3s,width .35s var(--fx-ease),height .35s var(--fx-ease),margin .35s var(--fx-ease);will-change:transform}
.fx-cursor.on{opacity:1}
.fx-cursor i{position:absolute;inset:0;border:1px solid rgba(212,255,58,.7);border-radius:50%}
.fx-cursor b{position:absolute;background:rgba(212,255,58,.9)}
.fx-cursor b:nth-child(2){left:50%;top:-6px;width:1px;height:6px}
.fx-cursor b:nth-child(3){left:50%;bottom:-6px;width:1px;height:6px}
.fx-cursor b:nth-child(4){top:50%;left:-6px;height:1px;width:6px}
.fx-cursor b:nth-child(5){top:50%;right:-6px;height:1px;width:6px}
.fx-cursor.hover{width:58px;height:58px;margin:-29px 0 0 -29px}
.fx-cursor.hover i{background:rgba(212,255,58,.08)}

/* ---------- accessibility / performance ---------- */
@media (hover:none),(pointer:coarse){.fx-cursor{display:none}.fx-spot:before,.fx-spot:after{display:none}}
@media (prefers-reduced-motion:reduce){
  body:after,.fx-scan{animation:none}
  .hero h1 .hl{animation:none}
  .fx-words .fx-w>span{transform:none;opacity:1;transition:none}
  .fx-cursor{display:none}
}