/* ============================================================
   大健康运营智库 · 体系化知识库 + 营销结算系统接单利器
   Shared stylesheet — visual language & components
   Theme: 深梅子 + 莓紫 + 金 + 青 (consistent with V2 sourcing)
   ============================================================ */

:root {
  --bg: #FAF8F5;
  --bg2: #F0EBE4;
  --paper: #FFFFFF;
  --ink: #211C24;
  --ink-soft: #3A333F;
  --muted: #7A6E7A;
  --rule: #E3D9CC;
  --rule-soft: #EFE8DD;
  --accent: #0E8A52;      /* 莓紫 main */
  --accent-deep: #0A6340; /* 深梅子 */
  --accent2: #C49A5E;     /* 金 */
  --accent2-soft: #EAD9B8;
  --teal: #0FA3A3;        /* 青 */
  --teal-soft: #D9F0F0;
  --green: #1B6B2E;
  --green-soft: #DFF0E2;
  --red: #B82020;
  --red-soft: #F6E0DC;
  --shadow: 0 2px 14px rgba(33,28,36,.07);
  --shadow-lg: 0 12px 40px rgba(33,28,36,.12);
  --radius: 12px;
  --radius-sm: 8px;
  --font: 'Microsoft YaHei','PingFang SC','Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
  min-width: 1200px;
  position: relative;
}

/* ---------- 全站漂浮水印 ---------- */
.watermark-layer {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 9999;
  overflow: hidden;
  user-select: none;
}
.watermark-layer .wm-text {
  position: absolute;
  color: rgba(122, 46, 94, 0.09);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 2px;
  white-space: nowrap;
  transform: rotate(-25deg);
  transform-origin: center center;
  user-select: none;
}
.watermark-layer .wm-text.wm-gold {
  color: rgba(196, 154, 94, 0.07);
}

