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

/* ── Design tokens ────────────────────────────────────────────────────────── */
:root {
  --xb-canvas:       #f5f1ec;
  --xb-surface:      #ffffff;
  --xb-surface-soft: #ebe7e1;
  --xb-ink:          #111111;
  --xb-body:         #3f3f3c;
  --xb-muted:        #626260;
  --xb-line:         #d3cec6;

  --xb-primary:       #111111;
  --xb-primary-hover: #000000;
  --xb-primary-soft:  #ffe1d2;
  --xb-fin-orange:    #ff5600;
  --xb-orange-soft:   #ffe1d2;

  --xb-doc-purple: #5645d4;
  --xb-pay-indigo: #533afd;
  --xb-pay-navy:   #1c1e54;
  --xb-success:    #0b9f50;
  --xb-warning:    #d08a24;
  --xb-error:      #c64545;

  /* type accent colors */
  --type-a: #d08a24;
  --type-b: #4f9f70;
  --type-c: #5645d4;

  --r:      8px;
  --r-card: 12px;
}

html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "PingFang SC", sans-serif;
  background: var(--xb-canvas);
  color: var(--xb-ink);
  line-height: 1.75;
  min-height: 100vh;
  font-size: 16px;
}
a { color: var(--xb-primary); text-decoration: none; }
img { max-width: 100%; display: block; }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--xb-surface-soft); }
::-webkit-scrollbar-thumb { background: var(--xb-line); border-radius: 3px; }

/* ── Layout ───────────────────────────────────────────────────────────────── */
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ── Buttons ──────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 10px 22px; border-radius: var(--r); font-weight: 700; font-size: 15px;
  cursor: pointer; border: none; transition: all .18s; white-space: nowrap;
  text-decoration: none; font-family: inherit; letter-spacing: -.01em;
}
.btn-primary { background: var(--xb-primary); color: #fff; }
.btn-primary:hover {
  background: var(--xb-primary-hover); transform: translateY(-1px);
  box-shadow: 0 4px 18px rgba(204,120,92,.32);
}
.btn-outline {
  background: transparent; color: var(--xb-primary);
  border: 1.5px solid var(--xb-primary);
}
.btn-outline:hover { background: var(--xb-primary-soft); }
.btn-ghost {
  background: var(--xb-surface); color: var(--xb-muted);
  border: 1.5px solid var(--xb-line);
}
.btn-ghost:hover { border-color: var(--xb-primary); color: var(--xb-primary); }
.btn-pay {
  background: var(--xb-pay-indigo); color: #fff; border-radius: 999px;
}
.btn-pay:hover {
  background: #3d25e0; transform: translateY(-1px);
  box-shadow: 0 4px 22px rgba(83,58,253,.38);
}
.btn-sm  { padding: 6px 14px; font-size: 13px; }
.btn-lg  { padding: 13px 28px; font-size: 16px; }
.btn-xl  { padding: 15px 40px; font-size: 17px; }
.btn-submit { background: var(--xb-success) !important; }
.w100 { width: 100%; }
.mt8  { margin-top: 8px; }

/* ── Navbar ───────────────────────────────────────────────────────────────── */
.navbar {
  position: sticky; top: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 28px;
  background: rgba(250,247,240,.94); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--xb-line);
}
.navbar-brand {
  font-size: 18px; font-weight: 800; color: var(--xb-ink);
  display: flex; align-items: center; gap: 9px; text-decoration: none;
}
.brand-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--xb-primary);
}
.nav-cta { font-size: 13px; }

/* ── Footer ───────────────────────────────────────────────────────────────── */
.site-footer {
  text-align: center; padding: 32px 20px;
  border-top: 1px solid var(--xb-line);
  color: var(--xb-muted); font-size: 13px; line-height: 2;
  background: var(--xb-surface);
}
.footer-slogan { color: var(--xb-line); }

/* kept for template compat — was gradient text, now warm */
.grad { color: var(--xb-primary); }

/* ══════════════════════════════════════════════════════════════════════════
   INDEX PAGE
   ══════════════════════════════════════════════════════════════════════════ */
