/* --- Lead Gen Wizard 2026 --- */
.wizard-container {
  background-color: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 2rem;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  color: var(--dark);
  /* Ensure global text is dark */
}

/* Force Light Theme for Wizard Inputs */
.wizard-container .form-input {
  background-color: #f9f9f9;
  color: var(--dark);
  border: 1px solid var(--border-color);
}

.wizard-container .form-input::placeholder {
  color: #888;
}

.wizard-container .form-input:focus {
  background-color: white;
  border-color: var(--brand);
  color: var(--dark);
}

.wizard-header {
  margin-bottom: 2rem;
}

.wizard-progress {
  height: 6px;
  background-color: #eee;
  border-radius: 99px;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.progress-fill {
  height: 100%;
  background-color: var(--brand);
  width: 33%;
  transition: width 0.4s ease;
}

.wizard-step {
  display: none;
  animation: fadeIn 0.4s ease;
}

.wizard-step.active {
  display: block;
}

.wizard-step h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--dark);
  text-align: center;
}

.selection-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 480px) {
  .selection-grid {
    grid-template-columns: 1fr;
  }
}

.selection-card {
  border: 2px solid var(--border-color);
  border-radius: var(--radius);
  padding: 1.5rem;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
  color: var(--dark);
  /* Force dark text */
}


.selection-card:hover {
  border-color: var(--brand-light);
  background-color: var(--background-alt);
}

.selection-card.selected {
  border-color: var(--brand);
  background-color: rgba(61, 131, 163, 0.05);
  box-shadow: 0 0 0 1px var(--brand);
}

.selection-card .icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  line-height: 1;
}

.selection-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.form-input.error {
  border-color: #ef4444;
  animation: shake 0.4s ease;
}

.wizard-navigation {
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
  gap: 1rem;
}

.hidden {
  display: none !important;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes shake {

  0%,
  100% {
    transform: translateX(0);
  }

  25% {
    transform: translateX(-5px);
  }

  75% {
    transform: translateX(5px);
  }
}

.cta-container .wizard-container .wizard-success,
.wizard-success {
  text-align: center;
  padding: 2.5rem 1rem !important;
  color: #0F172A !important;
  background: #ffffff !important;
}

.cta-container .wizard-container .wizard-success h3,
.wizard-success h3 {
  color: #0F172A !important;
  font-size: 1.6rem !important;
  font-weight: 800 !important;
  margin-bottom: 0.75rem !important;
  line-height: 1.3 !important;
}

.cta-container .wizard-container .wizard-success p,
.wizard-success p {
  color: #334155 !important;
  font-size: 1.05rem !important;
  line-height: 1.6 !important;
  max-width: 45ch !important;
  margin: 0 auto 0.75rem !important;
}

.wizard-success .success-reassurance {
  display: inline-block;
  background: #f0fdf4 !important;
  border: 1px solid #bbf7d0 !important;
  color: #166534 !important;
  font-weight: 700 !important;
  font-size: 0.95rem !important;
  padding: 0.65rem 1.25rem !important;
  border-radius: 99px !important;
  margin: 0.75rem auto 1.5rem !important;
}

.success-icon {
  margin-bottom: 1.25rem;
  animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  justify-content: center;
}

@keyframes popIn {
  from {
    transform: scale(0);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* Shake Animation Utility */
.shake-animation {
  animation: shake 0.4s ease;
}