/* ==========================================================
   landing.css — overrides / enhancements (all original site CSS kept)
   ========================================================== */

/* 1. Interaction basics */
html {
  -webkit-text-size-adjust: 100%;
}

body {
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}

img {
  -webkit-user-drag: none;
  user-select: none;
}

/* 2. Card tap feedback */
.video-grid > div {
  transition: transform .18s ease, opacity .18s ease;
}

.video-grid > div:active {
  transform: scale(.97);
}

/* Fade out / in while refreshing */
.video-grid.is-refreshing > div {
  opacity: 0;
  transform: translateY(6px);
}

/* 3. Highlight hint when jumping back to the CTA from a card */
@keyframes cta-pulse {
  0%   { box-shadow: 0 14px 34px #ff48d042, 0 0 0 0 #ff48d0aa; }
  70%  { box-shadow: 0 14px 34px #ff48d042, 0 0 0 14px #ff48d000; }
  100% { box-shadow: 0 14px 34px #ff48d042, 0 0 0 0 #ff48d000; }
}

.primary-cta.is-highlight {
  animation: cta-pulse 1s ease-out 2;
}

/* 4. Toast (used when the download URL is not configured) */
.lp-toast {
  position: fixed;
  left: 50%;
  bottom: 96px;
  z-index: 99;
  transform: translate(-50%, 12px);
  max-width: calc(100vw - 40px);
  padding: 10px 16px;
  border-radius: 12px;
  background: #1b1b22f2;
  border: 1px solid #ffffff1f;
  color: #f0f0f5;
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease, transform .22s ease;
}

.lp-toast.is-show {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* 5. Anchor scroll offset (so the fixed bottom button does not cover the target) */
#download {
  scroll-margin-top: 16px;
}

/* 6. Small screen tweaks: on very narrow screens (<=360px) tighten padding and font size to avoid wrapping overflow */
@media (max-width: 360px) {
  .video-launch-shell[data-v-e7aa4f35] {
    padding-left: 10px;
    padding-right: 10px;
  }

  .download-panel__copy h1[data-v-e7aa4f35] {
    font-size: 26px;
  }

  .benefit-row span[data-v-e7aa4f35] {
    font-size: 9px;
    padding: 7px 2px;
  }

  .quota-panel strong[data-v-e7aa4f35] {
    font-size: 12px;
  }
}

/* 7. Respect the reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
  .primary-cta.is-highlight {
    animation: none;
  }

  .video-grid > div,
  .lp-toast {
    transition: none;
  }
}
