/* iMazing shop — clean light presentation hero + iOS device highlights */

:root {
  --font-ui: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --hero-accent-gradient: linear-gradient(135deg, #20b8ff 0%, #1f7bff 52%, #0a47b3 100%);
  --live-studio-bg: #ffffff;
  --live-studio-deep: #eef3fb;
  --live-clip-green: rgba(22, 163, 74, 0.16);
  --live-clip-blue: rgba(31, 123, 255, 0.18);
  --live-clip-cyan: rgba(32, 184, 255, 0.16);
  --live-clip-violet: rgba(31, 135, 162, 0.16);
  --live-panel-border: rgba(17, 24, 39, 0.08);
  --live-wave-stroke: rgba(31, 123, 255, 0.12);
}

.header-shell {
  position: -webkit-sticky;
  position: sticky;
  top: 16px;
  z-index: 100;
}

.hero--presentation {
  position: relative;
  min-height: auto;
  margin-top: 8px;
  padding: clamp(3rem, 8vh, 5.5rem) 0 clamp(2.5rem, 8vh, 5rem);
}

.hero--presentation::before {
  content: none;
}

.hero--presentation .hero-inner {
  max-width: min(1120px, 100%);
}

.hero--presentation .hero-copy {
  --hero-gap-title-lead: clamp(0.5rem, 1.4vh, 0.75rem);
  --hero-gap-lead-cta: clamp(1.625rem, 4.2vh, 2.375rem);
  --hero-gap-cta-trust: clamp(0.875rem, 2.2vh, 1.25rem);
  --hero-gap-trust-visual: clamp(2.25rem, 5.5vh, 3.5rem);
  gap: 0;
  padding-top: clamp(2rem, 4.5vh, 3.5rem);
}

@media (min-width: 981px) {
  .hero--presentation .hero-copy {
    padding-top: clamp(2.75rem, 5.5vh, 4.5rem);
  }
}

.hero--presentation .hero-copy h1.hero-display {
  margin: 0 auto var(--hero-gap-title-lead, clamp(0.5rem, 1.4vh, 0.75rem));
}

.hero--presentation .hero-kicker {
  display: block;
}

.hero-display,
h1.hero-display {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 0 auto var(--hero-gap-title-lead, clamp(0.5rem, 1.4vh, 0.75rem));
  padding: 0;
  font-family: var(--font-ui);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-align: center;
  white-space: nowrap;
  text-shadow: none;
}

.hero-display__accent {
  display: inline-block;
  font-size: clamp(2rem, 7.5vw, 4.5rem);
  background: var(--hero-accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

 .hero-lead {
  margin: 0 auto var(--hero-gap-lead-cta, clamp(1.625rem, 4.2vh, 2.375rem));

.hero--presentation .hero-brand-badge {
  display: flex;
  justify-content: center;
  margin-bottom: clamp(0.75rem, 2vh, 1.25rem);
}

.hero--presentation .hero-brand-badge img {
  width: 52px;
  height: 52px;
  border-radius: 13px;
  box-shadow: 0 8px 22px rgba(31, 123, 255, 0.28);
}
  max-width: 38rem;
  font-family: var(--font-ui);
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0.01em;
  color: var(--muted);
  text-wrap: balance;
}

.hero-price {
  margin: 0 auto clamp(1rem, 3vh, 1.5rem);
  font-family: var(--font-ui);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--accent);
  text-align: center;
}

.hero--presentation .hero-subtitle {
  display: none;
}

.hero--presentation .hero-actions {
  margin-top: 0;
  margin-bottom: var(--hero-gap-cta-trust, clamp(0.875rem, 2.2vh, 1.25rem));
}

.hero--presentation .hero-buy-btn,
.final-offer__actions .hero-buy-btn {
  min-width: min(100%, 260px);
  padding: 16px 32px;
  font-family: var(--font-btn);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  border-radius: 999px !important;
  background: var(--hero-accent-gradient) !important;
  color: #ffffff !important;
  border: 1px solid rgba(31, 123, 255, 0.55) !important;
  box-shadow: 0 8px 28px rgba(31, 123, 255, 0.32);
  animation: imazing-btn-pulse-pill 6.5s ease-in-out infinite;
  transition:
    transform 0.22s ease,
    filter 0.22s ease,
    box-shadow 0.22s ease;
}

.header-actions .hero-buy-btn {
  min-width: 128px;
  padding: 14px 28px;
  font-family: var(--font-btn);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: none;
  border-radius: 9999px !important;
  background: var(--hero-accent-gradient) !important;
  color: #ffffff !important;
  border: 1px solid rgba(31, 123, 255, 0.55) !important;
  box-shadow: 0 8px 28px rgba(31, 123, 255, 0.32);
  animation: imazing-btn-pulse-pill 6.5s ease-in-out infinite;
  transition:
    transform 0.22s ease,
    filter 0.22s ease,
    box-shadow 0.22s ease;
}

.hero--presentation .hero-buy-btn::before,
.final-offer__actions .hero-buy-btn::before,
.header-actions .hero-buy-btn::before,
.oplata-cta .hero-buy-btn::before {
  display: none !important;
}

.hero--presentation .hero-buy-btn::after,
.final-offer__actions .hero-buy-btn::after,
.header-actions .hero-buy-btn::after,
.oplata-cta .hero-buy-btn::after,
.buy-modal-submit::after {
  display: block !important;
  inset: -130% -45%;
  background: linear-gradient(
    108deg,
    rgba(32, 184, 255, 0) 32%,
    rgba(32, 184, 255, 0.28) 43%,
    rgba(255, 255, 255, 0.5) 50%,
    rgba(96, 165, 250, 0.32) 57%,
    rgba(32, 184, 255, 0) 68%
  );
  animation: buy-btn-shimmer 6.5s ease-in-out infinite;
}

.hero--presentation .hero-buy-btn:hover,
.final-offer__actions .hero-buy-btn:hover,
.header-actions .hero-buy-btn:hover {
  filter: brightness(1.05) saturate(1.05) !important;
  transform: translateY(-1px);
}

.oplata-cta .hero-buy-btn {
  background: var(--hero-accent-gradient) !important;
  color: #ffffff !important;
  border: 1px solid rgba(31, 123, 255, 0.55) !important;
  box-shadow: 0 8px 28px rgba(31, 123, 255, 0.32);
  text-decoration: none;
  transition:
    transform 0.22s ease,
    filter 0.22s ease,
    box-shadow 0.22s ease;
}

.oplata-cta .hero-buy-btn:hover {
  filter: brightness(1.05) saturate(1.05) !important;
  transform: translateY(-1px);
  color: #ffffff !important;
}

.buy-modal-submit {
  position: relative;
  overflow: hidden;
  background: var(--hero-accent-gradient) !important;
  color: #ffffff !important;
  border: 1px solid rgba(31, 123, 255, 0.55) !important;
  box-shadow: 0 8px 28px rgba(31, 123, 255, 0.32);
  animation: imazing-btn-pulse-pill 6.5s ease-in-out infinite;
  transition:
    transform 0.22s ease,
    filter 0.22s ease,
    box-shadow 0.22s ease;
}

.buy-modal-submit::before {
  display: none !important;
}

.buy-modal-submit:hover:not(:disabled) {
  filter: brightness(1.05) saturate(1.05) !important;
  transform: translateY(-1px);
  color: #ffffff !important;
}

.hero--presentation .hero-trust-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px 8px;
  width: 100%;
  max-width: 100%;
  margin: 0 auto var(--hero-gap-trust-visual, clamp(2.25rem, 5.5vh, 3.5rem));
  padding: 0;
  font-family: var(--font-ui);
  font-size: clamp(0.75rem, 2.2vw, 0.8125rem);
  letter-spacing: 0.01em;
  color: var(--text-ui);
  border: none;
  background: none;
  box-shadow: none;
  box-sizing: border-box;
}

.hero--presentation .hero-trust-chip,
.final-offer__trust .hero-trust-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0.4rem 0.8rem;
  border: 1px solid rgba(17, 24, 39, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  font-weight: 500;
  color: var(--text-ui);
  white-space: nowrap;
  max-width: 100%;
  box-sizing: border-box;
  cursor: default;
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    background-color 0.22s ease,
    box-shadow 0.22s ease,
    color 0.22s ease;
}

.hero--presentation .hero-trust-chip:hover,
.final-offer__trust .hero-trust-chip:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--accent-2) 42%, rgba(255, 255, 255, 0.4));
  background: #ffffff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 8px 22px rgba(var(--glow-rgb), 0.16);
  color: var(--text);
}

