.preview-carousel {
  min-width: 0;
  position: relative;
}

.carousel-stage {
  position: relative;
  height: 650px;
  overflow: hidden;
  border: 1px solid #b9cddd;
  background:
    radial-gradient(circle at center, #d9ecf8 0%, #b9d0e0 42%, #8fa7bb 100%);
}

.carousel-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(#ffffff20 1px, transparent 1px),
    linear-gradient(90deg, #ffffff20 1px, transparent 1px);
  background-size: 38px 38px;
}

.carousel-stage::after {
  content: "";
  position: absolute;
  right: 9%;
  bottom: 5%;
  left: 9%;
  height: 35px;
  border-radius: 50%;
  background: #07182842;
  filter: blur(15px);
}

.carousel-slide {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: grid;
  place-items: center;
  margin: 0;
  opacity: 0;
  transform: translateX(16%) scale(.9);
  transition: opacity .5s ease, transform .55s cubic-bezier(.22,.7,.2,1);
  pointer-events: none;
}

.carousel-slide.active {
  z-index: 2;
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.carousel-slide.leaving-left {
  transform: translateX(-16%) scale(.9);
}

.device-frame {
  position: relative;
  max-height: 590px;
  padding: 13px 10px;
  border: 2px solid #637589;
  background: linear-gradient(145deg, #263545, #03070c 55%);
  box-shadow: 0 35px 55px #09243c5c, inset 0 0 0 2px #ffffff12;
}

.phone-frame{width:315px;border-radius:40px}.tablet-frame{width:430px;border-radius:28px}.ipad-frame{width:440px;border-radius:28px;padding:15px 12px 17px}.ipad-frame::after{content:"iPad 11.3″";position:absolute;right:22px;bottom:3px;color:#8fa2b5;font-size:7px;letter-spacing:.12em;text-transform:uppercase}

.device-frame img {
  width: 100%;
  max-height: 560px;
  object-fit: contain;
  border-radius: 29px;
  background: #fff;
}

.tablet-frame img {
  border-radius: 18px;
}

.ipad-frame img{max-height:555px;border-radius:17px}

.device-camera {
  position: absolute;
  z-index: 3;
  top: 19px;
  left: 50%;
  width: 55px;
  height: 6px;
  border-radius: 10px;
  background: #07111c;
  box-shadow: 0 1px 0 #ffffff24;
  transform: translateX(-50%);
}

.tablet-frame .device-camera,
.ipad-frame .device-camera {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.carousel-controls {
  display: grid;
  grid-template-columns: 58px 1fr 58px;
  align-items: stretch;
  min-height: 72px;
  background: #06182d;
  color: #fff;
}

.carousel-arrow {
  border: 0;
  background: #0a2948;
  color: #72c9ff;
  font-size: 20px;
  cursor: pointer;
}

.carousel-arrow:hover,
.carousel-arrow:focus-visible {
  outline: none;
  background: #118cff;
  color: #fff;
}

.carousel-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 0 22px;
}

.carousel-status strong {
  font-family: var(--display);
  font-size: 20px;
  text-transform: uppercase;
}

.carousel-status span {
  color: #637d97;
  font-family: var(--display);
}

.carousel-status b {
  color: #54c7ff;
  font-size: 21px;
}

.carousel-dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 17px;
}

.carousel-dots button {
  width: 28px;
  height: 3px;
  padding: 0;
  border: 0;
  background: #a6b8c7;
  cursor: pointer;
  transition: width .25s, background .25s;
}

.carousel-dots button.active {
  width: 52px;
  background: #118cff;
}

@media (max-width: 600px) {
  .carousel-stage {
    height: 565px;
  }

  .phone-frame,
  .tablet-frame,
  .ipad-frame {
    width: min(290px, calc(100% - 34px));
  }

  .device-frame img {
    max-height: 520px;
  }

  .carousel-status {
    padding: 0 12px;
  }

  .carousel-status strong {
    font-size: 16px;
  }
}
