/* Task Monsters Fit Check Quiz — shared across LPs */

/* ── Stop-scroll band (after Before/After proof) ── */
#checklist {
  scroll-margin-top: 88px;
}

.tm-fit-check-band {
  padding-block: clamp(56px, 8vw, 88px);
  background: linear-gradient(165deg, #0066d6 0%, var(--tm-blue-500) 42%, #005bb8 100%);
  position: relative;
  overflow: hidden;
}

.tm-fit-check-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("https://gettaskmonsters.com/assets/images/slider/slider-02.png");
  background-size: cover;
  background-position: center;
  opacity: 0.12;
  pointer-events: none;
}

.tm-fit-check-band::after {
  content: "";
  position: absolute;
  top: -40%;
  right: -15%;
  width: min(480px, 70vw);
  height: min(480px, 70vw);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.14) 0%, transparent 70%);
  pointer-events: none;
}

.tm-fit-check-spotlight {
  position: relative;
  z-index: 1;
  max-width: 560px;
  margin-inline: auto;
  text-align: center;
}

.tm-fit-check-eyebrow {
  margin: 0 0 16px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
}

.tm-fit-check-card {
  background: var(--tm-white);
  border-radius: 20px;
  padding: clamp(28px, 5vw, 40px) clamp(22px, 4vw, 36px);
  box-shadow:
    0 4px 0 rgba(0, 0, 0, 0.06),
    0 28px 64px rgba(0, 40, 100, 0.35);
  text-align: center;
}

.tm-fit-check-card.is-hidden {
  display: none;
}

.tm-fit-check-card__title {
  font-family: var(--tm-font-display);
  font-size: clamp(22px, 4.5vw, 30px);
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--tm-text-heading);
  margin: 0 0 12px;
}

.tm-fit-check-card__lead {
  font-size: clamp(15px, 2.5vw, 17px);
  line-height: 1.5;
  color: var(--tm-text-muted);
  margin: 0 0 20px;
}

.tm-fit-check-perks {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  justify-content: center;
}

.tm-fit-check-perks li {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--tm-blue-100);
  color: var(--tm-blue-500);
}

/* Locked reward tease — value visible, code hidden until result */
.tm-fit-check-reward-tease {
  display: flex;
  align-items: stretch;
  gap: 16px;
  margin: 0 0 24px;
  padding: 18px 20px;
  text-align: left;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(0, 122, 255, 0.06) 0%, rgba(193, 234, 250, 0.45) 100%);
  border: 2px dashed rgba(0, 122, 255, 0.35);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.tm-fit-check-reward-tease__lock {
  flex: 0 0 52px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tm-fit-check-reward-tease__lock-icon {
  display: block;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--tm-blue-500);
  position: relative;
  box-shadow: 0 6px 16px rgba(0, 122, 255, 0.35);
}

.tm-fit-check-reward-tease__lock-icon::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 10px;
  border: 3px solid var(--tm-white);
  border-bottom: none;
  border-radius: 10px 10px 0 0;
}

.tm-fit-check-reward-tease__lock-icon::after {
  content: "";
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 18px;
  height: 14px;
  background: var(--tm-white);
  border-radius: 3px;
}

.tm-fit-check-reward-tease__body {
  flex: 1;
  min-width: 0;
}

.tm-fit-check-reward-tease__label {
  margin: 0 0 4px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--tm-blue-500);
}

.tm-fit-check-reward-tease__value {
  margin: 0 0 8px;
  font-family: var(--tm-font-display);
  font-size: clamp(17px, 3.5vw, 20px);
  font-weight: 800;
  line-height: 1.25;
  color: var(--tm-text-heading);
}

.tm-fit-check-reward-tease__code-preview {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
}

.tm-fit-check-reward-tease__code-blur {
  display: inline-block;
  padding: 4px 12px;
  font-family: var(--tm-font-display);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: transparent;
  text-shadow: 0 0 10px rgba(56, 56, 56, 0.55);
  background: rgba(255, 255, 255, 0.65);
  border-radius: 6px;
  border: 1px solid var(--tm-grey-200);
  user-select: none;
}

.tm-fit-check-reward-tease__code-note {
  font-size: 12px;
  font-weight: 600;
  color: var(--tm-text-muted);
  line-height: 1.35;
}

.tm-fit-check-start-btn {
  width: 100%;
  max-width: 400px;
  min-height: 54px;
  padding: 16px 28px;
  font-size: clamp(14px, 2.8vw, 16px);
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: 0 8px 24px rgba(0, 122, 255, 0.45);
  animation: tm-fit-check-pulse 2.8s ease-in-out infinite;
}

.tm-fit-check-start-btn:hover {
  animation: none;
  transform: translateY(-1px);
  box-shadow: 0 12px 32px rgba(0, 122, 255, 0.5);
}

.tm-fit-check-fine {
  margin: 14px 0 0;
  font-size: 12px;
  color: var(--tm-text-muted);
}

.tm-quiz {
  max-width: 560px;
  margin-inline: auto;
}

.tm-quiz__card {
  background: var(--tm-white);
  border: 1px solid var(--tm-grey-200);
  border-radius: 16px;
  padding: 28px 24px 24px;
  box-shadow: 0 16px 40px rgba(26, 35, 50, 0.08);
}

.tm-quiz__progress-wrap {
  margin-bottom: 24px;
}

.tm-quiz__progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--tm-text-muted);
  margin-bottom: 8px;
}

