.app-showcase {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 18%, rgba(111, 145, 245, 0.16), transparent 28%),
    radial-gradient(circle at 94% 82%, rgba(36, 79, 196, 0.11), transparent 30%),
    linear-gradient(180deg, #f7f9ff 0%, #ffffff 100%);
}

.app-showcase-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.65fr);
  gap: 40px;
  align-items: end;
  margin-bottom: 36px;
}

.app-showcase-intro .section-copy {
  margin: 0 0 4px;
}

.app-showcase-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.app-showcase-eyebrow::before {
  content: '';
  width: 28px;
  height: 2px;
  border-radius: 999px;
  background: var(--accent);
}

.app-showcase-carousel {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: clamp(22px, 3vw, 34px);
  background:
    radial-gradient(circle at 82% 4%, rgba(111, 145, 245, 0.42), transparent 32%),
    linear-gradient(135deg, #081b4d 0%, #16358f 46%, #244fc4 100%);
  box-shadow: 0 30px 80px rgba(22, 53, 143, 0.22);
  outline: none;
}

.app-showcase-carousel:focus-visible {
  box-shadow: 0 0 0 4px rgba(111, 145, 245, 0.28), 0 30px 80px rgba(22, 53, 143, 0.22);
}

.app-showcase-stage {
  display: grid;
}

.app-showcase-slide {
  grid-area: 1 / 1;
  display: grid;
  grid-template-columns: minmax(440px, 1.1fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
  min-width: 0;
  padding: clamp(18px, 2vw, 26px) clamp(30px, 4vw, 54px) 14px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(32px);
  transition:
    opacity 0.42s ease,
    transform 0.52s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s linear 0.52s;
}

.app-showcase-slide.is-active {
  z-index: 1;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0);
  transition-delay: 0s;
}

.app-showcase-slide.is-clickable {
  cursor: pointer;
  transform-origin: center;
  will-change: transform;
  transition:
    opacity 0.42s ease,
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0s linear 0.52s;
}

.app-showcase-slide.is-clickable:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: -8px;
  border-radius: 26px;
}

@media (hover: hover) {
  .app-showcase-slide.is-active.is-clickable:hover {
    transform: translateX(0) scale(1.015);
  }
}

.app-showcase-copy {
  position: relative;
  z-index: 4;
  align-self: center;
}

.app-showcase-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: #dbe6ff;
  background: rgba(255, 255, 255, 0.1);
  font-size: 0.76rem;
  font-weight: 720;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.app-showcase-copy h3 {
  max-width: 570px;
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.6rem, 2.6vw, 2.3rem);
  line-height: 1;
  letter-spacing: -0.045em;
}

.app-wms-title {
  font-size: clamp(1.55rem, 2.2vw, 2rem) !important;
}

.app-wms-title span {
  white-space: nowrap;
}

.app-showcase-copy > p {
  max-width: 560px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.95rem;
  line-height: 1.55;
}

.app-feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 12px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.app-feature-list li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.8rem;
  line-height: 1.3;
}

