/* ============================================
   Clear My Debts — Financial Snapshot Form
   Dark mode, mobile-first, teal accent
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --color-bg: #0a0a0b;
  --color-surface: #111113;
  --color-surface-2: #1a1a1d;
  --color-surface-3: #222225;
  --color-border: #27272a;
  --color-border-hover: #3f3f46;
  --color-text: #fafafa;
  --color-text-muted: #a1a1aa;
  --color-text-faint: #71717a;
  --color-primary: #14b8a6;
  --color-primary-hover: #0d9488;
  --color-primary-glow: rgba(20, 184, 166, 0.15);
  --color-primary-glow-strong: rgba(20, 184, 166, 0.25);
  --color-success: #22c55e;
  --color-danger: #ef4444;

  --font-display: 'Cabinet Grotesk', system-ui, -apple-system, sans-serif;
  --font-body: 'General Sans', system-ui, -apple-system, sans-serif;

  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  --transition: 200ms cubic-bezier(0.16, 1, 0.3, 1);
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  -webkit-text-size-adjust: none;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-text);
  background-color: var(--color-bg);
  min-height: 100dvh;
  min-height: -webkit-fill-available;
  overflow-x: hidden;
}

/* --- Page Layout --- */
.page {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  min-height: -webkit-fill-available;
}

/* --- Header --- */
.header {
  padding: 16px 20px;
  flex-shrink: 0;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 480px;
  margin: 0 auto;
}

.header__logo {
  width: 36px;
  height: 36px;
  display: block;
}

.header__badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  color: var(--color-primary);
  background: var(--color-primary-glow);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  letter-spacing: 0.01em;
}

/* --- Social Proof Bar --- */
.social-proof {
  padding: 12px 20px;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  flex-shrink: 0;
}

.social-proof__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  max-width: 480px;
  margin: 0 auto;
}

.social-proof__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
}

.social-proof__number {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.social-proof__number .star {
  color: #facc15;
  margin-left: 1px;
}

.social-proof__label {
  font-size: 10px;
  font-weight: 500;
  color: var(--color-text-faint);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.social-proof__divider {
  width: 1px;
  height: 28px;
  background: var(--color-border);
  flex-shrink: 0;
}

/* --- Progress Bar --- */
.progress {
  height: 3px;
  background: var(--color-surface-2);
  flex-shrink: 0;
  overflow: hidden;
}

.progress__bar {
  height: 100%;
  width: 0%;
  background: var(--color-primary);
  transition: width 400ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Main --- */
.main {
  flex: 1;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 24px 20px 20px;
}

.form {
  width: 100%;
  max-width: 480px;
  position: relative;
}

/* --- Steps --- */
.step {
  display: none;
  animation: fadeUp 350ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.step.active {
  display: block;
}

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

.step__content {
  display: flex;
  flex-direction: column;
}

.step__label {
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-faint);
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}

.step__title {
  font-family: var(--font-display);
  font-size: clamp(24px, 5vw, 32px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--color-text);
  margin-bottom: 8px;
}

.step__subtitle {
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-bottom: 28px;
  max-width: 380px;
}

/* --- Intro / Pitch Opener --- */
.step__content--intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 8px;
}

.intro__headline {
  font-family: var(--font-display);
  font-size: clamp(28px, 6vw, 36px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--color-text);
  margin-bottom: 16px;
}

.intro__highlight {
  color: var(--color-primary);
}

.intro__sub {
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.55;
  max-width: 340px;
  margin-bottom: 28px;
}

.intro-perks {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  margin-bottom: 28px;
}

.intro-perk {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text);
  text-align: left;
  animation: fadeUp 300ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.intro-perk:nth-child(1) { animation-delay: 50ms; }
.intro-perk:nth-child(2) { animation-delay: 100ms; }
.intro-perk:nth-child(3) { animation-delay: 150ms; }
.intro-perk:nth-child(4) { animation-delay: 200ms; }
.intro-perk:nth-child(5) { animation-delay: 250ms; }

.intro-perk svg {
  color: var(--color-primary);
  flex-shrink: 0;
}

.intro__time {
  font-size: 13px;
  color: var(--color-text-faint);
  margin-top: 12px;
  margin-bottom: 24px;
}

.intro-chat {
  width: 100%;
  padding-top: 20px;
  border-top: 1px solid var(--color-border);
  text-align: center;
}

.intro-chat > p {
  font-size: 13px;
  color: var(--color-text-faint);
  margin: 0 0 10px;
}

.intro-chat__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  background: #25D366;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition);
  width: 100%;
}

.intro-chat__btn svg {
  flex-shrink: 0;
}

.intro-chat__btn:hover {
  background: #1fb855;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
}

.intro-chat__call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text);
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition);
  width: 100%;
  margin-top: 8px;
}

.intro-chat__call svg {
  color: var(--color-primary);
  flex-shrink: 0;
}

.intro-chat__call:hover {
  border-color: var(--color-primary);
  background: var(--color-primary-glow);
}

.intro-chat__hours {
  font-size: 12px;
  color: var(--color-text-faint);
  text-align: center;
  margin: 8px 0 0;
}