.hero {
  padding: 88px 0 64px;
  text-align: center;
  background: var(--xb-surface);
  border-bottom: 1px solid var(--xb-line);
}
.hero-badge, .hero-eyebrow {
  display: inline-block; padding: 5px 14px; border-radius: 999px; margin-bottom: 22px;
  background: var(--xb-primary-soft); border: 1px solid rgba(204,120,92,.25);
  font-size: 13px; color: var(--xb-primary); font-weight: 600;
}
.hero-title {
  font-size: clamp(32px, 5.5vw, 56px); font-weight: 800;
  line-height: 1.12; margin-bottom: 18px; color: var(--xb-ink);
  letter-spacing: -.025em;
}
.hero-sub {
  font-size: clamp(15px, 2vw, 17px); color: var(--xb-body);
  max-width: 500px; margin: 0 auto 36px; line-height: 1.85;
}
.hero-cta-row {
  display: flex; align-items: center; justify-content: center;
  gap: 12px; flex-wrap: wrap;
}
.hero-meta { font-size: 12px; color: var(--xb-muted); margin-top: 16px; }
.hero-trust {
  display: flex; align-items: center; justify-content: center;
  gap: 32px; margin-top: 48px; padding-top: 32px;
  border-top: 1px solid var(--xb-line); flex-wrap: wrap;
}
.trust-item {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
}
.trust-num  { font-size: 22px; font-weight: 800; color: var(--xb-ink); }
.trust-label { font-size: 12px; color: var(--xb-muted); }

/* hero-orbs — removed, kept for template compat */
.hero-orb, .orb-1, .orb-2 { display: none; }
.hero-inner { position: relative; }

/* Section scaffold */
.sec { padding: 80px 0; }
.sec-dark   { background: var(--xb-surface-soft); border-top: 1px solid var(--xb-line); border-bottom: 1px solid var(--xb-line); }
.cta-final  { background: var(--xb-surface); border-top: 1px solid var(--xb-line); }
.sec-label {
  font-size: 11px; text-transform: uppercase; letter-spacing: 2px;
  color: var(--xb-primary); margin-bottom: 8px; text-align: center; font-weight: 600;
}
.sec-title {
  font-size: clamp(22px, 3.5vw, 32px); font-weight: 800;
  text-align: center; margin-bottom: 10px; color: var(--xb-ink); letter-spacing: -.02em;
}
.sec-sub { text-align: center; color: var(--xb-muted); margin-bottom: 48px; font-size: 15px; }

/* Type cards */
.types-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: 16px; }
.type-card {
  background: var(--xb-surface); border: 1px solid var(--xb-line);
  border-radius: var(--r-card); padding: 28px 24px;
  transition: box-shadow .2s, transform .2s; position: relative; overflow: hidden;
}
.type-card::before { content:''; position:absolute; top:0; left:0; right:0; height:3px; }
.type-a::before { background: var(--type-a); }
.type-b::before { background: var(--type-b); }
.type-c::before { background: var(--type-c); }
.type-card:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(40,30,20,.1); }
.type-emoji { font-size: 28px; margin-bottom: 12px; }
.type-card h3 { font-size: 17px; font-weight: 800; margin-bottom: 6px; color: var(--xb-ink); }
.type-quote { font-size: 13px; color: var(--xb-muted); font-style: italic; margin-bottom: 10px; }
.type-desc  { font-size: 13px; color: var(--xb-body); line-height: 1.7; margin-bottom: 16px; }
.type-pct   {
  font-size: 12px; color: var(--xb-muted);
  background: var(--xb-surface-soft); padding: 3px 10px;
  border-radius: 999px; display: inline-block; border: 1px solid var(--xb-line);
}

/* Logic flow */
.logic-grid {
  display: flex; align-items: flex-start; justify-content: center;
  gap: 20px; flex-wrap: wrap; margin-top: 48px;
}
.logic-item { text-align: center; max-width: 200px; }
.logic-num  {
  font-size: 36px; font-weight: 900; color: var(--xb-line);
  line-height: 1; margin-bottom: 12px;
}
.logic-item h4 { font-size: 15px; font-weight: 700; margin-bottom: 6px; color: var(--xb-ink); }
.logic-item p  { font-size: 13px; color: var(--xb-muted); line-height: 1.7; }
.logic-arrow   { font-size: 22px; color: var(--xb-line); margin-top: 38px; }