.app-feature-list li > i {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.app-feature-list strong {
  display: block;
  margin-bottom: 1px;
  color: #ffffff;
  font-size: 0.86rem;
}

.app-showcase-cta {
  width: fit-content;
  margin-top: 30px;
  color: var(--accent);
  background: #ffffff;
  box-shadow: 0 14px 32px rgba(8, 27, 77, 0.24);
}

.app-showcase-cta:hover {
  color: var(--accent-2);
  background: #eef3ff;
}

.app-device-art,
.app-placeholder-art {
  position: relative;
  min-width: 0;
  min-height: 320px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: 26px;
  background:
    linear-gradient(rgba(36, 79, 196, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(36, 79, 196, 0.035) 1px, transparent 1px),
    linear-gradient(145deg, #ffffff, #edf2ff);
  background-size: 28px 28px, 28px 28px, auto;
  box-shadow: 0 26px 60px rgba(8, 27, 77, 0.28);
}

.app-device-art::after,
.app-placeholder-art::after {
  content: '';
  position: absolute;
  inset: auto 10% -18% 10%;
  height: 34%;
  border-radius: 50%;
  background: rgba(36, 79, 196, 0.22);
  filter: blur(44px);
}

.app-device-art-composite {
  width: 100%;
  max-width: 560px;
  min-height: 300px;
  justify-self: end;
  display: grid;
  place-items: center;
  isolation: isolate;
  overflow: visible;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.app-device-art-composite::after {
  content: none;
}

.app-inventory-art {
  position: relative;
  width: 100%;
  max-width: 560px;
  aspect-ratio: 1.55;
  max-height: 340px;
  justify-self: end;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 26px;
  background: #eef2ff;
  box-shadow: 0 26px 60px rgba(8, 27, 77, 0.28);
}

/* Give the second solution more visual weight without crowding its copy. */
.app-showcase-slide-inventory {
  grid-template-columns: minmax(400px, 0.9fr) minmax(0, 1.25fr);
  gap: clamp(24px, 3vw, 48px);
}

.app-showcase-slide-inventory .app-inventory-art {
  max-width: 660px;
}

.app-inventory-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* Laptop and handheld sit in one composite, same idea as the POS slide. */
.app-asset-art {
  position: relative;
  width: 100%;
  max-width: 590px;
  min-height: 300px;
  justify-self: end;
  isolation: isolate;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.app-asset-desktop,
.app-asset-mobile {
  position: absolute;
  height: auto;
  max-width: none;
  object-fit: contain;
  clip-path: none;
}

.app-asset-desktop {
  z-index: 1;
  top: 4%;
  right: -2%;
  width: 80%;
  filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.28));
}

.app-asset-mobile {
  z-index: 10;
  left: 16%;
  bottom: 0;
  width: 38%;
  /* Mirrored so the handheld faces into the slide. */
  transform: scaleX(-1);
  filter: drop-shadow(0 18px 26px rgba(0, 0, 0, 0.32));
}

.app-pos-art {
  position: relative;
  width: 100%;
  max-width: 590px;
  min-height: 300px;
  justify-self: end;
  isolation: isolate;
}

/* Two device states — idle promo behind, live scan result in front. */
.app-verifier-art {
  position: relative;
  width: 100%;
  max-width: 590px;
  min-height: 320px;
  justify-self: end;
  isolation: isolate;
  overflow: visible;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.app-verifier-idle,
.app-verifier-scan {
  position: absolute;
  height: auto;
  max-width: none;
  object-fit: contain;
  filter: drop-shadow(0 18px 26px rgba(8, 27, 77, 0.3));
}

.app-verifier-scan {
  z-index: 1;
  top: 0;
  right: 4%;
  width: 48%;
  transform: rotate(3deg);
  transform-origin: center;
}

.app-verifier-idle {
  z-index: 10;
  left: 4%;
  bottom: 0;
  width: 44%;
  transform: rotate(-3deg);
  filter: drop-shadow(0 22px 30px rgba(8, 27, 77, 0.36));
}

.app-pos-desktop,
.app-pos-mobile {
  position: absolute;
  height: auto;
  max-width: none;
  object-fit: contain;
  clip-path: none;
  filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.28));
}

.app-pos-desktop {
  z-index: 1;
  top: 3%;
  right: -3%;
  width: 82%;
  transform: rotate(-4deg);
  transform-origin: center;
}

.app-pos-mobile {
  z-index: 10;
  left: 8%;
  bottom: 2%;
  width: 36%;
  mix-blend-mode: normal;
  transform: rotate(-4deg);
  filter: drop-shadow(0 18px 26px rgba(0, 0, 0, 0.32));
}

.app-device-orb {
  position: absolute;
  z-index: 0;
  display: block;
  border-radius: 50%;
  filter: blur(2px);
}

.app-device-orb-one {
  top: -90px;
  right: -70px;
  width: 280px;
  height: 280px;
  background: rgba(65, 105, 225, 0.2);
}

.app-device-orb-two {
  bottom: 26px;
  left: 12%;
  width: 150px;
  height: 150px;
  background: rgba(111, 145, 245, 0.18);
}

.app-device-desktop,
.app-device-mobile {
  position: absolute;
  height: auto;
  max-width: none;
  object-fit: contain;
  clip-path: none;
  filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.28));
}