.hero--presentation .hero-trust-chip .checkmark-icon,
.final-offer__trust .hero-trust-chip .checkmark-icon {
  width: 16px;
  height: 16px;
  color: var(--accent);
  opacity: 0.9;
  flex-shrink: 0;
  transition: transform 0.22s ease, opacity 0.22s ease, color 0.22s ease;
}

.hero--presentation .hero-trust-chip:hover .checkmark-icon,
.final-offer__trust .hero-trust-chip:hover .checkmark-icon {
  opacity: 1;
  transform: scale(1.12);
  color: var(--accent);
}

.hero--presentation .hero-trust-chip--emphasis,
.final-offer__trust .hero-trust-chip--emphasis {
  font-weight: 600;
  color: var(--text);
}

@media (prefers-reduced-motion: reduce) {
  .hero--presentation .hero-trust-chip,
  .hero--presentation .hero-trust-chip .checkmark-icon,
  .final-offer__trust .hero-trust-chip,
  .final-offer__trust .hero-trust-chip .checkmark-icon {
    transition: none;
  }

  .hero--presentation .hero-trust-chip:hover,
  .hero--presentation .hero-trust-chip:hover .checkmark-icon,
  .final-offer__trust .hero-trust-chip:hover,
  .final-offer__trust .hero-trust-chip:hover .checkmark-icon {
    transform: none;
  }
}

