.showcase {
  overflow: hidden;
  background: radial-gradient(90% 70% at 80% 0%, var(--deep-3) 0%, var(--deep) 55%, #061b1e 100%);
}

.showcase__glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(500px circle at 10% 80%, rgba(229, 224, 56, 0.08), transparent 60%),
    radial-gradient(600px circle at 90% 20%, rgba(107, 196, 160, 0.12), transparent 60%);
  pointer-events: none;
}

.showcase__tabs {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0 auto 48px;
  padding: 6px;
  width: fit-content;
  max-width: 100%;
  border: 1px solid var(--line-dark);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
}

.showcase__tab {
  position: relative;
  padding: 10px 18px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--on-dark-2);
  font-size: 15px;
  overflow: hidden;
  transition: color 0.25s, background 0.25s;
}

.showcase__tab:hover {
  color: var(--white);
}

.showcase__tab[aria-selected="true"] {
  background: var(--mint);
  color: var(--deep);
  font-weight: 600;
}

.showcase__tab .progress {
  position: absolute;
  inset: auto 0 0;
  height: 3px;
  background: rgba(9, 36, 40, 0.35);
  transform: scaleX(0);
  transform-origin: right;
}

.showcase__tab[aria-selected="true"] .progress {
  animation: tab-progress var(--rotate-ms, 7000ms) linear forwards;
}

.showcase.is-paused .showcase__tab .progress {
  animation-play-state: paused;
}

@keyframes tab-progress {
  to {
    transform: scaleX(1);
  }
}

.showcase__body {
  position: relative;
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 48px;
  align-items: center;
}

.showcase__info {
  display: grid;
  gap: 16px;
}

.showcase__info h3 {
  font-size: 30px;
}

.showcase__info p {
  color: var(--on-dark-2);
}

.showcase__info ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.showcase__info li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--on-dark-2);
  font-size: 15.5px;
}

.showcase__info li svg {
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 4px;
  color: var(--mint);
}

.showcase__info.is-swapping > * {
  animation: info-in 0.6s var(--ease) both;
}

.showcase__info.is-swapping > *:nth-child(2) {
  animation-delay: 60ms;
}

.showcase__info.is-swapping > *:nth-child(3) {
  animation-delay: 120ms;
}

@keyframes info-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
}

.tilt {
  --rx: 0deg;
  --ry: 0deg;
  perspective: 1400px;
}

.tilt__inner {
  position: relative;
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transform-style: preserve-3d;
  transition: transform 0.25s var(--ease);
}

.showcase__screens {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #f1f4f3;
}

.showcase__screens img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  opacity: 0;
  transform: scale(1.025);
  transition: opacity 0.7s var(--ease), transform 1.2s var(--ease);
}

.showcase__screens img.is-active {
  opacity: 1;
  transform: none;
}

.showcase__shine {
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: 18px;
  background: radial-gradient(600px circle at var(--sx, 50%) var(--sy, 0%), rgba(255, 255, 255, 0.12), transparent 50%);
  pointer-events: none;
}

.showcase__ring {
  position: absolute;
  inset: -24px;
  z-index: -1;
  border-radius: 32px;
  background: conic-gradient(from var(--angle, 0deg), rgba(107, 196, 160, 0.5), transparent 30%, rgba(229, 224, 56, 0.35) 50%, transparent 70%, rgba(107, 196, 160, 0.5));
  filter: blur(40px);
  opacity: 0.5;
  animation: ring-spin 14s linear infinite;
}

@property --angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

@keyframes ring-spin {
  to {
    --angle: 360deg;
  }
}

@media (max-width: 1080px) {
  .showcase__body {
    grid-template-columns: 1fr;
  }

  .showcase__info {
    order: 2;
    text-align: center;
    justify-items: center;
  }

  .showcase__info li {
    text-align: start;
  }
}

@media (max-width: 720px) {
  .showcase__tabs {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .showcase__tab {
    flex: none;
  }
}
