.device-showcase {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: clamp(28px, 6vw, 84px);
  padding: clamp(24px, 5vw, 70px);
  overflow: hidden;
  border: 1px solid #566783;
  border-radius: clamp(24px, 4vw, 42px);
  background: radial-gradient(ellipse at 5% 5%, #174981 0, transparent 55%),
              radial-gradient(ellipse at 100% 100%, #71441170 0, transparent 55%),
              #080f1e;
  box-shadow: 0 30px 90px #0007;
}

.device-showcase::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: repeating-linear-gradient(125deg, transparent 0 78px, #b9daff12 79px 80px);
  mask-image: linear-gradient(110deg, transparent 20%, #000);
  content: "";
}

.showcase-app {
  min-width: 0;
  padding: clamp(14px, 2.5vw, 26px);
  border: 1px solid #9bcbff50;
  border-radius: 24px;
  background: linear-gradient(150deg, #101f34, #060b15 75%);
  box-shadow: inset 0 1px #ffffff1c, 0 22px 55px #0009;
}

.showcase-app-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid #7aa3d12b;
  font-size: 15px;
}

.showcase-app-brand img { object-fit: contain; }

.showcase-picker {
  min-inline-size: 0;
  margin: 16px 0 0;
  padding: 0;
  border: 0;
}

.showcase-picker legend {
  margin-bottom: 10px;
  padding: 0;
  color: #c0d0e3;
  font-size: 12px;
  font-weight: 700;
}

.showcase-options {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.showcase-options label { position: relative; }

.showcase-options input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.showcase-options span {
  display: grid;
  align-items: center;
  min-height: 44px;
  padding: 0 9px;
  border: 1px solid #466080;
  border-radius: 8px;
  color: #d5e4f6;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

.showcase-options label:hover span { border-color: var(--gold-soft); }
.showcase-options input:checked + span {
  border-color: var(--gold-soft);
  background: var(--gold-soft);
  color: #161008;
}
.showcase-options input:focus-visible + span { outline: 2px solid #fff; outline-offset: 3px; }

.showcase-stage {
  display: grid;
  place-items: center;
  height: clamp(188px, 25vw, 276px);
  margin-top: 16px;
  overflow: hidden;
  border: 1px solid #42689445;
  border-radius: 16px;
  background: radial-gradient(ellipse at center, #1e508260, transparent 75%), #050c18;
}

.showcase-device {
  position: relative;
  display: grid;
  grid-template-rows: minmax(0, 1fr);
  width: min(76%, 295px);
  height: min(57%, 156px);
  padding: 5px;
  border: 1px solid #82a8cd;
  border-radius: 10px;
  background: #151f2c;
  box-shadow: 0 12px 35px #000b, 0 0 28px #1085ff38;
  transition: width 280ms ease, height 280ms ease, border-radius 280ms ease;
}

.showcase-device::after {
  position: absolute;
  top: 100%;
  left: 50%;
  width: 30%;
  height: 14px;
  background: linear-gradient(#344966, #192638);
  clip-path: polygon(42% 0, 58% 0, 63% 69%, 100% 82%, 100% 100%, 0 100%, 0 82%, 37% 69%);
  transform: translateX(-50%);
  content: "";
}

.showcase-screen {
  display: grid;
  grid-template-rows: minmax(0, 1fr);
  min-height: 0;
  place-items: center;
  overflow: hidden;
  border-radius: inherit;
  background: radial-gradient(ellipse at 25% 10%, #143e73, transparent 67%),
              radial-gradient(ellipse at 84% 85%, #694313, transparent 65%), #060b14;
}

.showcase-screen img {
  width: 100%;
  height: 100%;
  max-width: 132px;
  min-height: 0;
  object-fit: contain;
}

.showcase-app:has([value="phone"]:checked) .showcase-device {
  width: 89px;
  height: min(83%, 192px);
  border-radius: 18px;
}

.showcase-app:has([value="tablet"]:checked) .showcase-device {
  width: min(67%, 215px);
  height: 67%;
  border-radius: 14px;
}

.showcase-app:has([value="computer"]:checked) .showcase-device {
  width: min(66%, 245px);
  height: 58%;
}

.showcase-app:has([value="computer"]:checked) .showcase-device::after {
  width: 118%;
  height: 8px;
  border-radius: 0 0 60% 60%;
  clip-path: none;
}

.showcase-app:has([value="box"]:checked) .showcase-device::after {
  top: calc(100% + 8px);
  width: 35%;
  height: 12px;
  border: 1px solid #7e9bbd;
  border-radius: 4px;
  background: radial-gradient(circle at 76% 50%, #6cbcff 1px, transparent 2px), #151f2c;
  clip-path: none;
}

.showcase-app:has([value="phone"]:checked, [value="tablet"]:checked) .showcase-device::after { display: none; }

.showcase-copy h2 {
  margin: 0;
  font-size: clamp(40px, 5.6vw, 84px);
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.showcase-copy em {
  color: var(--gold-soft);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.showcase-copy p {
  max-width: 390px;
  margin: 16px 0 0;
  color: #c4d0e3;
  font-size: 14px;
  line-height: 1.65;
}

.showcase-copy .button { gap: 18px; margin-top: 25px; }
.showcase-copy .button span { font-size: 18px; }

@media (max-width: 760px) {
  .hero h1 { font-size: clamp(32px, 7.6vw, 54px); }
  .device-showcase { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  .showcase-device { transition: none; }
}
