/* ============================================================
   SRT Agency — Business Funding Funnel (shared)
   16-screen gamified application flow
   ============================================================ */

:root {
  --ink: #0B1426;
  --ink-light: #111D33;
  --ink-lighter: #1a2742;
  --ocean: #1B65A7;
  --reef: #00C9A7;
  --reef-bright: #00ddb5;
  --reef-dark: #00a98c;
  --gold: #F6AD55;
  --slate: #4A5568;
  --mist: #F7FAFC;
  --white: #FFFFFF;
  --error: #FC8181;
  --success: #48BB78;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

.bf-funnel-root {
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  background: var(--ink);
  color: var(--white);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* ============================================================
   FUNNEL CONTAINER
   ============================================================ */
.bf-funnel {
  display: none;
  min-height: 100vh;
  padding: 1.5rem 1rem 3rem;
  align-items: flex-start;
  justify-content: center;
  position: relative;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(0,201,167,0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 100%, rgba(27,101,167,0.08) 0%, transparent 50%),
    var(--ink);
}

.bf-funnel.active {
  display: flex;
  animation: bfFadeIn 0.5s ease;
}

@keyframes bfFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.bf-card {
  background: var(--ink-light);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 22px;
  padding: 0;
  max-width: 540px;
  width: 100%;
  box-shadow: 0 24px 80px rgba(0,0,0,0.5);
  position: relative;
  overflow: hidden;
  margin-top: 3.5rem;
}

/* ── Top bar with progress + back button ── */
.bf-topbar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem 0.5rem;
  background: var(--ink-light);
}

/* Inline date selects for DOB screen */
.bf-field-inline {
  width: 100%;
  padding: 0.85rem 0.75rem;
  border: 2px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  font-size: 0.92rem;
  font-family: inherit;
  color: var(--white);
  outline: none;
  background: rgba(255,255,255,0.04);
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}
.bf-field-inline:focus {
  border-color: var(--reef);
  background: rgba(0,201,167,0.04);
}
.bf-field-inline option { background: var(--ink-light); color: var(--white); }

.bf-back {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.6);
  width: 36px;
  height: 36px;
  border-radius: 10px;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s;
  font-family: inherit;
}
.bf-back:hover { background: rgba(255,255,255,0.12); color: var(--white); }
.bf-back:disabled { opacity: 0.3; cursor: not-allowed; }

.bf-progress {
  flex: 1;
  height: 6px;
  background: rgba(255,255,255,0.08);
  border-radius: 100px;
  overflow: hidden;
}
.bf-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--ocean), var(--reef));
  border-radius: 100px;
  width: 0%;
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.bf-step-counter {
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.5px;
  white-space: nowrap;
}