/* 打印/存PDF时水印也显示 */
@media print {
  .watermark-layer {
    position: fixed !important;
    z-index: 9999 !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .watermark-layer .wm-text {
    color: rgba(122, 46, 94, 0.12) !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
}
}
a { color: var(--accent); text-decoration: none !important; }
a:link, a:visited, a:hover, a:active { text-decoration: none !important; }
a:hover { color: var(--accent-deep); }
img { max-width: 100%; display: block; }
::selection { background: var(--accent); color: #fff; }

/* ---------- Layout ---------- */
.container { width: 1180px; margin: 0 auto; padding: 0 1.5rem; }
.container-narrow { width: 900px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 3.5rem 0; }
.section-alt { background: var(--bg2); }
.section-white { background: var(--paper); }
.section-tight { padding: 2rem 0; }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--accent-deep);
  color: #fff; font-size: .82rem; padding: .4rem 0;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.topbar a { color: var(--accent2); }
.topbar .tb-right { display: flex; gap: 1.2rem; }

/* ---------- Navbar ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--rule);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: .7rem 0; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .6rem; font-weight: 800; font-size: 1.15rem; }
.brand .logo {
  width: 38px; height: 38px; border-radius: 10px; flex: none;
  background: linear-gradient(135deg, var(--accent-deep), var(--accent));
  display: grid; place-items: center; color: var(--accent2); font-size: 1.15rem;
  box-shadow: var(--shadow);
}
.brand small { display: block; font-size: .68rem; font-weight: 600; color: var(--muted); letter-spacing: .08em; }
.nav-links { display: flex; align-items: center; gap: .2rem; flex-wrap: wrap; }
.nav-links a {
  color: var(--ink-soft); font-weight: 600; font-size: .92rem;
  padding: .45rem .8rem; border-radius: 8px; transition: .15s;
}
.nav-links a:hover { background: var(--bg2); color: var(--accent); }
.nav-links a.active { color: var(--accent); background: rgba(14,138,82,.08); }
.nav-cta {
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #fff !important; padding: .5rem 1.1rem !important; border-radius: 999px;
  font-weight: 700; box-shadow: var(--shadow); white-space: nowrap;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: var(--shadow-lg); }
.nav-toggle { display: none; background: none; border: none; font-size: 1.5rem; color: var(--ink); cursor: pointer; }

/* ---------- Hero ---------- */
.hero {
  color: #fff; padding: 4.5rem 0; position: relative; overflow: hidden;
  background: linear-gradient(160deg, #2d1624 0%, #3A1E30 40%, #4a2238 70%, #5A2A48 100%);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: 
    radial-gradient(ellipse 800px 300px at 20% 120%, rgba(196,154,94,0.12), transparent 60%),
    radial-gradient(ellipse 600px 250px at 80% -20%, rgba(196,154,94,0.1), transparent 60%);
}
.hero::after {
  content:''; position:absolute; inset:0; pointer-events:none;
  background-image: 
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: .9;
}
.hero-decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-decor .hd-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
}
.hero-decor .hd-blob.b1 {
  width: 400px;
  height: 400px;
  background: rgba(196, 154, 94, 0.2);
  top: -100px;
  right: 5%;
}
.hero-decor .hd-blob.b2 {
  width: 300px;
  height: 300px;
  background: rgba(122, 46, 94, 0.3);
  bottom: -80px;
  left: 10%;
}
.hero-decor .hd-blob.b3 {
  width: 200px;
  height: 200px;
  background: rgba(196, 154, 94, 0.15);
  top: 30%;
  left: 50%;
}
.hero .container { position: relative; z-index: 1; }
.hero-badge {
  display: inline-block; background: rgba(196,154,94,.18); color: var(--accent2);
  border: 1px solid rgba(196,154,94,.4); padding: .3rem .9rem; border-radius: 999px;
  font-size: .8rem; font-weight: 700; letter-spacing: .06em; margin-bottom: 1.2rem;
}
.hero h1 { font-size: 2.6rem; font-weight: 800; line-height: 1.25; letter-spacing: .01em; margin-bottom: 1rem; }
.hero h1 .hi { background: linear-gradient(120deg, #EAD9B8, #C49A5E); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero p.lead { font-size: 1.12rem; color: rgba(255,255,255,.82); max-width: 760px; margin-bottom: 1.6rem; }
.hero-actions { display: flex; gap: .9rem; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; font-size: .95rem;
  padding: .72rem 1.5rem; border-radius: 999px; border: 1px solid transparent; cursor: pointer;
  transition: .18s; text-align: center;

}
.btn-primary { background: linear-gradient(135deg, var(--accent2), #b98a45); color: var(--accent-deep); box-shadow: var(--shadow); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); color: var(--accent-deep); }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn-ghost-light:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn-outline { background: transparent; color: var(--accent); border-color: var(--accent); }
.btn-outline:hover { background: rgba(14,138,82,.06); color: var(--accent-deep); }

.hero-stats { display: flex; gap: 3rem; flex-wrap: wrap; margin-top: 2.4rem; }
.hero-stat .num { font-size: 2rem; font-weight: 800; color: var(--accent2); line-height: 1; }
.hero-stat .label { font-size: .82rem; color: rgba(255,255,255,.7); margin-top: .25rem; }

/* ---------- Section headings ---------- */
.sec-head { text-align: center; max-width: 760px; margin: 0 auto 2.6rem; }
.sec-head .kicker { color: var(--accent); letter-spacing: .14em; font-size: .8rem; font-weight: 800; text-transform: uppercase; }
.sec-head h2 { font-size: 1.9rem; font-weight: 800; margin: .4rem 0 .6rem; color: var(--ink); }
.sec-head p { color: var(--muted); font-size: .98rem; }

/* ---------- Cards ---------- */
.card {
  background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius);
  padding: 1.4rem; box-shadow: var(--shadow); transition: .2s;
}
.card.hover:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--accent2); }
.card-title { font-size: 1.02rem; font-weight: 800; color: var(--accent); margin-bottom: .5rem; }

.grid { display: grid; gap: 1.3rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Tags & pills ---------- */
.tag { display: inline-block; padding: .12rem .55rem; border-radius: 6px; font-size: .74rem; font-weight: 700; }
.tag-core { background: rgba(14,138,82,.12); color: var(--accent); }
.tag-var { background: rgba(196,154,94,.2); color: #9A7E4A; }
.tag-op { background: rgba(27,107,46,.12); color: var(--green); }
.tag-risk { background: var(--red-soft); color: var(--red); }
.tag-safe { background: var(--green-soft); color: var(--green); }
.tag-teal { background: var(--teal-soft); color: var(--teal); }
.tag-gold { background: rgba(196,154,94,.18); color: #9A7E4A; }
.pill { display:inline-block; padding:.1rem .7rem; border-radius:999px; font-size:.76rem; font-weight:600; border:1px solid var(--rule); color:var(--muted); }

/* ---------- Callout / alert ---------- */
.callout { border-left: 4px solid var(--accent); background: rgba(14,138,82,.05); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; padding: 1rem 1.2rem; margin: 1.2rem 0; font-size: .92rem; }
.callout strong { display: block; margin-bottom: .25rem; color: var(--accent); }
.callout.gold { border-color: var(--accent2); background: rgba(196,154,94,.08); }
.callout.gold strong { color: #9A7E4A; }
.callout.green { border-color: var(--green); background: var(--green-soft); }
.callout.green strong { color: var(--green); }
.callout.red { border-color: var(--red); background: var(--red-soft); }
.callout.red strong { color: var(--red); }
.callout.teal { border-color: var(--teal); background: var(--teal-soft); }
.callout.teal strong { color: var(--teal); }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; margin: 1.2rem 0; border-radius: var(--radius); border: 1px solid var(--rule); background: var(--paper); }
table { width: 100%; border-collapse: collapse; font-size: .88rem; }
thead { background: var(--accent); color: #fff; }
th { padding: .65rem .8rem; text-align: left; font-weight: 700; white-space: nowrap; }
td { padding: .55rem .8rem; border-bottom: 1px solid var(--rule-soft); vertical-align: top; }
tbody tr:nth-child(even) { background: rgba(240,235,228,.4); }
tbody tr:hover { background: rgba(196,154,94,.08); }
th.sortable { cursor: pointer; }

/* ---------- Steps / timeline ---------- */
.steps { display: grid; gap: 1rem; counter-reset: step; }
.step { position: relative; background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius); padding: 1.2rem 1.4rem 1.2rem 3.4rem; box-shadow: var(--shadow); }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; left: 1.1rem; top: 1.1rem; width: 1.7rem; height: 1.7rem;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep)); color: var(--accent2);
  border-radius: 8px; display: grid; place-items: center; font-weight: 800; font-size: .85rem;
}
.step h4 { margin-bottom: .3rem; color: var(--accent); }
.step p, .step li { font-size: .9rem; color: var(--ink-soft); }

/* ---------- Breadcrumb ---------- */
.crumbs { padding: 1rem 0; font-size: .84rem; color: var(--muted); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--accent); }
.crumbs .sep { margin: 0 .4rem; color: #c9bdb0; }

/* ---------- Mode page layout ---------- */
.mode-hero {
  background: linear-gradient(150deg, #2d1624 0%, #43203A 60%, #5A2A48 100%);
  color: #fff; padding: 2.8rem 0; position: relative; overflow: hidden;
}
.mode-hero::after { content:''; position:absolute; inset:0; pointer-events:none; 
  background-image: 
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: .9;
}
.mode-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: 
    radial-gradient(ellipse 700px 250px at 30% 120%, rgba(196,154,94,0.1), transparent 60%),
    radial-gradient(ellipse 500px 200px at 70% -30%, rgba(196,154,94,0.08), transparent 60%);
}
.mode-hero .hero-decor .hd-blob.b1 { background: rgba(196, 154, 94, 0.15); }
.mode-hero .hero-decor .hd-blob.b2 { background: rgba(122, 46, 94, 0.25); }
.mode-hero .container { position: relative; z-index: 1; }
.mode-hero h1 { font-size: 2.1rem; font-weight: 800; margin: .5rem 0 .4rem; }
.mode-hero .sub { color: rgba(255,255,255,.8); font-size: 1rem; max-width: 760px; }
.mode-hero .tags { margin-top: 1rem; display: flex; gap: .4rem; flex-wrap: wrap; }
.mode-hero .tags .pill { border-color: rgba(255,255,255,.3); color: rgba(255,255,255,.9); background: rgba(255,255,255,.08); }
.hero-illustration {
  margin-top: 2rem;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.hero-illustration img {
  width: 100%;
  display: block;
}

/* 产品展示卡片 */
.showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}
.showcase-card {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .3s, box-shadow .3s;
}
.showcase-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.showcase-img {
  background: linear-gradient(135deg, #f0f4ff, #faf5ff);
  padding: 1.5rem;
  text-align: center;
}
.showcase-img img {
  max-width: 100%;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}
.showcase-info {
  padding: 1.2rem 1.5rem 1.5rem;
}
.showcase-info h4 {
  font-size: 1.05rem;
  color: var(--accent);
  margin-bottom: .4rem;
}
.showcase-info p {
  font-size: .88rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}

.showcase-single {
  margin-top: 1.5rem;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
  text-align: center;
}
.showcase-single .showcase-img.large {
  padding: 2rem;
  background: linear-gradient(135deg, #f0f4ff, #faf5ff);
}
.showcase-single .showcase-img.large img {
  max-width: 80%;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}
.showcase-single .showcase-info {
  padding: 0 1.5rem 1.5rem;
}
.showcase-single .showcase-info h4 {
  font-size: 1.1rem;
}

.mode-layout { display: grid; grid-template-columns: 240px 1fr; gap: 2rem; align-items: start; }
.mode-toc {
  position: sticky; top: 84px; background: var(--paper); border: 1px solid var(--rule);
  border-radius: var(--radius); padding: 1.1rem; box-shadow: var(--shadow);
}
.mode-toc h4 { font-size: .8rem; letter-spacing: .1em; color: var(--muted); margin-bottom: .6rem; }
.mode-toc a { display: block; font-size: .84rem; color: var(--ink-soft); padding: .28rem .5rem; border-radius: 6px; }
.mode-toc a:hover { color: var(--accent); background: var(--bg2); }
.mode-toc a.cta-link { color: var(--accent); font-weight: 700; margin-top: .4rem; border-top: 1px solid var(--rule); padding-top: .6rem; }
.mode-body { min-width: 0; }
.mode-body section { margin-bottom: 2.4rem; }
.mode-body h2 { font-size: 1.4rem; font-weight: 800; color: var(--accent); padding-left: .7rem; border-left: 4px solid var(--accent2); margin-bottom: .9rem; }
.mode-body h3 { font-size: 1.08rem; font-weight: 700; margin: 1.4rem 0 .5rem; color: var(--ink); }
.mode-body p, .mode-body ul, .mode-body ol { font-size: .94rem; color: var(--ink-soft); }
.mode-body ul, .mode-body ol { padding-left: 1.3rem; margin: .5rem 0; }
.mode-body li { margin: .28rem 0; }

/* ---------- System / feature panels ---------- */
.feature { display: flex; gap: 1rem; align-items: flex-start; }
.feature .ico {
  flex: none; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  font-size: 1.3rem; background: linear-gradient(135deg, var(--accent), var(--accent-deep)); color: var(--accent2);
}
.feature .ico.purple { background: linear-gradient(135deg, #e8f7f0, #d6f0e6); color: #0FA36B; }
.feature .ico.blue { background: linear-gradient(135deg, #dbeafe, #bfdbfe); color: #2563eb; }
.feature .ico.green { background: linear-gradient(135deg, #d1fae5, #a7f3d0); color: #059669; }
.feature .ico.orange { background: linear-gradient(135deg, #fed7aa, #fdba74); color: #c2410c; }
.feature .ico.red { background: linear-gradient(135deg, #fee2e2, #fecaca); color: #dc2626; }
.feature h4 { font-size: 1rem; color: var(--accent); margin-bottom: .2rem; }
.feature p { font-size: .88rem; color: var(--muted); }

.tag-cloud { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin-top: 1.2rem; }
.mkt-tag {
  padding: .5rem 1.2rem;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 500;
  background: var(--paper);
  border: 1px solid var(--rule-soft);
  color: var(--ink-soft);
  transition: all .2s;
}
.mkt-tag:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.compare .col { border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden; background: var(--paper); }
.compare .col h4 { padding: .8rem 1.1rem; font-size: .92rem; }
.compare .col.crb h4 { background: var(--teal-soft); color: var(--teal); }
.compare .col.self h4 { background: var(--accent2-soft); color: #8a6a32; }
.compare .col ul { list-style: none; padding: .7rem 1.1rem 1rem; }
.compare .col li { font-size: .86rem; padding: .3rem 0; color: var(--ink-soft); border-bottom: 1px dashed var(--rule-soft); }
.compare .col li:last-child { border-bottom: none; }
.compare .col li::before { content: '✓'; color: var(--green); font-weight: 800; margin-right: .5rem; }

/* ---------- Form / inputs ---------- */
.field { margin-bottom: 1rem; }
.field label { display: block; font-weight: 700; font-size: .86rem; margin-bottom: .3rem; color: var(--ink-soft); }
.field input, .field select {
  width: 100%; padding: .6rem .8rem; border: 1px solid var(--rule); border-radius: var(--radius-sm);
  font-size: .92rem; font-family: inherit; background: var(--paper); color: var(--ink);
}
.field input:focus, .field select:focus { outline: 2px solid var(--accent2); border-color: transparent; }
.field .hint { font-size: .76rem; color: var(--muted); margin-top: .2rem; }

.result-panel {
  background: var(--bg2); border: 1px solid var(--rule); border-radius: var(--radius);
  padding: 1.3rem; margin-top: 1rem;
}
.result-panel .score { font-size: 2.2rem; font-weight: 800; color: var(--accent); line-height: 1; }
.meter { height: 10px; background: var(--rule-soft); border-radius: 999px; overflow: hidden; margin: .6rem 0; }
.meter > span { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--teal), var(--accent2), var(--red)); width: 0; transition: .5s; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--accent-deep), var(--accent));
  color: #fff; padding: 3rem 0; text-align: center; position: relative; overflow: hidden;
}
.cta-band::after { content:''; position:absolute; inset:0; background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px); background-size: 24px 24px; pointer-events:none; }
.cta-band .container { position: relative; z-index: 1; }
.cta-band h2 { font-size: 1.7rem; font-weight: 800; margin-bottom: .6rem; }
.cta-band p { color: rgba(255,255,255,.82); max-width: 640px; margin: 0 auto 1.6rem; }
.contact-row { display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap; margin-top: 1.4rem; font-size: .9rem; color: rgba(255,255,255,.85); }
.contact-row b { color: var(--accent2); }

/* ---------- Footer ---------- */
footer { background: var(--accent-deep); color: rgba(255,255,255,.7); padding: 2.4rem 0 1.6rem; margin-top: 3rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; }
footer h4 { color: var(--accent2); font-size: .9rem; margin-bottom: .8rem; }
footer a { display: block; color: rgba(255,255,255,.65); font-size: .86rem; padding: .2rem 0; }
footer a:hover { color: #fff; }
.footer-brand p { font-size: .86rem; margin-top: .6rem; max-width: 300px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 2rem; padding-top: 1.2rem; font-size: .78rem; text-align: center; color: rgba(255,255,255,.45); }

/* ========== 产品页 Hero ========== */
.prod-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding: 4rem 0 5rem;
}
.prod-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.prod-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.prod-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(76,29,149,0.92) 0%, rgba(15,163,107,0.85) 100%);
}
.prod-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.prod-hero-text h1 {
  font-size: 3rem;
  line-height: 1.2;
  margin: 1rem 0 1.2rem;
  font-weight: 700;
}
.prod-hero-text .sub {
  font-size: 1.1rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.85);
  margin-bottom: 2rem;
}
.prod-hero-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 2.5rem;
}
.btn-white {
  background: #fff;
  color: #0FA36B;
  padding: .9rem 2rem;
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
}
.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}
.btn-outline-white {
  border: 2px solid rgba(255,255,255,0.5);
  color: #fff;
  padding: .9rem 2rem;
  border-radius: var(--radius);
  font-weight: 500;
  text-decoration: none;
  transition: all .2s;
}
.btn-outline-white:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.1);
}
.prod-hero-stats {
  display: flex;
  gap: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.2);
}
.prod-hero-stats .stat .num {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
.prod-hero-stats .stat .label {
  font-size: .85rem;
  color: rgba(255,255,255,0.7);
  margin-top: .3rem;
}
.prod-hero-mockup img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.3);
}

/* Hero badge 白色版 */
.hero-badge.white {
  display: inline-block;
  padding: .4rem 1rem;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 999px;
  font-size: .82rem;
  color: rgba(255,255,255,0.9);
  letter-spacing: 1px;
  background: rgba(255,255,255,0.08);
}

/* ========== 架构图区 ========== */
.section-arch {
  background: var(--paper);
  padding-bottom: 3rem;
}
.arch-img-wrap {
  margin-top: 2rem;
  text-align: center;
}
.arch-img-wrap img {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.1);
}

