/* Native screenshot galleries — iOS + Android */

.hero-gallery {
  grid-template-columns: minmax(0, 24rem) minmax(0, 1fr);
  align-items: start;
}

.platform-stage {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 2.5vw, 36px);
  width: min(920px, 100%);
}

.platform-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 18px 16px 16px;
  border-radius: 28px;
  background: rgba(253, 251, 247, 0.78);
  border: 1px solid rgba(16, 40, 64, 0.08);
  box-shadow: 0 18px 40px rgba(16, 40, 64, 0.08);
}

.platform-head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.platform-head h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.04em;
}

.device-toggle {
  display: inline-flex !important;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(16, 40, 64, 0.06);
}

.device-toggle-btn {
  border: 0;
  background: transparent;
  color: var(--navy);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 999px;
  cursor: pointer;
  opacity: 0.62;
}

.device-toggle-btn:hover {
  opacity: 0.9;
}

.device-toggle-btn.on {
  background: #fff;
  color: var(--teal, #1c5c58);
  opacity: 1;
  box-shadow: 0 1px 4px rgba(16, 40, 64, 0.1);
}

/* Phone bezel — soft rounded phone shell (no Dynamic Island overlay) */
.shot-frame {
  position: relative;
  width: min(100%, 260px);
  aspect-ratio: 9 / 19.5;
  border-radius: 34px;
  padding: 10px;
  background: #111114;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.1),
    0 18px 36px rgba(13, 26, 40, 0.2);
  overflow: hidden;
}

.shot-frame::before,
.shot-frame::after {
  content: none !important;
  display: none !important;
}

/* iPad / tablet — flat slab bezel, no notch / island */
.shot-frame[data-frame="tablet"],
.shot-frame.is-tablet {
  width: min(100%, 360px);
  aspect-ratio: 3 / 4;
  border-radius: 18px;
  padding: 14px 12px;
  background: #1a1a1e;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    0 16px 32px rgba(13, 26, 40, 0.18);
}

.shot-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 24px;
  background: #fdfbf7;
}

.shot-frame[data-frame="tablet"] img,
.shot-frame.is-tablet img {
  object-fit: contain;
  object-position: center top;
  border-radius: 8px;
  background: #0f1620;
}

.shot-meta {
  text-align: center;
  max-width: 280px;
}

.shot-index {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(16, 40, 64, 0.55);
  margin-bottom: 4px;
}

.shot-meta strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 4px;
}

.shot-meta p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.4;
  color: rgba(16, 40, 64, 0.72);
}

.shot-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
}

.shot-controls .btn[disabled] {
  opacity: 0.35;
  pointer-events: none;
}

.shot-dots {
  display: flex;
  gap: 6px;
  justify-content: center;
  flex: 1;
}

.shot-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: rgba(16, 40, 64, 0.18);
  cursor: pointer;
}

.shot-dot.on {
  background: var(--teal, #1c5c58);
  transform: scale(1.15);
}

@media (max-width: 980px) {
  .hero-gallery {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .hero-gallery .hero-copy {
    text-align: center;
    margin: 0 auto;
  }

  .hero-gallery .hero-brand {
    align-items: center;
  }

  .platform-stage {
    grid-template-columns: 1fr;
    width: min(420px, 100%);
  }
}

@media (max-width: 640px) {
  .platform-card {
    padding: 14px 12px;
  }

  .shot-frame {
    width: min(100%, 240px);
  }

  .shot-frame[data-frame="tablet"],
  .shot-frame.is-tablet {
    width: min(100%, 300px);
  }
}