/* Preview block */
.preview-row { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; margin-top: 40px; }
.mock-card {
  background: var(--xb-surface); border: 1px solid var(--xb-line);
  border-radius: var(--r-card); padding: 22px;
  box-shadow: 0 8px 28px rgba(40,30,20,.07);
}
.mock-type-badge {
  display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: 12px;
  background: rgba(79,159,112,.1); border: 1px solid rgba(79,159,112,.25);
  color: var(--type-b); margin-bottom: 10px; font-weight: 600;
}
.mock-quote { font-size: 14px; color: var(--xb-muted); font-style: italic; margin-bottom: 16px; }
.mock-bars { display: grid; gap: 10px; }
.mock-bar-row { display: flex; align-items: center; gap: 8px; font-size: 12px; }
.mock-bar-row > span:first-child { width: 70px; color: var(--xb-muted); flex-shrink:0; }
.mock-bar { flex: 1; height: 6px; background: var(--xb-line); border-radius: 3px; overflow:hidden; }
.mock-fill { height: 100%; background: var(--xb-primary); border-radius: 3px; }
.mock-bar-row > span:last-child { width: 28px; text-align: right; color: var(--xb-muted); font-size: 11px; }
.mock-lock {
  margin-top: 14px; text-align: center; padding: 9px; border-radius: var(--r);
  font-size: 12px; color: var(--xb-muted);
  background: var(--xb-surface-soft); border: 1px dashed var(--xb-line);
}
.check-list { list-style: none; display: grid; gap: 8px; }
.check-list li {
  font-size: 14px; color: var(--xb-body);
  padding: 9px 14px; background: var(--xb-surface);
  border: 1px solid var(--xb-line); border-radius: var(--r);
}
.check-list.gold li {
  border-color: rgba(208,138,36,.25);
  background: rgba(208,138,36,.05); color: var(--xb-ink);
}

/* Reviews */
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(260px,1fr)); gap: 16px; margin-top: 36px; }
.review-card {
  background: var(--xb-surface); border: 1px solid var(--xb-line);
  border-radius: var(--r-card); padding: 22px;
}
.review-stars { color: var(--xb-warning); font-size: 14px; margin-bottom: 10px; }
.review-card p { font-size: 13px; color: var(--xb-body); line-height: 1.85; margin-bottom: 10px; font-style: italic; }
.review-who { font-size: 12px; color: var(--xb-muted); }

/* ══════════════════════════════════════════════════════════════════════════
   SURVEY PAGE
   ══════════════════════════════════════════════════════════════════════════ */
.survey-topbar {
  position: sticky; top: 60px; z-index: 190;
  background: rgba(250,247,240,.97); backdrop-filter: blur(10px);
  padding: 12px 0; border-bottom: 1px solid var(--xb-line);
}
.prog-meta {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; color: var(--xb-muted); margin-bottom: 8px;
}
.prog-track { height: 3px; background: var(--xb-line); border-radius: 2px; overflow: hidden; }
.prog-fill  { height: 100%; width: 0; background: var(--xb-primary); transition: width .4s ease; }

.survey-body { padding: 48px 0 110px; }

