/* ADHD funnel — Mentalabs-style patterns in FocusBox's design language.
   Reuses tokens from adhd-test.css (:root --primary-color #6366f1, --success-color #10b981, etc.) */

/* ── Base button (Bootstrap CDN removed; the page's .btn-primary/.btn-success/etc.
   only set colours and relied on Bootstrap for this base). Plain .btn = same specificity
   as Bootstrap's, so the existing colour variants cascade exactly as before. ── */
.btn {
  display: inline-block; font-family: inherit; font-weight: 600; line-height: 1.5;
  text-align: center; text-decoration: none; vertical-align: middle; white-space: normal;
  cursor: pointer; user-select: none; border: 1px solid transparent;
  padding: 12px 24px; font-size: 1rem; border-radius: 10px; transition: all .15s ease-in-out;
}
.btn:disabled, .btn[disabled] { opacity: .6; cursor: not-allowed; }
.btn-lg { padding: 16px 32px; font-size: 1.1rem; }

/* ── Emoji-thumbs scale (replaces the vertical text radios) ── */
.adhd-test-page .thumb-scale { display: flex; justify-content: center; align-items: center;
  gap: 14px; margin: 8px 0 6px; }
.adhd-test-page .thumb-ends { display: flex; justify-content: space-between;
  max-width: 460px; margin: 0 auto 18px; color: var(--text-secondary); font-size: .9rem; font-weight: 600; }
.adhd-test-page .thumb-option { position: relative; display: grid; place-items: center;
  border: 2px solid var(--border-color); border-radius: 50%; background: var(--bg-secondary);
  cursor: pointer; transition: all .2s cubic-bezier(.4,0,.2,1); }
.adhd-test-page .thumb-option input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
/* size by distance from centre: big-mid-small-mid-big (Mentalabs weighting) */
.adhd-test-page .thumb-option[data-v="0"], .adhd-test-page .thumb-option[data-v="4"] { width: 76px; height: 76px; font-size: 2rem; }
.adhd-test-page .thumb-option[data-v="1"], .adhd-test-page .thumb-option[data-v="3"] { width: 64px; height: 64px; font-size: 1.6rem; }
.adhd-test-page .thumb-option[data-v="2"] { width: 56px; height: 56px; font-size: 1.3rem; }
.adhd-test-page .thumb-option[data-v="0"]:hover, .adhd-test-page .thumb-option[data-v="1"]:hover { border-color: var(--danger-color); }
.adhd-test-page .thumb-option[data-v="2"]:hover { border-color: var(--warning-color); }
.adhd-test-page .thumb-option[data-v="3"]:hover, .adhd-test-page .thumb-option[data-v="4"]:hover { border-color: var(--success-color); }
.adhd-test-page .thumb-option:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.adhd-test-page .thumb-option.selected { transform: scale(1.08); }
.adhd-test-page .thumb-option[data-v="0"].selected, .adhd-test-page .thumb-option[data-v="1"].selected {
  border-color: var(--danger-color); background: rgba(239,68,68,.08); box-shadow: 0 0 0 4px rgba(239,68,68,.15); }
.adhd-test-page .thumb-option[data-v="2"].selected {
  border-color: var(--warning-color); background: rgba(245,158,11,.08); box-shadow: 0 0 0 4px rgba(245,158,11,.15); }
.adhd-test-page .thumb-option[data-v="3"].selected, .adhd-test-page .thumb-option[data-v="4"].selected {
  border-color: var(--success-color); background: rgba(16,185,129,.08); box-shadow: 0 0 0 4px rgba(16,185,129,.15); }

/* ── Illustrated encouragement card ── */
.adhd-test-page .enc-card, .adhd-test-page .analyzing-card, .adhd-test-page .paywall-card {
  background: var(--bg-primary); border-radius: 24px; box-shadow: var(--shadow-xl);
  padding: 56px 40px; text-align: center; max-width: 640px; margin: 0 auto; }
.adhd-test-page .enc-illustration { width: 96px; height: 96px; margin: 0 auto 20px; border-radius: 50%;
  display: grid; place-items: center; font-size: 3rem;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light)); }
.adhd-test-page .enc-illustration::before { content: "🚀"; }
.adhd-test-page .enc-card.almost .enc-illustration::before { content: "🏆"; }
.adhd-test-page .enc-title, .adhd-test-page .analyzing-title, .adhd-test-page .paywall-title {
  font-size: 1.9rem; font-weight: 800; color: var(--text-primary); margin-bottom: 12px; letter-spacing: -.02em; }
.adhd-test-page .enc-text, .adhd-test-page .analyzing-text { color: var(--text-secondary); font-size: 1.1rem; margin-bottom: 28px; }

/* ── Demographics ── */
.adhd-test-page .demo-title { font-size: 1.6rem; font-weight: 800; text-align: center; margin-bottom: 24px; color: var(--text-primary); }
.adhd-test-page .demo-options { display: flex; flex-direction: column; gap: 12px; max-width: 460px; margin: 0 auto; }
.adhd-test-page .demo-option { padding: 16px 22px; border: 2px solid var(--border-color); border-radius: 16px;
  background: var(--bg-secondary); color: var(--text-primary); cursor: pointer; font-size: 1.05rem; font-weight: 500;
  text-align: left; transition: all .2s ease; }
.adhd-test-page .demo-option:hover { border-color: var(--primary-color); background: var(--bg-primary);
  transform: translateX(8px); box-shadow: var(--shadow-md); }

/* ── Analyzing ── */
.adhd-test-page .analyzing-spinner { width: 56px; height: 56px; margin: 0 auto 24px; border-radius: 50%;
  border: 5px solid var(--bg-tertiary); border-top-color: var(--primary-color); animation: adhdSpin 1s linear infinite; }