/* ── Step container with slide animations ── */
.bf-step {
  padding: 1.25rem 1.75rem 1.75rem;
  animation: bfSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes bfSlideIn {
  from { opacity: 0; transform: translateX(24px); }
  to   { opacity: 1; transform: translateX(0); }
}

.bf-step h2 {
  font-family: 'Instrument Serif', 'DM Sans', serif;
  font-size: 1.7rem;
  font-weight: 400;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 0.4rem;
}
.bf-step h2 em {
  font-style: italic;
  color: var(--reef);
}

.bf-step .bf-sub {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

/* ── Form fields ── */
.bf-field { margin-bottom: 1.1rem; }

.bf-field label {
  display: block;
  font-size: 0.74rem;
  font-weight: 700;
  color: rgba(255,255,255,0.55);
  margin-bottom: 0.45rem;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.bf-field input,
.bf-field select {
  width: 100%;
  padding: 0.95rem 1rem;
  border: 2px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  font-size: 1rem;
  font-family: inherit;
  color: var(--white);
  outline: none;
  background: rgba(255,255,255,0.04);
  transition: all 0.2s;
}

.bf-field input::placeholder { color: rgba(255,255,255,0.3); }

.bf-field input:focus,
.bf-field select:focus {
  border-color: var(--reef);
  background: rgba(0,201,167,0.04);
  box-shadow: 0 0 0 4px rgba(0,201,167,0.1);
}

.bf-field input.bf-error,
.bf-field select.bf-error {
  border-color: var(--error);
  background: rgba(252,129,129,0.04);
}

.bf-field-error {
  font-size: 0.78rem;
  color: var(--error);
  margin-top: 0.4rem;
  min-height: 1rem;
}

.bf-field select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  padding-right: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='rgba(255,255,255,0.4)' viewBox='0 0 16 16'%3E%3Cpath d='M1.5 5.5l6.5 6 6.5-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 12px;
}
.bf-field select option { background: var(--ink-light); color: var(--white); }

.bf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

/* ── Primary button ── */
.bf-btn {
  width: 100%;
  padding: 1.1rem 1rem;
  background: var(--reef);
  color: var(--ink);
  border: none;
  border-radius: 14px;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s;
  margin-top: 0.5rem;
  letter-spacing: 0.2px;
}
.bf-btn:hover {
  background: var(--reef-bright);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0,201,167,0.35);
}
.bf-btn:active { transform: translateY(0); }
.bf-btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; box-shadow: none; }

/* ============================================================
   SCREEN 1: MONEY SLIDER
   ============================================================ */
.bf-money-screen { text-align: center; }

.bf-money-display {
  font-family: 'Instrument Serif', 'DM Sans', serif;
  font-size: 3.4rem;
  font-weight: 400;
  color: var(--reef);
  line-height: 1;
  margin: 1rem 0 0.4rem;
  letter-spacing: -1px;
  transition: transform 0.15s;
  text-shadow: 0 0 30px rgba(0,201,167,0.3);
}
.bf-money-display.bf-pulse {
  animation: bfMoneyPulse 0.25s ease;
}
@keyframes bfMoneyPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}
.bf-money-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1.5rem;
}

.bf-slider-track {
  position: relative;
  height: 60px;
  margin: 0.5rem 0 1rem;
}
.bf-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  background: linear-gradient(90deg, var(--reef) 0%, var(--reef) var(--bf-pct,15%), rgba(255,255,255,0.08) var(--bf-pct,15%), rgba(255,255,255,0.08) 100%);
  border-radius: 100px;
  outline: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
}
.bf-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 56px;
  height: 56px;
  background: var(--reef);
  border-radius: 50%;
  cursor: grab;
  border: 4px solid var(--white);
  box-shadow: 0 8px 24px rgba(0,201,167,0.45), 0 0 0 8px rgba(0,201,167,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  position: relative;
  transition: transform 0.15s;
}
.bf-slider::-webkit-slider-thumb:hover { transform: scale(1.05); }
.bf-slider::-webkit-slider-thumb:active { cursor: grabbing; transform: scale(1.1); }

.bf-slider::-moz-range-thumb {
  width: 56px;
  height: 56px;
  background: var(--reef);
  border-radius: 50%;
  cursor: grab;
  border: 4px solid var(--white);
  box-shadow: 0 8px 24px rgba(0,201,167,0.45);
}

.bf-slider-icon {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.4rem;
  pointer-events: none;
  z-index: 2;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
  transition: left 0.05s;
}

.bf-slider-range {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  margin-top: 0.5rem;
  padding: 0 4px;
}

.bf-money-hint {
  background: rgba(0,201,167,0.08);
  border: 1px solid rgba(0,201,167,0.18);
  border-radius: 12px;
  padding: 0.75rem 1rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.65);
  margin: 1.25rem 0 1rem;
  text-align: center;
}
.bf-money-hint strong { color: var(--reef); }

.bf-slide-hint {
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--reef);
  letter-spacing: 0.3px;
  margin-top: 0.5rem;
  opacity: 0.85;
  animation: bfSlideHintPulse 2s ease-in-out infinite;
}
@keyframes bfSlideHintPulse {
  0%, 100% { opacity: 0.6; transform: translateY(0); }
  50%      { opacity: 1;   transform: translateY(-2px); }
}