/* --- Input Fields --- */
.field-group {
  margin-bottom: 16px;
}

.field-label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-muted);
  margin-bottom: 6px;
}

.input {
  width: 100%;
  padding: 16px 18px;
  font-size: 17px;
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--color-text);
  background: var(--color-surface);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  outline: none;
  transition: all var(--transition);
  -webkit-appearance: none;
  appearance: none;
  min-height: 48px;
}

.input::placeholder {
  color: var(--color-text-faint);
  font-weight: 400;
}

.input:hover {
  border-color: var(--color-border-hover);
}

.input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-glow);
}

.input.error {
  border-color: var(--color-danger);
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}

/* --- Currency Input --- */
.input-currency {
  position: relative;
}

.input-currency__symbol {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 17px;
  font-weight: 600;
  color: var(--color-text-faint);
  pointer-events: none;
  z-index: 1;
}

.input--currency {
  padding-left: 36px;
}

/* Small currency input for bills */
.input-currency--sm {
  flex-shrink: 0;
  width: 120px;
}

.input-currency--sm .input-currency__symbol {
  left: 14px;
  font-size: 15px;
}

.input--sm {
  padding: 12px 14px 12px 30px;
  font-size: 15px;
  min-height: 44px;
}

/* --- Autocomplete --- */
.autocomplete-wrap {
  position: relative;
}

.autocomplete-list {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--color-surface-2);
  border: 1.5px solid var(--color-border);
  border-top: none;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  z-index: 10;
  max-height: 240px;
  overflow-y: auto;
  display: none;
}

.autocomplete-list.open {
  display: block;
}

.autocomplete-item {
  padding: 12px 18px;
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text);
  cursor: pointer;
  transition: background var(--transition);
}

.autocomplete-item:hover,
.autocomplete-item.active {
  background: var(--color-primary-glow);
  color: var(--color-primary);
}

/* --- Creditor List --- */
.creditor-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}

.creditor-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  animation: fadeUp 250ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.creditor-card__info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.creditor-card__name {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.creditor-card__amount {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--color-primary);
}

.creditor-card__remove {
  background: none;
  border: none;
  color: var(--color-text-faint);
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
}

.creditor-card__remove:hover {
  color: var(--color-danger);
  background: rgba(239, 68, 68, 0.1);
}

/* --- Debt Total --- */
.debt-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  background: var(--color-primary-glow);
  border: 1px solid rgba(20, 184, 166, 0.2);
  border-radius: var(--radius-md);
  margin-top: 12px;
  margin-bottom: 8px;
}

.debt-total__label {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-muted);
}

.debt-total__amount {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: var(--color-primary);
  letter-spacing: -0.01em;
}

/* --- Bills Section --- */
.bills-section {
  margin-bottom: 20px;
}

.bills-section__heading {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-faint);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
  margin-top: 8px;
}

.bill-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--color-border);
}

.bill-row:last-child {
  border-bottom: none;
}

.bill-row__icon {
  flex-shrink: 0;
  color: var(--color-text-faint);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
}

.bill-row__label {
  flex: 1;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-muted);
  min-width: 0;
}

/* --- Budget Summary --- */
.budget-summary {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  margin-bottom: 20px;
}

.budget-summary__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  font-size: 14px;
  color: var(--color-text-muted);
}

.budget-summary__row--highlight {
  border-top: 1px solid var(--color-border);
  margin-top: 6px;
  padding-top: 10px;
  font-weight: 600;
  color: var(--color-primary);
}

.budget-summary__row--highlight span:last-child {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
}

.budget-summary__row--negative span:last-child {
  color: var(--color-danger);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 32px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition);
  -webkit-tap-highlight-color: transparent;
  text-decoration: none;
  width: 100%;
  min-height: 48px;
}

.btn--primary {
  background: var(--color-primary);
  color: #0a0a0b;
}

.btn--primary:hover:not(:disabled) {
  background: var(--color-primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px var(--color-primary-glow-strong);
}

.btn--primary:active:not(:disabled) {
  transform: translateY(0);
}

.btn--primary:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.btn--secondary {
  background: var(--color-surface-2);
  color: var(--color-text);
  border: 1.5px solid var(--color-border);
}

.btn--secondary:hover:not(:disabled) {
  border-color: var(--color-border-hover);
  background: var(--color-surface-3);
}

.btn--secondary:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.btn--outline {
  background: transparent;
  color: var(--color-primary);
  border: 1.5px solid var(--color-primary);
}

.btn--outline:hover {
  background: var(--color-primary-glow);
}

.btn--next {
  margin-top: 8px;
}

.btn--submit {
  margin-top: 8px;
}

.btn__loading { display: none; align-items: center; gap: 8px; }
.btn.loading .btn__text { display: none; }
.btn.loading .btn__loading { display: flex; }

.spinner {
  animation: spin 800ms linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* --- Consent Toggle --- */
.consent-box {
  margin-top: 4px;
  margin-bottom: 16px;
}

.consent-toggle {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  padding: 14px 16px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: border-color var(--transition);
}

.consent-toggle:hover {
  border-color: var(--color-border-hover);
}

.consent-toggle input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.consent-toggle__switch {
  position: relative;
  width: 44px;
  min-width: 44px;
  height: 24px;
  background: var(--color-surface-3);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-full);
  transition: all var(--transition);
  flex-shrink: 0;
  margin-top: 1px;
}

.consent-toggle__switch::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  background: var(--color-text-faint);
  border-radius: 50%;
  transition: all var(--transition);
}

