/* ===== BeStrong Habit-Check Quiz – Clean Style ===== */

.bs-quiz {
  max-width: 560px;
  margin: 0 auto;
  padding: 24px 16px 48px;
  font-family: 'Space Grotesk', sans-serif;
  color: #1a3a3a;
}

/* Card wrapper with fade-in animation */
.bs-quiz__card {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.bs-quiz__card--visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== INTRO ===== */

.bs-quiz__portrait {
  display: block;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  object-fit: cover;
  margin: 32px auto 24px;
}

.bs-quiz__intro {
  text-align: center;
  margin-bottom: 0;
}

.bs-quiz__intro-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: #1a3a3a;
  margin: 0 0 16px;
}

.bs-quiz__intro-text {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(26, 58, 58, 0.65);
  margin: 0 0 12px;
  text-align: left;
}

.bs-quiz__intro-text strong {
  color: #1a3a3a;
  font-weight: 600;
}

.bs-quiz__intro-divider {
  border: none;
  border-top: 1px solid rgba(26, 58, 58, 0.1);
  margin: 28px 0;
}

/* Trust signals */
.bs-quiz__trust {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 24px;
}

.bs-quiz__trust-item {
  display: flex;
  align-items: baseline;
  gap: 5px;
  background: transparent;
  border: none;
  padding: 0;
  text-align: center;
}

.bs-quiz__trust-icon {
  font-size: 14px;
  font-weight: 700;
  color: #1a3a3a;
}

.bs-quiz__trust-text {
  font-size: 13px;
  color: rgba(26, 58, 58, 0.45);
}

/* CTA button */
.bs-quiz__cta {
  display: block;
  width: 100%;
  padding: 16px 24px;
  background: #1a3a3a;
  color: #faf6f0;
  border: none;
  border-radius: 6px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s ease;
  text-align: center;
  text-decoration: none;
}

.bs-quiz__cta:hover {
  opacity: 0.85;
}

.bs-quiz__cta:active {
  opacity: 0.75;
}

.bs-quiz__cta:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.bs-quiz__cta--result {
  display: inline-block;
  width: auto;
  padding: 14px 32px;
  background: #f3de97;
  color: #1a3a3a;
}

/* Footer note */
.bs-quiz__footer-note {
  text-align: center;
  font-size: 12px;
  color: rgba(26, 58, 58, 0.4);
  margin-top: 20px;
}

/* ===== QUIZ / QUESTIONS ===== */

.bs-quiz__progress {
  margin-bottom: 24px;
}

.bs-quiz__progress-info {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(26, 58, 58, 0.5);
  margin-bottom: 8px;
}

.bs-quiz__progress-bar {
  height: 3px;
  background: rgba(26, 58, 58, 0.1);
  border-radius: 99px;
  overflow: hidden;
}

.bs-quiz__progress-fill {
  height: 100%;
  background: #1a3a3a;
  border-radius: 99px;
  transition: width 0.4s ease;
}

.bs-quiz__category {
  font-size: 12px;
  color: rgba(26, 58, 58, 0.4);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  margin-bottom: 10px;
}

.bs-quiz__question {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(20px, 4.5vw, 26px);
  font-weight: 700;
  color: #1a3a3a;
  line-height: 1.25;
  margin: 0 0 24px 0;
}

.bs-quiz__options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bs-quiz__option {
  background: transparent;
  color: #1a3a3a;
  border: 1px solid rgba(26, 58, 58, 0.15);
  border-radius: 8px;
  padding: 14px 18px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
  line-height: 1.5;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.bs-quiz__option:hover {
  border-color: rgba(26, 58, 58, 0.35);
}

.bs-quiz__option--selected {
  background: #1a3a3a;
  color: #faf6f0;
  border-color: #1a3a3a;
}

/* ===== EMAIL GATE ===== */

.bs-quiz__gate {
  background: transparent;
  border: 1px solid rgba(26, 58, 58, 0.1);
  border-radius: 8px;
  padding: 36px 28px;
  text-align: center;
}

.bs-quiz__gate-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(22px, 5vw, 28px);
  font-weight: 700;
  color: #1a3a3a;
  margin: 0 0 12px 0;
}

