:root {
  --bg: #eef3ff;
  --bg-2: #f9fbff;
  --text: #14213b;
  --muted: #63708c;
  --line: rgba(85, 112, 184, 0.14);
  --card: rgba(255, 255, 255, 0.82);
  --card-strong: #ffffff;
  --blue: #245ce0;
  --blue-dark: #153b9f;
  --shadow: 0 22px 70px rgba(24, 43, 96, 0.16);
  --shadow-soft: 0 14px 30px rgba(44, 73, 148, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", system-ui, sans-serif;
  color: var(--text);
  overflow-x: hidden;
  background:
    radial-gradient(circle at 15% 8%, rgba(55, 113, 255, 0.18), transparent 24%),
    radial-gradient(circle at 90% 15%, rgba(166, 203, 255, 0.42), transparent 24%),
    linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 100%);
}

img {
  display: block;
  max-width: 100%;
}

a,
button {
  font: inherit;
}

.showcase-page {
  width: min(100%, 430px);
  margin: 0 auto;
  padding: 16px 12px 28px;
  overflow-x: clip;
}

.showcase-hero {
  position: relative;
  padding: 8px 8px 20px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--blue-dark);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 10px 22px rgba(44, 73, 148, 0.08);
  backdrop-filter: blur(12px);
}

.hero-pill {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(36, 92, 224, 0.1);
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.showcase-hero h1 {
  margin: 14px 0 10px;
  font-size: 34px;
  line-height: 0.96;
  letter-spacing: -0.065em;
}

.showcase-hero p {
  max-width: 330px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: -0.025em;
}

.showcase-stage {
  position: relative;
  overflow: hidden;
  padding: 18px 12px 20px;
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(247, 250, 255, 0.92)),
    rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.stage-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(18px);
  opacity: 0.7;
  pointer-events: none;
}

.glow-left {
  top: 82px;
  left: -26px;
  width: 140px;
  height: 140px;
  background: rgba(58, 118, 255, 0.2);
}

.glow-right {
  right: -20px;
  bottom: 96px;
  width: 120px;
  height: 120px;
  background: rgba(124, 171, 255, 0.24);
}

.showcase-topbar {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.section-kicker,
.copy-kicker {
  margin: 0 0 4px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.showcase-topbar h2,
.carousel-copy h3 {
  margin: 0;
  font-size: 24px;
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.carousel-controls {
  display: flex;
  gap: 8px;
}

.nav-button {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--blue-dark);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-soft);
}

.nav-button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.carousel-shell {
  position: relative;
  z-index: 1;
  margin: 0 -12px;
  padding: 6px 0 10px;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  gap: 16px;
  padding: 4px 18px 8px;
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.screen-card {
  flex: 0 0 82%;
  transition: transform 220ms ease, opacity 220ms ease;
  opacity: 0.74;
}

.screen-card.is-active {
  opacity: 1;
  transform: translateY(-2px);
}

.screen-frame {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  background: linear-gradient(180deg, #ffffff, #edf3ff);
  box-shadow: 0 22px 40px rgba(28, 54, 117, 0.14);
  aspect-ratio: 0.57;
  display: flex;
  align-items: center;
  justify-content: center;
}

.screen-frame::after {
  content: "";
  position: absolute;
  inset: auto 20px 10px;
  height: 18px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(10, 22, 54, 0.16), transparent 72%);
  filter: blur(10px);
  z-index: 0;
}

.screen-frame img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.screen-meta {
  margin-top: 14px;
  padding: 0 6px;
}

.meta-tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.meta-tag.blue {
  background: rgba(36, 92, 224, 0.1);
  color: var(--blue);
}

.meta-tag.sky {
  background: rgba(52, 146, 255, 0.12);
  color: #1472d5;
}

.meta-tag.indigo {
  background: rgba(80, 91, 218, 0.12);
  color: #4752cb;
}

.meta-tag.emerald {
  background: rgba(50, 172, 121, 0.12);
  color: #18835b;
}

.meta-tag.violet {
  background: rgba(135, 90, 255, 0.12);
  color: #7041df;
}

.screen-meta h3 {
  margin: 10px 0 6px;
  font-size: 22px;
  line-height: 1.03;
  letter-spacing: -0.045em;
}

.screen-meta p,
.carousel-copy p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.48;
  letter-spacing: -0.02em;
}

.carousel-footer {
  position: relative;
  z-index: 1;
  margin-top: 10px;
  padding: 18px 16px 8px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(12px);
}

.carousel-copy h3 {
  margin-bottom: 8px;
}

.carousel-dots {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
}

.dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(72, 99, 171, 0.24);
  transition: width 200ms ease, background 200ms ease;
}

.dot.is-active {
  width: 30px;
  background: linear-gradient(90deg, #2a68ea 0%, #4f8eff 100%);
}

.example-download {
  margin-top: 14px;
  padding: 0 4px;
}

.download-button {
  min-height: 58px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  color: #252c3d;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(49, 83, 175, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.play-icon {
  width: 26px;
  height: 26px;
}

@media (hover: hover) and (pointer: fine) {
  .nav-button:hover,
  .dot:hover,
  .back-link:hover {
    cursor: pointer;
  }

  .nav-button:hover {
    transform: translateY(-1px);
  }
}

@media (max-width: 390px) {
  .showcase-page {
    padding-inline: 10px;
  }

  .showcase-hero h1 {
    font-size: 31px;
  }

  .screen-card {
    flex-basis: 85%;
  }
}
