/* ============================================================
   HUSTLE FINDER DEMO — hfd-style.css  v1.0.4
   ALL selectors scoped under .hfd-wrapper for full isolation.
   ============================================================ */

/* ── TOKENS on wrapper ───────────────────────────────────── */
.hfd-wrapper {
  --hfd-accent:     #0ea5e9;
  --hfd-accent-dk:  #0369a1;
  --hfd-grad:       linear-gradient(135deg, #0ea5e9 0%, #0369a1 100%);
  --hfd-green:      #22c55e;
  --hfd-green-lt:   #f0fdf4;
  --hfd-green-bdr:  #bbf7d0;
  --hfd-text:       #0f172a;
  --hfd-slate:      #334155;
  --hfd-muted:      #64748b;
  --hfd-muted2:     #94a3b8;
  --hfd-surface:    #f8fafc;
  --hfd-surface2:   #f1f5f9;
  --hfd-border:     rgba(0,0,0,0.08);
  --hfd-border2:    #e2e8f0;
  --hfd-lock-bg:    #f1f5f9;
  --hfd-lock-color: #94a3b8;
  --hfd-r:          10px;
  --hfd-r-lg:       14px;

  width: 100%;
  display: flex;
  justify-content: center;
  padding: 20px 0;
  margin: 20px 0;
  box-sizing: border-box;
}

/* ── RESET everything inside wrapper ────────────────────── */
.hfd-wrapper *,
.hfd-wrapper *::before,
.hfd-wrapper *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  line-height: normal;
}

/* Re-allow list styles */
.hfd-wrapper ul,
.hfd-wrapper ol {
  list-style: none;
}

/* ── APP SHELL ───────────────────────────────────────────── */
.hfd-wrapper .hfd-app {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: relative;
  width: 100%;
  max-width: 800px;
  background: #ffffff !important;
  border-radius: var(--hfd-r-lg) !important;
  box-shadow: 0 4px 24px rgba(14,165,233,0.12), 0 1px 6px rgba(0,0,0,0.07) !important;
  border: 1.5px solid #bae6fd !important;
  overflow: hidden !important;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

/* ── HEADER ──────────────────────────────────────────────── */
.hfd-wrapper .hfd-app .hfd-header {
  background: linear-gradient(135deg, #0ea5e9 0%, #0369a1 100%) !important;
  padding: 32px 28px 24px !important;
  text-align: center !important;
  position: relative !important;
  overflow: hidden !important;
  display: block !important;
}

.hfd-wrapper .hfd-app .hfd-header::after {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  pointer-events: none;
}

.hfd-wrapper .hfd-app .hfd-header h1 {
  font-size: 1.7rem !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  margin: 0 0 6px 0 !important;
  letter-spacing: -0.3px !important;
  line-height: 1.2 !important;
  text-align: center !important;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

.hfd-wrapper .hfd-app .hfd-header h2.hfd-subtitle {
  font-size: 0.95rem !important;
  font-weight: 400 !important;
  color: rgba(255,255,255,0.82) !important;
  margin: 0 0 10px 0 !important;
  line-height: 1.45 !important;
  text-align: center !important;
}

.hfd-wrapper .hfd-app .hfd-header .hfd-header-notice {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.4;
}

.hfd-wrapper .hfd-badge {
  background: rgba(255,255,255,0.18);
  color: #fde68a;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  vertical-align: middle;
  margin-left: 4px;
}

/* ── SCREENS ─────────────────────────────────────────────── */
.hfd-wrapper .hfd-screen {
  padding: 28px 28px 24px;
}

/* ── WELCOME ─────────────────────────────────────────────── */
.hfd-wrapper .hfd-badge-pill {
  display: inline-block;
  background: #f0f9ff;
  color: #0369a1;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 99px;
  border: 1px solid #bae6fd;
  margin-bottom: 12px;
}

.hfd-wrapper .hfd-welcome-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--hfd-text);
  line-height: 1.35;
  margin: 0 0 10px;
  text-align: center;
}

.hfd-wrapper .hfd-welcome-em {
  color: var(--hfd-accent);
  font-style: italic;
}

.hfd-wrapper .hfd-welcome-sub {
  font-size: 0.87rem;
  color: var(--hfd-muted);
  line-height: 1.65;
  margin: 0 0 1.25rem;
  text-align: center;
}

.hfd-wrapper .hfd-welcome-footer {
  text-align: center;
  font-size: 0.78rem;
  color: var(--hfd-muted);
  margin-top: 12px;
  letter-spacing: 0.01em;
}

.hfd-wrapper .hfd-tips {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-bottom: 1.5rem;
}

.hfd-wrapper .hfd-tip {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  background: var(--hfd-surface);
  border: 1px solid var(--hfd-border);
  border-radius: var(--hfd-r);
  padding: 0.75rem 0.875rem;
}

.hfd-wrapper .hfd-tip-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
  line-height: 1.4;
}

