.app-custom-visual {
  isolation: isolate;
  background: #0a0b0f;
}

.app-custom-visual > img {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  animation: app-scene-breathe 8s ease-in-out infinite alternate;
}

.app-custom-visual::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(180deg, rgba(6,7,10,.64), transparent 25%, transparent 68%, rgba(6,7,10,.8)), radial-gradient(circle at 50% 48%, transparent 38%, rgba(6,7,10,.23));
}

.app-custom-label,
.app-build-node,
.app-build-status,
.app-build-progress { z-index: 3; }

.app-custom-label {
  position: absolute;
  top: 27px;
  left: 28px;
  padding: 9px 12px;
  color: #ececf0;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  background: rgba(7,7,10,.58);
  font-size: .48rem;
  font-weight: 850;
  letter-spacing: .15em;
  backdrop-filter: blur(12px);
}

.app-build-node {
  position: absolute;
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  background: rgba(7,7,10,.64);
  box-shadow: 0 14px 35px rgba(0,0,0,.3);
  font-size: .45rem;
  font-weight: 850;
  letter-spacing: .13em;
  backdrop-filter: blur(12px);
  animation: app-node-arrive 5.4s ease-in-out infinite;
}

.app-build-node i {
  width: 7px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 14px var(--cyan);
}

.app-build-node--one { top: 24%; left: 5%; }
.app-build-node--two { top: 48%; right: 4%; animation-delay: .75s; }
.app-build-node--three { right: 10%; bottom: 22%; animation-delay: 1.5s; }
.app-build-node--two i { background: var(--violet); box-shadow: 0 0 14px var(--violet); }
.app-build-node--three i { background: var(--pink); box-shadow: 0 0 14px var(--pink); }

.app-build-status {
  position: absolute;
  right: 27px;
  bottom: 28px;
  left: 27px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3px 10px;
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,.23);
  border-radius: 16px;
  background: rgba(7,7,10,.7);
  backdrop-filter: blur(14px);
  animation: app-status-reveal 5.4s ease-in-out infinite;
}

.app-build-status i {
  grid-row: 1 / 3;
  width: 9px;
  aspect-ratio: 1;
  align-self: center;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 15px var(--cyan);
}

.app-build-status span { font-size: .56rem; font-weight: 850; letter-spacing: .12em; }
.app-build-status small { color: #a9abb5; font-size: .4rem; letter-spacing: .1em; }

.app-build-progress {
  position: absolute;
  right: 27px;
  bottom: 101px;
  left: 27px;
  height: 2px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255,255,255,.2);
}

.app-build-progress b {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--cyan), var(--violet), var(--pink));
  transform-origin: left;
  animation: app-build-progress 5.4s ease-in-out infinite;
}

@keyframes app-scene-breathe {
  from { transform: scale(1.01); }
  to { transform: scale(1.045); }
}

@keyframes app-node-arrive {
  0%, 10% { opacity: .22; transform: translateY(14px) scale(.9); }
  28%, 76% { opacity: 1; transform: translateY(0) scale(1); }
  90%, 100% { opacity: .22; transform: translateY(-8px) scale(.94); }
}

@keyframes app-build-progress {
  0% { transform: scaleX(0); }
  18% { transform: scaleX(.24); }
  44% { transform: scaleX(.55); }
  72%, 90% { transform: scaleX(1); }
  100% { transform: scaleX(0); }
}

@keyframes app-status-reveal {
  0%, 58% { opacity: .35; transform: translateY(7px); }
  73%, 92% { opacity: 1; transform: translateY(0); }
  100% { opacity: .35; transform: translateY(7px); }
}

@media (max-width: 620px) {
  .app-custom-label { top: 18px; left: 18px; }
  .app-build-node { padding: 8px 9px; }
  .app-build-status { right: 16px; bottom: 16px; left: 16px; }
  .app-build-progress { right: 16px; bottom: 87px; left: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .app-custom-visual > img,
  .app-build-node,
  .app-build-status,
  .app-build-progress b { animation: none; }
  .app-build-progress b { transform: scaleX(1); }
}