.hero--presentation .hero-visual {
  width: min(100%, 1040px);
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
  border: none;
  background: none;
  border-radius: clamp(12px, 2vw, 20px);
  overflow: hidden;
  box-shadow:
    0 4px 24px rgba(17, 24, 39, 0.1),
    0 24px 80px rgba(17, 24, 39, 0.12);
}

.hero--presentation .hero-imazing-screenshot,
.hero--presentation .hero-imazing-video {
  width: 100%;
  max-width: none;
  aspect-ratio: 16 / 9;
  border-radius: clamp(12px, 2vw, 20px) !important;
  border: 1px solid rgba(17, 24, 39, 0.08) !important;
  box-shadow: none !important;
  filter: none;
}

.hero--presentation .hero-deferred-media .hero-deferred-video-el {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  border: none;
}

@keyframes imazing-btn-pulse-pill {
  0%,
  100% {
    box-shadow: 0 8px 28px rgba(31, 123, 255, 0.32);
  }
  50% {
    box-shadow:
      0 10px 34px rgba(31, 123, 255, 0.46),
      0 0 0 1px rgba(32, 184, 255, 0.28);
  }
}

@media (max-width: 980px) {
  .hero--presentation .hero-imazing-screenshot,
  .hero--presentation .hero-imazing-video {
    width: 100% !important;
    max-width: none !important;
  }
}

/* Official demo video section */
.demo-video-section {
  padding: 4rem 0 1rem;
  text-align: center;
}

.demo-video-lead {
  max-width: 640px;
  margin: 0 auto 2rem;
  color: var(--text-ui);
  font-size: 1.05rem;
  line-height: 1.5;
}

.demo-video-frame {
  position: relative;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: clamp(12px, 2vw, 20px);
  overflow: hidden;
  background: linear-gradient(135deg, #0a84ff, #1f7bff 52%, #003fb0);
  box-shadow:
    0 4px 24px rgba(17, 24, 39, 0.1),
    0 24px 80px rgba(17, 24, 39, 0.12);
  cursor: pointer;
}

.demo-video-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.92;
}

.demo-video-play {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  border: none;
  background: transparent;
  cursor: pointer;
  color: #fff;
  z-index: 2;
}

.demo-video-play__icon {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  border: 2px solid rgba(255, 255, 255, 0.85);
  display: grid;
  place-items: center;
  transition: transform 0.2s ease, background 0.2s ease;
}

.demo-video-play__icon::before {
  content: "";
  width: 0;
  height: 0;
  margin-left: 6px;
  border-style: solid;
  border-width: 16px 0 16px 26px;
  border-color: transparent transparent transparent #fff;
}

.demo-video-play:hover .demo-video-play__icon,
.demo-video-play:focus-visible .demo-video-play__icon {
  transform: scale(1.06);
  background: rgba(255, 255, 255, 0.28);
}

.demo-video-play__label {
  font-weight: 700;
  font-size: 1.1rem;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
}

.demo-video-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.demo-video-fallback {
  margin: 1rem 0 0;
  text-align: center;
}