.consent-toggle input:checked + .consent-toggle__switch {
  background: var(--color-primary);
  border-color: var(--color-primary);
}

.consent-toggle input:checked + .consent-toggle__switch::after {
  left: 22px;
  background: #fff;
}

.consent-toggle__label {
  font-size: 13px;
  line-height: 1.5;
  color: var(--color-text-muted);
}

.consent-toggle.error {
  border-color: var(--color-danger);
  box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.15);
}

/* --- Success State --- */
.step__content--success {
  align-items: center;
  text-align: center;
  padding-top: 32px;
}

.success-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--color-success);
  animation: scaleIn 500ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.5); }
  to { opacity: 1; transform: scale(1); }
}

.success-text {
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Assigned Case Manager Card --- */
.assigned-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 20px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-top: 24px;
  margin-bottom: 20px;
  width: 100%;
  text-align: left;
}

.assigned-card__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-primary-glow-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.assigned-card__avatar span {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--color-primary);
}

.assigned-card__info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.assigned-card__name {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--color-text);
  margin: 0;
}

.assigned-card__role {
  font-size: 13px;
  color: var(--color-text-muted);
  margin: 0 0 4px;
}

.assigned-card__detail {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--color-text-faint);
  margin: 2px 0 0;
}

.assigned-card__detail svg {
  color: var(--color-primary);
  flex-shrink: 0;
}

/* --- Success Actions --- */
.success-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.success-actions .btn {
  font-size: 15px;
  padding: 14px 24px;
}

/* --- What Happens Next --- */
.next-steps {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 16px;
  padding: 14px 16px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.next-steps svg {
  flex-shrink: 0;
  color: var(--color-primary);
  margin-top: 1px;
}

.next-steps p {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin: 0;
}

/* --- Trust Bar (Footer) --- */
.trust-bar {
  padding: 16px 20px;
  border-top: 1px solid var(--color-border);
  flex-shrink: 0;
}

.trust-bar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  max-width: 480px;
  margin: 0 auto;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 500;
  color: var(--color-text-faint);
  white-space: nowrap;
}

.trust-item svg {
  flex-shrink: 0;
  opacity: 0.7;
}

/* ============================================
   POST-SUBMIT FLOW — Results, Plan, Payment
   ============================================ */

/* --- Results Header --- */
.results-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 24px;
}

.results-check {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-success);
  margin-bottom: 16px;
  animation: scaleIn 500ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.results-header__label {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-success);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.results-header .step__title {
  text-align: center;
}

/* --- Results Cards --- */
.results-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  margin-bottom: 12px;
  overflow: hidden;
  animation: fadeUp 400ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.results-card:nth-child(2) { animation-delay: 100ms; }
.results-card:nth-child(3) { animation-delay: 200ms; }

.results-card__header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 16px 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-text-faint);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.results-card__icon {
  color: var(--color-primary);
  display: flex;
}

.results-card__list {
  padding: 10px 16px 0;
}

.results-card__item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 14px;
}

.results-card__item:last-child {
  border-bottom: none;
}

.results-card__item-name {
  color: var(--color-text-muted);
  font-weight: 500;
}

.results-card__item-amount {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-text);
}

.results-card__total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: var(--color-primary-glow);
  border-top: 1px solid rgba(20, 184, 166, 0.15);
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-muted);
}

.results-card__total-amount {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: var(--color-primary);
}

/* --- Results Budget Rows --- */
.results-budget-rows {
  padding: 10px 16px 4px;
}

.results-budget-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  font-size: 14px;
  color: var(--color-text-muted);
}

.results-budget-row__val {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-text);
}

.results-budget-row__val--muted {
  color: var(--color-text-muted);
  font-weight: 600;
}

.results-budget-row--surplus {
  border-top: 1px solid var(--color-border);
  margin-top: 4px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.results-budget-row--surplus .results-budget-row__val {
  font-size: 18px;
  font-weight: 800;
  color: var(--color-primary);
}

.results-budget-row--negative .results-budget-row__val {
  color: var(--color-danger);
}

/* --- Urgency Block --- */
.results-urgency {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background: rgba(239, 68, 68, 0.06);
  border: 1px solid rgba(239, 68, 68, 0.15);
  border-radius: var(--radius-md);
  margin: 12px 0 8px;
  animation: fadeUp 400ms 300ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.results-urgency__pulse {
  width: 10px;
  height: 10px;
  min-width: 10px;
  border-radius: 50%;
  background: var(--color-danger);
  margin-top: 5px;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4); }
  50% { opacity: 0.7; box-shadow: 0 0 0 8px rgba(239, 68, 68, 0); }
}

.results-urgency p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--color-text-muted);
  margin: 0;
}

.results-urgency strong {
  color: var(--color-text);
}