@keyframes adhdSpin { to { transform: rotate(360deg); } }
.adhd-test-page .analyzing-dims { list-style: none; padding: 0; max-width: 420px; margin: 8px auto 24px; }
.adhd-test-page .analyzing-dim { padding: 14px 18px; margin: 10px 0; border-radius: 14px; background: var(--bg-secondary);
  display: flex; justify-content: space-between; align-items: center; font-weight: 600; color: var(--text-secondary);
  opacity: .45; transition: opacity .35s ease, transform .35s ease; }
.adhd-test-page .analyzing-dim.done { opacity: 1; color: var(--text-primary); transform: translateX(4px); }
.adhd-test-page .analyzing-dim.done::after { content: "✓"; color: var(--success-color); font-weight: 800; font-size: 1.1rem; }
.adhd-test-page .analyzing-review { color: var(--text-secondary); font-style: italic; min-height: 2.5em; transition: opacity .4s; }

/* ── Paywall ── */
.adhd-test-page .paywall-subtitle { color: var(--text-secondary); font-size: 1.15rem; margin-bottom: 24px; }
.adhd-test-page .paywall-teaser { position: relative; border-radius: 16px; padding: 24px; margin-bottom: 24px;
  background: var(--bg-secondary); overflow: hidden; }
.adhd-test-page .paywall-teaser-bars { filter: blur(7px); pointer-events: none; display: grid; gap: 10px; }
.adhd-test-page .teaser-bar { height: 18px; border-radius: 100px;
  background: linear-gradient(90deg, var(--success-color), var(--warning-color), var(--danger-color)); }
.adhd-test-page .teaser-bar:nth-child(2) { width: 80%; } .adhd-test-page .teaser-bar:nth-child(3) { width: 60%; }
.adhd-test-page .teaser-bar:nth-child(4) { width: 90%; } .adhd-test-page .teaser-bar:nth-child(5) { width: 45%; }
.adhd-test-page .paywall-teaser-lock { position: absolute; inset: 0; display: grid; place-items: center; font-size: 2.4rem; z-index: 2; }
.adhd-test-page .paywall-teaser-label { position: absolute; bottom: 10px; left: 0; right: 0; text-align: center;
  font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; color: var(--text-light); z-index: 2; }
.adhd-test-page .paywall-bullets { list-style: none; padding: 0; max-width: 460px; margin: 0 auto 24px; text-align: left; }
.adhd-test-page .paywall-bullets li { padding: 10px 0 10px 30px; position: relative; color: var(--text-primary); }
.adhd-test-page .paywall-bullets li::before { content: "✓"; position: absolute; left: 0; color: var(--success-color); font-weight: 800; }
.adhd-test-page .paywall-cta { width: 100%; max-width: 460px; }
.adhd-test-page .paywall-ctasub { color: var(--text-light); font-size: .9rem; margin: 10px 0 24px; }
.adhd-test-page .paywall-trust { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 20px; }
.adhd-test-page .trust-badge { flex: 1 1 160px; max-width: 180px; padding: 16px; border-radius: 14px; background: var(--bg-secondary); }
.adhd-test-page .trust-title { font-weight: 800; color: var(--text-primary); margin-bottom: 4px; }
.adhd-test-page .trust-text { font-size: .85rem; color: var(--text-secondary); }
.adhd-test-page .paywall-rating { font-weight: 700; color: var(--text-primary); margin-bottom: 16px; }
.adhd-test-page .paywall-livefeed { font-size: .9rem; color: var(--success-dark); font-weight: 600; margin-bottom: 16px; }
.adhd-test-page .paywall-reviews blockquote { background: var(--bg-secondary); border-radius: 14px; padding: 18px;
  margin: 12px auto; max-width: 520px; font-style: italic; color: var(--text-secondary); }

/* ── Report (gated) ── */
.adhd-test-page .report-heading { text-align: center; font-size: 2rem; font-weight: 800; margin-bottom: 24px; }
.adhd-test-page .report-overall { text-align: center; margin-bottom: 28px; }
.adhd-test-page .report-dimensions { display: grid; gap: 16px; max-width: 600px; margin: 0 auto 32px; }
.adhd-test-page .report-dim { background: var(--bg-primary); border-radius: 16px; box-shadow: var(--shadow-md); padding: 18px 20px; }
.adhd-test-page .report-dim-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; font-weight: 700; }
.adhd-test-page .report-bar { height: 14px; border-radius: 100px; background: var(--bg-tertiary); overflow: hidden; }
.adhd-test-page .report-bar-fill { height: 100%; border-radius: 100px; transition: width .6s ease; }
.adhd-test-page .report-band { font-weight: 800; text-transform: uppercase; font-size: .8rem; letter-spacing: .5px; }
.adhd-test-page .report-band.low { color: var(--success-color); }
.adhd-test-page .report-band.moderate { color: var(--warning-color); }
.adhd-test-page .report-band.high { color: var(--danger-color); }
.adhd-test-page .report-bar-fill.low { background-color: var(--success-color); }
.adhd-test-page .report-bar-fill.moderate { background-color: var(--warning-color); }
.adhd-test-page .report-bar-fill.high { background-color: var(--danger-color); }
.adhd-test-page .report-program { text-align: center; background: var(--bg-secondary); border-radius: 20px; padding: 32px; max-width: 600px; margin: 0 auto 24px; }
.adhd-test-page .report-disclaimer { font-size: .85rem; color: var(--text-light); text-align: center; max-width: 600px; margin: 0 auto; }
