#pw-unlocking-block {
  --unlock-progress: 0;
  --unlock-tilt-x: 0deg;
  --unlock-tilt-y: 0deg;
  position: relative;
  z-index: 2;
  display: flex;
  width: 100%;
  min-height: 178vh;
  align-items: flex-start;
  justify-content: center;
  overflow: clip;
  padding: 0;
  color: #f4fbf9;
  text-align: center;
  background:
    radial-gradient(circle at 50% 31%, rgba(35, 229, 203, 0.16), transparent 31%),
    radial-gradient(circle at 17% 67%, rgba(109, 255, 54, 0.075), transparent 28%),
    linear-gradient(155deg, #010404, #06100f 52%, #020606);
  pointer-events: auto;
}

#pw-unlocking-block::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(139, 255, 217, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 255, 217, 0.032) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, transparent 2%, #000 18%, #000 78%, transparent 100%);
}

#pw-unlocking-block::after {
  content: "";
  position: absolute;
  top: 14vh;
  left: 50%;
  width: min(1040px, 86vw);
  height: 460px;
  border-radius: 50%;
  background: rgba(50, 232, 197, 0.1);
  filter: blur(110px);
  opacity: calc(0.32 + var(--unlock-progress) * 0.68);
  transform: translateX(-50%) scale(calc(0.72 + var(--unlock-progress) * 0.28));
  pointer-events: none;
}

#pw-unlocking-block .pw-unlock-stage {
  position: sticky;
  top: 0;
  display: flex;
  width: 100%;
  height: 100svh;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  perspective: 1800px;
  perspective-origin: 50% 38%;
}

#pw-unlocking-block .pw-unlock-fan {
  position: relative;
  z-index: 2;
  width: min(1120px, 92vw) !important;
  height: min(470px, 58vh);
  margin: 0 0 18vh;
  transform: rotateX(var(--unlock-tilt-x)) rotateY(var(--unlock-tilt-y));
  transform-style: preserve-3d;
  transition: transform 420ms cubic-bezier(.22, .8, .23, 1);
  will-change: transform;
}

#pw-unlocking-block .pw-unlock-fan::before {
  content: "ПЛАТФОРМА САМ · ОДИН КОНТЕКСТ · ОДНА КОМАНДА";
  position: absolute;
  top: -30px;
  left: 50%;
  color: rgba(218, 245, 238, 0.32);
  font: 700 8px/1 "Manrope", Arial, sans-serif;
  letter-spacing: 0.2em;
  white-space: nowrap;
  opacity: calc(0.15 + var(--unlock-progress) * 0.85);
  transform: translateX(-50%);
}

#pw-unlocking-block .pw-unlock-card {
  position: absolute;
  top: 4%;
  left: 14%;
  display: flex;
  width: 72%;
  aspect-ratio: 1.9 / 1;
  flex-direction: column;
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(219, 247, 240, 0.16);
  border-radius: 18px !important;
  opacity: 0;
  background: #eaf3f0 !important;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.025),
    0 28px 80px rgba(0, 0, 0, 0.52);
  transform-style: preserve-3d;
  backface-visibility: hidden;
  will-change: transform, opacity;
  transition: border-color 280ms ease, box-shadow 320ms ease;
}

#pw-unlocking-block .pw-unlock-card::after,
#pw-unlocking-block .pw-unlock-card.is-hero::after {
  display: none !important;
}

#pw-unlocking-block .pw-unlock-card figcaption {
  display: flex;
  height: 36px;
  flex: 0 0 36px;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border-bottom: 1px solid rgba(222, 247, 240, 0.1);
  color: rgba(235, 249, 246, 0.78);
  text-align: left;
  background: rgba(4, 14, 14, 0.97);
}

#pw-unlocking-block .pw-unlock-card figcaption::before,
#pw-unlocking-block .pw-unlock-card figcaption::after,
#pw-unlocking-block .pw-unlock-card figcaption > i {
  content: "";
  display: block;
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: rgba(233, 249, 245, 0.18);
}

#pw-unlocking-block .pw-unlock-card figcaption > i {
  background: #51ebc8;
  box-shadow: 0 0 12px rgba(81, 235, 200, 0.62);
}

#pw-unlocking-block .pw-unlock-card figcaption > span {
  margin-left: 5px;
  font: 700 10px/1 "Manrope", Arial, sans-serif;
  letter-spacing: -0.01em;
}

#pw-unlocking-block .pw-unlock-card figcaption > small {
  margin-left: auto;
  color: rgba(220, 242, 237, 0.38);
  font: 650 7px/1 "Manrope", Arial, sans-serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

#pw-unlocking-block .pw-unlock-card img {
  display: block;
  width: 100%;
  height: calc(100% - 36px);
  flex: 1 1 auto;
  object-fit: cover !important;
  object-position: top center !important;
  pointer-events: none;
  user-select: none;
  transition: transform 700ms cubic-bezier(.22, .8, .23, 1), filter 320ms ease;
}

#pw-unlocking-block .pw-unlock-card[data-i="0"] img { filter: saturate(0.82) brightness(0.82); }
#pw-unlocking-block .pw-unlock-card[data-i="1"] img { filter: saturate(0.9) brightness(0.9); }

#pw-unlocking-block .pw-unlock-card.is-hero {
  border-color: rgba(121, 255, 214, 0.34);
  box-shadow:
    0 0 0 1px rgba(124, 255, 210, 0.11),
    0 38px 110px rgba(0, 0, 0, 0.62),
    0 0 82px rgba(38, 206, 185, 0.12) !important;
}

#pw-unlocking-block.is-active .pw-unlock-card.is-hero img { transform: scale(1.012); }