/* --- Glow Button --- */
.btn--glow {
  box-shadow: 0 0 20px var(--color-primary-glow-strong), 0 4px 16px rgba(0,0,0,0.3);
  animation: glowPulse 2.5s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 20px var(--color-primary-glow-strong), 0 4px 16px rgba(0,0,0,0.3); }
  50% { box-shadow: 0 0 30px var(--color-primary-glow-strong), 0 0 60px var(--color-primary-glow), 0 4px 16px rgba(0,0,0,0.3); }
}

.btn--glow:hover:not(:disabled) {
  box-shadow: 0 0 30px var(--color-primary-glow-strong), 0 0 60px var(--color-primary-glow), 0 4px 16px rgba(0,0,0,0.3);
}

.btn--large {
  padding: 18px 32px;
  font-size: 17px;
  font-weight: 700;
  min-height: 56px;
}

/* --- Plan Steps --- */
.plan-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 24px;
}

.plan-step {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--color-border);
  animation: fadeUp 350ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.plan-step:nth-child(1) { animation-delay: 50ms; }
.plan-step:nth-child(2) { animation-delay: 150ms; }
.plan-step:nth-child(3) { animation-delay: 250ms; }

.plan-step:last-child {
  border-bottom: none;
}

.plan-step__number {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #0a0a0b;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.plan-step__text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.plan-step__text strong {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text);
}

.plan-step__text span {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* --- Plan Monthly Hero Card --- */
.plan-monthly-card {
  text-align: center;
  padding: 24px 20px;
  background: var(--color-primary-glow);
  border: 1.5px solid rgba(20, 184, 166, 0.25);
  border-radius: var(--radius-lg);
  margin-bottom: 24px;
  animation: fadeUp 350ms 100ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.plan-monthly-card__label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}

.plan-monthly-card__value {
  display: block;
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 800;
  color: var(--color-primary);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.plan-monthly-card__note {
  display: block;
  font-size: 14px;
  color: var(--color-text-faint);
  margin-top: 6px;
}

/* --- One Payment Covers All --- */
.plan-covers {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 20px;
}

.plan-covers__heading {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
  margin-bottom: 18px;
}

.plan-covers__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.plan-covers__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.plan-covers__icon {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 10px;
  background: rgba(13, 148, 136, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.plan-covers__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.plan-covers__text strong {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
}

.plan-covers__text span {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.4;
}

.plan-covers__bottom {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--color-border);
  font-size: 13px;
  font-weight: 500;
  color: #0d9488;
}

.plan-covers__bottom svg {
  flex-shrink: 0;
}

/* --- Testimonial on plan page --- */
.plan-testimonial {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 20px;
  text-align: center;
}

.plan-testimonial__stars {
  display: flex;
  justify-content: center;
  gap: 2px;
  margin-bottom: 12px;
}

.plan-testimonial__quote {
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-text);
  font-style: italic;
  margin-bottom: 8px;
}

.plan-testimonial__author {
  font-size: 12px;
  color: var(--color-text-faint);
  font-weight: 500;
}

/* Summary highlight row */
.plan-summary__row--highlight {
  background: rgba(13, 148, 136, 0.08);
  border-radius: 8px;
  padding: 10px 12px !important;
  margin: -4px -12px;
}

.plan-summary__row--highlight span:last-child {
  color: #0d9488;
  font-weight: 700;
}

/* --- Plan Perks (What's Included) --- */
.plan-includes {
  margin-bottom: 20px;
}

.plan-includes__heading {
  font-size: 12px;
  font-weight: 600;
  color: var(--color-text-faint);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.plan-perk {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border);
  animation: fadeUp 300ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.plan-perk:nth-child(2) { animation-delay: 50ms; }
.plan-perk:nth-child(3) { animation-delay: 100ms; }
.plan-perk:nth-child(4) { animation-delay: 150ms; }
.plan-perk:nth-child(5) { animation-delay: 200ms; }
.plan-perk:nth-child(6) { animation-delay: 250ms; }
.plan-perk:nth-child(7) { animation-delay: 300ms; }

.plan-perk:last-child {
  border-bottom: none;
}

.plan-perk__icon {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 10px;
  background: var(--color-primary-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  margin-top: 1px;
}

.plan-perk__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.plan-perk__text strong {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
}

.plan-perk__text span {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.45;
}

/* --- Plan Summary Rows --- */
.plan-summary {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  margin-bottom: 12px;
}

.plan-summary__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  font-size: 14px;
  color: var(--color-text-muted);
}

.plan-summary__row span:last-child {
  font-weight: 600;
  color: var(--color-text);
}



/* --- Guarantee Badge --- */
.guarantee-badge {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background: rgba(34, 197, 94, 0.06);
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}

.guarantee-badge--compact {
  padding: 12px 14px;
  margin-top: 12px;
  margin-bottom: 0;
}

.guarantee-badge__icon {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-success);
}

.guarantee-badge--compact .guarantee-badge__icon {
  width: 32px;
  height: 32px;
  min-width: 32px;
}

.guarantee-badge__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.guarantee-badge__text strong {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-success);
}

.guarantee-badge--compact .guarantee-badge__text strong {
  font-size: 13px;
}

.guarantee-badge__text span {
  font-size: 12px;
  color: var(--color-text-faint);
  line-height: 1.4;
}

/* --- Plan Trust Items --- */
.plan-trust {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.plan-trust__item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-faint);
}

