/* ── RESET (scoped) ── */
.elevated-ai-finder-wrap *, .elevated-ai-finder-wrap *::before, .elevated-ai-finder-wrap *::after {
  box-sizing: border-box;
}

/* ── ROOT / WRAPPER ── */
.elevated-ai-finder-wrap {
  --purple:    #652d92;
  --blue:      #0f74bc;
  --blue-mid:  #579dce;
  --orange:    #fbb956;
  --lavender:  #c2b0d1;
  --peach:     #fce3bb;
  --white:     #ffffff;
  --text-dark: #111111;
  --text-mid:  #111111;
  font-family: 'Quicksand', sans-serif;
  color: #111111;
  padding: 24px 16px 40px;
  /* Force full-width block regardless of parent flex/grid layout */
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  flex: 0 0 100% !important;
  align-self: auto !important;
  grid-column: 1 / -1 !important;
  line-height: normal;
  text-align: left;
  box-sizing: border-box;
}

/* ── APP ── */
.elevated-ai-finder-wrap #eaf-app {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

/* ── LOGO ── */
.elevated-ai-finder-wrap .logo-bar {
  text-align: center;
  margin-bottom: 24px;
}
.elevated-ai-finder-wrap .logo-bar img {
  height: 70px;
  width: auto;
}

/* ── CARD ── */
.elevated-ai-finder-wrap .card {
  background: #ffffff;
  border-radius: 20px;
  border: 2px solid var(--lavender);
  box-shadow: 0 6px 32px rgba(101,45,146,0.10);
  padding: 36px 40px 32px;
  animation: eaf-fadeUp 0.4s ease both;
}
@keyframes eaf-fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── BREADCRUMB ── */
.elevated-ai-finder-wrap .breadcrumb {
  font-size: 12px;
  color: var(--blue-mid);
  font-family: 'Quicksand', sans-serif;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 18px;
  min-height: 18px;
}

/* ── STEP ICON ── */
.elevated-ai-finder-wrap .step-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin: 0 auto 18px;
}
.elevated-ai-finder-wrap .icon-purple { background: #f3ecfa; }
.elevated-ai-finder-wrap .icon-blue   { background: #e4f1fb; }
.elevated-ai-finder-wrap .icon-orange { background: #fff4e0; }

/* ── HEADINGS ── */
.elevated-ai-finder-wrap h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: var(--purple);
  text-align: center;
  line-height: 1.25;
  margin-bottom: 14px;
  margin-top: 0;
}
.elevated-ai-finder-wrap h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--purple);
  text-align: center;
  margin-bottom: 8px;
  margin-top: 0;
}
.elevated-ai-finder-wrap .question-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--blue);
  text-align: center;
  margin-bottom: 22px;
  letter-spacing: 0.01em;
}

/* ── INTRO BODY TEXT ── */
.elevated-ai-finder-wrap .intro-text {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-mid);
  text-align: center;
  margin-bottom: 18px;
}

/* ── WARNING BOX ── */
.elevated-ai-finder-wrap .warning-box {
  background: var(--peach);
  border-left: 4px solid var(--orange);
  border-radius: 10px;
  padding: 13px 16px;
  font-size: 15px;
  color: #3d2000;
  line-height: 1.6;
  margin-bottom: 28px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.elevated-ai-finder-wrap .warning-box .warn-icon { font-size: 18px; flex-shrink: 0; margin-top: 1px; }

/* ── CHOICE BUTTONS ── */
.elevated-ai-finder-wrap .choices {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}
.elevated-ai-finder-wrap .choice-btn {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #ffffff;
  border: 2px solid var(--lavender);
  border-radius: 14px;
  padding: 16px 20px;
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--purple);
  cursor: pointer;
  text-align: left;
  transition: all 0.22s ease;
  width: 100%;
}
.elevated-ai-finder-wrap .choice-btn:hover {
  background: #f3ecfa;
  border-color: var(--purple);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(101,45,146,0.13);
}
.elevated-ai-finder-wrap .choice-btn .btn-icon {
  font-size: 22px;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.elevated-ai-finder-wrap .choice-btn .btn-text { flex: 1; }
.elevated-ai-finder-wrap .choice-btn .btn-desc {
  display: block;
  font-family: 'Quicksand', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-mid);
  margin-top: 2px;
  line-height: 1.4;
}
.elevated-ai-finder-wrap .choice-btn .btn-arrow {
  font-size: 18px;
  color: var(--lavender);
  transition: color 0.2s, transform 0.2s;
}
.elevated-ai-finder-wrap .choice-btn:hover .btn-arrow { color: var(--purple); transform: translateX(4px); }

