/*
 * Zippvia Ecosystem 3D / progressive enhancement.
 * All content remains real HTML. Only #ecosystem gets a visible WebGL backdrop.
 * The canvas is fixed to the viewport to keep its camera spatially continuous.
 */
.zv-ecosystem-3d{
  position:fixed;inset:0;width:100%;height:100svh;
  pointer-events:none;z-index:0;opacity:0;visibility:hidden;
  transition:opacity .5s ease,visibility .5s ease;
  background:radial-gradient(ellipse at 78% 30%,rgba(126,176,255,.35),transparent 53%),
             radial-gradient(ellipse at 20% 80%,rgba(109,208,198,.20),transparent 58%),
             linear-gradient(125deg,#f5faff,#e8f2ff 62%,#f9fcff);
  overflow:hidden;
}
.zv-ecosystem-3d.zv-3d-visible{opacity:1;visibility:visible}
.zv-ecosystem-3d canvas{display:block;width:100%;height:100%;pointer-events:none}
#ecosystem.zv-3d-active{
  position:relative;z-index:1;isolation:auto;overflow:visible;
  background:rgba(245,250,255,.13);
  min-height:min(100svh,960px);
}
#ecosystem.zv-3d-active .container{position:relative;z-index:2}
#ecosystem.zv-3d-active .platform-eyebrow,
#ecosystem.zv-3d-active .platform-section-top,
#ecosystem.zv-3d-active .ecosystem-card{
  backface-visibility:hidden;
}
#ecosystem.zv-3d-active .ecosystem-card{
  background:rgba(255,255,255,.80);
  border:1px solid rgba(182,209,247,.85);
  box-shadow:0 20px 70px rgba(33,73,134,.10),inset 0 1px 0 rgba(255,255,255,.95);
  -webkit-backdrop-filter:blur(12px);
  backdrop-filter:blur(12px);
  transition:transform .38s cubic-bezier(.2,.7,.2,1),box-shadow .38s ease,
             border-color .38s ease,background .38s ease;
}
#ecosystem.zv-3d-active .ecosystem-card.zv-scene-active{
  background:rgba(255,255,255,.92);
  border-color:rgba(79,131,218,.56);
  box-shadow:0 25px 80px rgba(35,92,174,.17),0 0 0 1px rgba(82,135,233,.08);
  transform:translate3d(0,-7px,0);
}
#ecosystem.zv-3d-active .ecosystem-card a{
  position:relative;z-index:1;
}
#ecosystem.zv-3d-active .ecosystem-symbol{
  background:linear-gradient(140deg,#edf5ff,#d6e9ff);
  border-color:#c5ddfb;
}
#ecosystem.zv-3d-active .zv-scene-progress{
  display:flex;align-items:center;gap:9px;width:max-content;
  margin-top:clamp(10px,1.3vw,19px);
  color:#55739f;font:700 10px "DM Sans",sans-serif;letter-spacing:.12em;
}
#ecosystem .zv-scene-progress{display:none}
#ecosystem.zv-3d-active .zv-scene-progress{display:flex}
#ecosystem .zv-scene-progress i{
  width:5px;height:5px;border-radius:50%;background:#b5c9e5;display:block;
  transition:transform .3s ease,background .3s ease;
}
#ecosystem .zv-scene-progress i.is-current{
  background:#3167e3;transform:scale(1.5);
}
@media(max-width:960px),(max-height:700px){
  #ecosystem.zv-3d-active{min-height:0}
  #ecosystem.zv-3d-active .ecosystem-card{backdrop-filter:none;-webkit-backdrop-filter:none}
}
@media(max-width:768px){
  .zv-ecosystem-3d{display:none}
  #ecosystem.zv-3d-active{
    background:radial-gradient(ellipse at 93% 20%,#dfefff 0%,transparent 50%),
               linear-gradient(150deg,#f7fbff,#edf5ff 55%,#fff);
  }
  #ecosystem.zv-3d-active .ecosystem-card{background:#fff;transform:none!important}
}
@media(prefers-reduced-motion:reduce){
  .zv-ecosystem-3d{display:none!important}
  #ecosystem.zv-3d-active{background:linear-gradient(150deg,#f7fbff,#edf5ff 55%,#fff)}
  #ecosystem.zv-3d-active .ecosystem-card{
    transition:none!important;transform:none!important;
  }
}