.plan-trust__item svg {
  color: var(--color-primary);
  flex-shrink: 0;
}

.plan-disclaimer {
  text-align: center;
  font-size: 13px;
  color: var(--color-text-faint);
  margin-top: 12px;
}

/* --- Payment Screen --- */
.payment-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--color-primary-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--color-primary);
  animation: scaleIn 500ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Monthly Amount Card */
.payment-amount-card {
  width: 100%;
  text-align: center;
  padding: 20px;
  background: var(--color-primary-glow);
  border: 1.5px solid rgba(20, 184, 166, 0.25);
  border-radius: var(--radius-lg);
  margin-bottom: 16px;
}

.payment-amount-card__label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-muted);
  margin-bottom: 4px;
}

.payment-amount-card__value {
  display: block;
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 800;
  color: var(--color-primary);
  letter-spacing: -0.02em;
}

.payment-summary {
  width: 100%;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  margin-bottom: 20px;
}

.payment-summary__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  font-size: 14px;
  color: var(--color-text-muted);
}

.payment-summary__row span:last-child {
  font-weight: 600;
  color: var(--color-text);
}

.payment-summary__row--highlight {
  border-top: 1px solid var(--color-border);
  margin-top: 4px;
  padding-top: 10px;
  font-weight: 600;
  color: var(--color-primary);
}

.payment-summary__row--highlight span:last-child {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
  color: var(--color-primary);
}

.payment-secure {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  color: var(--color-text-faint);
  margin-top: 12px;
}

.payment-secure svg {
  opacity: 0.6;
}

.payment-alt {
  width: 100%;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--color-border);
}

.payment-alt > p {
  font-size: 13px;
  color: var(--color-text-faint);
  text-align: center;
  margin: 0 0 12px;
}

.payment-alt__call {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text);
  text-decoration: none;
  padding: 14px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: all var(--transition);
  margin-bottom: 8px;
}

.payment-alt__call svg {
  color: var(--color-primary);
}

.payment-alt__call:hover {
  border-color: var(--color-primary);
  background: var(--color-primary-glow);
}

.payment-alt__hours {
  font-size: 12px;
  color: var(--color-text-faint);
  text-align: center;
  margin: 0;
}

.card-link {
  color: var(--color-text-faint);
  text-decoration: none;
  transition: color var(--transition);
}

.card-link:hover {
  color: var(--color-primary);
}

/* ============================================
   SIGNING FLOW — Agreement, ATA, Done
   ============================================ */

/* --- Document Scroll Container --- */
.doc-scroll {
  max-height: 320px;
  overflow-y: auto;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  margin-bottom: 8px;
  -webkit-overflow-scrolling: touch;
}

.doc-scroll__inner {
  padding: 20px 18px;
}

.doc-section {
  margin-bottom: 18px;
}

.doc-section:last-child {
  margin-bottom: 0;
}

.doc-section h3 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 8px;
}

.doc-section h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-muted);
  margin: 12px 0 6px;
}

.doc-section p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--color-text-muted);
  margin: 0 0 8px;
}

.doc-section ul {
  padding-left: 18px;
  margin: 6px 0 10px;
}

.doc-section li {
  font-size: 13px;
  line-height: 1.6;
  color: var(--color-text-muted);
  margin-bottom: 4px;
}

.doc-meta {
  font-size: 12px;
  color: var(--color-text-faint);
  line-height: 1.6;
}

.doc-highlight {
  padding: 10px 14px;
  background: var(--color-primary-glow);
  border: 1px solid rgba(20, 184, 166, 0.2);
  border-radius: var(--radius-md);
  font-size: 14px;
  color: var(--color-text);
}

.doc-highlight strong {
  color: var(--color-primary);
}

/* Scroll hint */
.doc-scroll-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  color: var(--color-text-faint);
  padding: 8px 0 16px;
  animation: bounceHint 2s ease-in-out infinite;
}

.doc-scroll-hint.hidden {
  display: none;
}

@keyframes bounceHint {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(3px); }
}

/* Scrollbar for doc scroll */
.doc-scroll::-webkit-scrollbar {
  width: 4px;
}

.doc-scroll::-webkit-scrollbar-track {
  background: transparent;
}

.doc-scroll::-webkit-scrollbar-thumb {
  background: var(--color-border-hover);
  border-radius: 2px;
}

/* --- ATA Fields --- */
.ata-fields {
  margin-top: 16px;
}

.ata-fields__heading {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-faint);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
}

/* --- Signature Pad --- */
.sig-pad-wrap {
  position: relative;
  background: var(--color-surface);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.sig-pad-wrap.has-sig {
  border-color: var(--color-primary);
}

.sig-canvas {
  display: block;
  width: 100%;
  height: 160px;
  cursor: crosshair;
  touch-action: none;
}

.sig-clear {
  position: absolute;
  top: 8px;
  right: 8px;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  color: var(--color-text-faint);
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition);
}

