/* 获客漏斗组件样式（2026-11-24 第 5 项）
   只用站内已有 CSS 变量（--gold / --green / --green-dark / --border /
   --muted 等，定义于 style.css），不改全局样式。 */

/* ---------- 1. 首页"免费测一测"金色横条 ---------- */
.funnel-home-banner {
  display: flex; flex-wrap: wrap; gap: 16px; align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, #fdf6d8, #f7e8b0);
  border: 2px solid var(--gold, #c9a227);
  border-radius: 14px; padding: 20px 24px; margin: 20px 0;
  box-shadow: 0 2px 10px rgba(201, 162, 39, 0.18);
}
.funnel-home-banner-text { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.funnel-home-banner-text strong { font-size: 1.35rem; color: #7a5c00; line-height: 1.4; }
.funnel-home-banner-text span { font-size: 1rem; color: var(--muted, #666); line-height: 1.5; }
.funnel-home-banner-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.funnel-home-banner-btns .btn { min-height: 52px; display: inline-flex; align-items: center; font-size: 1.1rem; }
/* A-1（2026-11-29）：匿名态舌诊按钮下的"需登录"标注——按钮包一层纵向 wrapper，
   标注小字居中放在按钮正下方；手机端 wrapper 与另一按钮等宽（见 mobile-shop.css）。 */
.funnel-home-banner-btns .funnel-btn-wrap { display: flex; flex-direction: column; min-width: 0; }
.funnel-home-banner-btns .funnel-btn-wrap .btn { width: 100%; justify-content: center; }
.funnel-need-login { display: block; text-align: center; font-size: .85rem; color: var(--muted, #666); margin-top: 4px; }

/* ---------- 2. 结果页"下一步"引导 ---------- */
.funnel-next { border: 2px solid var(--gold, #c9a227); margin-top: 28px; }
.funnel-next h2 { margin-top: 0; }
.funnel-steps { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-direction: column; gap: 14px; }
.funnel-steps li { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; }
.funnel-steps li .btn { min-width: 220px; min-height: 52px; display: inline-flex; align-items: center; justify-content: center; }
.funnel-steps li span { color: var(--muted, #666); font-size: 1rem; }

/* ---------- 3. "来自你的体质报告"承接横条 ---------- */
.funnel-from-report {
  display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: baseline;
  background: #f0f7ee; border: 1px solid var(--green, #4a7c59);
  border-left: 6px solid var(--green, #4a7c59);
  border-radius: 10px; padding: 14px 18px; margin: 0 0 20px;
  font-size: 1.05rem; line-height: 1.6;
}
.funnel-from-report strong { color: var(--green-dark, #2f5238); }
.funnel-from-report a { color: var(--green-dark, #2f5238); font-weight: 700; }

/* ---------- 4. 可分享的结果卡 ---------- */
.share-card-page { background: #f6f3ec; min-height: 100vh; }
.share-card-wrap { max-width: 480px; margin: 0 auto; padding: 24px 16px 80px; }
.share-card {
  border-radius: 20px; overflow: hidden; background: #fff;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  border: 1px solid #e8ddc0;
}
.share-card-head {
  padding: 28px 24px 20px; text-align: center; color: #fff;
  background: linear-gradient(160deg, #2f5238 0%, #4a7c59 55%, #6b9e78 100%);
}
.share-card-head.constitution { background: linear-gradient(160deg, #2f5238 0%, #4a7c59 55%, #6b9e78 100%); }
.share-card-head.meditation { background: linear-gradient(160deg, #1f3a5f 0%, #2f5a8a 55%, #5b8fc4 100%); }
.share-card-brand { font-size: 0.95rem; letter-spacing: 0.2em; opacity: 0.85; }
.share-card-title { font-size: 1.9rem; font-weight: 700; margin: 10px 0 4px; line-height: 1.3; }
.share-card-subtitle { font-size: 1.05rem; opacity: 0.92; line-height: 1.5; }
.share-card-body { padding: 24px; }
.share-card-big { text-align: center; margin: 4px 0 18px; }
.share-card-big .big-label { font-size: 1rem; color: var(--muted, #666); }
.share-card-big .big-value { font-size: 2.4rem; font-weight: 700; color: var(--green-dark, #2f5238); line-height: 1.2; margin-top: 4px; }
.share-card-head.meditation + .share-card-body .big-value { color: #1f3a5f; }
.share-card-lines { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.share-card-lines li {
  display: flex; gap: 10px; align-items: flex-start;
  background: #f7f5ee; border-radius: 10px; padding: 12px 14px;
  font-size: 1.05rem; line-height: 1.6;
}
.share-card-lines li .k { flex: none; font-weight: 700; color: var(--green-dark, #2f5238); }
.share-card-foot {
  padding: 16px 24px 22px; text-align: center;
  border-top: 1px dashed #e0d6b8; font-size: 0.95rem; color: var(--muted, #666); line-height: 1.6;
}
.share-card-foot .disclaimer { color: #b3261e; font-size: 0.92rem; }
.share-card-actions { margin-top: 20px; display: flex; flex-direction: column; gap: 12px; }
.share-card-actions .btn { width: 100%; min-height: 54px; font-size: 1.15rem; }
.share-link-box {
  margin-top: 16px; background: #fff; border: 1px solid #e8ddc0; border-radius: 12px;
  padding: 16px; word-break: break-all; font-size: 1rem; line-height: 1.6;
}
.share-link-box .link-text { color: var(--green-dark, #2f5238); font-weight: 700; }
.share-hint { text-align: center; color: var(--muted, #666); margin-top: 14px; font-size: 1rem; }

/* ---------- 5. 后台漏斗统计 ---------- */
.funnel-stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin: 20px 0; }
.funnel-stat-card { border: 1px solid var(--border, #ddd); border-radius: 12px; padding: 16px; background: #fff; }
.funnel-stat-card .step-label { font-size: 1.05rem; font-weight: 700; }
.funnel-stat-card .step-num { font-size: 2rem; font-weight: 700; color: var(--green-dark, #2f5238); margin: 6px 0 2px; }
.funnel-stat-card .step-sub { color: var(--muted, #666); font-size: 0.95rem; line-height: 1.5; }
.funnel-stat-card .step-rate { margin-top: 8px; font-size: 1rem; }
.funnel-stat-card .step-rate strong { color: #b8860b; }

/* ---------- 手机端 ---------- */
@media (max-width: 600px) {
  .funnel-home-banner { padding: 16px; margin: 16px 0; }
  .funnel-home-banner-text strong { font-size: 1.2rem; }
  .funnel-home-banner-btns { width: 100%; }
  .funnel-home-banner-btns .btn { flex: 1; justify-content: center; }
  .funnel-steps li .btn { width: 100%; min-width: 0; }
  .share-card-body { padding: 20px 16px; }
  .share-card-title { font-size: 1.6rem; }
  .share-card-big .big-value { font-size: 2rem; }
}