.hfd-wrapper .hfd-tip strong {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--hfd-text);
  display: block;
  margin-bottom: 4px;
  line-height: 1.3;
}

.hfd-wrapper .hfd-tip span {
  font-size: 0.8rem;
  color: var(--hfd-accent);
  line-height: 1.55;
  display: block;
}

/* ── PROGRESS BAR ────────────────────────────────────────── */
.hfd-wrapper .hfd-progress-wrap {
  padding: 14px 28px 0;
  background: var(--hfd-surface);
  border-bottom: 1px solid var(--hfd-border2);
}

.hfd-wrapper .hfd-progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.hfd-wrapper .hfd-progress-cat {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--hfd-accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hfd-wrapper .hfd-progress-count {
  font-size: 0.78rem;
  color: var(--hfd-muted);
}

.hfd-wrapper .hfd-progress-bar {
  background: var(--hfd-surface2);
  border-radius: 99px;
  height: 6px;
  overflow: hidden;
  margin-bottom: 10px;
}

.hfd-wrapper .hfd-progress-fill {
  background: linear-gradient(135deg, #0ea5e9 0%, #0369a1 100%);
  height: 100%;
  border-radius: 99px;
  transition: width 0.35s ease;
}

.hfd-wrapper .hfd-step-dots {
  display: flex;
  gap: 6px;
  justify-content: center;
  padding-bottom: 12px;
}

.hfd-wrapper .hfd-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--hfd-border2);
  transition: background 0.2s;
  display: inline-block;
}

.hfd-wrapper .hfd-dot.hfd-dot--active { background: var(--hfd-accent); }
.hfd-wrapper .hfd-dot.hfd-dot--done   { background: var(--hfd-green); }

/* ── QUIZ PAGES ──────────────────────────────────────────── */
.hfd-wrapper .hfd-page {
  padding: 24px 28px 20px;
}

.hfd-wrapper .hfd-question-text {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--hfd-text);
  margin-bottom: 14px;
  line-height: 1.4;
  text-align: center;
}

.hfd-wrapper .hfd-multi-hint {
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--hfd-muted);
  font-style: normal;
}

.hfd-wrapper .hfd-error {
  color: #dc2626;
  font-size: 0.82rem;
  font-weight: 500;
  margin-bottom: 10px;
  display: none;
}

.hfd-wrapper .hfd-error.hfd-error--visible { display: block !important; }

/* ── OPTION GRID ─────────────────────────────────────────── */
.hfd-wrapper .hfd-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 10px !important;
}

.hfd-wrapper .hfd-opt {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  text-align: left !important;
  gap: 14px !important;
  padding: 16px 18px !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 10px !important;
  cursor: pointer !important;
  transition: border-color 0.18s, background 0.18s, box-shadow 0.18s !important;
  background: #ffffff !important;
  min-height: 56px !important;
}

.hfd-wrapper .hfd-opt:hover {
  border-color: var(--hfd-accent) !important;
  background: #f0f9ff !important;
}

.hfd-wrapper .hfd-opt input[type="checkbox"],
.hfd-wrapper .hfd-opt input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 0;
  height: 0;
}

.hfd-wrapper .hfd-opt-icon {
  font-size: 1.25rem;
  line-height: 1;
  display: flex !important;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
}

.hfd-wrapper .hfd-opt span {
  font-size: 0.875rem;
  font-weight: 500;
  color: #334155;
  line-height: 1.35;
  flex: 1;
}

.hfd-wrapper .hfd-opt.hfd-opt--selected {
  border-color: var(--hfd-accent) !important;
  background: #f0f9ff !important;
  box-shadow: 0 0 0 3px rgba(14,165,233,0.15) !important;
}

/* ── NAVIGATION ──────────────────────────────────────────── */
.hfd-wrapper .hfd-nav {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  margin-top: 20px !important;
  padding-top: 16px !important;
  border-top: 1px solid var(--hfd-border2) !important;
}

.hfd-wrapper .hfd-nav.hfd-nav--right {
  justify-content: flex-end !important;
}