.sig-clear:hover {
  color: var(--color-danger);
  border-color: rgba(239, 68, 68, 0.3);
}

.sig-hint {
  font-size: 12px;
  color: var(--color-text-faint);
  margin-top: 6px;
}

/* --- Done Checklist --- */
.done-checklist {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 24px 0;
  text-align: left;
}

.done-checklist__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text);
  animation: fadeUp 300ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.done-checklist__item:nth-child(1) { animation-delay: 100ms; }
.done-checklist__item:nth-child(2) { animation-delay: 200ms; }
.done-checklist__item:nth-child(3) { animation-delay: 300ms; }
.done-checklist__item:nth-child(4) { animation-delay: 400ms; }

.done-checklist__item svg {
  color: var(--color-success);
  flex-shrink: 0;
}

.done-next {
  width: 100%;
  text-align: left;
  padding: 18px 20px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}

.done-next h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 8px;
}

.done-next p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-text-muted);
  margin: 0;
}

/* Date input styling for dark mode */
input[type="date"].input {
  color-scheme: dark;
}

/* --- Counter Animation Utility --- */
@keyframes countUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.count-animate {
  animation: countUp 400ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* --- Responsive --- */
@media (min-width: 640px) {
  .main {
    align-items: center;
    padding-top: 48px;
  }

  .trust-bar__inner {
    gap: 32px;
  }

  .trust-item {
    font-size: 12px;
  }
}

/* Prevent zoom on iOS inputs */
@supports (-webkit-touch-callout: none) {
  .input {
    font-size: max(17px, 1rem);
  }
}

/* --- Scrollbar styling for autocomplete --- */
.autocomplete-list::-webkit-scrollbar {
  width: 6px;
}

.autocomplete-list::-webkit-scrollbar-track {
  background: transparent;
}

.autocomplete-list::-webkit-scrollbar-thumb {
  background: var(--color-border-hover);
  border-radius: 3px;
}

/* =============================================
   NEW INTRO: Question-First Layout
   ============================================= */

.intro-question {
  text-align: center;
  margin-bottom: 28px;
}
.intro-question__eyebrow {
  font-size: 13px;
  font-weight: 500;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}
.intro-question__headline {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(26px, 6vw, 34px);
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--color-text);
  margin-bottom: 8px;
}
.intro-question__sub {
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* Debt Range Grid */
.debt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 28px;
}
.debt-grid__btn {
  appearance: none;
  border: 1.5px solid var(--color-border);
  background: var(--color-bg-card, #1a1a1e);
  color: var(--color-text);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.01em;
  padding: 18px 12px;
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.22, 1, 0.36, 1);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.debt-grid__btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(45, 212, 172, 0.15), transparent);
  opacity: 0;
  transition: opacity 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.debt-grid__btn:hover,
.debt-grid__btn:focus-visible {
  border-color: var(--color-accent);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(45, 212, 172, 0.12);
}
.debt-grid__btn:hover::before,
.debt-grid__btn:focus-visible::before {
  opacity: 1;
}
.debt-grid__btn:active {
  transform: translateY(0);
  background: rgba(45, 212, 172, 0.08);
  border-color: var(--color-accent);
}
.debt-grid__btn.selected {
  background: rgba(45, 212, 172, 0.1);
  border-color: var(--color-accent);
}
.debt-grid__btn span {
  position: relative;
  z-index: 1;
}

@media (min-width: 640px) {
  .debt-grid { grid-template-columns: 1fr 1fr 1fr; }
}

/* Savings Hook */
.savings-hook {
  text-align: center;
  margin-bottom: 24px;
  padding: 16px 20px;
  background: var(--color-bg-raised, #141416);
  border: 1px solid var(--color-border);
  border-radius: 14px;
}
.savings-hook__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(45, 212, 172, 0.12);
  border-radius: 10px;
  margin-bottom: 10px;
  color: var(--color-accent);
}
.savings-hook__text {
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.5;
}
.savings-hook__text strong {
  color: var(--color-accent);
  font-weight: 600;
}