.app-device-desktop {
  z-index: 1;
  top: 0;
  right: 5%;
  width: 68%;
  transform: translateY(-15px) rotate(-7deg);
  transform-origin: center;
}

.app-device-mobile {
  z-index: 5;
  left: 20%;
  bottom: 13%;
  width: 34%;
  mix-blend-mode: normal;
  filter: drop-shadow(0 18px 26px rgba(0, 0, 0, 0.32));
}

.app-showcase-badge-muted {
  color: rgba(255, 255, 255, 0.72);
}

.app-placeholder-features {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.app-placeholder-features span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 1px dashed rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.78rem;
}

.app-placeholder-note {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 34px;
  color: #dbe6ff;
  font-size: 0.88rem;
  font-weight: 680;
}

.app-placeholder-art {
  background:
    radial-gradient(circle at 80% 14%, rgba(111, 145, 245, 0.26), transparent 34%),
    linear-gradient(145deg, #f9fbff, #dbe6ff);
}

.app-placeholder-browser {
  position: absolute;
  z-index: 1;
  top: 14%;
  right: 7%;
  width: 82%;
  height: 66%;
  overflow: hidden;
  border: 8px solid #10204a;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 30px 50px rgba(8, 27, 77, 0.24);
  transform: perspective(900px) rotateY(-7deg) rotateX(2deg);
}

.app-placeholder-browser-bar {
  height: 36px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 14px;
  border-bottom: 1px solid #e4e7ec;
}

.app-placeholder-browser-bar span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #b9c8ee;
}

.app-placeholder-browser-body {
  position: relative;
  height: calc(100% - 36px);
  padding: 34px 26px 24px 31%;
}

