/* ==========================================================================
   ND & ASSOCIATES - FINANCIAL HEALTH CHECKUP STYLES
   Interactive 5-Step Campaign Tool - Fully Responsive
   ========================================================================== */

.checkup-section {
  padding: clamp(3.5rem, 7vw, 6.5rem) 0;
  background: radial-gradient(circle at 10% 20%, rgba(22, 56, 109, 0.4) 0%, transparent 50%),
              radial-gradient(circle at 90% 80%, rgba(212, 175, 55, 0.15) 0%, transparent 60%),
              linear-gradient(180deg, var(--navy-950) 0%, var(--navy-900) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.checkup-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(rgba(212, 175, 55, 0.07) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.checkup-container {
  position: relative;
  z-index: 2;
  max-width: 1040px;
  margin: 0 auto;
}

.checkup-badge-hero {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(212, 175, 55, 0.15);
  border: 1.5px solid var(--gold-500);
  padding: 0.45rem 1.15rem;
  border-radius: var(--radius-full);
  font-size: clamp(0.75rem, 2vw, 0.875rem);
  font-weight: 700;
  color: var(--gold-300);
  box-shadow: var(--gold-glow);
  margin-bottom: 1.25rem;
}

.checkup-campaign-banner {
  background: rgba(7, 22, 44, 0.85);
  border: 1.5px solid rgba(212, 175, 55, 0.4);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-navy), 0 0 30px rgba(212, 175, 55, 0.12);
  backdrop-filter: blur(16px);
  overflow: hidden;
  width: 100%;
}

/* Stepper Progress Bar */
.wizard-progress-bar {
  background: rgba(4, 13, 26, 0.9);
  padding: clamp(1rem, 2.5vw, 1.75rem) clamp(1rem, 3vw, 2rem) clamp(0.75rem, 2vw, 1.25rem) clamp(1rem, 3vw, 2rem);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.wizard-steps {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.wizard-steps::before {
  content: '';
  position: absolute;
  top: 18px;
  left: 20px;
  right: 20px;
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  z-index: 1;
}

.wizard-progress-fill {
  position: absolute;
  top: 18px;
  left: 20px;
  height: 3px;
  background: var(--gold-gradient);
  z-index: 2;
  transition: width 0.4s ease;
  width: 0%;
}

.step-node {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  touch-action: manipulation;
}

.step-number-circle {
  width: clamp(34px, 5vw, 42px);
  height: clamp(34px, 5vw, 42px);
  border-radius: 50%;
  background: var(--navy-900);
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: var(--text-light-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(0.8rem, 2vw, 0.95rem);
  transition: all var(--transition-smooth);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.step-node.active .step-number-circle {
  background: var(--gold-gradient);
  border-color: var(--gold-300);
  color: var(--navy-950);
  box-shadow: var(--gold-glow);
  transform: scale(1.1);
}

.step-node.completed .step-number-circle {
  background: var(--navy-800);
  border-color: var(--gold-500);
  color: var(--gold-400);
}

.step-title-lbl {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-light-muted);
  margin-top: 0.45rem;
  text-align: center;
  transition: color var(--transition-fast);
  white-space: nowrap;
}

.step-node.active .step-title-lbl {
  color: var(--gold-300);
  font-weight: 700;
}

/* Wizard Form Body */
.wizard-form-body {
  padding: clamp(1.25rem, 3.5vw, 3rem);
}

.wizard-step-pane {
  display: none;
}

.wizard-step-pane.active {
  display: block;
  animation: slideFadeIn 0.35s ease-out;
}

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

.step-header-block {
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
  text-align: center;
}

.step-main-title {
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.4rem;
}

.step-sub-desc {
  font-size: clamp(0.85rem, 2vw, 0.95rem);
  color: var(--text-light-muted);
}

/* Form Controls Inside Dark Checkup Box */
.checkup-form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 1.25rem;
}

.checkup-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #e2e8f0;
}

.checkup-label span.req {
  color: #f87171;
}

.checkup-input {
  width: 100%;
  padding: 0.85rem 1rem;
  min-height: 48px;
  border-radius: var(--radius-md);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  background: rgba(4, 13, 26, 0.7);
  color: var(--white);
  font-size: 0.925rem;
  transition: all var(--transition-fast);
}

.checkup-input:focus {
  outline: none;
  border-color: var(--gold-400);
  background: rgba(4, 13, 26, 0.95);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

.checkup-input::placeholder {
  color: #64748b;
}

select.checkup-input option {
  background: var(--navy-950);
  color: var(--white);
}

/* 12-Assessment Categories Grid */
.assessment-category-cards {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.assessment-item-card {
  background: rgba(11, 32, 62, 0.6);
  border: 1.5px solid rgba(212, 175, 55, 0.2);
  border-radius: var(--radius-lg);
  padding: clamp(1rem, 2.5vw, 1.5rem);
  transition: all var(--transition-fast);
}

.assessment-item-card:hover {
  border-color: rgba(212, 175, 55, 0.5);
  background: rgba(16, 42, 82, 0.75);
}

.assessment-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.15rem;
  flex-wrap: wrap;
}

.assessment-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 1 1 260px;
}

.assessment-icon-badge {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: var(--gold-400);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.assessment-title-group h4 {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.2rem;
}

.assessment-formula-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gold-300);
  background: rgba(212, 175, 55, 0.12);
  padding: 0.15rem 0.55rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(212, 175, 55, 0.25);
  line-height: 1.4;
}

.assessment-score-picker {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.score-picker-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-light-muted);
  margin-right: 0.2rem;
}

.score-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  touch-action: manipulation;
}

