/* product detail page */
.product-hero { padding: 160px 64px 60px; max-width: 720px; }
.back-link { font-size: 13px; color: rgba(242,244,251,0.45); text-decoration: none; }
.back-link:hover { color: #6ee7c9; }
.product-badge-live { display: inline-block; margin-top: 20px; }

.env-cta {
  margin-top: 40px; padding: 28px 32px; border-radius: 20px;
  background: rgba(110,231,201,0.06); border: 1px solid rgba(110,231,201,0.22);
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}

/* live device demo */
.device-toggle { display: flex; gap: 8px; margin-top: 44px; }
.device-btn {
  font-family: inherit; font-size: 13px; font-weight: 600; padding: 9px 18px; border-radius: 10px;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); color: rgba(242,244,251,0.6);
  cursor: pointer; transition: all .2s;
}
.device-btn:hover { border-color: rgba(110,231,201,0.3); color: #f2f4fb; }
.device-btn.active { background: rgba(110,231,201,0.1); border-color: rgba(110,231,201,0.4); color: #6ee7c9; }

.device-stage { margin-top: 28px; display: flex; justify-content: center; }

.laptop-device { width: 100%; max-width: 960px; }
.laptop-screen {
  background: #000; border-radius: 16px 16px 4px 4px; padding: 12px 12px 0;
  box-shadow: 0 40px 90px -30px rgba(0,0,0,0.7); border: 1px solid rgba(255,255,255,0.08);
}
.laptop-screen iframe { width: 100%; height: 560px; border: 0; border-radius: 6px 6px 0 0; display: block; background: #05060a; }
.laptop-base {
  height: 16px; margin: 0 40px; border-radius: 0 0 10px 10px;
  background: linear-gradient(180deg,#2a2e3a,#14161d);
  box-shadow: 0 14px 28px -8px rgba(0,0,0,0.5);
}

.phone-device {
  width: 100%; max-width: 300px; background: #111; border-radius: 36px; padding: 10px;
  box-shadow: 0 40px 90px -30px rgba(0,0,0,0.7); border: 1px solid rgba(255,255,255,0.08); position: relative;
}
.phone-notch {
  position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
  width: 90px; height: 18px; background: #111; border-radius: 0 0 12px 12px; z-index: 2;
}
.phone-screen { border-radius: 26px; overflow: hidden; }
.phone-screen iframe { width: 100%; height: 580px; border: 0; display: block; background: #05060a; }

@media (max-width: 760px) {
  .product-hero { padding: 130px 24px 40px; }
  .env-cta { flex-direction: column; align-items: stretch; text-align: center; }
  .laptop-screen iframe { height: 420px; }
}