/* Testimonial */
.intro-testimonial {
  text-align: center;
  margin-bottom: 20px;
  padding: 0 8px;
}
.intro-testimonial__quote {
  font-size: 14px;
  font-style: italic;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 6px;
}
.intro-testimonial__author {
  font-size: 13px;
  color: var(--color-text-dim, #636366);
  font-weight: 500;
}

/* Chat Compact */
.intro-chat-compact {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid var(--color-border);
}
.intro-chat-compact__label {
  font-size: 13px;
  color: var(--color-text-dim, #636366);
  margin-bottom: 10px;
}
.intro-chat-compact__links {
  display: flex;
  justify-content: center;
  gap: 12px;
}
.intro-chat-compact__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-muted);
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 10px;
  border: 1px solid var(--color-border);
  background: var(--color-bg-raised, #141416);
  transition: all 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.intro-chat-compact__link:hover {
  border-color: var(--color-border-hover);
  color: var(--color-text);
}
.intro-chat-compact__link--wa:hover {
  border-color: #25d366;
  color: #25d366;
}

/* ============================================
   SCHEDULE DIRECT DEBIT STEP
   ============================================ */

/* Icon */
.schedule-icon {
  width: 72px;
  height: 72px;
  background: rgba(13, 148, 136, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: #0d9488;
}

/* Amount card (mirrors payment step) */
.schedule-amount-card {
  background: rgba(13, 148, 136, 0.1);
  border: 1px solid rgba(13, 148, 136, 0.25);
  border-radius: 14px;
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  margin-bottom: 1.5rem;
}
.schedule-amount-card__label {
  font-size: 0.8rem;
  color: var(--text-muted, #9ca3af);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.schedule-amount-card__value {
  font-size: 2rem;
  font-weight: 800;
  color: #0d9488;
  font-family: 'Cabinet Grotesk', sans-serif;
}

/* Date picker */
.schedule-date-wrap {
  margin-bottom: 1.25rem;
}
.schedule-date-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text, #f1f5f9);
  margin-bottom: 0.5rem;
}
.schedule-date-input {
  width: 100%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  color: var(--text, #f1f5f9);
  font-family: 'General Sans', sans-serif;
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}
.schedule-date-input:focus {
  border-color: #0d9488;
}
.schedule-date-hint {
  font-size: 0.78rem;
  color: var(--text-muted, #9ca3af);
  margin-top: 0.4rem;
}

/* Quick-pick buttons */
.schedule-quickpick {
  margin-bottom: 1.25rem;
}
.schedule-quickpick__label {
  font-size: 0.8rem;
  color: var(--text-muted, #9ca3af);
  margin-bottom: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.schedule-quickpick__btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}
.schedule-qbtn {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  padding: 0.6rem 0.75rem;
  font-size: 0.85rem;
  color: var(--text, #f1f5f9);
  cursor: pointer;
  transition: all 0.18s;
  font-family: 'General Sans', sans-serif;
  text-align: center;
}
.schedule-qbtn:hover {
  background: rgba(13, 148, 136, 0.15);
  border-color: rgba(13, 148, 136, 0.4);
  color: #0d9488;
}
.schedule-qbtn.active {
  background: rgba(13, 148, 136, 0.2);
  border-color: #0d9488;
  color: #0d9488;
  font-weight: 600;
}

/* Confirm banner */
.schedule-confirm {
  margin-bottom: 1.25rem;
}
.schedule-confirm__inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(13, 148, 136, 0.1);
  border: 1px solid rgba(13, 148, 136, 0.3);
  border-radius: 10px;
  padding: 0.9rem 1rem;
}
.schedule-confirm__text {
  font-size: 0.9rem;
  color: var(--text, #f1f5f9);
  margin: 0 0 0.15rem;
}
.schedule-confirm__sub {
  font-size: 0.78rem;
  color: var(--text-muted, #9ca3af);
  margin: 0;
}

/* Error */
.schedule-error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  color: #f87171;
  margin-bottom: 1rem;
}

/* Back button */
.schedule-back-btn {
  display: block;
  margin: 0.75rem auto 0;
  background: transparent;
  border: none;
  color: var(--text-muted, #9ca3af);
  font-size: 0.85rem;
  cursor: pointer;
  padding: 0.5rem;
  font-family: 'General Sans', sans-serif;
}
.schedule-back-btn:hover {
  color: var(--text, #f1f5f9);
}

/* "Don't have the money?" prompt on payment step */
.schedule-later {
  text-align: center;
  margin: 1rem 0 0.25rem;
  padding: 1rem 0 0;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.schedule-later__label {
  font-size: 0.82rem;
  color: var(--text-muted, #9ca3af);
  margin-bottom: 0.6rem;
}
.btn--schedule {
  width: 100%;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.18);
  color: var(--text, #f1f5f9);
  font-size: 0.9rem;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: all 0.18s;
  font-family: 'General Sans', sans-serif;
}
.btn--schedule:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.3);
}

/* ============================================
   PLAN PAGE — CONTEXT & CONVERSION ELEMENTS
   ============================================ */

/* Daily cost line */
.plan-monthly-card__daily {
  font-size: 0.85rem;
  color: #0d9488;
  font-weight: 600;
  margin-top: 0.1rem;
  letter-spacing: 0.01em;
}

/* Before/after comparison */
.plan-context {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;
}
.plan-context__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}
.plan-context__row--before .plan-context__value {
  color: var(--text-muted, #9ca3af);
  text-decoration: line-through;
  font-size: 0.95rem;
}
.plan-context__label {
  font-size: 0.82rem;
  color: var(--text-muted, #9ca3af);
}
.plan-context__value {
  font-weight: 700;
  font-size: 1rem;
  white-space: nowrap;
}
.plan-context__value--highlight {
  color: #0d9488;
  font-size: 1.1rem;
}
.plan-context__arrow {
  text-align: center;
  padding: 0.3rem 0;
}
.plan-context__note {
  font-size: 0.78rem;
  color: #0d9488;
  margin: 0.5rem 0 0;
  text-align: center;
}

/* Debt-free timeline */
.plan-timeline {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  background: rgba(13, 148, 136, 0.08);
  border: 1px solid rgba(13, 148, 136, 0.2);
  border-radius: 10px;
  padding: 0.8rem 1rem;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}
.plan-timeline svg {
  flex-shrink: 0;
  margin-top: 1px;
}
.plan-timeline p {
  font-size: 0.87rem;
  color: var(--text, #f1f5f9);
  margin: 0;
  line-height: 1.5;
}
.plan-timeline strong {
  color: #0d9488;
}

/* Early CTA button (above the fold on mobile) */
.btn--plan-early {
  width: 100%;
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

/* Bill row /mo label */
.bill-row__freq {
  font-size: 0.75rem;
  color: var(--text-muted, #9ca3af);
  font-weight: 400;
}

/* Bills section monthly note */
.bills-section__note {
  font-size: 0.78rem;
  color: #38bdf8;
  font-weight: 500;
}

/* ============================================
   PAYMENT STEP — SCHEDULE OPTION CARD
   ============================================ */

.or-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1.25rem 0;
  color: var(--text-muted, #9ca3af);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.or-divider::before,
.or-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.1);
}

.schedule-option {
  background: rgba(56, 189, 248, 0.06);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 14px;
  padding: 1rem 1.125rem 1.125rem;
  margin-bottom: 1.25rem;
}
.schedule-option__header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
.schedule-option__header strong {
  font-size: 0.95rem;
  color: #e0f2fe;
}
.schedule-option__body {
  font-size: 0.83rem;
  color: var(--text-muted, #9ca3af);
  margin: 0 0 0.9rem;
  line-height: 1.55;
}
.btn--schedule-option {
  width: 100%;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: #38bdf8;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.7rem 1rem;
  border-radius: 9px;
  cursor: pointer;
  transition: all 0.18s;
  font-family: 'General Sans', sans-serif;
  text-align: center;
}
.btn--schedule-option:hover {
  background: rgba(56, 189, 248, 0.2);
  border-color: rgba(56, 189, 248, 0.55);
}

/* ============================================
   PAYMENT STEP — CALLBACK OPTION CARD
   ============================================ */

.callback-option {
  background: rgba(167, 139, 250, 0.06);
  border: 1px solid rgba(167, 139, 250, 0.25);
  border-radius: 14px;
  padding: 1rem 1.125rem 1.125rem;
  margin-bottom: 1rem;
}
.callback-option__header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
.callback-option__header strong {
  font-size: 0.95rem;
  color: #ede9fe;
}
.callback-option__body {
  font-size: 0.83rem;
  color: var(--text-muted, #9ca3af);
  margin: 0 0 0.9rem;
  line-height: 1.55;
}

/* Toggle button */
.btn--callback-toggle {
  width: 100%;
  background: rgba(167, 139, 250, 0.12);
  border: 1px solid rgba(167, 139, 250, 0.35);
  color: #a78bfa;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.7rem 1rem;
  border-radius: 9px;
  cursor: pointer;
  transition: all 0.18s;
  font-family: 'General Sans', sans-serif;
  text-align: center;
}
.btn--callback-toggle:hover {
  background: rgba(167, 139, 250, 0.2);
  border-color: rgba(167, 139, 250, 0.55);
}

/* Inline form */
.callback-form {
  margin-top: 0.75rem;
}
.callback-form__field {
  margin-bottom: 0.65rem;
}
.callback-form__label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted, #9ca3af);
  margin-bottom: 0.3rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.callback-form__input,
.callback-form__select {
  width: 100%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  padding: 0.6rem 0.75rem;
  font-size: 0.9rem;
  color: var(--text, #f1f5f9);
  font-family: 'General Sans', sans-serif;
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
  appearance: none;
  box-sizing: border-box;
}
.callback-form__input:focus,
.callback-form__select:focus {
  border-color: #a78bfa;
}
.callback-form__input[readonly] {
  opacity: 0.65;
  cursor: default;
}
.callback-form__select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2.5' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2rem;
}

/* Submit button */
.btn--callback-submit {
  width: 100%;
  margin-top: 0.5rem;
  background: #a78bfa;
  border: none;
  color: #1e1b4b;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.75rem 1rem;
  border-radius: 9px;
  cursor: pointer;
  transition: all 0.18s;
  font-family: 'General Sans', sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}
.btn--callback-submit:hover {
  background: #c4b5fd;
}
.btn--callback-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Success state */
.callback-success {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(167, 139, 250, 0.1);
  border: 1px solid rgba(167, 139, 250, 0.3);
  border-radius: 10px;
  padding: 0.9rem 1rem;
  margin-top: 0.5rem;
}
.callback-success__title {
  font-size: 0.9rem;
  font-weight: 600;
  color: #c4b5fd;
  margin: 0 0 0.15rem;
}
.callback-success__sub {
  font-size: 0.78rem;
  color: var(--text-muted, #9ca3af);
  margin: 0;
}

/* Direct call fallback text */
.payment-call-direct {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted, #9ca3af);
  margin: 0.75rem 0 0;
}
.payment-call-direct a {
  color: var(--text, #f1f5f9);
  font-weight: 600;
  text-decoration: none;
}
.payment-call-direct a:hover {
  text-decoration: underline;
}
.payment-call-direct span {
  display: block;
  font-size: 0.72rem;
  margin-top: 0.2rem;
}