.tm-quiz__progress-bar {
  height: 6px;
  background: var(--tm-grey-200);
  border-radius: 999px;
  overflow: hidden;
}

.tm-quiz__progress-fill {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--tm-blue-500), #5ac8fa);
  border-radius: 999px;
  transition: width 0.35s ease;
}

.tm-quiz__question {
  font-family: var(--tm-font-display);
  font-size: clamp(18px, 3vw, 22px);
  font-weight: 800;
  line-height: 1.35;
  color: var(--tm-text-heading);
  margin: 0 0 20px;
}

.tm-quiz__hint {
  font-size: 13px;
  color: var(--tm-text-muted);
  margin: -12px 0 16px;
}

.tm-quiz__options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.tm-quiz__option {
  display: block;
  width: 100%;
  text-align: left;
  padding: 14px 16px;
  min-height: 48px;
  border: 2px solid var(--tm-grey-200);
  border-radius: 10px;
  background: var(--tm-white);
  font-size: 15px;
  font-weight: 500;
  color: var(--tm-text-primary);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, transform 0.15s;
}

.tm-quiz__option:hover {
  border-color: var(--tm-blue-300);
  background: var(--tm-blue-100);
}

.tm-quiz__option.is-selected {
  border-color: var(--tm-blue-500);
  background: rgba(0, 122, 255, 0.08);
  box-shadow: 0 0 0 1px var(--tm-blue-500);
}

.tm-quiz__option:focus-visible {
  outline: 2px solid var(--tm-blue-500);
  outline-offset: 2px;
}

.tm-quiz__nav {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
}

.tm-quiz__back {
  background: none;
  border: none;
  color: var(--tm-text-muted);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  padding: 10px 0;
  min-height: 44px;
}

.tm-quiz__back:hover {
  color: var(--tm-blue-500);
}

.tm-quiz__next {
  margin-left: auto;
  min-height: 48px;
}

.tm-quiz__next:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* Result */
.tm-quiz__result {
  text-align: center;
}

.tm-quiz__score-ring {
  width: 88px;
  height: 88px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--tm-font-display);
  font-size: 28px;
  font-weight: 800;
}

.tm-quiz__score-ring--great {
  background: rgba(40, 167, 69, 0.15);
  color: #1b8f4e;
  border: 3px solid rgba(40, 167, 69, 0.4);
}

.tm-quiz__score-ring--good {
  background: rgba(0, 122, 255, 0.12);
  color: var(--tm-blue-500);
  border: 3px solid rgba(0, 122, 255, 0.35);
}

.tm-quiz__score-ring--soft {
  background: rgba(255, 193, 7, 0.15);
  color: #b8860b;
  border: 3px solid rgba(255, 193, 7, 0.4);
}

.tm-quiz__score-ring--stop {
  background: rgba(220, 53, 69, 0.12);
  color: #dc3545;
  border: 3px solid rgba(220, 53, 69, 0.35);
}

.tm-quiz__result h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

.tm-quiz__result p {
  font-size: 15px;
  color: var(--tm-text-muted);
  margin-bottom: 20px;
}

.tm-quiz__result-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 20px;
}

.tm-quiz__result-cta .tm-btn-primary {
  min-height: 48px;
}

.tm-quiz__email-opt {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--tm-grey-200);
  text-align: left;
}

.tm-quiz__email-opt label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
}

.tm-quiz__email-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tm-quiz__email-row input {
  flex: 1;
  min-width: 180px;
  font-size: 16px;
  min-height: 48px;
}

.tm-quiz__fine {
  font-size: 12px;
  color: var(--tm-text-muted);
  margin-top: 10px;
}

.tm-quiz__promo {
  margin: 24px 0;
  padding: 20px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(0, 122, 255, 0.08) 0%, rgba(193, 234, 250, 0.35) 100%);
  border: 1px dashed rgba(0, 122, 255, 0.35);
  text-align: center;
}

.tm-quiz__promo-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tm-blue-500);
  margin: 0 0 12px;
}

.tm-quiz__code-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.tm-quiz__code {
  font-family: var(--tm-font-display);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--tm-text-heading);
  padding: 8px 16px;
  background: var(--tm-white);
  border-radius: 8px;
  border: 1px solid var(--tm-grey-200);
}

.tm-quiz__copy-btn {
  font-size: 13px;
  padding: 10px 16px;
  min-height: 44px;
}

.tm-quiz__promo-note {
  font-size: 13px;
  color: var(--tm-text-muted);
  margin: 0;
}

.tm-quiz.is-hidden {
  display: none;
}

@keyframes tm-fit-check-pulse {
  0%, 100% {
    box-shadow: 0 8px 24px rgba(0, 122, 255, 0.45);
  }
  50% {
    box-shadow: 0 8px 32px rgba(0, 122, 255, 0.65), 0 0 0 6px rgba(0, 122, 255, 0.12);
  }
}

@media (max-width: 767px) {
  .tm-fit-check-band {
    padding-block: 48px 56px;
  }

  .tm-fit-check-reward-tease {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 16px;
  }

  .tm-fit-check-reward-tease__code-preview {
    justify-content: center;
  }

  .tm-fit-check-card {
    border-radius: 16px;
    padding: 24px 18px;
  }

  .tm-fit-check-start-btn {
    max-width: none;
  }

  .tm-quiz__card {
    padding: 22px 16px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tm-quiz__progress-fill {
    transition: none;
  }

  .tm-fit-check-start-btn {
    animation: none;
  }
}