.placeholder-sidebar {
  position: absolute;
  inset: 0 auto 0 0;
  width: 24%;
  background: linear-gradient(180deg, #eef3ff, #dbe6ff);
}

.placeholder-line,
.placeholder-card {
  display: block;
  border-radius: 8px;
  background: #e8edfa;
}

.placeholder-line {
  width: 46%;
  height: 11px;
  margin-top: 12px;
}

.placeholder-line-wide {
  width: 72%;
  height: 16px;
  margin-top: 0;
  background: #b9c8ee;
}

.placeholder-card {
  position: absolute;
  bottom: 17%;
  width: 18%;
  height: 38%;
  background: linear-gradient(145deg, #edf2ff, #dbe6ff);
}

.placeholder-card-one {
  left: 31%;
}

.placeholder-card-two {
  left: 53%;
}

.placeholder-card-three {
  left: 75%;
}

.app-placeholder-phone {
  position: absolute;
  z-index: 3;
  right: 4%;
  bottom: 2%;
  width: 27%;
  height: 58%;
  padding: 46px 14px 18px;
  border: 8px solid #0d1732;
  border-radius: 34px;
  background: #ffffff;
  box-shadow: 0 28px 46px rgba(8, 27, 77, 0.32);
  transform: rotate(6deg);
}

.placeholder-phone-speaker {
  position: absolute;
  top: 15px;
  left: 50%;
  width: 34%;
  height: 5px;
  border-radius: 999px;
  background: #27375e;
  transform: translateX(-50%);
}

.placeholder-phone-line,
.placeholder-phone-card {
  display: block;
  border-radius: 8px;
  background: #dbe6ff;
}

.placeholder-phone-line {
  width: 72%;
  height: 12px;
  margin-bottom: 18px;
  background: #9cb2ec;
}

.placeholder-phone-card {
  height: 38%;
  margin-top: 12px;
}

.placeholder-phone-card-small {
  height: 20%;
}

.app-placeholder-plus {
  position: absolute;
  z-index: 4;
  left: 16%;
  bottom: 14%;
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  border: 8px solid rgba(255, 255, 255, 0.86);
  border-radius: 50%;
  color: #ffffff;
  background: var(--accent);
  box-shadow: 0 18px 36px rgba(22, 53, 143, 0.28);
  font-size: 1.4rem;
}

.app-showcase-controls {
  position: relative;
  z-index: 8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 8px clamp(30px, 4vw, 54px) 30px;
}

.app-showcase-progress {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.app-showcase-progress strong {
  color: #ffffff;
  font-size: 1.2rem;
}

.app-showcase-control-buttons {
  display: flex;
  gap: 10px;
}

.app-showcase-control-buttons button {
  min-width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.app-showcase-control-buttons button:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.app-showcase-control-buttons button:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 3px;
}

@media (max-width: 1060px) {
  .app-showcase-intro {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .app-showcase-slide {
    grid-template-columns: 1fr;
  }

  .app-feature-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .app-device-art,
  .app-placeholder-art {
    min-height: 320px;
  }

  .app-device-art-composite {
    max-width: 540px;
    min-height: 500px;
    justify-self: center;
  }

  .app-pos-art {
    max-width: 540px;
    min-height: 470px;
    justify-self: center;
  }

  .app-verifier-art {
    max-width: 540px;
    min-height: 440px;
    justify-self: center;
  }

  .app-inventory-art,
  .app-asset-art {
    max-width: 540px;
    justify-self: center;
  }

  .app-showcase-slide-inventory .app-inventory-art {
    max-width: 620px;
  }
}

@media (max-width: 700px) {
  .app-showcase-intro {
    margin-bottom: 24px;
  }

  .app-showcase-slide {
    gap: 34px;
    padding: 32px 20px 18px;
  }

  .app-showcase-copy h3 {
    font-size: clamp(2rem, 10vw, 2.7rem);
  }

  .app-wms-title {
    font-size: clamp(1.5rem, 7vw, 2.1rem) !important;
  }

  .app-feature-list {
    grid-template-columns: 1fr;
  }

  .app-showcase-cta {
    width: 100%;
  }

  .app-device-art,
  .app-placeholder-art {
    min-height: 390px;
    border-radius: 18px;
  }

  .app-device-art-composite {
    min-height: 250px;
  }

  .app-pos-art {
    min-height: 330px;
  }

  .app-verifier-art {
    min-height: 320px;
  }

  .app-inventory-art,
  .app-asset-art {
    max-width: 460px;
    min-height: 380px;
    border-radius: 18px;
  }

  .app-device-desktop {
    top: 0;
    right: -8%;
    width: 80%;
    transform: translateY(-4px) rotate(-5deg);
  }

  .app-device-mobile {
    left: 2%;
    bottom: 10px;
    width: 42%;
  }

  .app-pos-desktop {
    top: 2%;
    right: -8%;
    width: 90%;
  }

  .app-pos-mobile {
    left: 4%;
    bottom: 2%;
    width: 42%;
  }

  .app-placeholder-browser {
    top: 13%;
    right: 5%;
    width: 90%;
    height: 63%;
  }

  .app-placeholder-phone {
    right: 2%;
    width: 32%;
    height: 59%;
  }

  .app-placeholder-plus {
    left: 10%;
    bottom: 11%;
    width: 62px;
    height: 62px;
  }

  .app-showcase-controls {
    padding: 8px 20px 22px;
  }
}

@media (max-width: 420px) {
  .app-showcase-slide {
    padding-inline: 16px;
  }

  .app-device-art,
  .app-placeholder-art {
    min-height: 330px;
  }

  .app-device-art-composite {
    min-height: 230px;
  }

  .app-pos-art {
    min-height: 280px;
  }

  .app-device-mobile {
    left: 0;
    bottom: 4px;
    width: 44%;
  }

  .app-pos-mobile {
    left: 0;
    width: 44%;
  }

  .app-showcase-control-buttons button {
    padding-inline: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .app-showcase-slide,
  .app-showcase-control-buttons button {
    transition-duration: 0.001ms !important;
  }
}
