/* Raised glass surfaces for the three technology layers. */
.page-technology .tech-stack{
  perspective:1100px;
  padding:18px 16px 22px;
  gap:18px;
}
.page-technology .tech-stack .stack-layer{
  --glass-x:0px;
  --glass-y:0px;
  --glass-z:24px;
  position:relative;
  isolation:isolate;
  overflow:hidden;
  border:1px solid #ffffffd9;
  border-radius:18px;
  background:
    linear-gradient(135deg,#ffffffb8 0%,#f7fbff73 42%,#dcecff52 100%);
  -webkit-backdrop-filter:blur(22px) saturate(1.35);
  backdrop-filter:blur(22px) saturate(1.35);
  box-shadow:
    inset 0 1px 0 #fff,
    inset 0 -1px 0 #79a7dc33,
    0 4px 8px #1e57951a,
    0 22px 44px #235f9e21;
  transform:translate3d(var(--glass-x),var(--glass-y),var(--glass-z));
  animation:technology-glass-float 7s ease-in-out infinite;
}
.page-technology .tech-stack .stack-layer:before{
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  pointer-events:none;
  background:
    radial-gradient(circle at 12% 0%,#fff 0 5%,transparent 31%),
    linear-gradient(118deg,transparent 18%,#ffffff70 43%,transparent 62%);
  opacity:.82;
}
.page-technology .tech-stack .stack-layer:after{
  content:"";
  position:absolute;
  inset:1px;
  z-index:2;
  pointer-events:none;
  border-top:1px solid #fff;
  border-left:1px solid #ffffffa6;
  border-radius:17px;
}
.page-technology .tech-stack .stack-layer>*{position:relative;z-index:1}
.page-technology .tech-stack .stack-layer:nth-of-type(1){--glass-x:-7px;--glass-y:-5px;--glass-z:38px;animation-delay:-1.4s}
.page-technology .tech-stack .stack-layer:nth-of-type(3){--glass-x:12px;--glass-y:0px;--glass-z:28px;animation-delay:-3.8s}
.page-technology .tech-stack .stack-layer:nth-of-type(5){--glass-x:-1px;--glass-y:5px;--glass-z:20px;animation-delay:-5.5s}
.page-technology .tech-stack .core-layer{
  border-color:#d9ecffeb;
  background:
    linear-gradient(135deg,#eef7ffbd 0%,#d8eaff63 48%,#ffffff91 100%);
  box-shadow:
    inset 0 1px 0 #fff,
    inset 0 -1px 0 #4f8fd142,
    0 5px 10px #1e57951c,
    0 24px 48px #174f9226;
}
.page-technology .tech-stack .stack-chips span{
  border-color:#ffffffd1;
  background:#ffffff80;
  box-shadow:inset 0 1px 0 #fff,0 4px 10px #3c6fa40d;
}

@keyframes technology-glass-float{
  0%,100%{transform:translate3d(var(--glass-x),var(--glass-y),var(--glass-z))}
  50%{transform:translate3d(var(--glass-x),calc(var(--glass-y) - 4px),var(--glass-z))}
}

@media(max-width:760px){
  .page-technology .tech-stack{padding:8px 2px 16px;gap:18px;perspective:none}
  .page-technology .tech-stack .stack-layer{
    --glass-x:0px!important;
    --glass-y:0px!important;
    --glass-z:0px!important;
    animation:none;
    border-radius:18px;
    box-shadow:inset 0 1px 0 #fff,inset 0 -1px 0 #79a7dc2e,0 14px 30px #235f9e1c;
  }
}

@media(prefers-reduced-motion:reduce){
  .page-technology .tech-stack .stack-layer{animation:none}
}

/* Each engineering stage responds independently to the pointer. */
.page-technology .engineering-flow article{
  box-shadow:0 13px 28px #285d9612;
  transform:translateY(0);
  will-change:transform;
  transition:
    transform .3s cubic-bezier(.2,1.55,.38,1),
    box-shadow .3s ease,
    border-color .3s ease,
    background-color .3s ease;
}

.page-technology .engineering-flow article:hover,
.page-technology .engineering-flow article:active{
  transform:translateY(14px);
  border-color:#4f83cc;
  background:#ffffffbd;
  box-shadow:0 3px 8px #285d9624;
}

@media(prefers-reduced-motion:reduce){
  .page-technology .engineering-flow article{transition:none;will-change:auto}
}
