/* v2 */
*, *::before, *::after { box-sizing: border-box; }
.kwe-page { background-color: #09090b; min-height: 100vh; font-family: 'Inter', sans-serif; display: flex; flex-direction: column; padding-top: 80px; }
.crimson-glass { background: rgba(24,24,27,0.4); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(220,38,38,0.2); }

/* ── Main content area ── */
.fq-main { flex: 1; display: flex; align-items: center; justify-content: center; padding: 6.5rem 1rem 3rem; }
.fq-wrap { width: 100%; max-width: 42rem; }

/* ── State panels ── */
.fq-panel { display: none; }
.fq-panel.active { display: block; animation: fq-fadein 0.35s cubic-bezier(0.175,0.885,0.32,1.275) both; }
@keyframes fq-fadein { from { opacity: 0; transform: translateY(16px) scale(0.98); } to { opacity: 1; transform: translateY(0) scale(1); } }

/* ── Card shell (shared) ── */
.fq-card {
  background: rgba(24,24,27,0.5);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 1.25rem;
  padding: 2.5rem 2rem;
  box-shadow: 0 0 30px -5px rgba(220,38,38,0.18);
}
@media (min-width: 640px) { .fq-card { padding: 3rem 2.75rem; } }
.fq-card-red { border: 1px solid rgba(220,38,38,0.25); }
.fq-card-emerald { border: 1px solid rgba(16,185,129,0.3); box-shadow: 0 0 50px -10px rgba(16,185,129,0.25); }
.fq-card-amber { border: 1px solid rgba(245,158,11,0.3); box-shadow: 0 0 50px -10px rgba(245,158,11,0.18); }

/* ── Progress bar ── */
.fq-progress-wrap { margin-bottom: 2rem; }
.fq-progress-labels { display: flex; justify-content: space-between; font-size: 0.8rem; color: rgba(255,255,255,0.5); margin-bottom: 0.5rem; }
.fq-progress-track { height: 0.5rem; border-radius: 9999px; background: rgba(39,39,42,0.8); overflow: hidden; }
.fq-progress-bar { height: 100%; border-radius: 9999px; background: linear-gradient(to right, #dc2626, #ef4444); transition: width 0.5s cubic-bezier(0.175,0.885,0.32,1.275); }

/* ── Icon circle ── */
.fq-icon-circle { width: 5rem; height: 5rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.5rem; }
.fq-icon-red { background: rgba(220,38,38,0.12); }
.fq-icon-emerald { background: rgba(16,185,129,0.15); }
.fq-icon-amber { background: rgba(245,158,11,0.15); }

/* ── Typography ── */
.fq-h1 { font-family: 'Space Grotesk', sans-serif; font-size: clamp(1.75rem, 4.5vw, 2.25rem); font-weight: 700; color: #fff; letter-spacing: -0.03em; line-height: 1.1; margin: 0 0 1rem; text-align: center; }
.fq-h2 { font-family: 'Space Grotesk', sans-serif; font-size: clamp(1.4rem, 3.5vw, 1.75rem); font-weight: 700; color: #fff; letter-spacing: -0.025em; line-height: 1.15; margin: 0 0 1.5rem; }
.fq-body { font-size: 1.05rem; color: rgba(255,255,255,0.7); line-height: 1.65; margin: 0 0 2rem; text-align: center; max-width: 28rem; margin-left: auto; margin-right: auto; }

/* ── Trust signals row ── */
.fq-trust-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; margin-bottom: 2rem; }
.fq-trust-item { display: flex; align-items: center; justify-content: center; gap: 0.4rem; font-size: 0.8125rem; color: rgba(255,255,255,0.6); }

/* ── Form fields ── */
.fq-field-group { display: flex; flex-direction: column; gap: 1.25rem; margin-bottom: 0; }
.fq-field { display: flex; flex-direction: column; gap: 0.5rem; }
.fq-label { font-size: 0.875rem; font-weight: 500; color: rgba(255,255,255,0.8); display: flex; align-items: center; gap: 0.4rem; }
.fq-label span { color: #ef4444; }
.fq-input {
  width: 100%;
  height: 3rem;
  padding: 0 1rem;
  background: rgba(24,24,27,0.7);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 0.5rem;
  color: #fff;
  font-size: 0.9375rem;
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.fq-input::placeholder { color: rgba(255,255,255,0.3); }
.fq-input:focus { border-color: rgba(220,38,38,0.5); box-shadow: 0 0 0 3px rgba(220,38,38,0.12); }
.fq-input.error { border-color: rgba(239,68,68,0.6); }
.fq-error-msg { font-size: 0.8rem; color: #f87171; margin-top: 0.1rem; }

/* ── Radio option cards ── */
.fq-radio-group { display: flex; flex-direction: column; gap: 0.625rem; }
.fq-radio-label {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.875rem 1rem;
  border-radius: 0.625rem;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(24,24,27,0.5);
  cursor: pointer;
  transition: border-color 0.25s, background 0.25s;
  user-select: none;
}
.fq-radio-label:hover { border-color: rgba(255,255,255,0.22); }
.fq-radio-label.selected { border-color: rgba(220,38,38,0.6); background: rgba(220,38,38,0.08); }
.fq-radio-dot {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: border-color 0.2s, background 0.2s;
}
.fq-radio-label.selected .fq-radio-dot { border-color: #ef4444; background: #ef4444; }
.fq-radio-dot-inner { width: 0.4rem; height: 0.4rem; border-radius: 50%; background: #fff; display: none; }
.fq-radio-label.selected .fq-radio-dot-inner { display: block; }
.fq-radio-text { font-size: 0.9375rem; color: #fff; }

/* ── Form nav (back/continue) ── */
.fq-form-nav { display: flex; align-items: center; justify-content: space-between; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.08); }
.fq-back-btn { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.9rem; color: rgba(255,255,255,0.55); background: none; border: none; cursor: pointer; font-family: 'Inter', sans-serif; transition: color 0.2s; padding: 0; }
.fq-back-btn:hover { color: rgba(255,255,255,0.9); }

/* ── Buttons ── */
.fq-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 3rem;
  padding: 0 2rem;
  border-radius: 9999px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  border: none;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175,0.885,0.32,1.275);
  text-decoration: none;
}
.fq-btn-red { background: linear-gradient(to right, #dc2626, #ef4444, #dc2626); color: #fff; box-shadow: 0 0 30px rgba(239,68,68,0.45); }
.fq-btn-red:hover { box-shadow: 0 0 45px rgba(239,68,68,0.65); filter: brightness(1.1); transform: scale(1.02); }
.fq-btn-emerald { background: linear-gradient(to right, #059669, #10b981, #059669); color: #fff; box-shadow: 0 0 30px rgba(16,185,129,0.45); }
.fq-btn-emerald:hover { box-shadow: 0 0 45px rgba(16,185,129,0.65); filter: brightness(1.1); transform: scale(1.02); }
.fq-btn-emerald:disabled { background: #3f3f46; color: rgba(255,255,255,0.4); box-shadow: none; cursor: not-allowed; filter: none; transform: none; }
.fq-btn-amber { background: linear-gradient(to right, #d97706, #f59e0b, #d97706); color: #fff; box-shadow: 0 0 30px rgba(245,158,11,0.4); }
.fq-btn-amber:hover { box-shadow: 0 0 45px rgba(245,158,11,0.6); filter: brightness(1.1); transform: scale(1.02); }
.fq-btn-ghost { background: rgba(24,24,27,0.7); border: 2px solid rgba(255,255,255,0.18); color: #fff; }
.fq-btn-ghost:hover { border-color: rgba(255,255,255,0.35); background: rgba(39,39,42,0.7); transform: scale(1.02); }
.fq-btn-full { width: 100%; }

/* ── Spinner ── */
.fq-spinner { width: 4rem; height: 4rem; border-radius: 50%; border: 4px solid rgba(220,38,38,0.25); border-top-color: #ef4444; animation: fq-spin 0.8s linear infinite; margin: 0 auto 1.5rem; }
@keyframes fq-spin { to { transform: rotate(360deg); } }

/* ── Inbox-style list ── */
.fq-outcome-box { background: rgba(24,24,27,0.6); border: 1px solid rgba(255,255,255,0.1); border-radius: 0.875rem; padding: 1.25rem 1.5rem; margin-bottom: 2rem; text-align: left; }
.fq-outcome-box h3 { font-size: 0.9375rem; font-weight: 600; color: #fff; margin: 0 0 0.875rem; }
.fq-outcome-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.625rem; }
.fq-outcome-item { display: flex; align-items: flex-start; gap: 0.625rem; font-size: 0.875rem; color: rgba(255,255,255,0.7); line-height: 1.55; }

/* ── Countdown ── */
.fq-countdown { font-size: 0.875rem; color: rgba(255,255,255,0.4); }

/* ── SmartCredit link ── */
.fq-monitoring-link { display: block; font-size: 0.9375rem; color: #34d399; text-decoration: underline; text-underline-offset: 3px; margin-bottom: 2rem; word-break: break-all; transition: color 0.2s; }
.fq-monitoring-link:hover { color: #6ee7b7; }

/* ── Checkbox ── */
.fq-checkbox-label { display: flex; align-items: center; justify-content: center; gap: 0.75rem; cursor: pointer; margin-bottom: 1.5rem; }
.fq-checkbox-box {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 0.375rem;
  border: 2px solid rgba(255,255,255,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s;
  background: transparent;
}
.fq-checkbox-box.checked { background: #10b981; border-color: #10b981; }
.fq-checkbox-text { font-size: 0.9rem; color: rgba(255,255,255,0.8); }
.fq-booking-wrap { background: rgba(24,24,27,0.5); border: 1px solid rgba(220,38,38,0.2); border-radius: 1rem; overflow: hidden; }
.fq-booking-header { padding: 0.875rem 1rem; text-align: center; border-bottom: 1px solid rgba(39,39,42,0.6); }
.fq-booking-pill { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.35rem 0.875rem; border-radius: 9999px; background: rgba(220,38,38,0.1); border: 1px solid rgba(220,38,38,0.3); font-size: 0.72rem; font-weight: 700; color: #ef4444; text-transform: uppercase; letter-spacing: 0.06em; }