/* ── RESOURCE SCREEN ── */
.elevated-ai-finder-wrap .resource-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--lavender);
  color: var(--purple);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 30px;
  padding: 5px 14px;
  margin: 0 auto 18px;
  width: fit-content;
}
.elevated-ai-finder-wrap .resource-desc {
  background: linear-gradient(135deg, #f3ecfa 0%, #e4f1fb 100%);
  border-radius: 14px;
  padding: 20px 22px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-mid);
  margin-bottom: 26px;
  border: 1px solid var(--lavender);
}
.elevated-ai-finder-wrap .resource-desc strong {
  color: var(--purple);
  font-family: 'Montserrat', sans-serif;
}

/* ── CTA BUTTON ── */
.elevated-ai-finder-wrap .cta-btn {
  display: block;
  width: 100%;
  background: linear-gradient(135deg, var(--purple), var(--blue));
  color: #ffffff !important;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  padding: 16px 24px;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  text-decoration: none !important;
  transition: opacity 0.2s, transform 0.2s, box-shadow 0.2s;
  margin-bottom: 28px;
  box-shadow: 0 4px 18px rgba(101,45,146,0.25);
  letter-spacing: 0.02em;
}
.elevated-ai-finder-wrap .cta-btn:hover {
  opacity: 0.92;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(101,45,146,0.30);
  color: #ffffff !important;
}

/* ── CONSULTATION BUTTON ── */
.elevated-ai-finder-wrap .consult-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0 16px;
  color: #aaa;
  font-size: 12px;
  font-family: 'Quicksand', sans-serif;
}
.elevated-ai-finder-wrap .consult-divider::before,
.elevated-ai-finder-wrap .consult-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--lavender);
}
.elevated-ai-finder-wrap .consult-btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: 14px 24px;
  border-radius: 14px;
  font-family: 'Quicksand', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--purple) !important;
  border: 2px solid var(--purple);
  background: transparent;
  cursor: pointer;
  text-decoration: none !important;
  transition: background 0.18s, color 0.18s, transform 0.15s;
  margin-bottom: 24px;
  line-height: 1.4;
}
.elevated-ai-finder-wrap .consult-btn:hover {
  background: var(--purple);
  color: #fff !important;
  transform: translateY(-2px);
}

/* ── NAV BUTTONS (Back / Start Again) ── */
.elevated-ai-finder-wrap .nav-row {
  display: flex !important;
  gap: 12px !important;
  justify-content: center !important;
  flex-wrap: wrap !important;
}
.elevated-ai-finder-wrap .nav-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  background: #ffffff !important;
  border: 2px solid #652d92 !important;
  border-radius: 10px !important;
  padding: 10px 22px !important;
  font-family: 'Montserrat', sans-serif !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #652d92 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  letter-spacing: 0.01em !important;
  text-decoration: none !important;
  line-height: 1.4 !important;
  box-shadow: 0 2px 8px rgba(101,45,146,0.12) !important;
  -webkit-appearance: none !important;
  appearance: none !important;
}
.elevated-ai-finder-wrap .nav-btn:hover {
  background: #652d92 !important;
  border-color: #652d92 !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 14px rgba(101,45,146,0.25) !important;
  text-decoration: none !important;
}

/* ── START BUTTON (Let's Find Your Resource) ── */
.elevated-ai-finder-wrap .start-btn {
  display: block !important;
  width: fit-content !important;
  margin: 0 auto !important;
  background: linear-gradient(135deg, #652d92, #0f74bc) !important;
  color: #ffffff !important;
  font-family: 'Montserrat', sans-serif !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  padding: 15px 40px !important;
  border: none !important;
  border-radius: 50px !important;
  cursor: pointer !important;
  transition: all 0.22s ease !important;
  box-shadow: 0 4px 18px rgba(101,45,146,0.30) !important;
  letter-spacing: 0.03em !important;
  text-decoration: none !important;
  line-height: 1.4 !important;
  -webkit-appearance: none !important;
  appearance: none !important;
}
.elevated-ai-finder-wrap .start-btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 24px rgba(101,45,146,0.40) !important;
  color: #ffffff !important;
  text-decoration: none !important;
  opacity: 0.93 !important;
}

/* ── DIVIDER ── */
.elevated-ai-finder-wrap .divider {
  border: none;
  border-top: 2px solid #f0eaf7;
  margin: 24px 0;
}

/* ── PROGRESS DOTS ── */
.elevated-ai-finder-wrap .progress-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 22px;
}
.elevated-ai-finder-wrap .dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--lavender);
  transition: background 0.3s;
}
.elevated-ai-finder-wrap .dot.active { background: var(--purple); }
.elevated-ai-finder-wrap .dot.done   { background: var(--blue-mid); }