.demo-video-fallback a {
  color: var(--accent-2, #0a84ff);
  font-weight: 600;
  text-decoration: none;
}

.demo-video-fallback a:hover {
  text-decoration: underline;
}

@media (max-width: 640px) {
  .demo-video-section {
    padding: 2.5rem 0 0.5rem;
  }

  .demo-video-lead {
    font-size: 0.98rem;
    margin-bottom: 1.5rem;
  }

  .demo-video-play__icon {
    width: 68px;
    height: 68px;
  }
}

@media (max-width: 640px) {
  .hero--presentation {
    padding-top: clamp(2rem, 6vh, 3rem);
    padding-bottom: 2rem;
  }

  .hero--presentation .hero-copy {
    --hero-gap-title-lead: clamp(0.375rem, 1.2vh, 0.625rem);
    --hero-gap-lead-cta: clamp(1.375rem, 3.8vh, 1.875rem);
    --hero-gap-cta-trust: clamp(0.75rem, 2vh, 1rem);
    --hero-gap-trust-visual: clamp(1.75rem, 4.5vh, 2.5rem);
    padding-top: clamp(1.5rem, 4.5vh, 2.25rem);
  }

  .hero-display,
  h1.hero-display {
    white-space: normal;
    line-height: 1.12;
  }

  .hero-display__accent {
    font-size: clamp(1.75rem, 8.5vw, 2.5rem);
  }

  .hero-lead {
    font-size: 0.975rem;
    line-height: 1.5;
    padding-inline: 0.25rem;
  }

  .hero--presentation .hero-buy-btn {
    width: 100%;
    max-width: 300px;
  }

  .hero--presentation .hero-trust-bar {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: min(100%, 18.5rem);
    margin-inline: auto;
    padding-inline: 0.5rem;
    gap: 6px;
    font-size: 0.75rem;
  }

  .hero--presentation .hero-trust-chip {
    display: flex;
    width: 100%;
    padding: 0.38rem 0.55rem;
    gap: 6px;
    white-space: normal;
    text-align: center;
    line-height: 1.35;
  }

  .hero--presentation .hero-trust-chip .checkmark-icon {
    width: 12px;
    height: 12px;
  }
}

/* ── Highlight panels — clean light blue panels ── */
.highlight-visual {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(ellipse 85% 75% at 50% 32%, rgba(31, 123, 255, 0.1), transparent 68%),
    var(--live-studio-bg) !important;
  border-bottom: 1px solid var(--live-panel-border);
  min-height: calc(200px + 2rem);
  padding: 1.25rem 1.5rem;
}

.highlight-visual::before {
  display: none;
}

.highlight-visual .highlight-image {
  position: relative;
  z-index: 1;
}

.highlight-visual--license {
  background:
    radial-gradient(ellipse 80% 70% at 50% 38%, rgba(32, 184, 255, 0.12), transparent 65%),
    radial-gradient(ellipse 70% 55% at 50% 100%, rgba(31, 123, 255, 0.14), transparent 58%),
    var(--live-studio-deep) !important;
  border-bottom: 1px solid var(--live-panel-border);
}

.highlight-visual--license::before {
  display: none;
}

.highlight-visual--license .highlight-platforms {
  position: relative;
  z-index: 1;
}

.highlight-visual--star {
  background:
    radial-gradient(ellipse 70% 60% at 50% 35%, rgba(31, 123, 255, 0.12), transparent 62%),
    repeating-linear-gradient(
      180deg,
      transparent 0 11px,
      rgba(31, 123, 255, 0.04) 11px 12px
    ),
    var(--live-studio-bg) !important;
  border-bottom: 1px solid var(--live-panel-border);
}

.highlight-card--star {
  background:
    linear-gradient(155deg, rgba(31, 123, 255, 0.08) 0%, transparent 42%),
    linear-gradient(335deg, rgba(22, 163, 74, 0.06) 0%, transparent 38%),
    radial-gradient(ellipse 80% 70% at 50% 0%, rgba(31, 123, 255, 0.1), transparent 58%),
    linear-gradient(180deg, #ffffff 0%, #eef3fb 100%) !important;
  border-color: rgba(31, 123, 255, 0.16) !important;
}

.highlight-card--star::before {
  background: linear-gradient(180deg, var(--live-clip-blue), var(--live-clip-cyan), var(--live-clip-green)) !important;
}

.highlight-card--star::after {
  background: linear-gradient(
    115deg,
    rgba(255, 255, 255, 0) 38%,
    rgba(32, 184, 255, 0.06) 50%,
    rgba(255, 255, 255, 0) 62%
  ) !important;
}

.highlight-image {
  filter: drop-shadow(0 16px 36px rgba(17, 24, 39, 0.18));
}

.highlight-card--star .highlight-star-eyebrow {
  background: var(--hero-accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