/* ============================================================
   SCREEN 3: CREDIT SCORE CARDS
   ============================================================ */
.bf-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin: 0.5rem 0 1rem;
}

.bf-card-option {
  background: rgba(255,255,255,0.04);
  border: 2px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 1.1rem 0.8rem;
  cursor: pointer;
  text-align: center;
  transition: all 0.25s;
  font-family: inherit;
  color: var(--white);
}
.bf-card-option:hover {
  border-color: rgba(0,201,167,0.4);
  background: rgba(0,201,167,0.06);
  transform: translateY(-2px);
}
.bf-card-option.bf-selected {
  border-color: var(--reef);
  background: rgba(0,201,167,0.12);
  box-shadow: 0 8px 24px rgba(0,201,167,0.2);
}
.bf-card-emoji {
  font-size: 2rem;
  display: block;
  margin-bottom: 0.5rem;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3));
}
.bf-card-title {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--white);
  display: block;
  margin-bottom: 0.15rem;
}
.bf-card-subtitle {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  display: block;
}

/* Industry list — single column variant */
.bf-cards.bf-list {
  grid-template-columns: 1fr;
  gap: 0.55rem;
}
.bf-cards.bf-list .bf-card-option {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-align: left;
  padding: 0.85rem 1rem;
}
.bf-cards.bf-list .bf-card-emoji {
  margin-bottom: 0;
  font-size: 1.5rem;
  flex-shrink: 0;
}
.bf-cards.bf-list .bf-card-title {
  margin-bottom: 0;
  font-size: 0.95rem;
}
.bf-cards.bf-list .bf-recommended {
  margin-left: auto;
  background: var(--reef);
  color: var(--ink);
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

/* ============================================================
   SCREEN 7: SEASONAL DATE PICKER
   ============================================================ */
.bf-seasons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin: 0.25rem 0 1rem;
}
.bf-season-btn {
  background: rgba(255,255,255,0.04);
  border: 2px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 1rem 0.5rem;
  cursor: pointer;
  font-family: inherit;
  color: var(--white);
  text-align: center;
  transition: all 0.2s;
}
.bf-season-btn:hover { border-color: rgba(0,201,167,0.35); }
.bf-season-btn.bf-selected {
  border-color: var(--reef);
  background: rgba(0,201,167,0.12);
}
.bf-season-emoji { font-size: 1.6rem; display: block; margin-bottom: 0.3rem; }
.bf-season-name { font-size: 0.85rem; font-weight: 700; display: block; }
.bf-season-months { font-size: 0.7rem; color: rgba(255,255,255,0.4); display: block; margin-top: 0.15rem; }

.bf-month-year {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin-top: 0.5rem;
}

/* ============================================================
   SCREEN 8: AVATAR TIMELINE (DOB)
   ============================================================ */
.bf-timeline-screen {
  text-align: center;
}
.bf-avatar-display {
  font-size: 4rem;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0.75rem 0 0.25rem;
  filter: drop-shadow(0 6px 16px rgba(0,201,167,0.25));
  transition: transform 0.2s;
}
.bf-avatar-display.bf-bounce { animation: bfBounce 0.4s ease; }
@keyframes bfBounce {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}
.bf-age-display {
  font-family: 'Instrument Serif', serif;
  font-size: 2rem;
  color: var(--reef);
  margin-bottom: 0.15rem;
}
.bf-age-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 1rem;
}
.bf-age-quote {
  background: rgba(255,255,255,0.04);
  border-left: 3px solid var(--reef);
  border-radius: 0 12px 12px 0;
  padding: 0.7rem 1rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.7);
  margin: 0.5rem 0 1rem;
  text-align: left;
  font-style: italic;
  min-height: 2.5rem;
}
.bf-dob-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