.q-slide { display: none; animation: fadeUp .26s ease; }
.q-slide.active { display: block; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.q-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.q-num  {
  font-size: 11px; font-weight: 700; color: var(--xb-primary);
  letter-spacing: 1px; text-transform: uppercase;
}
.q-group-tag {
  font-size: 11px; color: var(--xb-muted);
  background: var(--xb-surface-soft); padding: 2px 9px; border-radius: 999px;
  border: 1px solid var(--xb-line);
}
.q-text {
  font-size: clamp(18px, 3vw, 24px); font-weight: 700;
  line-height: 1.4; margin-bottom: 8px; max-width: 640px;
  color: var(--xb-ink); letter-spacing: -.01em;
}
.q-hint { font-size: 12px; color: var(--xb-muted); margin-bottom: 20px; }

.options-wrap { display: grid; gap: 10px; max-width: 640px; }
.opt-card {
  display: flex; align-items: center; gap: 14px;
  background: var(--xb-surface); border: 1.5px solid var(--xb-line);
  border-radius: var(--r); padding: 14px 18px; cursor: pointer;
  transition: all .14s; user-select: none;
}
.opt-card:hover { border-color: var(--xb-primary); background: var(--xb-primary-soft); }
.opt-card.selected { border-color: var(--xb-primary); background: var(--xb-primary-soft); }

.opt-dot {
  width: 18px; height: 18px; border-radius: 50%; flex-shrink: 0;
  border: 2px solid var(--xb-line); transition: all .14s;
}
.opt-card.selected .opt-dot { border-color: var(--xb-primary); background: var(--xb-primary); }

.opt-box {
  width: 18px; height: 18px; border-radius: 4px; flex-shrink: 0;
  border: 2px solid var(--xb-line); transition: all .14s;
  display: flex; align-items: center; justify-content: center;
}
.opt-card.selected .opt-box { border-color: var(--xb-primary); background: var(--xb-primary); }
.opt-card.selected .opt-box::after { content: '✓'; color: #fff; font-size: 11px; font-weight: 900; }
.opt-txt { font-size: 15px; flex: 1; font-weight: 600; color: var(--xb-ink); }

.q-textarea {
  width: 100%; max-width: 640px;
  background: var(--xb-surface); border: 1.5px solid var(--xb-line);
  border-radius: var(--r); color: var(--xb-ink); padding: 14px 16px;
  font-size: 15px; font-family: inherit; line-height: 1.7;
  resize: vertical; outline: none; transition: border-color .18s;
}
.q-textarea:focus { border-color: var(--xb-primary); box-shadow: 0 0 0 3px var(--xb-primary-soft); }
.q-textarea::placeholder { color: var(--xb-muted); }
.textarea-count { font-size: 11px; color: var(--xb-muted); margin-top: 5px; max-width: 640px; text-align: right; }

.survey-nav { display: flex; align-items: center; gap: 10px; margin-top: 28px; max-width: 640px; }
.survey-err {
  margin-top: 14px; padding: 11px 14px; border-radius: var(--r);
  background: rgba(198,69,69,.08); border: 1px solid rgba(198,69,69,.2);
  color: var(--xb-error); font-size: 13px;
}

/* Loading animation */
#slide-loading { text-align: center; padding: 60px 0; }
.loading-box { position: relative; width: 72px; height: 72px; margin: 0 auto 28px; }
.spin-ring {
  width: 72px; height: 72px; border-radius: 50%;
  border: 3px solid var(--xb-line); border-top-color: var(--xb-primary);
  animation: spin 1s linear infinite; position: absolute;
}
.spin-emoji {
  position: absolute; inset: 0; display: flex;
  align-items: center; justify-content: center; font-size: 28px;
}
@keyframes spin { to { transform: rotate(360deg); } }
.loading-title { font-size: 20px; font-weight: 700; margin-bottom: 8px; color: var(--xb-ink); }
.loading-sub   { color: var(--xb-muted); font-size: 14px; margin-bottom: 28px; }
.loading-steps { display: flex; flex-direction: column; gap: 9px; align-items: center; }
.lstep {
  font-size: 13px; color: var(--xb-muted);
  padding: 8px 20px; border-radius: 999px;
  background: var(--xb-surface); border: 1px solid var(--xb-line); transition: all .3s;
}
.lstep.done { color: var(--xb-success); border-color: rgba(79,159,112,.3); background: rgba(79,159,112,.07); font-weight: 600; }

/* ══════════════════════════════════════════════════════════════════════════
   RESULT FREE PAGE
   ══════════════════════════════════════════════════════════════════════════ */
.res-hero {
  text-align: center;
  padding: 68px 0 54px;
  background: var(--xb-surface);
  border-bottom: 1px solid var(--xb-line);
  position: relative;
}
.res-amber  { border-top: 3px solid var(--type-a); }
.res-cyan   { border-top: 3px solid var(--type-b); }
.res-purple { border-top: 3px solid var(--type-c); }

/* removed orb */
.res-hero-orb { display: none; }
.res-hero-inner { position: relative; }

.res-done-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 14px; border-radius: 999px; margin-bottom: 18px;
  background: rgba(79,159,112,.08); border: 1px solid rgba(79,159,112,.22);
  font-size: 12px; color: var(--xb-success); font-weight: 600;
}
.res-emoji     { font-size: 52px; margin-bottom: 6px; }
.res-type-label { font-size: 11px; color: var(--xb-muted); text-transform: uppercase;
                  letter-spacing: 2px; margin-bottom: 6px; }
.res-type-name {
  font-size: clamp(28px, 5vw, 46px); font-weight: 800; margin-bottom: 8px;
  letter-spacing: -.025em;
}
.res-amber  .res-type-name { color: var(--type-a); }
.res-cyan   .res-type-name { color: var(--type-b); }
.res-purple .res-type-name { color: var(--type-c); }
.res-tagline { font-size: 16px; color: var(--xb-body); margin-bottom: 12px; }
.res-count   { font-size: 13px; color: var(--xb-muted); }
.res-count strong { color: var(--xb-body); font-weight: 700; }

.res-sec      { padding: 56px 0; }
.res-sec-dark { background: var(--xb-surface-soft); border-top: 1px solid var(--xb-line); border-bottom: 1px solid var(--xb-line); }
.res-sec-title { font-size: clamp(19px, 3vw, 26px); font-weight: 800; text-align: center; margin-bottom: 8px; color: var(--xb-ink); letter-spacing: -.01em; }
.res-sec-sub   { text-align: center; color: var(--xb-muted); margin-bottom: 36px; font-size: 14px; }

/* Mirror paragraphs */
.res-mirror { max-width: 680px; margin: 0 auto; }
.mirror-para {
  font-size: 16px; color: var(--xb-body); line-height: 1.9;
  margin-bottom: 14px; padding: 18px 22px;
  background: var(--xb-surface);
  border: 1px solid var(--xb-line); border-left: 3px solid var(--xb-primary);
  border-radius: 0 var(--r) var(--r) 0;
}

/* 5-dimension bars */
.dims-wrap { max-width: 640px; margin: 0 auto; display: grid; gap: 22px; }
.dim-row { display: grid; grid-template-columns: 120px 1fr 36px; align-items: center; gap: 14px; }
.dim-label { font-size: 13px; color: var(--xb-body); text-align: right; font-weight: 500; }
.dim-track { height: 8px; background: var(--xb-line); border-radius: 4px; overflow: hidden; }
.dim-fill  { height: 100%; width: 0; border-radius: 4px; transition: width .05s linear; }
.dim-fill-amber  { background: var(--type-a); }
.dim-fill-cyan   { background: var(--type-b); }
.dim-fill-purple { background: var(--type-c); }
.dim-score { font-size: 13px; font-weight: 700; color: var(--xb-ink); }
.dims-note { text-align: center; font-size: 11px; color: var(--xb-muted); margin-top: 16px; }

/* Teaser card */
.teaser-card {
  border-radius: var(--r-card); border: 1px solid var(--xb-line);
  overflow: hidden; max-width: 680px; margin: 0 auto;
  background: var(--xb-surface);
}
.teaser-amber  { border-top: 2px solid var(--type-a); }
.teaser-cyan   { border-top: 2px solid var(--type-b); }
.teaser-purple { border-top: 2px solid var(--type-c); }
.teaser-row { display: flex; gap: 14px; align-items: flex-start; padding: 18px 22px; border-bottom: 1px solid var(--xb-line); }
.teaser-row:last-child { border-bottom: none; }
.teaser-icon { font-size: 20px; flex-shrink: 0; margin-top: 2px; }
.teaser-row strong { display: block; font-size: 14px; margin-bottom: 3px; color: var(--xb-ink); font-weight: 700; }
.teaser-row p { font-size: 13px; color: var(--xb-body); }
.teaser-lock-hint { font-size: 12px; color: var(--xb-muted); margin-top: 3px; }
.lock-icon { margin-right: 4px; }

/* Locked preview */
.locked-wrap { position: relative; border-radius: var(--r-card); overflow: hidden; max-width: 680px; margin: 0 auto; }
.locked-content {
  background: var(--xb-surface); border: 1px solid var(--xb-line);
  border-radius: var(--r-card); padding: 26px;
}
.locked-content.blurred { filter: blur(4px); user-select: none; pointer-events: none; }
.lc-block { margin-bottom: 18px; }
.lc-block:last-child { margin-bottom: 0; }
.lc-block h4 { font-size: 14px; font-weight: 700; margin-bottom: 6px; color: var(--xb-ink); }
.lc-block p  { font-size: 13px; color: var(--xb-muted); margin-bottom: 3px; }
.locked-overlay {
  position: absolute; inset: 0; z-index: 10;
  background: rgba(250,247,240,.72); backdrop-filter: blur(2px);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 12px;
}
.lock-big { font-size: 36px; }
.locked-overlay p { font-size: 14px; color: var(--xb-body); }

/* Value grid */
.value-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(240px,1fr)); gap: 14px; max-width: 800px; margin: 0 auto; }
.value-item {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--xb-surface); border: 1px solid var(--xb-line);
  border-radius: var(--r-card); padding: 18px;
}
.vi-icon { font-size: 22px; flex-shrink: 0; margin-top: 2px; }
.value-item strong { display: block; font-size: 14px; margin-bottom: 3px; color: var(--xb-ink); font-weight: 700; }
.value-item p { font-size: 12px; color: var(--xb-muted); }