/* ── BUTTONS ─────────────────────────────────────────────── */
.hfd-wrapper .hfd-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 11px 22px !important;
  border-radius: 9px !important;
  font-size: 0.9rem !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
  transition: opacity 0.15s, transform 0.1s !important;
  text-decoration: none !important;
  line-height: 1 !important;
  border: none !important;
  outline: none !important;
}

.hfd-wrapper .hfd-btn:active { transform: scale(0.97) !important; }

.hfd-wrapper .hfd-btn.hfd-btn--primary {
  background: linear-gradient(135deg, #0ea5e9 0%, #0369a1 100%) !important;
  color: #fff !important;
}

.hfd-wrapper .hfd-btn.hfd-btn--primary:hover { opacity: 0.9 !important; }

.hfd-wrapper .hfd-btn.hfd-btn--prev {
  background: transparent !important;
  color: var(--hfd-muted) !important;
  border: 1.5px solid var(--hfd-border2) !important;
}

.hfd-wrapper .hfd-btn.hfd-btn--prev:hover { background: var(--hfd-surface) !important; }

.hfd-wrapper .hfd-btn.hfd-btn--next {
  background: linear-gradient(135deg, #0ea5e9 0%, #0369a1 100%) !important;
  color: #fff !important;
}

.hfd-wrapper .hfd-btn.hfd-btn--next:hover { opacity: 0.9 !important; }

.hfd-wrapper .hfd-btn.hfd-btn--full {
  width: 100% !important;
  max-width: 360px !important;
  margin: 0 auto !important;
  display: flex !important;
}

.hfd-wrapper .hfd-btn.hfd-btn--lg {
  padding: 14px 28px !important;
  font-size: 1rem !important;
}

/* ── LOADING ─────────────────────────────────────────────── */
.hfd-wrapper .hfd-loading {
  padding: 60px 28px;
  text-align: center;
}

.hfd-wrapper .hfd-spinner {
  width: 36px;
  height: 36px;
  border: 4px solid var(--hfd-border2);
  border-top-color: var(--hfd-accent);
  border-radius: 50%;
  animation: hfd-spin 0.75s linear infinite;
  margin: 0 auto 16px;
}

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

.hfd-wrapper .hfd-loading p {
  color: var(--hfd-muted);
  font-size: 0.9rem;
  line-height: 1.4;
}

/* ── EMAIL GATE ──────────────────────────────────────────── */
.hfd-wrapper .hfd-gate-teaser {
  background: var(--hfd-surface);
  border: 1px solid var(--hfd-border2);
  border-radius: var(--hfd-r-lg);
  padding: 24px 20px 20px;
  margin-bottom: 24px;
  text-align: center;
}

.hfd-wrapper .hfd-gate-heading {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--hfd-text);
  margin-bottom: 12px;
  line-height: 1.3;
}

.hfd-wrapper .hfd-top-match-reveal {
  margin-bottom: 16px;
}

.hfd-wrapper .hfd-match-name {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--hfd-accent-dk);
  line-height: 1.2;
  margin-bottom: 6px;
}

.hfd-wrapper .hfd-match-score {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--hfd-green);
  background: var(--hfd-green-lt);
  display: inline-block;
  padding: 4px 14px;
  border-radius: 99px;
  border: 1px solid var(--hfd-green-bdr);
}

.hfd-wrapper .hfd-locked-previews {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin: 16px 0;
}

.hfd-wrapper .hfd-locked-card {
  flex: 1;
  max-width: 200px;
  background: var(--hfd-lock-bg);
  border: 1.5px dashed var(--hfd-border2);
  border-radius: var(--hfd-r);
  padding: 14px 10px;
  text-align: center;
  color: var(--hfd-lock-color);
}

.hfd-wrapper .hfd-lock-icon {
  font-size: 1.2rem;
  display: block;
  margin-bottom: 4px;
}

.hfd-wrapper .hfd-locked-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 4px;
}

.hfd-wrapper .hfd-locked-name {
  font-size: 0.82rem;
  filter: blur(4px);
  color: #475569;
  font-weight: 600;
}

.hfd-wrapper .hfd-gate-tease-copy {
  font-size: 0.82rem;
  color: var(--hfd-muted);
  margin: 12px 0 0;
  line-height: 1.5;
}

.hfd-wrapper .hfd-gate-form-wrap {
  background: #fff;
  border: 1px solid var(--hfd-border2);
  border-radius: var(--hfd-r-lg);
  padding: 24px 20px;
}

.hfd-wrapper .hfd-gate-form-heading {
  font-size: 1rem;
  font-weight: 700;
  color: var(--hfd-text);
  margin-bottom: 6px;
  line-height: 1.3;
  text-align: center;
}