.bs-quiz__gate-sub {
  color: rgba(26, 58, 58, 0.65);
  font-size: 15px;
  line-height: 1.65;
  max-width: 380px;
  margin: 0 auto 24px;
}

.bs-quiz__gate-form {
  max-width: 340px;
  margin: 0 auto;
}

.bs-quiz__input {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid rgba(26, 58, 58, 0.25);
  border-radius: 6px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
  color: #1a3a3a;
  background: transparent;
  margin-bottom: 10px;
  box-sizing: border-box;
  outline: none;
  transition: border-color 0.2s ease;
}

.bs-quiz__input:focus {
  border-color: #1a3a3a;
}

.bs-quiz__input::placeholder {
  color: rgba(26, 58, 58, 0.45);
}

.bs-quiz__error {
  color: #c0392b;
  font-size: 13px;
  min-height: 20px;
  margin-bottom: 4px;
}

.bs-quiz__privacy {
  font-size: 12px;
  color: rgba(26, 58, 58, 0.4);
  margin-top: 14px;
}

.bs-quiz__privacy a {
  color: rgba(26, 58, 58, 0.55);
  text-decoration: underline;
}

/* ===== RESULT ===== */

.bs-quiz__result-header {
  background: #1a3a3a;
  border-radius: 8px;
  padding: 32px 24px;
  text-align: center;
  margin-bottom: 16px;
}

.bs-quiz__result-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.bs-quiz__result-title {
  font-family: 'Space Grotesk', sans-serif;
  color: #f3de97;
  font-size: clamp(22px, 5vw, 30px);
  font-weight: 700;
  margin: 0 0 12px 0;
}

.bs-quiz__result-tagline {
  color: rgba(255, 255, 255, 0.75);
  font-size: 15px;
  font-style: italic;
  line-height: 1.6;
  max-width: 400px;
  margin: 0 auto;
}

.bs-quiz__result-section {
  background: transparent;
  border: 1px solid rgba(26, 58, 58, 0.08);
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 12px;
}

.bs-quiz__result-section--highlight {
  background: rgba(243, 222, 151, 0.12);
  border-color: rgba(243, 222, 151, 0.5);
}

.bs-quiz__result-h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #1a3a3a;
  margin: 0 0 8px 0;
}

.bs-quiz__result-text {
  font-size: 15px;
  color: rgba(26, 58, 58, 0.7);
  line-height: 1.65;
  margin: 0;
}

.bs-quiz__result-cta {
  background: #1a3a3a;
  border-radius: 8px;
  padding: 28px 24px;
  text-align: center;
  margin-top: 16px;
}

.bs-quiz__result-cta-text {
  color: rgba(255, 255, 255, 0.75);
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 16px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.bs-quiz__result-cta-note {
  color: rgba(255, 255, 255, 0.35);
  font-size: 12px;
  margin-top: 12px;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 480px) {
  .bs-quiz {
    padding: 16px 8px 40px;
  }

  .bs-quiz__hero {
    padding: 28px 20px;
  }

  .bs-quiz__trust {
    gap: 16px;
    flex-wrap: wrap;
  }

  .bs-quiz__gate {
    padding: 28px 20px;
  }

  .bs-quiz__result-header {
    padding: 24px 18px;
  }

  .bs-quiz__result-section {
    padding: 18px;
  }

  .bs-quiz__result-cta {
    padding: 24px 18px;
  }
}

/* ===== Remove GP/Blog default styling inside quiz ===== */

.bs-quiz h1,
.bs-quiz h2,
.bs-quiz h3 {
  margin-top: 0;
}

.bs-quiz a {
  text-decoration: none;
}

.bs-quiz button {
  font-family: inherit;
}
