/* ===== hero showpiece (home) ===== */
/* rotating volumetric light rays behind the globe */
.hero::before{content:"";position:absolute;z-index:1;pointer-events:none;width:130vmin;height:130vmin;right:-16vmin;top:50%;margin-top:-65vmin;
 background:conic-gradient(from var(--a),transparent 0 7%,rgba(34,211,238,.13) 10%,transparent 15%,transparent 38%,rgba(124,108,255,.15) 43%,transparent 48%,transparent 68%,rgba(10,155,224,.13) 73%,transparent 79%);
 -webkit-mask-image:radial-gradient(circle,#000 18%,transparent 66%);mask-image:radial-gradient(circle,#000 18%,transparent 66%);animation:spin 22s linear infinite,rayPulse 6s ease-in-out infinite}
@keyframes rayPulse{50%{opacity:.55}}
/* orbit overlay canvas sits on the globe */
.globe-wrap canvas.orb{position:absolute;left:-10%;top:-10%;width:120%;height:120%;pointer-events:none}
.globe-wrap{will-change:translate}
.hero .aurora,.hero .gridbg{inset:-48px}
.hero .aurora,.hero .gridbg,.hud{will-change:translate}
/* headline: light sweep across the white words + glow on the gradient words */
.hero h1 .wd>b:not(:has(.grad)){background:linear-gradient(100deg,#fff 0 40%,#a9ecff 50%,#fff 60% 100%);background-size:260% 100%;background-position:150% 0;-webkit-background-clip:text;background-clip:text;color:transparent;
 animation:wup .9s cubic-bezier(.2,.8,.2,1) forwards,hsweep 5.5s ease-in-out infinite;animation-delay:calc(.15s + var(--i)*.07s),calc(2.4s + var(--i)*.14s)}
@keyframes hsweep{0%{background-position:150% 0}55%,100%{background-position:-60% 0}}
/* primary CTA breathing glow + hud dots alive */
.hero .btn-p{animation:ctaGlow 2.8s ease-in-out infinite}
.hero .btn-p:hover{animation-play-state:paused}
@keyframes ctaGlow{0%,100%{box-shadow:0 10px 30px rgba(10,155,224,.35)}50%{box-shadow:0 14px 52px rgba(124,108,255,.65),0 0 0 6px rgba(34,211,238,.08)}}
.hud b{animation:hudp 1.6s ease-in-out infinite}
@keyframes hudp{50%{transform:scale(1.6);opacity:.55}}
.hud{box-shadow:0 0 0 1px rgba(34,211,238,.06),0 10px 30px rgba(0,0,0,.35)}
@media(max-width:980px){
 /* phones/tablets: text first, living gradient + rays + scan beam behind it, no globe */
 .hero{padding-top:7rem;min-height:0}
 .hero .globe-wrap{display:none!important}
 .hero::before{right:auto;left:50%;margin-left:-70vmin;top:34%;bottom:auto;margin-top:-70vmin;width:140vmin;height:140vmin;opacity:.9}
 .hero::after{content:"";position:absolute;inset:0;z-index:0;pointer-events:none;
  background:radial-gradient(circle at 15% 20%,rgba(34,211,238,.30),transparent 40%),radial-gradient(circle at 90% 55%,rgba(124,108,255,.32),transparent 42%),radial-gradient(circle at 35% 100%,rgba(10,155,224,.28),transparent 45%);
  background-size:150% 150%;animation:drift 11s ease-in-out infinite alternate}
 .hero .hero-in{position:relative;z-index:2}
 .hero .hero-in>div:first-child::after{content:"";position:absolute;left:-1rem;right:-1rem;top:0;height:90px;z-index:-1;pointer-events:none;background:linear-gradient(180deg,transparent,rgba(34,211,238,.13),transparent);animation:scan 5s ease-in-out infinite}
 .hero .hero-in>div:first-child{position:relative}
 .hero p.lead{color:#c3cff0}
}
@keyframes drift{0%{background-position:0 0;transform:scale(1)}100%{background-position:100% 100%;transform:scale(1.1)}}
@keyframes scan{0%{transform:translateY(-20px);opacity:0}30%,70%{opacity:1}100%{transform:translateY(100%);opacity:0}}
@media(prefers-reduced-motion:reduce){.hero::before,.hero .btn-p,.hud b{animation:none}.hero h1 .wd>b:not(:has(.grad)){animation:none;background:none;color:#fff}}
/* tighter vertical rhythm between sections */
section{padding:3.6rem 0}.sh{margin-bottom:2.4rem}
@media(max-width:760px){section{padding:2.6rem 0}.sh{margin-bottom:1.8rem}}
/* new circuit logo: lives on the dark theme, no white pill */
.nav .logo{background:none;padding:0 .3rem;border-radius:0}.nav .logo img{height:44px;width:auto}
.fg .lg{background:none;padding:0;border-radius:0}.fg .lg img{height:56px}
#intro .i-logo{width:min(230px,58vw);padding:0;background:none;border-radius:50%;box-shadow:0 0 70px rgba(34,211,238,.45),0 0 160px rgba(124,108,255,.35)}
#intro .i-ring{inset:-16px;border-radius:50%}
#intro .i-pulse{border-radius:50%}
@keyframes iPulse{0%{transform:scale(1);opacity:.7}100%{transform:scale(2.1);opacity:0}}
@media(max-width:760px){.nav .logo img{height:40px}}