.score-btn:hover {
  background: rgba(212, 175, 55, 0.25);
  border-color: var(--gold-400);
  color: var(--gold-300);
}

.score-btn.selected {
  background: var(--gold-gradient);
  border-color: var(--gold-300);
  color: var(--navy-950);
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.4);
}

.assessment-card-inputs {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 1rem;
}

.assessment-guideline-note {
  font-size: 0.78rem;
  color: #94a3b8;
  margin-top: 0.45rem;
  font-style: italic;
  line-height: 1.4;
}

/* Real-Time Health Gauge Banner */
.live-score-gauge-bar {
  background: linear-gradient(135deg, var(--navy-950) 0%, #030b17 100%);
  border: 1.5px solid var(--gold-500);
  border-radius: var(--radius-lg);
  padding: 1.15rem clamp(1rem, 2.5vw, 1.75rem);
  margin-bottom: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  box-shadow: var(--gold-glow);
}

.gauge-title-box {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.gauge-icon {
  font-size: 1.4rem;
  color: var(--gold-400);
  flex-shrink: 0;
}

.gauge-label {
  font-weight: 700;
  font-size: clamp(0.9rem, 2vw, 1rem);
  color: var(--white);
  margin-bottom: 0.15rem;
}

.gauge-sub {
  font-size: 0.78rem;
  color: var(--text-light-muted);
}

.gauge-meter-wrapper {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
}

.gauge-progress-outer {
  width: clamp(120px, 25vw, 180px);
  height: 12px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.gauge-progress-inner {
  height: 100%;
  width: 20%;
  background: var(--gold-gradient);
  border-radius: var(--radius-full);
  transition: width 0.5s ease;
}

.gauge-score-digits {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 3vw, 1.4rem);
  font-weight: 800;
  color: var(--gold-300);
  min-width: 50px;
}

/* Step 4: Financial Goals Pill Selection */
.goals-selection-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(0.75rem, 2vw, 1.25rem);
  margin-bottom: 2rem;
}

.goal-card-select {
  background: rgba(11, 32, 62, 0.6);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: clamp(1rem, 2vw, 1.5rem) 0.75rem;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  user-select: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  touch-action: manipulation;
}

.goal-card-select:hover {
  background: rgba(16, 42, 82, 0.85);
  border-color: rgba(212, 175, 55, 0.5);
  transform: translateY(-3px);
}

.goal-card-select.selected {
  background: rgba(212, 175, 55, 0.18);
  border-color: var(--gold-400);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
}

.goal-icon {
  font-size: clamp(1.6rem, 3vw, 2rem);
}

.goal-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(0.85rem, 2vw, 0.95rem);
  color: var(--white);
  line-height: 1.3;
}

.goal-checkbox {
  display: none;
}

/* Consent Checkbox Box */
.consent-box-wrapper {
  background: rgba(4, 13, 26, 0.7);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: var(--radius-md);
  padding: 1.15rem clamp(1rem, 2.5vw, 1.5rem);
  margin-bottom: 2rem;
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.consent-box-wrapper input[type="checkbox"] {
  width: 22px;
  height: 22px;
  accent-color: var(--gold-500);
  cursor: pointer;
  margin-top: 2px;
  flex-shrink: 0;
}

.consent-text {
  font-size: clamp(0.8rem, 2vw, 0.875rem);
  color: #cbd5e1;
  line-height: 1.5;
}

/* Wizard Navigation Buttons */
.wizard-nav-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.75rem;
  margin-top: 1rem;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Success Modal Screen */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(4, 13, 26, 0.88);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-smooth);
  padding: 1.25rem;
  overflow-y: auto;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.success-modal-card {
  background: linear-gradient(145deg, var(--navy-950) 0%, var(--navy-900) 100%);
  border: 2px solid var(--gold-500);
  border-radius: var(--radius-xl);
  padding: clamp(2rem, 5vw, 3.5rem) clamp(1.25rem, 4vw, 3rem);
  max-width: 580px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  text-align: center;
  color: var(--white);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), var(--gold-glow);
  transform: scale(0.9);
  transition: transform var(--transition-bounce);
}

.modal-overlay.active .success-modal-card {
  transform: scale(1);
}

.success-icon-badge {
  width: clamp(64px, 12vw, 80px);
  height: clamp(64px, 12vw, 80px);
  border-radius: 50%;
  background: var(--gold-gradient);
  color: var(--navy-950);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem auto;
  box-shadow: 0 0 30px rgba(212, 175, 55, 0.5);
  flex-shrink: 0;
}

.success-icon-badge svg {
  width: 50%;
  height: 50%;
}

.success-title {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.65rem;
}

.success-message {
  font-size: clamp(0.925rem, 2vw, 1.05rem);
  color: #cbd5e1;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.submission-id-box {
  background: rgba(212, 175, 55, 0.12);
  border: 1.5px dashed var(--gold-400);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
}

.submission-id-lbl {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gold-300);
  margin-bottom: 0.3rem;
}

.submission-id-number {
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 3.5vw, 1.85rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: 1px;
}

.success-contact-note {
  font-size: 0.875rem;
  color: var(--text-light-muted);
  margin-bottom: 2rem;
  line-height: 1.5;
}

.success-actions-row {
  display: flex;
  gap: 0.85rem;
  justify-content: center;
  flex-wrap: wrap;
}