/* ============================================================
   SCREEN 11: EMPLOYEE GRID
   ============================================================ */
.bf-emp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin: 0.25rem 0 1rem;
}
.bf-emp-btn {
  background: rgba(255,255,255,0.04);
  border: 2px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 1rem 0.4rem;
  cursor: pointer;
  font-family: inherit;
  color: var(--white);
  text-align: center;
  transition: all 0.2s;
  font-weight: 700;
  font-size: 0.95rem;
}
.bf-emp-btn:hover { border-color: rgba(0,201,167,0.35); }
.bf-emp-btn.bf-selected {
  border-color: var(--reef);
  background: rgba(0,201,167,0.12);
  color: var(--reef);
}
.bf-emp-display {
  text-align: center;
  font-size: 1.5rem;
  letter-spacing: 0.15rem;
  min-height: 2rem;
  margin-bottom: 0.5rem;
  filter: drop-shadow(0 2px 6px rgba(0,201,167,0.15));
}

/* ============================================================
   YES/NO BUTTONS (used multiple screens)
   ============================================================ */
.bf-yn {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin: 0.25rem 0 1rem;
}
.bf-yn-btn {
  padding: 1.4rem 1rem;
  border: 2px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  background: rgba(255,255,255,0.04);
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s;
}
.bf-yn-btn:hover {
  border-color: var(--reef);
  background: rgba(0,201,167,0.06);
}
.bf-yn-btn.bf-selected {
  border-color: var(--reef);
  background: rgba(0,201,167,0.15);
  color: var(--reef);
  transform: translateY(-2px);
}
.bf-yn-btn .bf-yn-emoji {
  display: block;
  font-size: 1.5rem;
  margin-bottom: 0.35rem;
}

/* ============================================================
   AGENT TOGGLE (Screen 16)
   ============================================================ */
.bf-toggle-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(0,201,167,0.06);
  border: 1px solid rgba(0,201,167,0.2);
  border-radius: 16px;
  padding: 1rem 1.25rem;
  margin: 0.75rem 0 1rem;
}
.bf-toggle {
  position: relative;
  width: 52px;
  height: 30px;
  flex-shrink: 0;
}
.bf-toggle input { opacity: 0; width: 0; height: 0; }
.bf-toggle-bg {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.15);
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.2s;
}
.bf-toggle-bg::before {
  content: '';
  position: absolute;
  width: 24px;
  height: 24px;
  background: var(--white);
  border-radius: 50%;
  top: 3px;
  left: 3px;
  transition: all 0.2s;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
}
.bf-toggle input:checked + .bf-toggle-bg { background: var(--reef); }
.bf-toggle input:checked + .bf-toggle-bg::before { left: 25px; }

.bf-toggle-text {
  flex: 1;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.4;
}
.bf-toggle-text strong { color: var(--reef); }

/* ============================================================
   SECTION BREAK CELEBRATION
   ============================================================ */
.bf-celebration {
  text-align: center;
  padding: 2rem 1rem;
  animation: bfFadeIn 0.4s ease;
}
.bf-celebration-emoji {
  font-size: 4rem;
  animation: bfWiggle 0.8s ease infinite;
  display: inline-block;
}
@keyframes bfWiggle {
  0%, 100% { transform: rotate(-5deg) translateY(0); }
  50% { transform: rotate(5deg) translateY(-8px); }
}
.bf-celebration h3 {
  font-family: 'Instrument Serif', serif;
  font-size: 1.6rem;
  color: var(--reef);
  margin-top: 0.75rem;
  margin-bottom: 0.4rem;
  font-weight: 400;
}
.bf-celebration p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
}

/* Confetti dots */
.bf-confetti {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.bf-confetti span {
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--reef);
  border-radius: 50%;
  top: -10px;
  animation: bfConfettiFall 2.2s linear forwards;
}

@keyframes bfConfettiFall {
  to {
    transform: translateY(110vh) rotate(720deg);
    opacity: 0;
  }
}