/* ── MOBILE ── */
@media (max-width: 520px) {
  .elevated-ai-finder-wrap { padding: 16px 10px 32px; }
  .elevated-ai-finder-wrap .card { padding: 22px 16px 20px; border-radius: 14px; }
  .elevated-ai-finder-wrap .logo-bar { margin-bottom: 16px; }
  .elevated-ai-finder-wrap .logo-bar img { height: 52px; }
  .elevated-ai-finder-wrap h1 { font-size: 20px; }
  .elevated-ai-finder-wrap h2 { font-size: 16px; }
  .elevated-ai-finder-wrap .intro-text { font-size: 14px; }
  .elevated-ai-finder-wrap .choice-btn { padding: 13px 14px !important; gap: 10px !important; width: 100% !important; box-sizing: border-box !important; }
  .elevated-ai-finder-wrap .choice-btn .btn-icon { width: 36px !important; height: 36px !important; font-size: 18px !important; border-radius: 8px !important; }
  .elevated-ai-finder-wrap .choice-btn .btn-desc { font-size: 13px !important; }
  .elevated-ai-finder-wrap .resource-desc { padding: 16px 14px; font-size: 14px; }
  .elevated-ai-finder-wrap .cta-btn { font-size: 15px; padding: 14px 18px; }
  .elevated-ai-finder-wrap .nav-row { gap: 8px; }
  .elevated-ai-finder-wrap .nav-btn { font-size: 12px; padding: 7px 14px; }
  .elevated-ai-finder-wrap .progress-dots { gap: 6px; margin-bottom: 14px; }
  .elevated-ai-finder-wrap .dot { width: 9px; height: 9px; }
  .elevated-ai-finder-wrap .resource-badge { font-size: 11px; padding: 4px 11px; }
  .elevated-ai-finder-wrap .consult-btn { font-size: 14px; padding: 12px 16px; }
}

/* ── MOBILE: portrait phones (≤430px) ── */
@media (max-width: 430px) {
  .elevated-ai-finder-wrap { padding: 12px 6px 28px; }
  .elevated-ai-finder-wrap .card { padding: 18px 12px 18px; border-radius: 12px; }
  .elevated-ai-finder-wrap .logo-bar img { height: 44px; }

  .elevated-ai-finder-wrap h1 { font-size: 18px; }
  .elevated-ai-finder-wrap h2 { font-size: 15px; }
  .elevated-ai-finder-wrap .question-label { font-size: 13px; margin-bottom: 16px; }
  .elevated-ai-finder-wrap .intro-text { font-size: 13px; line-height: 1.6; }

  /* Choice buttons — allow text to wrap naturally */
  .elevated-ai-finder-wrap .choice-btn {
    padding: 11px 10px !important;
    gap: 8px !important;
    align-items: flex-start !important;
    white-space: normal !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    width: 100% !important;
    box-sizing: border-box !important;
    min-width: 0 !important;
  }
  .elevated-ai-finder-wrap .choice-btn .btn-text {
    font-size: 13px !important;
    line-height: 1.35 !important;
    white-space: normal !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    min-width: 0 !important;
    flex: 1 !important;
  }
  .elevated-ai-finder-wrap .choice-btn .btn-icon {
    width: 32px !important;
    height: 32px !important;
    font-size: 16px !important;
    flex-shrink: 0 !important;
    margin-top: 2px !important;
  }
  .elevated-ai-finder-wrap .choice-btn .btn-desc { font-size: 12px !important; }
  .elevated-ai-finder-wrap .choice-btn .btn-arrow { font-size: 14px !important; flex-shrink: 0 !important; }

  /* Resource screen */
  .elevated-ai-finder-wrap .resource-desc { padding: 14px 12px; font-size: 13px; }
  .elevated-ai-finder-wrap .resource-badge { font-size: 10px; padding: 4px 10px; }

  /* CTA buttons — full width, text wraps */
  .elevated-ai-finder-wrap .cta-btn {
    font-size: 14px;
    padding: 13px 14px;
    line-height: 1.4;
    white-space: normal;
    word-break: break-word;
  }
  .elevated-ai-finder-wrap .consult-btn {
    font-size: 13px;
    padding: 11px 12px;
    line-height: 1.4;
    white-space: normal;
    word-break: break-word;
  }

  /* Nav buttons */
  .elevated-ai-finder-wrap .nav-row { gap: 6px; }
  .elevated-ai-finder-wrap .nav-btn {
    font-size: 11px;
    padding: 7px 12px;
    white-space: normal;
    word-break: break-word;
  }

  /* Warning box */
  .elevated-ai-finder-wrap .warning-box { font-size: 13px; padding: 11px 12px; }

  /* Progress dots */
  .elevated-ai-finder-wrap .progress-dots { gap: 6px; margin-bottom: 12px; }
  .elevated-ai-finder-wrap .dot { width: 8px; height: 8px; }
}
