/* Klyvora Technology — actual 360° WebGL globe; only changes homepage visual. */
body[data-klyvora-page="home"] .hero::before{
  background-image:
    linear-gradient(90deg,#050914 0%,rgba(5,9,20,.96) 22%,rgba(5,9,20,.84) 40%,rgba(5,9,20,.2) 73%,transparent 100%),
    radial-gradient(ellipse at 76% 48%,rgba(23,99,184,.23),transparent 65%)!important;
  background-size:cover,cover!important;
  background-position:center,center!important;
}
body[data-klyvora-page="home"] .klyvora-earth-visual{
  display:grid!important;place-items:center!important;
  min-height:545px;isolation:isolate;opacity:1!important;
  pointer-events:auto!important;
  background:none!important;
  position:relative;
}
body[data-klyvora-page="home"] .earth-3d-stage{
  position:relative;
  width:min(100%,550px);
  aspect-ratio:1;
  isolation:isolate;
  border-radius:50%;
  overflow:visible;
  filter:drop-shadow(0 25px 45px rgba(0,37,95,.35));
  touch-action:pan-y;
  transform:none!important;
  transition:none!important;
}
body[data-klyvora-page="home"] .earth-3d-stage::before{
  content:'';position:absolute;inset:8%;border-radius:50%;z-index:-1;
  background:radial-gradient(circle at 48% 46%,rgba(25,116,231,.22),rgba(6,28,77,.03) 69%,transparent 76%);
  filter:blur(28px);pointer-events:none;
}
body[data-klyvora-page="home"] .earth-sphere-fallback,
body[data-klyvora-page="home"] .earth-globe-video,
body[data-klyvora-page="home"] .earth-globe-canvas{
  position:absolute;inset:0;width:100%;height:100%;display:block;
  object-fit:contain;
  background:transparent;
  pointer-events:none;
  border:0;
}
body[data-klyvora-page="home"] .earth-sphere-fallback{z-index:1;opacity:1;transition:opacity .55s ease}
body[data-klyvora-page="home"] .earth-globe-video{
 z-index:2;opacity:.999;
 border-radius:50%;
 object-fit:contain;
 pointer-events:none;
 mask-image:radial-gradient(circle closest-side,black 0%,black 93%,transparent 100%);
 -webkit-mask-image:radial-gradient(circle closest-side,black 0%,black 93%,transparent 100%);
 transition:opacity .45s ease;
}
body[data-klyvora-page="home"] .earth-3d-stage.is-video-ready .earth-globe-video{opacity:1}
body[data-klyvora-page="home"] .earth-3d-stage.is-video-ready .earth-sphere-fallback{opacity:0}
body[data-klyvora-page="home"] .earth-3d-stage.is-webgl-ready .earth-sphere-fallback{opacity:0}
body[data-klyvora-page="home"] .earth-globe-canvas{z-index:3;opacity:0;transition:opacity .5s ease;}
body[data-klyvora-page="home"] .earth-3d-stage.is-webgl-ready .earth-globe-canvas{opacity:1;}
body[data-klyvora-page="home"] .earth-3d-stage.is-webgl-ready .earth-globe-video{opacity:0}
body[data-klyvora-page="home"] .earth-globe-halo{
  position:absolute;inset:-3%;z-index:0;pointer-events:none;border-radius:50%;
  box-shadow:0 0 64px rgba(13,113,255,.16),inset 0 0 56px rgba(9,113,223,.06);
  animation:klyvora-globe-halo 10s ease-in-out infinite;
}
@keyframes klyvora-globe-halo{0%,100%{opacity:.65;transform:scale(.985)}50%{opacity:1;transform:scale(1.02)}}
@media(max-width:1050px){
 body[data-klyvora-page="home"] .hero-grid{grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr)}
 body[data-klyvora-page="home"] .klyvora-earth-visual{min-height:380px}
 body[data-klyvora-page="home"] .earth-3d-stage{width:min(100%,420px)}
}
@media(max-width:760px){
 body[data-klyvora-page="home"] .hero{min-height:auto!important}
 body[data-klyvora-page="home"] .hero-grid{grid-template-columns:1fr!important;min-height:auto!important;padding:48px 0 60px!important;gap:24px!important}
 body[data-klyvora-page="home"] .hero-copy{order:0}
 body[data-klyvora-page="home"] .klyvora-earth-visual{order:1;min-height:0!important;aspect-ratio:1;max-width:450px;margin:0 auto;width:100%;}
 body[data-klyvora-page="home"] .earth-3d-stage{width:min(100%,420px)}
}
@media(max-width:520px){
 body[data-klyvora-page="home"] .hero-grid{padding-top:37px!important;padding-bottom:44px!important;gap:20px!important}
 body[data-klyvora-page="home"] .klyvora-earth-visual{min-height:0!important;width:100%;max-width:330px;}
 body[data-klyvora-page="home"] .earth-3d-stage{width:min(100%,330px)}
}
@media(prefers-reduced-motion:reduce){
 body[data-klyvora-page="home"] .earth-globe-halo{animation:none!important}
 body[data-klyvora-page="home"] .earth-sphere-fallback,
 body[data-klyvora-page="home"] .earth-globe-canvas{transition:none!important}
}

/* Accessible globe motion control; no hover or dragging needed to rotate. */
body[data-klyvora-page="home"] .klyvora-earth-visual .earth-motion-toggle{
 position:absolute;bottom:0.3rem;left:50%;transform:translateX(-50%);z-index:10;
 display:inline-flex;align-items:center;justify-content:center;gap:.5rem;
 padding:.55rem .9rem;border-radius:999px;min-height:36px;
 border:1px solid rgba(115,211,255,.3);background:rgba(8,25,46,.8);
 color:#b9e8ff;white-space:nowrap;font:600 11px 'DM Sans',sans-serif;letter-spacing:.015em;
 cursor:pointer;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);
 box-shadow:0 8px 28px rgba(0,0,0,.16);
}
body[data-klyvora-page="home"] .klyvora-earth-visual .earth-motion-toggle:hover{border-color:rgba(115,211,255,.64);background:rgba(13,43,74,.94)}
body[data-klyvora-page="home"] .klyvora-earth-visual .earth-motion-toggle:focus-visible{outline:2px solid #83eeff;outline-offset:3px}
@media(max-width:760px){body[data-klyvora-page="home"] .klyvora-earth-visual .earth-motion-toggle{bottom:-5px}}