/* ── Stripe-style pay section (result_free bottom) ─────────────────────── */
.stripe-pay-section {
  background: var(--xb-pay-navy);
  padding: 52px 0;
}
.stripe-pay-inner {
  max-width: 820px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center;
}
.sps-left {}
.sps-eyebrow {
  font-size: 11px; text-transform: uppercase; letter-spacing: 2px;
  color: rgba(255,255,255,.4); margin-bottom: 10px; font-weight: 600;
}
.sps-title { font-size: 20px; font-weight: 800; color: #fff; margin-bottom: 14px; letter-spacing: -.01em; }
.sps-features { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.sps-features li { font-size: 13px; color: rgba(255,255,255,.6); display: flex; align-items: center; gap: 8px; }
.sps-check { color: #4ade80; font-size: 11px; }
.sps-right { text-align: center; flex-shrink: 0; }
.sps-price {
  font-size: 50px; font-weight: 900; color: #fff;
  font-variant-numeric: tabular-nums; line-height: 1; margin-bottom: 12px;
}
.sps-price-note { font-size: 12px; color: rgba(255,255,255,.38); margin-bottom: 16px; }
.sps-trust { font-size: 12px; color: rgba(255,255,255,.35); margin-top: 10px; }

/* ── Sticky bar ─────────────────────────────────────────────────────────── */
.sticky-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 300;
  background: var(--xb-pay-navy); border-top: 1px solid rgba(255,255,255,.08);
  padding: 11px 0;
}
.sticky-bar-inner { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.sb-type { font-size: 15px; font-weight: 800; color: #fff; }
.sb-hint { font-size: 12px; color: rgba(255,255,255,.48); margin-top: 2px; }
.sb-left {}

/* ══════════════════════════════════════════════════════════════════════════
   PAY PAGE
   ══════════════════════════════════════════════════════════════════════════ */
.pay-wrap { padding: 56px 0 72px; }
.pay-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: start; }
.pay-unlocking {
  font-size: 11px; text-transform: uppercase; letter-spacing: 2px;
  color: var(--xb-primary); margin-bottom: 8px; font-weight: 600;
}
.pay-title {
  font-size: clamp(22px, 3.5vw, 32px); font-weight: 800;
  line-height: 1.3; margin-bottom: 24px; color: var(--xb-ink); letter-spacing: -.02em;
}
.pay-includes { list-style: none; display: grid; gap: 10px; margin-bottom: 28px; }
.pay-includes li { display: flex; gap: 10px; align-items: center; font-size: 14px; color: var(--xb-body); }
.pi-ck {
  width: 20px; height: 20px; border-radius: 50%; flex-shrink: 0;
  background: rgba(79,159,112,.1); border: 1px solid rgba(79,159,112,.25);
  color: var(--xb-success); font-size: 11px; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
}
.pay-review {
  background: var(--xb-surface-soft); border: 1px solid var(--xb-line);
  border-radius: var(--r-card); padding: 18px;
}
.pr-stars { color: var(--xb-warning); margin-bottom: 8px; font-size: 14px; }
.pay-review p { font-size: 13px; color: var(--xb-body); margin-bottom: 8px; font-style: italic; line-height: 1.7; }
.pay-review span { font-size: 12px; color: var(--xb-muted); }

.pay-card {
  background: var(--xb-surface); border: 1.5px solid var(--xb-line);
  border-radius: var(--r-card); padding: 28px;
  box-shadow: 0 4px 24px rgba(40,30,20,.07);
}
.price-row { display: flex; align-items: baseline; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.price-now { font-size: 48px; font-weight: 900; color: var(--xb-pay-indigo); font-variant-numeric: tabular-nums; }
.price-ori { font-size: 17px; color: var(--xb-muted); text-decoration: line-through; }
.price-tag {
  padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 700;
  background: rgba(208,138,36,.1); border: 1px solid rgba(208,138,36,.22);
  color: var(--xb-warning);
}
.pay-tip { font-size: 13px; color: var(--xb-muted); margin-bottom: 20px; line-height: 1.65; }

.qr-wrap { text-align: center; margin-bottom: 20px; }
.qr-placeholder {
  width: 180px; height: 180px; border-radius: var(--r);
  background: var(--xb-surface-soft); border: 2px dashed var(--xb-line);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 12px;
}
.qr-inner { text-align: center; padding: 12px; }
.qr-img { width: 180px; height: 180px; border-radius: var(--r); margin: 0 auto 12px; }
.qr-label { font-size: 13px; color: var(--xb-body); margin-bottom: 4px; }
.qr-remark-tip { font-size: 12px; color: var(--xb-warning); font-weight: 600; }

.order-box {
  background: var(--xb-surface-soft); border: 1px solid var(--xb-line); border-radius: var(--r);
  padding: 10px 14px; font-family: monospace; font-size: 12px;
  color: var(--xb-doc-purple); text-align: center; margin-bottom: 14px;
}
.remark-ta {
  width: 100%; background: var(--xb-surface); border: 1.5px solid var(--xb-line);
  border-radius: var(--r); color: var(--xb-ink); padding: 12px 14px;
  font-size: 14px; font-family: inherit; resize: vertical; outline: none;
  transition: border-color .18s; margin-bottom: 14px;
}
.remark-ta:focus { border-color: var(--xb-pay-indigo); }
.remark-ta::placeholder { color: var(--xb-muted); }
.step-title { font-size: 17px; font-weight: 700; margin-bottom: 6px; color: var(--xb-ink); }
.step-desc  { font-size: 13px; color: var(--xb-muted); margin-bottom: 14px; }
.step-hint  { font-size: 12px; color: var(--xb-muted); text-align: center; margin-top: 10px; }

.pay-pending { text-align: center; }
.pending-ico { font-size: 40px; margin-bottom: 14px; }
.pay-pending h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; color: var(--xb-ink); }
.pay-pending p  { color: var(--xb-muted); font-size: 13px; margin-bottom: 6px; }
.poll-hint { font-size: 11px; color: var(--xb-muted); margin-top: 14px; }

/* ══════════════════════════════════════════════════════════════════════════
   PAID REPORT PAGE
   ══════════════════════════════════════════════════════════════════════════ */
.paid-hero {
  background: var(--xb-surface);
  border-bottom: 1px solid var(--xb-line);
}
.paid-body { padding-bottom: 60px; }
.paid-section { margin-bottom: 48px; }
.paid-h2 {
  font-size: 18px; font-weight: 800; margin-bottom: 18px;
  padding-bottom: 12px; border-bottom: 1.5px solid var(--xb-line);
  color: var(--xb-ink); letter-spacing: -.01em;
}
.paid-para { font-size: 15px; color: var(--xb-body); line-height: 1.85; margin-bottom: 12px; }

.tool-cards { display: grid; gap: 14px; }
.tool-card {
  background: var(--xb-surface); border: 1px solid var(--xb-line);
  border-radius: var(--r-card); padding: 20px;
}
.tc-name { font-size: 16px; font-weight: 800; color: var(--xb-ink); margin-bottom: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--xb-line); }
.tc-rows { display: grid; gap: 8px; }
.tc-row  { display: flex; gap: 10px; font-size: 13px; align-items: flex-start; }
.tc-key  { color: var(--xb-muted); min-width: 65px; flex-shrink: 0; font-size: 12px; }
.tc-val  { color: var(--xb-body); }
.green   { color: var(--xb-success) !important; font-weight: 700; }

.steps-list { display: grid; gap: 12px; }
.step-block {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--xb-surface); border: 1px solid var(--xb-line);
  border-radius: var(--r-card); padding: 18px;
}
.step-num  { font-size: 11px; font-weight: 700; color: var(--xb-primary); letter-spacing: 1px; flex-shrink: 0; margin-top: 2px; text-transform: uppercase; }
.step-body {}
.step-title  { font-size: 15px; font-weight: 700; margin-bottom: 4px; color: var(--xb-ink); }
.step-detail { font-size: 13px; color: var(--xb-body); margin-bottom: 6px; line-height: 1.65; }
.step-time   { font-size: 12px; color: var(--xb-muted); }

.scenario-cards, .monetize-cards { display: grid; gap: 14px; }
.scenario-card, .monetize-card {
  background: var(--xb-surface); border: 1px solid var(--xb-line);
  border-radius: var(--r-card); padding: 18px;
}
.sc-name { font-size: 16px; font-weight: 800; color: var(--type-b); margin-bottom: 10px; }
.mc-dir  { font-size: 16px; font-weight: 800; color: var(--type-c); margin-bottom: 10px; }
.sc-tool { font-size: 12px; color: var(--xb-muted); margin-bottom: 7px; }
.sc-how  { font-size: 14px; color: var(--xb-body); margin-bottom: 7px; line-height: 1.7; }
.sc-save { font-size: 13px; color: var(--xb-success); font-weight: 700; }
.mc-rows { display: grid; gap: 8px; }
.mc-row  { display: flex; gap: 10px; font-size: 13px; }
.mc-row > span:first-child { color: var(--xb-muted); min-width: 65px; flex-shrink: 0; }
.mc-row > span:last-child  { color: var(--xb-body); }
.mc-action > span:last-child { color: var(--xb-success) !important; font-weight: 700; }

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 720px) {
  .types-grid  { grid-template-columns: 1fr; }
  .logic-grid  { flex-direction: column; align-items: center; }
  .logic-arrow { transform: rotate(90deg); margin-top: 0; }
  .preview-row { grid-template-columns: 1fr; }
  .pay-grid    { grid-template-columns: 1fr; gap: 32px; }
  .sticky-bar-inner { flex-direction: column; gap: 8px; text-align: center; }
  .sticky-bar-inner .btn { width: 100%; }
  .survey-nav  { flex-direction: column; }
  .survey-nav .btn { width: 100%; }
  .dim-row { grid-template-columns: 90px 1fr 30px; gap: 8px; }
  .dim-label { font-size: 11px; }
  .stripe-pay-inner { grid-template-columns: 1fr; text-align: center; }
  .sps-features { align-items: center; }
  .hero-cta-row { flex-direction: column; align-items: center; }
  .hero-trust { gap: 20px; }
}

