/* =========================
   FIRST HERO — DARK VIDEO
   ========================= */

main > .hero-v3:first-of-type .hero-v3__video,
main > .hero-v3:first-of-type .hero-v3__mobile-video {
  filter: brightness(0.52);
}


/* =========================
   HERO PRICE — $250
   ========================= */

.hero-price {
  position: relative;
  display: inline-block;
  vertical-align: baseline;

  padding: 0;
  margin: 0 0.04em;

  font: inherit;
  font-size: 1.08em;
  font-weight: 700;
  line-height: inherit;
  letter-spacing: inherit;

  color: #ffffff;

  background: linear-gradient(
    105deg,
    #ffffff 0%,
    #ffffff 35%,
    #8be9ff 47%,
    #b9a7ff 53%,
    #ffffff 65%,
    #ffffff 100%
  );

  background-size: 250% 100%;
  background-position: 100% 0;

  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;

  animation: hero-price-shimmer 3.5s ease-in-out infinite;
}

.hero-price::after {
  content: "";
  position: absolute;

  left: 2%;
  bottom: 0.05em;

  width: 96%;
  height: 2px;

  border-radius: 20px;

  background: linear-gradient(
    90deg,
    rgba(139, 233, 255, 0.2),
    #8be9ff,
    #b9a7ff,
    rgba(185, 167, 255, 0.2)
  );

  box-shadow:
    0 0 6px rgba(139, 233, 255, 0.65),
    0 0 12px rgba(185, 167, 255, 0.4);

  animation: hero-price-line 3.5s ease-in-out infinite;
}

@keyframes hero-price-shimmer {
  0%,
  35% {
    background-position: 100% 0;
  }

  70%,
  100% {
    background-position: 0% 0;
  }
}

@keyframes hero-price-line {
  0%,
  100% {
    opacity: 0.55;
  }

  55% {
    opacity: 1;
  }
}


/* =========================
   CALCULATOR — RISK NOTE
   ========================= */

.inv-note {
  margin: 1.6rem 0 0;

  font-size: 1.2rem;
  line-height: 1.5;

  color: rgba(255, 255, 255, 0.5);
}


/* =========================
   DOWNLOAD FORM (light footer background)
   ========================= */

.download-form {
  max-width: 46rem;
}

.download-form__consent {
  display: flex;
  align-items: flex-start;
  gap: 1rem;

  font-size: 1.4rem;
  line-height: 1.45;

  color: rgba(13, 13, 13, 0.78);

  cursor: pointer;
  user-select: none;
}

.download-form__consent input {
  flex: 0 0 auto;

  width: 1.7rem;
  height: 1.7rem;
  margin: 0.1rem 0 0;

  accent-color: #0a7ea4;

  cursor: pointer;
}

.download-form__consent.is-missing span {
  color: #c0392b;
}

.download-form__hp {
  position: absolute;
  left: -9999px;

  width: 1px;
  height: 1px;

  opacity: 0;
}

.download-form__status {
  min-height: 2rem;
  margin: 0;

  font-size: 1.4rem;
  line-height: 1.5;

  color: rgba(13, 13, 13, 0.6);
}

.download-form__status.is-error {
  color: #c0392b;
}

.download-form__status.is-ok {
  color: #0a7ea4;
}

.download-form__link {
  justify-self: start;

  padding: 1.1rem 2.2rem;

  border: 0.1rem solid rgba(10, 126, 164, 0.65);
  border-radius: 999px;

  font-size: 1.4rem;
  font-weight: 600;

  color: #0a7ea4;
  text-decoration: none;

  transition: background-color 0.2s ease-in-out;
}

.download-form__link:hover {
  background-color: rgba(10, 126, 164, 0.08);
}

.download-form__link.is-used,
.download-form__link[aria-disabled="true"] {
  pointer-events: none;

  border-color: rgba(13, 13, 13, 0.25);

  color: rgba(13, 13, 13, 0.4);
  text-decoration: line-through;
}

.custom-input__field.is-error .custom-input__label-input-container {
  border-color: #c0392b;
}

/* The template styles the legal note too lightly for text this important */
.access-form__legal {
  color: rgba(13, 13, 13, 0.65);

  font-size: 1.3rem;
}

/* Big prominent submit: the template button has zero vertical padding and
   relied on a fixed-height input row we no longer have */
.download-form__submit {
  width: 100%;
  height: auto;

  margin-top: 0.6rem;
  padding: 1.9rem 3.2rem;

  border-radius: 999px;

  font-size: 1.7rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.download-form .download-form__submit:hover {
  color: var(--color-white);

  background-color: #000000;
}


/* =========================
   PLATFORM SWITCHER (Windows / macOS)
   ========================= */

.download-form__platforms {
  display: flex;
  gap: 1rem;
}

.download-form__platform {
  flex: 1 1 0;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;

  padding: 1.4rem 1.6rem;

  border: 0.1rem solid rgba(13, 13, 13, 0.3);
  border-radius: 999px;

  background: transparent;

  font-size: 1.4rem;
  font-weight: 600;

  color: rgba(13, 13, 13, 0.65);

  cursor: pointer;

  transition:
    background-color 0.2s ease-in-out,
    border-color 0.2s ease-in-out,
    color 0.2s ease-in-out;
}

.download-form__platform svg {
  width: 1.8rem;
  height: 1.8rem;

  fill: currentColor;
}

.download-form__platform:hover {
  border-color: rgba(13, 13, 13, 0.65);
}

.download-form__platform.is-active {
  border-color: var(--color-tb-black, #0c0c0c);

  background-color: var(--color-tb-black, #0c0c0c);

  color: #ffffff;
}


/* =========================
   REDUCED MOTION
   ========================= */

@media (prefers-reduced-motion: reduce) {
  .hero-v3__video-background {
    display: none;
  }

  .hero-price {
    animation: none;
  }

  .hero-price::after {
    animation: none;
  }
}