#pw-unlocking-block .pw-unlock-stage .pw-unlock-copy {
  position: absolute;
  z-index: 20;
  bottom: clamp(24px, 4vh, 44px);
  left: 50%;
  display: grid;
  width: min(830px, calc(100% - 40px));
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding: 22px 24px !important;
  border: 1px solid rgba(181, 255, 225, 0.16) !important;
  border-radius: 18px !important;
  opacity: 0;
  background: linear-gradient(145deg, rgba(2, 10, 9, 0.9), rgba(5, 18, 16, 0.76)) !important;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.44), inset 0 1px rgba(255, 255, 255, 0.055) !important;
  backdrop-filter: blur(22px) saturate(130%);
  pointer-events: none;
  translate: -50% 24px;
  transform: none !important;
  transition: opacity 650ms ease, translate 650ms cubic-bezier(.22, .8, .23, 1);
}

#pw-unlocking-block.is-active .pw-unlock-copy { opacity: 1; translate: -50% 0; }

#pw-unlocking-block .pw-unlock-title {
  max-width: none !important;
  margin: 0 !important;
  color: #f5fbf9;
  font-family: "Manrope", Arial, Helvetica, sans-serif !important;
  font-size: clamp(27px, 3.1vw, 44px);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.045em;
  text-align: left;
  text-shadow: none !important;
  text-wrap: balance;
}

#pw-unlocking-block#pw-unlocking-block .pw-unlock-cta {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 14px 0 20px;
  border: 1px solid rgba(143, 255, 215, 0.38) !important;
  border-radius: 12px !important;
  color: #03110d !important;
  font-family: "Manrope", Arial, Helvetica, sans-serif !important;
  font-size: 14px;
  font-weight: 750;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  background: linear-gradient(105deg, #7cff32, #27e2b0 55%, #28d7ed) !important;
  box-shadow: 0 16px 44px -20px rgba(50, 235, 177, 0.8) !important;
  pointer-events: auto;
  cursor: pointer;
  transition: transform 240ms cubic-bezier(.22, .8, .23, 1), filter 220ms ease, box-shadow 220ms ease;
}

#pw-unlocking-block#pw-unlocking-block .pw-unlock-cta::after {
  content: "→";
  display: grid;
  width: 29px;
  height: 29px;
  place-items: center;
  border-radius: 8px;
  color: #03110d;
  font-size: 17px;
  background: rgba(3, 17, 13, 0.13);
  transition: transform 240ms cubic-bezier(.22, .8, .23, 1);
}

#pw-unlocking-block#pw-unlocking-block .pw-unlock-cta:hover,
#pw-unlocking-block#pw-unlocking-block .pw-unlock-cta:focus-visible {
  color: #03110d !important;
  filter: brightness(1.06);
  transform: translateY(-2px);
  box-shadow: 0 22px 50px -19px rgba(50, 235, 177, 0.92) !important;
}

#pw-unlocking-block#pw-unlocking-block .pw-unlock-cta:hover::after,
#pw-unlocking-block#pw-unlocking-block .pw-unlock-cta:focus-visible::after { transform: translateX(3px); }

@media (max-width: 900px) {
  #pw-unlocking-block { min-height: 165vh; }
  #pw-unlocking-block .pw-unlock-fan { width: min(880px, 112vw) !important; height: min(420px, 53vh); margin-bottom: 22vh; }
  #pw-unlocking-block .pw-unlock-card { left: 12%; width: 76%; border-radius: 15px !important; }
  #pw-unlocking-block .pw-unlock-stage .pw-unlock-copy { width: min(720px, calc(100% - 28px)); gap: 16px; padding: 18px !important; }
  #pw-unlocking-block .pw-unlock-title { font-size: clamp(25px, 4.3vw, 36px); }
}

@media (max-width: 600px) {
  #pw-unlocking-block { min-height: 150vh; }
  #pw-unlocking-block .pw-unlock-stage { perspective-origin: 50% 33%; }
  #pw-unlocking-block .pw-unlock-fan { width: min(720px, 140vw) !important; height: 340px; margin-bottom: 24vh; }
  #pw-unlocking-block .pw-unlock-fan::before { top: -24px; font-size: 6px; letter-spacing: 0.14em; }
  #pw-unlocking-block .pw-unlock-card { top: 5%; left: 8%; width: 84%; border-radius: 13px !important; }
  #pw-unlocking-block .pw-unlock-card figcaption { height: 30px; flex-basis: 30px; padding: 0 9px; }
  #pw-unlocking-block .pw-unlock-card figcaption > span { font-size: 8px; }
  #pw-unlocking-block .pw-unlock-card figcaption > small { font-size: 5px; }
  #pw-unlocking-block .pw-unlock-card img { height: calc(100% - 30px); }
  #pw-unlocking-block .pw-unlock-stage .pw-unlock-copy { bottom: 28px; display: flex; width: calc(100% - 24px); flex-direction: column; gap: 16px; padding: 18px 16px !important; border-radius: 16px !important; }
  #pw-unlocking-block .pw-unlock-title { max-width: 15ch !important; font-size: clamp(29px, 8.6vw, 38px); text-align: center; }
  #pw-unlocking-block#pw-unlocking-block .pw-unlock-cta { width: 100%; min-height: 52px; justify-content: space-between; font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  #pw-unlocking-block .pw-unlock-fan,
  #pw-unlocking-block .pw-unlock-card,
  #pw-unlocking-block .pw-unlock-card img,
  #pw-unlocking-block .pw-unlock-copy,
  #pw-unlocking-block .pw-unlock-cta { transition: none !important; }
  #pw-unlocking-block .pw-unlock-copy { opacity: 1; translate: -50% 0; }
}
