/* Quiz page styles — imported by all 10 vertical pages */

.quiz-hero {
  background: linear-gradient(135deg, var(--blue) 0%, #1E40AF 100%);
  color: var(--white);
  text-align: center;
  padding: 20px 24px 28px;
}

.quiz-hero-label {
  display: inline-block;
  background: rgba(255,255,255,0.18);
  border-radius: 20px;
  padding: 4px 14px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: 0.3px;
}

.quiz-hero h1 {
  font-size: 26px;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 6px;
}

.quiz-hero p {
  font-size: 15px;
  opacity: 0.88;
}

/* PROGRESS */
#progress-wrap {
  background: var(--white);
  padding: 12px 24px 0;
  max-width: 560px;
  margin: 0 auto;
}

#progress-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--gray-400);
  margin-bottom: 6px;
  display: block;
}

.progress-track {
  height: 6px;
  background: var(--gray-200);
  border-radius: 99px;
  overflow: hidden;
}

#progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--green));
  border-radius: 99px;
  transition: width 0.4s cubic-bezier(.4,0,.2,1);
}

/* QUIZ CARD */
.quiz-card {
  max-width: 560px;
  margin: 20px auto 40px;
  padding: 0 16px;
}

#quiz-body {
  background: var(--white);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  padding: 32px 28px;
  border: 1.5px solid var(--gray-200);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

/* STEP CONTENT */
.step-wrap { display: flex; flex-direction: column; gap: 0; }

.step-icon {
  font-size: 44px;
  text-align: center;
  margin-bottom: 12px;
}

.step-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--gray-800);
  text-align: center;
  line-height: 1.3;
  margin-bottom: 8px;
}

.step-sub {
  font-size: 15px;
  color: var(--gray-600);
  text-align: center;
  margin-bottom: 24px;
  line-height: 1.5;
}

.step-note {
  font-size: 12px;
  color: var(--gray-400);
  text-align: center;
  margin-top: 12px;
}

/* INPUTS */
.input-group { margin-bottom: 16px; }

.quiz-input {
  width: 100%;
  padding: 15px 16px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 16px;
  font-family: inherit;
  color: var(--gray-800);
  transition: border-color 0.2s;
  outline: none;
  margin-bottom: 12px;
  background: var(--white);
}

.quiz-input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37,99,235,0.12); }
.quiz-input::placeholder { color: var(--gray-400); }

.input-error {
  color: #DC2626;
  font-size: 13px;
  font-weight: 500;
  margin-top: -8px;
  margin-bottom: 12px;
}

.btn-full {
  width: 100%;
  margin-top: 4px;
}

/* CHOICE BUTTONS */
.choices-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 8px;
}

.choices-grid.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.choice-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 500;
  font-family: inherit;
  color: var(--gray-800);
  cursor: pointer;
  text-align: left;
  transition: all 0.18s;
}

.choice-btn:hover {
  border-color: var(--blue);
  background: var(--blue-light);
  color: var(--blue);
  transform: translateY(-1px);
  box-shadow: 0 3px 12px rgba(37,99,235,0.12);
}

.choice-btn.selected {
  border-color: var(--blue);
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(37,99,235,0.35);
}

.choice-icon { font-size: 22px; flex-shrink: 0; }

/* CONTACT FORM */
.contact-form { display: flex; flex-direction: column; gap: 0; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.tcpa-label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 11px;
  color: var(--gray-400);
  line-height: 1.6;
  margin: 8px 0 16px;
  cursor: pointer;
}

.tcpa-label input[type="checkbox"] {
  margin-top: 2px;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  accent-color: var(--blue);
  cursor: pointer;
}

/* THANK YOU */
.thank-you { text-align: center; }

.ty-icon { font-size: 56px; margin-bottom: 16px; }

.ty-what-next {
  background: var(--blue-light);
  border-radius: var(--radius);
  padding: 20px;
  margin-top: 24px;
  text-align: left;
}

.ty-what-next h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 14px;
}

.ty-steps { display: flex; flex-direction: column; gap: 10px; }

.ty-step {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: var(--gray-800);
}

.ty-num {
  background: var(--blue);
  color: var(--white);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

.btn-arrow { font-size: 18px; }

@media (max-width: 480px) {
  #quiz-body { padding: 24px 18px; }
  .step-title { font-size: 19px; }
  .form-row { grid-template-columns: 1fr; }
  .choices-grid.grid-2 { grid-template-columns: 1fr; }
  .quiz-hero h1 { font-size: 21px; }
}