/* ── Intercom friendly guide overrides ───────────────────────────────────── */
.btn-primary,
.btn-submit {
  background: var(--xb-fin-orange) !important;
  color: #fff !important;
}
.btn-primary:hover,
.btn-submit:hover {
  background: #e64d00 !important;
  box-shadow: 0 8px 22px rgba(255, 86, 0, .22);
}
.btn-ghost {
  background: #fff;
  color: var(--xb-ink);
}
.btn-pay {
  background: var(--xb-ink);
  color: #fff;
  border-radius: 8px;
}
.btn-pay:hover {
  background: #000;
  box-shadow: 0 8px 22px rgba(17,17,17,.22);
}
.brand-dot {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--xb-fin-orange);
  display: inline-grid;
  place-items: center;
}
.brand-dot::after {
  content: "小";
  color: #fff;
  font-size: 16px;
  font-weight: 900;
}
.navbar {
  background: rgba(245, 241, 236, .92);
}
.hero {
  background: var(--xb-canvas);
  text-align: left;
}
.hero .container {
  max-width: 1040px;
}
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 48px;
  align-items: center;
}
.hero-inner::after {
  content: "先别急着学工具。\A我先问你几个问题，帮你找到最适合的第一步。\A\A你现在卡在哪？\A不会选工具 · 装了不会用 · 想靠 AI 赚钱";
  white-space: pre-line;
  display: block;
  background: #fff;
  border: 1px solid var(--xb-line);
  border-radius: 14px;
  padding: 22px;
  color: var(--xb-body);
  box-shadow: 0 18px 50px rgba(20,17,13,.08);
  line-height: 1.85;
  font-size: 14px;
}
.hero-title,
.sec-title,
.res-type-name,
.res-sec-title,
.pay-title {
  color: var(--xb-ink);
  letter-spacing: -.02em;
}
.hero-title {
  font-size: clamp(38px, 5vw, 64px);
  max-width: 680px;
}
.grad {
  color: var(--xb-ink);
}
.hero-eyebrow,
.hero-badge,
.q-group-tag,
.res-done-badge,
.res-type-label,
.pay-unlocking,
.sps-eyebrow {
  background: var(--xb-orange-soft) !important;
  color: #9a3100 !important;
  border-color: rgba(255, 86, 0, .18) !important;
}
.hero-sub {
  margin-left: 0;
  color: var(--xb-body);
  max-width: 660px;
}
.hero-cta-row,
.hero-trust {
  justify-content: flex-start;
}
.hero-trust {
  border-top-color: var(--xb-line);
}
.sec-dark {
  background: var(--xb-surface);
}
.type-card,
.mock-card,
.review-card,
.q-slide,
.teaser-card,
.locked-wrap,
.pay-card,
.tool-card,
.step-block,
.scenario-card,
.monetize-card {
  background: #fff;
  border-color: var(--xb-line);
  box-shadow: 0 18px 50px rgba(20,17,13,.06);
}
.type-card::before {
  background: var(--xb-fin-orange) !important;
}
.survey-topbar {
  background: rgba(245,241,236,.94);
  border-bottom-color: var(--xb-line);
}
.prog-fill,
.dim-fill,
.mock-fill {
  background: var(--xb-fin-orange) !important;
}
.opt-card.selected {
  background: var(--xb-orange-soft);
  border-color: var(--xb-fin-orange);
}
.opt-card.selected .opt-box,
.opt-card.selected .opt-dot {
  border-color: var(--xb-fin-orange);
  background: var(--xb-fin-orange);
}
.q-textarea:focus,
.remark-ta:focus {
  border-color: var(--xb-fin-orange);
  box-shadow: 0 0 0 3px rgba(255,86,0,.12);
}
.res-hero {
  background: var(--xb-canvas) !important;
  color: var(--xb-ink) !important;
}
.res-emoji {
  background: var(--xb-fin-orange) !important;
  color: #fff !important;
}
.locked-overlay {
  background: rgba(255,255,255,.82);
}
.stripe-pay-section,
.pay-wrap {
  background: var(--xb-canvas);
}
.stripe-pay-inner,
.pay-card {
  background: #fff;
  border: 1px solid var(--xb-line);
  border-radius: 14px;
}
.sps-right,
.unlock-card {
  background: var(--xb-ink);
  color: #fff;
  border-radius: 12px;
}
.pay-review {
  background: #fff;
  border-color: var(--xb-line);
}
.price-now,
.sps-price {
  color: var(--xb-fin-orange);
}
.sticky-bar {
  background: rgba(255,255,255,.94);
  border-top-color: var(--xb-line);
}
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }
  .hero {
    text-align: center;
  }
  .hero-sub {
    margin-left: auto;
  }
  .hero-cta-row,
  .hero-trust {
    justify-content: center;
  }
}