/* ============================================================
   COMPLETE SCREEN — aligned action list
   ============================================================ */
.bf-complete {
  text-align: center;
  /* Extra horizontal padding so action buttons have breathing room
     from the card edges (vs. flush against the .bf-step padding) */
  padding: 0.5rem 0.5rem 0.25rem;
}
.bf-complete-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1rem;
  background: linear-gradient(135deg, var(--reef), var(--reef-bright));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  color: var(--ink);
  box-shadow: 0 16px 48px rgba(0,201,167,0.4);
  animation: bfPop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes bfPop {
  0% { opacity: 0; transform: scale(0.5); }
  100% { opacity: 1; transform: scale(1); }
}
.bf-complete h2 {
  font-family: 'Instrument Serif', serif;
  font-size: 1.85rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.bf-complete h2 em { color: var(--reef); font-style: italic; }
.bf-complete p {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 1.5rem;
  line-height: 1.5;
  padding: 0 0.25rem;
}

/* Action button — used for both PDF download and portal handoffs.
   Single shared layout so all 4 cards have consistent borders/alignment. */
.bf-action {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  width: calc(100% - 1rem);
  padding: 1.1rem 1.15rem;
  border: 1.5px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  background: rgba(255,255,255,0.04);
  color: var(--white);
  text-decoration: none;
  text-align: left;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s;
  margin: 0 0.5rem 0.65rem;
  position: relative;
  box-sizing: border-box;
}
.bf-action:hover {
  border-color: var(--reef);
  background: rgba(0,201,167,0.06);
  transform: translateY(-1px);
}
.bf-action:active { transform: translateY(0); }

.bf-action-primary {
  background: linear-gradient(135deg, rgba(0,201,167,0.18), rgba(0,201,167,0.08));
  border-color: rgba(0,201,167,0.45);
}
.bf-action-primary:hover {
  background: linear-gradient(135deg, rgba(0,201,167,0.28), rgba(0,201,167,0.12));
  border-color: var(--reef);
}

.bf-action-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  width: 36px;
  text-align: center;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.3));
}

.bf-action-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}
.bf-action-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--white);
  line-height: 1.25;
}
.bf-action-desc {
  font-size: 0.76rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.3;
}

.bf-action-badge {
  background: var(--reef);
  color: var(--ink);
  font-size: 0.62rem;
  font-weight: 800;
  padding: 0.25rem 0.55rem;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  flex-shrink: 0;
  white-space: nowrap;
}

.bf-trust-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
}

/* ============================================================
   EMBEDDED MODE — funnel lives inside a parent container
   (no full-viewport background, no centering)
   ============================================================ */
.bf-funnel.bf-embedded {
  display: block;
  min-height: 0;
  padding: 0;
  background: none;
  align-items: stretch;
  justify-content: stretch;
}
.bf-funnel.bf-embedded .bf-card {
  margin-top: 0;
  max-width: 100%;
  width: 100%;
  box-shadow: none;
  border: 1px solid rgba(255,255,255,0.08);
}

/* ============================================================
   MOBILE
   ============================================================ */
@media (max-width: 540px) {
  .bf-card { margin-top: 1.5rem; border-radius: 18px; }
  .bf-step { padding: 1rem 1.25rem 1.5rem; }
  .bf-step h2 { font-size: 1.45rem; }
  .bf-money-display { font-size: 2.7rem; }
  .bf-cards { gap: 0.6rem; }
  .bf-card-emoji { font-size: 1.7rem; }
  .bf-card-title { font-size: 0.95rem; }
  .bf-emp-grid { grid-template-columns: repeat(3, 1fr); }
  .bf-dob-row { grid-template-columns: 1fr 1fr 1fr; }
  .bf-complete h2 { font-size: 1.6rem; }
  .bf-complete-icon { width: 72px; height: 72px; font-size: 2rem; }
}