/* ========== 功能卡片 ========== */
.feat-card {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 1.8rem 1.5rem;
  transition: all .3s;
}
.feat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}
.feat-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 24px;
  margin-bottom: 1rem;
}
.feat-icon.purple { background: #e8f7f0; }
.feat-icon.blue { background: #dbeafe; }
.feat-icon.green { background: #d1fae5; }
.feat-icon.orange { background: #fed7aa; }
.feat-icon.red { background: #fee2e2; }
.feat-card h4 {
  font-size: 1.05rem;
  color: var(--accent);
  margin-bottom: .5rem;
}
.feat-card p {
  font-size: .88rem;
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}

/* ========== 左右图文行 ========== */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.feature-row.reverse .feature-text {
  order: 2;
}
.feature-row.reverse .feature-image {
  order: 1;
}
.feature-text h2 {
  font-size: 2rem;
  line-height: 1.35;
  margin: .8rem 0 1rem;
  color: var(--accent);
}
.feature-text .muted {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.8;
}
.feature-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}

/* 勾选列表 */
.check-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}
.check-list li {
  padding: .6rem 0 .6rem 1.8rem;
  position: relative;
  font-size: .92rem;
  color: var(--ink-soft);
  line-height: 1.6;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: .6rem;
  width: 20px;
  height: 20px;
  background: linear-gradient(135deg, #5FD6A0, #0FA36B);
  color: #fff;
  border-radius: 50%;
  font-size: 12px;
  display: grid;
  place-items: center;
  font-weight: 700;
}

/* 迷你功能 */
.mini-feat {
  display: flex;
  gap: .8rem;
  align-items: flex-start;
}
.mf-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 16px;
  flex-shrink: 0;
}
.mf-icon.purple { background: #e8f7f0; }
.mf-icon.blue { background: #dbeafe; }
.mf-icon.green { background: #d1fae5; }
.mf-icon.orange { background: #fed7aa; }
.mini-feat h5 {
  font-size: .92rem;
  color: var(--accent);
  margin-bottom: .2rem;
}
.mini-feat p {
  font-size: .82rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}

/* 营销标签云 */
.tag-showcase {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-top: 1.5rem;
}
.t-tag {
  padding: .5rem 1.1rem;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 500;
  background: var(--paper);
  border: 1px solid var(--rule-soft);
  color: var(--ink-soft);
  transition: all .2s;
}
.t-tag:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.t-tag.purple { border-color: #d6f0e6; color: #0FA36B; background: #eefaf4; }
.t-tag.blue { border-color: #bfdbfe; color: #2563eb; background: #eff6ff; }
.t-tag.green { border-color: #a7f3d0; color: #059669; background: #ecfdf5; }
.t-tag.orange { border-color: #fdba74; color: #c2410c; background: #fff7ed; }
.t-tag.pink { border-color: #f9a8d4; color: #be185d; background: #fdf2f8; }
.t-tag.red { border-color: #fca5a5; color: #dc2626; background: #fef2f2; }

/* ========== 模式卡片 ========== */
.mode-card {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 2rem 1.8rem;
  position: relative;
  transition: all .3s;
}
.mode-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.mode-card.featured {
  border-color: var(--accent);
  box-shadow: 0 8px 32px rgba(15,163,107,0.15);
}
.mode-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: .25rem .8rem;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #fff;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 600;
}
.mode-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: linear-gradient(135deg, #e8f7f0, #d6f0e6);
  display: grid;
  place-items: center;
  font-size: 28px;
  margin-bottom: 1.2rem;
}
.mode-card h3 {
  font-size: 1.3rem;
  color: var(--accent);
  margin-bottom: .6rem;
}
.mode-card > p {
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 1.2rem;
}
.dot-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.dot-list li {
  padding: .4rem 0 .4rem 1.2rem;
  position: relative;
  font-size: .85rem;
  color: var(--ink-soft);
}
.dot-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .85rem;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

/* ========== 引擎卡片 ========== */
.engine-card {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 1.8rem 1.5rem;
  transition: all .3s;
}
.engine-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.engine-ico {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, #e8f7f0, #d6f0e6);
  display: grid;
  place-items: center;
  font-size: 22px;
  margin-bottom: 1rem;
}
.engine-card h4 {
  font-size: 1.05rem;
  color: var(--accent);
  margin-bottom: .5rem;
}
.engine-card p {
  font-size: .88rem;
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}

/* ========== 响应式 ========== */
@media (max-width: 960px) {
  .prod-hero-inner { grid-template-columns: 1fr; gap: 2rem; }
  .prod-hero-text h1 { font-size: 2.2rem; }
  .prod-hero-stats { gap: 1.2rem; }
  .prod-hero-stats .stat .num { font-size: 1.6rem; }
  .feature-row { grid-template-columns: 1fr; gap: 2rem; }
  .feature-row.reverse .feature-text { order: 1; }
  .feature-row.reverse .feature-image { order: 2; }
  .feature-text h2 { font-size: 1.6rem; }
  .grid.grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .prod-hero { padding: 2.5rem 0 3rem; }
  .prod-hero-text h1 { font-size: 1.8rem; }
  .prod-hero-actions { flex-direction: column; }
  .btn-white, .btn-outline-white { text-align: center; }
  .prod-hero-stats { gap: 1rem; flex-wrap: wrap; }
  .grid.grid-3 { grid-template-columns: 1fr; }
  .grid.grid-4 { grid-template-columns: 1fr; }
}

/* ---------- Misc ---------- */
.divider { border: none; border-top: 1px solid var(--rule); margin: 2rem 0; }
.center { text-align: center; }
.muted { color: var(--muted); }
.mt-1 { margin-top: .5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1rem; } .mb-3 { margin-bottom: 1.5rem; }
.flex { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }
.data-num { font-size: 1.6rem; font-weight: 800; color: var(--accent); line-height: 1; }
.data-label { font-size: .8rem; color: var(--muted); }

/* ---------- 综合评估 / 评分卡 ---------- */
.verdict-band {
  background: linear-gradient(135deg, var(--accent-deep) 0%, #3A1E30 55%, var(--accent) 100%);
  color: #fff; border-radius: 14px; padding: 1.8rem 2rem; margin: 1.5rem 0; box-shadow: var(--shadow-lg);
}
.verdict-band h2 { color: #fff; border-left-color: var(--accent2); }
.verdict-band .score-ring { display: flex; align-items: center; gap: 1.6rem; flex-wrap: wrap; margin-top: .6rem; }
.verdict-band .big-score { font-size: 3rem; font-weight: 800; color: var(--accent2); line-height: 1; }
.verdict-band .score-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; flex: 1; min-width: 260px; }
.verdict-band .s-item { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); border-radius: 10px; padding: .7rem; text-align: center; }
.verdict-band .s-item .v { font-size: 1.5rem; font-weight: 800; color: #fff; }
.verdict-band .s-item .l { font-size: .74rem; color: rgba(255,255,255,.7); }
.verdict-band .s-item .badge { display:inline-block; font-size:.7rem; padding:.05rem .5rem; border-radius:999px; margin-top:.2rem; font-weight:700; }
.badge-a { background: rgba(196,154,94,.25); color: var(--accent2); }
.badge-b { background: rgba(196,154,94,.15); color: #EAD9B8; }
.badge-c { background: rgba(15,163,163,.2); color: #9fe0e0; }
.badge-d { background: rgba(255,255,255,.12); color: #fff; }
.verdict-band .verdict-text { margin-top: 1rem; font-size: .95rem; color: rgba(255,255,255,.85); }
.verdict-band .verdict-text strong { color: var(--accent2); }

.rank-chip { display:inline-block; padding:.15rem .6rem; border-radius:999px; font-size:.76rem; font-weight:800; }
.rank-s { background: var(--accent); color:#fff; }
.rank-a { background: rgba(14,138,82,.14); color: var(--accent); }
.rank-b { background: rgba(196,154,94,.2); color:#9A7E4A; }
.rank-c { background: rgba(15,163,163,.16); color: var(--teal); }
.rank-d { background: rgba(122,110,122,.15); color: var(--muted); }

.radar-wrap { display:flex; flex-wrap:wrap; gap:1rem; align-items:center; }
.radar-box { flex: 1 1 340px; background: var(--paper); border:1px solid var(--rule); border-radius: var(--radius); padding:1rem; box-shadow: var(--shadow); }
.radar-box svg { width:100%; height:auto; display:block; }

.case-band {
  background: linear-gradient(135deg, #1E1A20, #3A1E30 50%, #5A2A48); color:#fff;
  border-radius:14px; padding:2rem 2.2rem; margin:1.5rem 0; position:relative; overflow:hidden;
}
.case-band::after { content:'限时'; position:absolute; top:1.4rem; right:-2.6rem; background:var(--red); color:#fff; padding:.3rem 3rem; transform:rotate(45deg); font-size:.8rem; font-weight:800; letter-spacing:.1em; }
.case-band h3 { color:var(--accent2); font-size:1.3rem; margin-bottom:.5rem; }
.case-band ul { margin:.6rem 0 0 1.2rem; font-size:.92rem; color:rgba(255,255,255,.85); }
.case-band li { margin:.25rem 0; }
.case-band .case-offer { background:rgba(196,154,94,.15); border:1px dashed var(--accent2); border-radius:10px; padding:.8rem 1rem; margin-top:1rem; font-size:.92rem; }
.case-band .case-offer b { color:var(--accent2); }

.combo-card { border-top:3px solid var(--accent2); }
.combo-card .combo-tag { display:inline-flex; gap:.4rem; flex-wrap:wrap; margin:.4rem 0 .6rem; }
.objective-badge { display:inline-block; background:var(--accent); color:#fff; font-size:.74rem; font-weight:700; padding:.15rem .6rem; border-radius:999px; margin-bottom:.4rem; }

.rank-row { display:grid; grid-template-columns: 44px 1fr 90px 90px 90px 90px 70px; gap:.6rem; align-items:center; padding:.55rem .8rem; border-bottom:1px solid var(--rule-soft); }
.rank-row.head { font-weight:800; color:var(--accent); background:var(--bg2); font-size:.82rem; }
.rank-row .no { font-size:1.1rem; font-weight:800; color:var(--accent2); }
.rank-row .nm a { font-weight:700; color:var(--ink); }
.rank-row .nm a:hover { color:var(--accent); }
.rank-row .bar { height:8px; background:var(--rule-soft); border-radius:999px; overflow:hidden; }
.rank-row .bar>span { display:block; height:100%; background:linear-gradient(90deg,var(--accent),var(--accent2)); }

.num-cell { text-align:right; font-family:'Consolas','Courier New',monospace; font-weight:600; }
.pos { color: var(--green); }
.neg { color: var(--red); }
.stat-grid { display:grid; gap:.8rem; margin:1rem 0; }
.stat-4 { grid-template-columns: repeat(4,1fr); }
.stat-card { background:var(--paper); border:1px solid var(--rule); border-radius:var(--radius-sm); padding:.9rem; text-align:center; box-shadow:var(--shadow); }
.stat-card .num { font-size:1.6rem; font-weight:800; color:var(--accent); line-height:1.1; }
.stat-card .num.green { color:var(--green); }
.stat-card .num.red { color:var(--red); }
.stat-card .num.amber { color:#b8860b; }
.stat-card .label { font-size:.76rem; color:var(--muted); margin-top:.2rem; }

/* ---------- 深度洞察区块：大健康推动力 + 风险矩阵 + 路线图 ---------- */
.insights-block { margin-top: 2.8rem; padding-top: 1rem; }
.beauty-fit {
  display: flex; gap: 1rem; align-items: center;
  background: linear-gradient(135deg, rgba(196,154,94,.12), rgba(14,138,82,.08));
  border: 1px solid var(--accent2); border-radius: var(--radius);
  padding: 1.2rem 1.5rem; margin-bottom: 1.8rem;
}
.beauty-fit .bf-ico { font-size: 2rem; flex: none; }
.beauty-fit b { display: block; color: var(--accent-deep); font-size: .95rem; margin-bottom: .2rem; }
.beauty-fit p { color: var(--ink-soft); font-size: .9rem; margin: 0; }

.scene-tag {
  display: inline-block; background: linear-gradient(135deg, rgba(14,138,82,.1), rgba(196,154,94,.18));
  color: var(--accent-deep); font-size: .72rem; font-weight: 700;
  padding: .12rem .55rem; border-radius: 6px; margin-bottom: .35rem;
  border: 1px solid rgba(14,138,82,.15);
}
.case-badge {
  display: inline-block; font-size: .72rem; font-weight: 700;
  padding: .18rem .6rem; border-radius: 6px; letter-spacing: .02em;
}
.case-badge-1 { background: rgba(14,138,82,.12); color: var(--accent); }
.case-badge-2 { background: rgba(11,163,163,.12); color: var(--teal); }
.case-badge-3 { background: rgba(196,154,94,.18); color: #9A7E4A; }

/* 首页分类胶囊 */
.cat-pills { display: flex; gap: .5rem; flex-wrap: wrap; justify-content: center; margin-bottom: 1.6rem; }
.cat-pill {
  display: inline-block; padding: .28rem .9rem; border-radius: 999px;
  background: var(--paper); border: 1px solid var(--rule);
  font-size: .8rem; font-weight: 600; color: var(--ink-soft);
  box-shadow: var(--shadow);
}

/* 排行榜分数条 */
.score-bar {
  width: 60px; height: 5px; background: var(--rule);
  border-radius: 3px; overflow: hidden; margin-top: 2px;
}
.score-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  border-radius: 3px;
  transition: width .4s ease;
}
.rank-row .sc { display: block; font-weight: 700; font-size: .85rem; }
.rank-row > span { display: flex; flex-direction: column; justify-content: center; }
.rank-row .no, .rank-row .nm { flex-direction: row; align-items: center; }

/* 业态选择器 */
.biz-selector {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: .8rem; margin-bottom: 1.2rem;
}
.biz-card {
  background: var(--paper); border: 2px solid var(--rule);
  border-radius: 12px; padding: 1rem; cursor: pointer;
  text-align: left; transition: all .2s ease;
  box-shadow: var(--shadow);
}
.biz-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.biz-card.active {
  border-color: var(--accent); background: linear-gradient(135deg, rgba(14,138,82,.06), rgba(196,154,94,.08));
  box-shadow: 0 4px 16px rgba(14,138,82,.15);
}
.biz-ico { font-size: 1.4rem; margin-bottom: .3rem; }
.biz-name { font-weight: 700; font-size: .95rem; color: var(--ink); }
.biz-desc { font-size: .78rem; color: var(--muted); margin-top: .15rem; }
.biz-result {
  background: var(--paper); border: 2px solid var(--accent);
  border-radius: 14px; padding: 1.4rem;
  box-shadow: 0 8px 28px rgba(14,138,82,.12);
  animation: bizFadeIn .3s ease;
}
@keyframes bizFadeIn { from {opacity:0;transform:translateY(-8px);} to {opacity:1;transform:translateY(0);} }
.biz-result-title { font-size: 1.1rem; font-weight: 800; color: var(--accent-deep); }
.biz-sec-title { font-weight: 700; font-size: .88rem; color: var(--ink); margin-bottom: .2rem; }
.biz-result-cta { margin-top: 1rem; text-align: center; }
.biz-result-cta .btn { margin: 0 .3rem; }

@media (max-width: 768px) {
  .biz-selector { grid-template-columns: repeat(2, 1fr); }
}
.str-badge { display: inline-block; padding: .1rem .6rem; border-radius: 999px; font-size: .74rem; font-weight: 800; }
.str-s { background: linear-gradient(135deg, #0E8A52, #C49A5E); color: #fff; }
.str-a { background: rgba(14,138,82,.14); color: var(--accent); }
.str-b { background: rgba(196,154,94,.2); color: #9A7E4A; }
.str-c { background: rgba(122,110,122,.12); color: var(--muted); }

.lvl-badge { display: inline-block; padding: .1rem .55rem; border-radius: 6px; font-size: .74rem; font-weight: 700; }
.lvl-h { background: var(--red-soft); color: var(--red); }
.lvl-m { background: rgba(184,138,11,.12); color: #b8860b; }
.lvl-l { background: var(--green-soft); color: var(--green); }

.factor-table td:first-child { white-space: nowrap; width: 1%; }
.factor-table td:last-child { font-size: .85rem; color: var(--ink-soft); }
.risk-matrix td:last-child { font-size: .85rem; color: var(--ink-soft); }

/* 路线图时间轴 */
.roadmap { display: grid; gap: 1rem; margin: 1.4rem 0; }
.rm-step {
  display: flex; gap: 1rem; align-items: flex-start;
  background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius);
  padding: 1.2rem 1.4rem; box-shadow: var(--shadow); position: relative;
}
.rm-step::before {
  content: ''; position: absolute; left: 2.3rem; top: 3.6rem; bottom: -1rem;
  width: 2px; background: linear-gradient(to bottom, var(--accent2), var(--accent));
  opacity: .35;
}
.rm-step:last-child::before { display: none; }
.rm-num {
  flex: none; width: 2.2rem; height: 2.2rem; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: var(--accent2); display: grid; place-items: center;
  font-weight: 800; font-size: .95rem; box-shadow: var(--shadow);
}
.rm-body { flex: 1; }
.rm-head { display: flex; align-items: center; gap: .6rem; margin-bottom: .3rem; }
.rm-head b { font-size: .95rem; color: var(--accent); }
.rm-dur {
  display: inline-block; background: rgba(196,154,94,.15); color: #9A7E4A;
  font-size: .74rem; font-weight: 700; padding: .05rem .5rem; border-radius: 999px;
}

/* ---------- 用户侧动态可持续推演（文字版） ---------- */
.sus-panel { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; margin: 1.2rem 0 1.8rem; }
.sus-item {
  display: flex; gap: .7rem; background: var(--paper); border: 1px solid var(--rule);
  border-radius: var(--radius); padding: 1rem 1.1rem; box-shadow: var(--shadow);
}
.sus-item b { display: block; color: var(--accent-deep); font-size: .9rem; margin-bottom: .25rem; }
.sus-item p { font-size: .84rem; color: var(--ink-soft); margin: 0; }
.sus-ico { flex: none; font-size: 1.3rem; line-height: 1.3; }
.sus-pain { border-left: 4px solid var(--red); }
.sus-gate { border-left: 4px solid #b8860b; }
.sus-keep { border-left: 4px solid var(--green); }

/* ---------- 动态可持续曲线（规模 vs 用户动力） ---------- */
.dyn-layout { display: grid; grid-template-columns: minmax(280px, 460px) 1fr; gap: 1.4rem; margin: 1.2rem 0 1.8rem; align-items: stretch; }
.dyn-chart {
  background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius);
  padding: 1.1rem 1.2rem .6rem; box-shadow: var(--shadow);
}
.dyn-chart-head { display: flex; align-items: center; justify-content: space-between; gap: .6rem; margin-bottom: .3rem; }
.dyn-tag { display: inline-block; padding: .12rem .7rem; border-radius: 999px; font-size: .76rem; font-weight: 800; }
.dyn-safe { background: var(--green-soft); color: var(--green); }
.dyn-warn { background: rgba(184,138,11,.14); color: #9A7E4A; }
.dyn-fragile { background: var(--red-soft); color: var(--red); }
.dyn-card { display: flex; flex-direction: column; gap: .7rem; }
.dyn-row {
  display: flex; gap: .7rem; background: var(--paper); border: 1px solid var(--rule);
  border-radius: var(--radius-sm); padding: .8rem .95rem; box-shadow: var(--shadow);
}
.dyn-row b { display: block; color: var(--accent-deep); font-size: .86rem; margin-bottom: .2rem; }
.dyn-row p { font-size: .82rem; color: var(--ink-soft); margin: 0; }
.dyn-ico { flex: none; font-size: 1.15rem; line-height: 1.3; }
.dyn-phase { border-left: 4px solid var(--accent2); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .mode-layout { grid-template-columns: 1fr; }
  .mode-toc { position: static; }
  .compare { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--paper); border-bottom: 1px solid var(--rule); flex-direction: column; padding: .6rem 1rem; align-items: stretch; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .hero h1 { font-size: 2rem; }
  .stat-4 { grid-template-columns: repeat(2, 1fr); }
  .verdict-band .score-grid { grid-template-columns: repeat(2, 1fr); }
  .sus-panel { grid-template-columns: 1fr; }
  .dyn-layout { grid-template-columns: 1fr; }
  .rank-row { grid-template-columns: 36px 1fr 64px 64px 64px; }
  .rank-row .hide-sm { display: none; }
  .rank-row .bar-col { display:none; }
}
@media (max-width: 560px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .hero-stats { gap: 1.4rem; }
  .hero-stat .num { font-size: 1.6rem; }
  .stat-4 { grid-template-columns: repeat(2, 1fr); }
}

/* 示意图卡片 */
.diagram-box {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 20px;
  margin: 1.2rem 0;
  box-shadow: 0 2px 8px rgba(74,27,57,.06);
}
.diagram-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 12px;
  text-align: center;
}
.diagram-note {
  margin-top: 12px;
  padding: 10px 14px;
  background: var(--bg2);
  border-radius: 8px;
  font-size: .9rem;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* ========== 门控（工具页留资解锁） ========== */
.gated-section {
  position: relative;
}

.gated-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0.85) 60%, rgba(255,255,255,0.95) 100%);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  z-index: 10;
  pointer-events: none;
  border-radius: var(--radius);
  transition: opacity 0.5s ease;
}

#gateSection {
  position: relative;
  z-index: 20;
}

.gate-card {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem;
  text-align: center;
}

.gate-card .lock-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin: 0 auto 14px;
}

.gate-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: .5rem;
  color: var(--ink);
}

.gate-card .gate-desc {
  font-size: .9rem;
  color: var(--muted);
  margin-bottom: 1.4rem;
  line-height: 1.6;
}

.gate-form {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  max-width: 360px;
  margin: 0 auto;
  text-align: left;
}

.gate-form input,
.gate-form select {
  width: 100%;
  padding: .65rem .9rem;
  border: 1px solid var(--rule);
  border-radius: var(--radius-sm);
  font-size: .92rem;
  background: var(--paper);
  color: var(--ink);
  box-sizing: border-box;
  transition: border-color 0.2s;
}

.gate-form input:focus,
.gate-form select:focus {
  outline: none;
  border-color: var(--accent);
}

.gate-form button {
  width: 100%;
  padding: .8rem;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.1s;
  box-shadow: 0 4px 12px rgba(196, 107, 140, 0.25);
}

.gate-form button:hover {
  opacity: 0.92;
}

.gate-form button:active {
  transform: translateY(1px);
}

.gate-form button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.gate-form .privacy {
  font-size: .78rem;
  color: var(--muted);
  text-align: center;
  margin: 0;
  line-height: 1.5;
}

.gate-hidden {
  display: none !important;
}

/* 工具页内联门控：结果区被遮罩，门控卡片浮在下方 */
.tool-gate-wrap {
  position: relative;
}

.tool-gate-wrap .gated-overlay {
  pointer-events: none;
  z-index: 5;
}

.tool-gate-wrap #gateSection {
  margin-top: -120px;
  position: relative;
  z-index: 10;
}

@media (max-width: 900px) {
  .gate-card { padding: 1.5rem; }
  .tool-gate-wrap #gateSection { margin-top: -80px; }
}

/* ===== 大健康版：响应式兜底（手机可读桌面页） ===== */
@media (max-width: 900px) {
  body { min-width: 0 !important; }
  .container { max-width: 100% !important; padding-left: 16px; padding-right: 16px; }
  .grid, .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr !important; }
  .nav-links { display: none !important; }
  .nav-toggle { display: inline-block !important; }
  .mode-layout { grid-template-columns: 1fr !important; }
  .mode-toc { position: static !important; width: auto !important; margin-bottom: 1.5rem; }
  .section { padding: 2rem 0 !important; }
  .hero h1 { font-size: 2rem !important; }
  table { display: block; overflow-x: auto; white-space: nowrap; }
  .footer-grid { grid-template-columns: 1fr 1fr !important; }
}