.hfd-wrapper .hfd-gate-form-sub {
  font-size: 0.83rem;
  color: var(--hfd-muted);
  margin: 0 0 16px;
  line-height: 1.5;
  text-align: center;
}

.hfd-wrapper .hfd-gate-input-row {
  display: flex;
  gap: 8px;
}

.hfd-wrapper .hfd-email-input {
  flex: 1 !important;
  padding: 11px 14px !important;
  border: 1.5px solid var(--hfd-border2) !important;
  border-radius: 9px !important;
  font-size: 0.9rem !important;
  font-family: inherit !important;
  outline: none !important;
  transition: border-color 0.15s !important;
  background: #fff !important;
  color: var(--hfd-text) !important;
}

.hfd-wrapper .hfd-email-input:focus {
  border-color: var(--hfd-accent) !important;
}

.hfd-wrapper .hfd-gate-bonus {
  background: var(--hfd-green-lt);
  border: 1px solid var(--hfd-green-bdr);
  border-radius: 9px;
  padding: 10px 14px;
  font-size: 0.83rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--hfd-slate);
  text-align: center;
  margin: 0 0 22px;
}

.hfd-wrapper #hfdGateError {
  display: block !important;
  min-height: 1.3em;
  margin-bottom: 8px;
  visibility: hidden;
  text-align: center;
}

.hfd-wrapper #hfdGateError.hfd-error--visible {
  visibility: visible;
}

.hfd-wrapper .hfd-ebook-reminder {
  background: var(--hfd-green-lt);
  border-top: 1px solid var(--hfd-green-bdr);
  padding: 16px 28px 4px;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--hfd-slate);
  text-align: center;
  margin-top: 24px;
}

/* ── RESULTS ─────────────────────────────────────────────── */
.hfd-wrapper .hfd-screen--results {
  padding: 0 !important;
}

.hfd-wrapper .hfd-results-header {
  padding: 20px 28px 12px;
  border-bottom: 1px solid var(--hfd-border2);
  text-align: center;
}

.hfd-wrapper .hfd-results-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--hfd-text);
  line-height: 1.2;
}

.hfd-wrapper .hfd-results-sub {
  font-size: 0.82rem;
  color: var(--hfd-muted);
  margin-top: 3px;
  line-height: 1.4;
}

.hfd-wrapper .hfd-result-card {
  border-bottom: 1px solid var(--hfd-border2);
  padding: 24px 28px;
}

.hfd-wrapper .hfd-result-card:last-child { border-bottom: none; }

.hfd-wrapper .hfd-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.hfd-wrapper .hfd-card-num {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--hfd-muted);
  margin-bottom: 3px;
}

.hfd-wrapper .hfd-card-name {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--hfd-text);
  line-height: 1.2;
}

.hfd-wrapper .hfd-card-score {
  background: var(--hfd-green-lt);
  color: var(--hfd-green);
  border: 1px solid var(--hfd-green-bdr);
  border-radius: 99px;
  padding: 4px 14px;
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
}

.hfd-wrapper .hfd-card-income {
  display: inline-block;
  background: #f0f9ff;
  color: var(--hfd-accent-dk);
  border: 1px solid #bae6fd;
  border-radius: 99px;
  padding: 3px 12px;
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.hfd-wrapper .hfd-card-desc {
  font-size: 0.85rem;
  color: var(--hfd-slate);
  line-height: 1.65;
  margin-bottom: 16px;
}

.hfd-wrapper .hfd-steps-title {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--hfd-muted);
  margin-bottom: 8px;
}

.hfd-wrapper .hfd-step {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 8px 0;
  border-bottom: 1px solid var(--hfd-border2);
  font-size: 0.83rem;
  color: var(--hfd-slate);
  line-height: 1.5;
}

.hfd-wrapper .hfd-step:last-of-type { border-bottom: none; }

