/* ==========================================================================
   FLEXAPAY MARKET VALIDATION SURVEY WIZARD STYLES
   ========================================================================== */

.survey-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  padding: 3rem 2.5rem;
  box-shadow: var(--shadow-lg);
  position: relative;
}

@media (max-width: 768px) {
  .survey-wrapper {
    padding: 2rem 1.25rem;
  }
}

/* Wizard Step Header & Stepper */
.survey-stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  position: relative;
}

.survey-stepper::before {
  content: '';
  position: absolute;
  top: 18px;
  left: 5%;
  width: 90%;
  height: 2px;
  background: var(--border-subtle);
  z-index: 0;
}

.step-indicator {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.step-circle {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: var(--bg-surface-elevated);
  border: 2px solid var(--border-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: all var(--transition-normal);
}

.step-indicator.active .step-circle {
  background: var(--gold-primary);
  border-color: var(--gold-light);
  color: #070913;
  box-shadow: 0 0 15px var(--gold-glow);
}

.step-indicator.completed .step-circle {
  background: var(--emerald-success);
  border-color: var(--emerald-success);
  color: #ffffff;
}

.step-title {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: color var(--transition-fast);
}

.step-indicator.active .step-title {
  color: var(--gold-primary);
}

.step-indicator.completed .step-title {
  color: var(--text-primary);
}

@media (max-width: 600px) {
  .step-title {
    display: none;
  }
}

/* Survey Steps Container */
.survey-step {
  display: none;
  animation: fadeInStep 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.survey-step.active {
  display: block;
}

@keyframes fadeInStep {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.survey-step-header {
  margin-bottom: 2rem;
  text-align: left;
}

.survey-step-header h3 {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

.survey-step-header p {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

/* Choice Cards Grid */
.choice-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.choice-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 1.25rem 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  transition: all var(--transition-fast);
  user-select: none;
  position: relative;
}

.choice-card:hover {
  border-color: var(--border-gold);
  background: var(--bg-surface-elevated);
  transform: translateY(-2px);
}

.choice-card.selected {
  background: rgba(245, 176, 65, 0.12);
  border-color: var(--gold-primary);
  box-shadow: 0 0 12px var(--gold-glow);
}

.choice-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-primary);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.choice-card.selected .choice-icon {
  background: var(--gold-primary);
  color: #070913;
}

.choice-text h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.15rem;
}

.choice-text span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Rating Scale Slider (1-10) */
.intent-slider-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 2rem;
  text-align: center;
}

.intent-score-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: var(--radius-full);
  background: var(--gold-gradient);
  color: #070913;
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 1rem;
  box-shadow: 0 0 20px var(--gold-glow);
}

.intent-slider-control {
  width: 100%;
  margin: 1.5rem 0 0.5rem;
  appearance: none;
  height: 10px;
  background: var(--bg-surface-elevated);
  border-radius: var(--radius-full);
  outline: none;
}

.intent-slider-control::-webkit-slider-thumb {
  appearance: none;
  width: 26px;
  height: 26px;
  border-radius: var(--radius-full);
  background: var(--gold-primary);
  cursor: pointer;
  border: 3px solid #070913;
  box-shadow: 0 0 10px var(--gold-glow);
  transition: transform var(--transition-fast);
}

.intent-slider-control::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.intent-scale-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* Survey Navigation Actions */
.survey-nav-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
}

/* Success Card */
.survey-success-card {
  text-align: center;
  padding: 3rem 1.5rem;
}

.success-icon-wrap {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-full);
  background: rgba(16, 185, 129, 0.15);
  border: 2px solid var(--emerald-success);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--emerald-success);
  margin: 0 auto 1.5rem;
}

.success-icon-wrap svg {
  width: 42px;
  height: 42px;
}

.survey-success-card h3 {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.survey-success-card p {
  max-width: 520px;
  margin: 0 auto 2rem;
}
