/* ============================================
   QUESTIONNAIRE - HORIZONTAL SLIDE PAGES
   ============================================ */

.slides-viewport {
  width: 100%;
  overflow: hidden;
}

.slides-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: 500%; /* 5 slides: landing + 3 steps + confirmation */
  align-items: stretch;
}

.slide {
  width: 20%; /* each slide = 1/5 of track */
  flex-shrink: 0;
  background-color: var(--collection-1-masculine);
  box-sizing: border-box;
}

/* Landing slide keeps its natural height */
#slide-landing {
  /* no extra styling — content determines height */
}

/* Step slides are exactly viewport height, centered */
#slide-step1,
#slide-step2,
#slide-step3,
#slide-confirmation {
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  overflow-y: auto;
}

/* Step indicator */
.step-indicator {
  font-family: "Martian Mono", Helvetica;
  font-weight: 400;
  color: #ffffffb2;
  font-size: 14px;
  letter-spacing: 0;
  margin-bottom: 20px;
}

/* Step heading */
.step-heading {
  font-family: "Staatliches", Helvetica;
  font-weight: 400;
  color: var(--collection-1-functional);
  font-size: 48px;
  text-align: center;
  letter-spacing: 0;
  line-height: 1.2;
  margin-bottom: 40px;
}

/* Radio options as styled cards */
.options-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 600px;
  margin-bottom: 40px;
}

.option-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  border: 1px solid rgba(246, 249, 237, 0.2);
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s;
  position: relative;
}

.option-card:hover {
  border-color: rgba(246, 249, 237, 0.5);
  background-color: rgba(255, 255, 255, 0.03);
}

.option-card.selected {
  border-color: var(--collection-1-industrial);
  background-color: rgba(231, 57, 43, 0.1);
}

.option-card input[type="radio"] {
  display: none;
}

.option-radio {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(246, 249, 237, 0.4);
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s;
}

.option-card.selected .option-radio {
  border-color: var(--collection-1-industrial);
}

.option-radio::after {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--collection-1-industrial);
  opacity: 0;
  transition: opacity 0.2s;
}

.option-card.selected .option-radio::after {
  opacity: 1;
}

.option-label {
  font-family: "Staatliches", Helvetica;
  font-weight: 400;
  color: var(--collection-1-functional);
  font-size: 22px;
  letter-spacing: 0;
  line-height: 1.4;
}

/* Step 3 context text */
.step3-context {
  font-family: "Staatliches", Helvetica;
  font-weight: 400;
  color: #ffffff;
  font-size: 22px;
  line-height: 1.5;
  text-align: center;
  max-width: 600px;
  margin-bottom: 30px;
}

/* Turnstile widget */
.turnstile-wrapper {
  margin-bottom: 20px;
  min-height: 65px;
}

/* Consent checkbox */
.consent-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  max-width: 600px;
  width: 100%;
  cursor: pointer;
  margin-bottom: 24px;
}

.consent-checkbox input[type="checkbox"] {
  display: none;
}

.consent-checkmark {
  width: 22px;
  height: 22px;
  min-width: 22px;
  border: 2px solid rgba(246, 249, 237, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, background-color 0.2s;
  margin-top: 2px;
}

.consent-checkbox input:checked ~ .consent-checkmark {
  border-color: var(--collection-1-industrial);
  background-color: var(--collection-1-industrial);
}

.consent-checkmark::after {
  content: "";
  width: 6px;
  height: 12px;
  border: solid #ffffff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  opacity: 0;
  transition: opacity 0.2s;
}

.consent-checkbox input:checked ~ .consent-checkmark::after {
  opacity: 1;
}

.consent-label {
  font-family: "Martian Mono", Helvetica;
  font-size: 12px;
  color: rgba(246, 249, 237, 0.7);
  line-height: 1.5;
}

/* Email input */
.email-input-wrapper {
  width: 100%;
  max-width: 600px;
  margin-bottom: 30px;
}

.email-input-wrapper label {
  display: block;
  font-family: "Martian Mono", Helvetica;
  font-weight: 700;
  color: var(--collection-1-industrial);
  font-size: 14px;
  margin-bottom: 8px;
}

.email-input {
  width: 100%;
  padding: 16px 20px;
  border: 1px solid rgba(246, 249, 237, 0.3);
  background-color: rgba(0, 0, 0, 0.3);
  color: var(--collection-1-functional);
  font-family: "Martian Mono", Helvetica;
  font-size: 16px;
  outline: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
}

.email-input:focus {
  border-color: var(--collection-1-industrial);
}

.email-input::placeholder {
  color: rgba(246, 249, 237, 0.3);
}

/* Navigation buttons */
.step-nav {
  display: flex;
  gap: 16px;
  align-items: center;
}

.btn-next,
.btn-back,
.btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  font-family: "Staatliches", Helvetica;
  font-weight: 400;
  font-size: 22px;
  letter-spacing: 0;
  cursor: pointer;
  border: none;
  transition: opacity 0.2s, background-color 0.2s;
}

.btn-next,
.btn-submit {
  background-color: var(--collection-1-industrial);
  color: #ffffff;
}

.btn-next:hover,
.btn-submit:hover {
  opacity: 0.9;
}

.btn-next:disabled,
.btn-submit:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.btn-back {
  background-color: transparent;
  color: var(--collection-1-functional);
  border: 1px solid rgba(246, 249, 237, 0.3);
}

.btn-back:hover {
  border-color: rgba(246, 249, 237, 0.6);
}

/* Error message */
.error-message {
  font-family: "Martian Mono", Helvetica;
  color: var(--collection-1-industrial);
  font-size: 14px;
  margin-top: 16px;
  min-height: 20px;
}

/* Confirmation slide */
.confirmation-heading {
  font-family: "Staatliches", Helvetica;
  font-weight: 400;
  color: var(--collection-1-functional);
  font-size: 80px;
  text-align: center;
  margin-bottom: 20px;
}

.confirmation-text {
  font-family: "Staatliches", Helvetica;
  font-weight: 400;
  color: #ffffff;
  font-size: 22px;
  line-height: 1.5;
  text-align: center;
  max-width: 600px;
  margin-bottom: 10px;
}

.confirmation-email {
  font-family: "Martian Mono", Helvetica;
  font-weight: 700;
  color: var(--collection-1-industrial);
  font-size: 18px;
  text-align: center;
  margin-bottom: 30px;
}

.confirmation-list {
  list-style: none;
  padding: 0;
  max-width: 500px;
  width: 100%;
}

.confirmation-list li {
  font-family: "Staatliches", Helvetica;
  color: #ffffff;
  font-size: 20px;
  line-height: 1.6;
  padding: 4px 0;
}

.confirmation-list li::before {
  content: "— ";
  color: var(--collection-1-industrial);
}

.btn-close-confirmation {
  margin-top: 40px;
}

/* Loading state */
.btn-submit.loading {
  opacity: 0.6;
  pointer-events: none;
}

/* ============================================
   RESPONSIVE - MOBILE
   ============================================ */
@media (max-width: 767px) {
  .step-heading {
    font-size: 32px;
  }

  .option-label {
    font-size: 18px;
  }

  .option-card {
    padding: 16px 18px;
  }

  .confirmation-heading {
    font-size: 48px;
  }

  .step3-context {
    font-size: 18px;
  }
}