.hfd-wrapper .hfd-step-num {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  background: var(--hfd-accent);
  color: #fff;
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.hfd-wrapper .hfd-step--locked {
  background: var(--hfd-lock-bg);
  border-radius: var(--hfd-r);
  padding: 10px 14px;
  color: var(--hfd-lock-color);
  font-size: 0.82rem;
  font-weight: 600;
  border: 1.5px dashed var(--hfd-border2);
  margin-top: 8px;
  display: block;
}

.hfd-wrapper .hfd-locked-section {
  margin-top: 10px;
  background: var(--hfd-lock-bg);
  border: 1.5px dashed var(--hfd-border2);
  border-radius: var(--hfd-r);
  padding: 10px 14px;
  color: var(--hfd-lock-color);
  font-size: 0.82rem;
  font-weight: 600;
  display: block;
}

.hfd-wrapper .hfd-locked-overlay {
  background: var(--hfd-lock-bg);
  border: 1.5px dashed var(--hfd-border2);
  border-radius: var(--hfd-r);
  padding: 14px 16px;
  color: var(--hfd-lock-color);
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
  margin-top: 10px;
}

.hfd-wrapper .hfd-see-full {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--hfd-accent);
  text-decoration: none;
  cursor: pointer;
  border: none !important;
  background: none !important;
}

.hfd-wrapper .hfd-see-full:hover { text-decoration: underline; }

/* ── UPGRADE SECTION ─────────────────────────────────────── */
.hfd-wrapper .hfd-upgrade-section {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  border-top: 1px solid #bae6fd;
  padding: 28px 28px 32px;
  text-align: center;
}

.hfd-wrapper .hfd-upgrade-heading {
  font-size: 1rem;
  font-weight: 700;
  color: var(--hfd-text);
  margin-bottom: 16px;
  line-height: 1.4;
}

.hfd-wrapper .hfd-upgrade-list {
  text-align: left;
  display: inline-block;
  list-style: none !important;
  padding: 16px 20px !important;
  margin: 0 0 20px !important;
  background: #fff;
  border: 1px solid #bae6fd;
  border-radius: var(--hfd-r-lg);
  min-width: 260px;
}

.hfd-wrapper .hfd-upgrade-list li {
  padding: 5px 0 !important;
  font-size: 0.87rem !important;
  color: var(--hfd-slate) !important;
  border-bottom: 1px solid var(--hfd-border2) !important;
  line-height: 1.45 !important;
}

.hfd-wrapper .hfd-upgrade-list li:last-child { border-bottom: none !important; }

.hfd-wrapper .hfd-upgrade-price {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--hfd-text);
  margin-bottom: 14px;
}

.hfd-wrapper .hfd-upgrade-guarantee {
  font-size: 0.78rem;
  color: var(--hfd-muted);
  margin-top: 10px;
}

/* ── STICKY BAR ──────────────────────────────────────────── */
/* Sticky is fixed/full-width so must live outside .hfd-wrapper,
   but uses a unique prefixed class: .hfdemo-sticky */
.hfdemo-sticky {
  position: fixed !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  background: linear-gradient(135deg, #0ea5e9 0%, #0369a1 100%) !important;
  color: #fff !important;
  /* FIX: no !important on display — the inline style="display:none" (and
     the JS show/hide/dismiss toggling) must be able to override this, or
     the bar shows immediately on page load and never dismisses. */
  display: flex;
  align-items: center !important;
  justify-content: center !important;
  gap: 14px !important;
  padding: 12px 50px 12px 20px !important;
  z-index: 99999 !important;
  box-shadow: 0 -4px 20px rgba(3,105,161,0.25) !important;
  font-size: 0.88rem !important;
  font-weight: 600 !important;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
}

.hfdemo-sticky a.hfdemo-sticky__btn {
  background: #fff !important;
  color: #0369a1 !important;
  font-size: 0.82rem !important;
  padding: 8px 18px !important;
  border-radius: 7px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}

.hfdemo-sticky__dismiss {
  position: absolute !important;
  right: 16px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  background: transparent !important;
  border: none !important;
  color: rgba(255,255,255,0.7) !important;
  cursor: pointer !important;
  font-size: 1.1rem !important;
  padding: 4px 8px !important;
  line-height: 1 !important;
}

.hfdemo-sticky__dismiss:hover { color: #fff !important; }

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 600px) {
  .hfd-wrapper .hfd-screen { padding: 20px 16px; }
  .hfd-wrapper .hfd-page   { padding: 20px 16px 16px; }
  .hfd-wrapper .hfd-grid   { grid-template-columns: 1fr; }
  .hfd-wrapper .hfd-gate-input-row { flex-direction: column; }
  .hfd-wrapper .hfd-result-card { padding: 20px 16px; }
  .hfd-wrapper .hfd-upgrade-section { padding: 20px 16px 24px; }
  .hfd-wrapper .hfd-app .hfd-header { padding: 24px 16px 18px !important; }
  .hfd-wrapper .hfd-progress-wrap { padding: 12px 16px 0; }
  .hfdemo-sticky { flex-wrap: wrap; gap: 8px; padding: 10px 40px 10px 16px !important; }
}
