:root {
  --ink: #4f2b1c;
  --ink-dark: #351b10;
  --muted: #7a5c4a;
  --line: #ec8a3f;
  --paper: #fbf4e7;
  --panel: #fffaf2;
  --brand: #f6a023;
  --accent: #ec4b15;
  --accent-dark: #6a321e;
  --leaf: #5c9d2e;
  --blue: #366c9d;
  --red: #b84728;
  --shadow: 0 22px 60px rgba(79, 43, 28, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 104px;
  padding: 10px clamp(18px, 4vw, 56px);
  background: rgba(251, 244, 231, 0.92);
  border-bottom: 1px solid rgba(236, 138, 63, 0.34);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  min-width: 0;
}

.brand-pet {
  display: block;
  width: 84px;
  height: 84px;
  flex: 0 0 auto;
  background-image: url("assets/tudou-spritesheet.webp");
  background-repeat: no-repeat;
  background-position: 0 0;
  background-size: 672px auto;
  image-rendering: pixelated;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  color: var(--ink);
  font-size: 25px;
  line-height: 1.1;
  font-weight: 700;
}

.brand small {
  margin-top: 4px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 6px;
  border: 1px solid rgba(236, 138, 63, 0.22);
  border-radius: 999px;
  background: rgba(255, 250, 242, 0.72);
  color: var(--ink);
  font-size: 14px;
  box-shadow: 0 10px 30px rgba(79, 43, 28, 0.06);
}

.nav-links a {
  min-height: 34px;
  padding: 8px 16px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 600;
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--ink);
  background: rgba(246, 160, 35, 0.16);
}

.header-action,
.primary-btn,
.secondary-btn,
.login-panel button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-weight: 700;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.header-phone {
  display: grid;
  min-height: 44px;
  align-content: center;
  padding: 6px 12px 6px 14px;
  border: 1px solid rgba(236, 138, 63, 0.26);
  border-right: 0;
  border-radius: 999px 0 0 999px;
  color: var(--ink);
  background: rgba(255, 250, 242, 0.78);
}

.header-phone span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}

.header-phone strong {
  margin-top: 4px;
  color: var(--accent);
  font-size: 15px;
  line-height: 1;
  font-weight: 700;
}

.header-qr {
  position: relative;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 7px;
  padding: 5px 12px 5px 7px;
  margin-left: -10px;
  border: 1px solid rgba(236, 138, 63, 0.26);
  border-left: 0;
  border-radius: 0 999px 999px 0;
  color: var(--ink);
  background: rgba(255, 250, 242, 0.78);
  cursor: default;
}

.header-qr > img {
  width: 32px;
  height: 32px;
  border-radius: 4px;
  object-fit: cover;
  background: #fff;
}

.header-qr > span {
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.qr-popover {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  z-index: 30;
  width: 188px;
  padding: 12px;
  border: 1px solid rgba(236, 138, 63, 0.35);
  border-radius: 10px;
  background: var(--panel);
  box-shadow: 0 20px 50px rgba(53, 27, 16, 0.18);
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease;
}

.qr-popover img {
  display: block;
  width: 164px;
  height: 164px;
  border-radius: 6px;
  object-fit: cover;
}

.qr-popover b {
  display: block;
  margin-top: 8px;
  color: var(--ink);
  font-size: 13px;
  text-align: center;
}

.header-qr:hover .qr-popover,
.header-qr:focus .qr-popover,
.header-qr:focus-within .qr-popover {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.header-action {
  min-width: 104px;
  min-height: 44px;
  padding: 0 18px;
  color: #fff;
  background: var(--ink-dark);
  box-shadow: 0 12px 28px rgba(53, 27, 16, 0.16);
  border-radius: 10px;
}

.hero {
  position: relative;
  min-height: clamp(720px, calc(100vh - 104px), 900px);
  display: flex;
  align-items: center;
  padding-right: 0;
  padding-left: 0;
  overflow: hidden;
  background:
    linear-gradient(115deg, rgba(53, 27, 16, 0.96) 0%, rgba(88, 44, 23, 0.93) 46%, rgba(178, 86, 24, 0.72) 100%),
    radial-gradient(circle at 84% 18%, rgba(246, 160, 35, 0.32), transparent 32%),
    var(--ink-dark);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 72px;
  background: linear-gradient(180deg, rgba(251, 244, 231, 0), var(--paper));
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
  gap: clamp(32px, 6vw, 86px);
  align-items: center;
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 56px 0 88px;
  color: #fff;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(40px, 5.6vw, 68px);
  line-height: 1.06;
  letter-spacing: 0;
}

.hero h1 span {
  display: block;
}

.hero-copy {
  max-width: 660px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(18px, 2.2vw, 24px);
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: 620px;
  margin: 0 0 20px;
  padding: 12px 16px;
  border: 1px solid rgba(246, 160, 35, 0.36);
  border-radius: 10px;
  background: rgba(255, 250, 242, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.hero-trust img {
  display: block;
  width: 76px;
  height: 42px;
  object-fit: contain;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  padding: 8px;
  flex: 0 0 auto;
}

.hero-trust span {
  display: block;
  color: var(--brand);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.hero-trust p {
  margin: 6px 0 0;
  color: #fff6eb;
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.4;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.primary-btn {
  padding: 0 22px;
  color: #fff;
  background: var(--accent);
  border: 1px solid rgba(255, 216, 174, 0.36);
}

.secondary-btn {
  padding: 0 22px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.08);
}

.stats-band {
  padding-top: clamp(30px, 3.6vw, 48px);
  padding-bottom: clamp(30px, 3.6vw, 48px);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  gap: 1px;
  background: rgba(236, 138, 63, 0.24);
  border: 1px solid rgba(236, 138, 63, 0.24);
  border-radius: 14px;
  overflow: hidden;
}

.stats-grid div {
  padding: 26px 24px;
  background: var(--panel);
  text-align: center;
  transition: background 0.2s ease;
}

.stats-grid div:hover {
  background: rgba(246, 160, 35, 0.1);
}

.stats-grid dt {
  color: var(--accent);
  font-size: clamp(34px, 4vw, 46px);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  letter-spacing: -0.02em;
}

.hero-dashboard {
  position: relative;
  border: 1px solid rgba(255, 202, 139, 0.45);
  border-radius: 14px;
  background: var(--panel);
  box-shadow: 0 28px 80px rgba(20, 8, 4, 0.28);
  transform-style: preserve-3d;
  transition: transform 0.5s cubic-bezier(0.2, 0.6, 0.2, 1);
  will-change: transform;
}

.hero-dashboard-top {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 22px;
  color: #fff;
  background: var(--ink-dark);
  border-radius: 13px 13px 0 0;
  font-size: 14px;
}

.hero-dashboard-top strong {
  font-weight: 700;
}

.hero-dashboard-top em {
  margin-left: auto;
  padding: 3px 9px;
  color: #ffd79a;
  background: rgba(246, 160, 35, 0.18);
  border-radius: 999px;
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #7ed957;
  box-shadow: 0 0 0 0 rgba(126, 217, 87, 0.6);
  animation: livePulse 2.4s ease-out infinite;
}

@keyframes livePulse {
  0% {
    box-shadow: 0 0 0 0 rgba(126, 217, 87, 0.55);
  }
  70% {
    box-shadow: 0 0 0 9px rgba(126, 217, 87, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(126, 217, 87, 0);
  }
}

.hero-dashboard-body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding: 16px;
}

.health-card,
.suggestion-card,
.heat-card {
  border: 1px solid rgba(236, 138, 63, 0.22);
  border-radius: 10px;
  background: #fff;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.health-card:hover,
.suggestion-card:hover,
.heat-card:hover {
  border-color: rgba(236, 138, 63, 0.55);
  box-shadow: 0 10px 26px rgba(79, 43, 28, 0.1);
}

.health-card,
.suggestion-card {
  display: flex;
  flex-direction: column;
  padding: 16px 18px;
}

.health-card small,
.suggestion-card small,
.heat-card small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.health-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.health-card strong {
  display: block;
  margin-top: 6px;
  color: var(--accent);
  font-size: 40px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 0.95;
  letter-spacing: -0.02em;
}

.health-card > .health-top span {
  color: var(--leaf);
  font-size: 12px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.spark {
  position: relative;
  flex: 0 0 168px;
  align-self: flex-end;
}

.spark svg {
  display: block;
  width: 168px;
  height: 52px;
  overflow: visible;
}

.spark-line {
  fill: none;
  stroke: var(--brand);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.spark-dot {
  fill: var(--accent);
  stroke: #fff;
  stroke-width: 2;
  transition: transform 0.18s ease;
}

.spark-tip {
  position: absolute;
  top: -26px;
  left: 0;
  padding: 3px 8px;
  color: #fff;
  background: var(--ink-dark);
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  transform: translateX(-50%);
  pointer-events: none;
}

.health-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 14px 0 0;
  padding-top: 12px;
  border-top: 1px solid rgba(236, 138, 63, 0.18);
  gap: 4px;
}

.health-kpis div {
  padding: 6px 8px;
  border-radius: 8px;
  transition: background 0.18s ease;
}

.health-kpis div:hover {
  background: rgba(246, 160, 35, 0.12);
}

.health-kpis dt {
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
}

.health-kpis dd {
  display: flex;
  align-items: baseline;
  gap: 5px;
  margin: 3px 0 0;
  color: var(--ink-dark);
  font-size: 16px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.health-kpis i {
  font-size: 10.5px;
  font-style: normal;
  font-weight: 700;
}

.health-kpis .up {
  color: var(--leaf);
}

.health-kpis .down {
  color: var(--blue);
}

.suggestion-card p {
  margin: 10px 0 auto;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.55;
}

.suggestion-actions {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

.suggestion-actions button {
  padding: 7px 12px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition:
    transform 0.16s ease,
    background 0.16s ease,
    color 0.16s ease;
}

.suggestion-actions .adopt {
  color: #fff;
  background: var(--accent);
}

.suggestion-actions .adopt:hover {
  transform: translateY(-1px);
  background: #d43f0d;
}

.suggestion-actions .skip {
  color: var(--muted);
  background: transparent;
  border-color: rgba(236, 138, 63, 0.34);
}

.suggestion-actions .skip:hover {
  color: var(--ink);
  background: rgba(246, 160, 35, 0.12);
}

.heat-card {
  position: relative;
  grid-column: 1 / -1;
  padding: 16px 18px;
}

.heat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.heat-legend {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 600;
}

.heat-legend i {
  width: 12px;
  height: 8px;
  border-radius: 2px;
}

.mini-heatmap {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 7px;
  margin-top: 14px;
}

.mini-heatmap span {
  height: 16px;
  border-radius: 4px;
  cursor: crosshair;
  transition:
    transform 0.16s cubic-bezier(0.2, 0.6, 0.2, 1),
    box-shadow 0.16s ease;
}

.mini-heatmap span:hover {
  transform: scale(1.22);
  box-shadow: 0 4px 12px rgba(79, 43, 28, 0.28);
}

.mini-heatmap.is-dimmed span {
  opacity: 0.42;
  transition: opacity 0.16s ease;
}

.mini-heatmap.is-dimmed span:hover {
  opacity: 1;
}

.lv-0 {
  background: #ecd9bd;
}

.lv-1 {
  background: var(--brand);
}

.lv-2 {
  background: #ec8a3f;
}

.lv-3 {
  background: var(--accent);
}

.heat-tip {
  position: absolute;
  z-index: 3;
  padding: 6px 10px;
  color: #fff;
  background: var(--ink-dark);
  border-radius: 8px;
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.5;
  white-space: nowrap;
  pointer-events: none;
  transform: translate(-50%, -110%);
}

.heat-tip b {
  display: block;
  color: #ffd79a;
  font-weight: 700;
}

.hero-toast {
  position: absolute;
  top: -20px;
  right: -22px;
  z-index: 4;
  display: grid;
  gap: 2px;
  padding: 10px 14px;
  background: #fff;
  border: 1px solid rgba(236, 138, 63, 0.3);
  border-radius: 10px;
  box-shadow: 0 14px 34px rgba(20, 8, 4, 0.24);
  opacity: 0;
  transform: translateY(-8px);
  animation: toastIn 0.6s cubic-bezier(0.2, 0.6, 0.2, 1) 1.4s forwards;
}

.hero-toast b {
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
}

.hero-toast span {
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 600;
}

@keyframes toastIn {
  to {
    opacity: 1;
    transform: none;
  }
}

.stats-grid dd {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

section {
  padding: clamp(58px, 8vw, 104px) clamp(18px, 4vw, 56px);
}

.company-access,
.solution-section,
.company-section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.company-access {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(360px, 0.9fr) minmax(560px, 1.35fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  margin-top: 24px;
  padding: 30px 40px;
  border: 1px solid rgba(236, 138, 63, 0.46);
  border-radius: 8px;
  background: rgba(255, 250, 242, 0.96);
  box-shadow: var(--shadow);
}

.company-access h2,
.section-heading h2,
.solution-copy h2,
.company-section h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.12;
  letter-spacing: 0;
}

.company-access h2 {
  max-width: 620px;
  font-size: clamp(26px, 2.5vw, 34px);
  line-height: 1.28;
}

.login-panel {
  display: grid;
  grid-template-columns: minmax(220px, 1.1fr) minmax(220px, 1fr) auto;
  gap: 14px;
  align-items: end;
}

.login-panel label {
  display: grid;
  gap: 6px;
}

.login-panel label span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.login-panel select,
.login-panel input {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  color: var(--ink);
  background: #fff;
}

.login-panel button {
  align-self: end;
  min-width: 180px;
  padding: 0 18px;
  color: #fff;
  border: 0;
  background: var(--ink-dark);
  cursor: pointer;
  white-space: nowrap;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 34px;
  text-align: center;
}

.pain-heading {
  max-width: 980px;
}

.pain-heading h2 {
  white-space: nowrap;
}

.section-heading p,
.solution-copy p,
.company-section p {
  color: var(--muted);
  font-size: 17px;
}

.faq-list {
  width: min(860px, calc(100% - 36px));
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  padding: 4px 22px;
  transition: border-color 0.2s ease;
}

.faq-list details[open] {
  border-color: var(--brand);
}

.faq-list summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 0;
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  font-size: 24px;
  font-weight: 400;
  color: var(--accent);
  transition: transform 0.2s ease;
}

.faq-list details[open] summary::after {
  transform: rotate(45deg);
}

.faq-list details p {
  margin: 0;
  padding: 0 0 20px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  gap: 18px;
}

.pain-grid article,
.steps article,
.post-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.pain-grid article {
  min-height: 230px;
  padding: 26px;
}

.pain-grid span,
.steps span {
  color: var(--accent);
  font-weight: 700;
}

.pain-grid h3,
.steps h3,
.post-card h3 {
  margin: 18px 0 10px;
  font-size: 22px;
  line-height: 1.2;
}

.pain-grid p,
.steps p,
.post-card p {
  margin: 0;
  color: var(--muted);
}

.solution-section {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(26px, 6vw, 72px);
  align-items: center;
}

.capability-list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.capability-list div {
  padding: 16px;
  border-left: 4px solid var(--accent);
  background: var(--panel);
}

.capability-list strong,
.capability-list span {
  display: block;
}

.capability-list span {
  margin-top: 4px;
  color: var(--muted);
}

.product-visual {
  overflow: hidden;
  border: 1px solid rgba(236, 138, 63, 0.34);
  border-radius: 16px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.screen-top {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  color: rgba(255, 255, 255, 0.9);
  background: var(--ink-dark);
}

.screen-top span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d85d4f;
}

.screen-top span:nth-child(2) {
  background: #d6a142;
}

.screen-top span:nth-child(3) {
  background: #4ba76b;
}

.screen-top strong {
  margin-left: auto;
  font-size: 13px;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 14px;
  padding: 16px;
}

.dashboard-grid > div {
  min-height: 120px;
  padding: 16px 18px;
  border: 1px solid rgba(236, 138, 63, 0.22);
  border-radius: 10px;
  color: var(--ink);
  background: #fff;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.dashboard-grid > div:hover {
  border-color: rgba(236, 138, 63, 0.55);
  box-shadow: 0 10px 26px rgba(79, 43, 28, 0.1);
}

.dashboard-grid small {
  display: block;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.main-chart {
  grid-row: span 2;
}

.bar-card {
  grid-column: 1 / -1;
}

.bar-card i {
  margin: 12px 0;
}

.heatmap {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}

.heatmap span {
  aspect-ratio: 1 / 0.72;
  border-radius: 6px;
  transition: transform 0.16s cubic-bezier(0.2, 0.6, 0.2, 1);
}

.heatmap span:hover {
  transform: scale(1.1);
}

.heat-axis {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 600;
}




.agent-card p {
  margin: 0;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.55;
}

.score-card strong {
  display: block;
  color: var(--accent);
  font-size: 44px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.score-card span {
  color: var(--leaf);
  font-size: 12.5px;
  font-weight: 700;
}

.bar-card i {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 8px;
  margin: 10px 0;
  font-style: normal;
}

.bar-card i::before {
  content: "";
  grid-column: 1 / -1;
  grid-row: 2;
  height: 8px;
  width: var(--w);
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
}

.bar-card em {
  grid-row: 1;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
}

.bar-card b {
  grid-row: 1;
  color: var(--ink-dark);
  font-size: 12.5px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.pricing-section {
  background: var(--paper);
}

.pricing-panel {
  position: relative;
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 14px 0 0;
}

.pricing-badge {
  position: absolute;
  top: 28px;
  left: 46px;
  display: inline-flex;
  min-width: 136px;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--accent);
  border-radius: 8px;
  color: var(--accent);
  background: #fff1cf;
  font-size: 20px;
  font-weight: 700;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 4vw, 42px);
}

.pricing-card {
  position: relative;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  padding: 30px 26px 26px;
  border: 1px solid rgba(236, 138, 63, 0.34);
  border-radius: 18px;
  text-align: left;
  background: #fff;
  box-shadow: 0 14px 30px rgba(79, 43, 28, 0.06);
}

.pricing-card.featured {
  border: 1.5px solid var(--accent);
  box-shadow: 0 22px 48px rgba(236, 75, 21, 0.16);
}

.plan-badge {
  position: absolute;
  top: -13px;
  left: 26px;
  padding: 5px 12px;
  color: #fff;
  background: var(--accent);
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  white-space: nowrap;
}

.plan-icon {
  position: relative;
  width: 58px;
  height: 58px;
  border: 1.5px solid rgba(236, 138, 63, 0.62);
  border-radius: 12px;
  background: #fffaf2;
  box-shadow: inset 0 0 0 8px rgba(246, 160, 35, 0.08);
}

.store-icon::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 18px;
  width: 28px;
  height: 25px;
  border: 3px solid var(--accent-dark);
  border-top-color: var(--accent);
  border-radius: 3px;
  background: linear-gradient(90deg, #fff 0 45%, #ffe0a9 45% 55%, #fff 55%);
}

.store-icon::after {
  content: "";
  position: absolute;
  left: 13px;
  top: 13px;
  width: 32px;
  height: 9px;
  border-radius: 3px 3px 0 0;
  background: var(--brand);
}

.growth-icon::before {
  content: "";
  position: absolute;
  inset: 13px 21px;
  border-left: 4px solid var(--accent);
  border-bottom: 4px solid var(--brand);
  transform: rotate(45deg);
}

.growth-icon::after {
  content: "";
  position: absolute;
  left: 20px;
  top: 16px;
  width: 18px;
  height: 28px;
  border: 3px solid #d6a142;
  border-radius: 50% 50% 45% 45%;
}

.pro-icon::before,
.pro-icon::after {
  content: "";
  position: absolute;
  left: 13px;
  width: 32px;
  height: 13px;
  border-radius: 50%;
  border: 3px solid #e2c08c;
}

.pro-icon::before {
  top: 15px;
}

.pro-icon::after {
  top: 27px;
  border-color: var(--brand);
}

.pricing-card h3 {
  margin: 14px 0 0;
  color: #1d0f09;
  font-size: 24px;
  line-height: 1.15;
}

.pricing-card strong {
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.pricing-card b {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-top: 16px;
  color: var(--accent);
  font-size: 44px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  letter-spacing: -0.02em;
}

.pricing-card b i {
  color: var(--muted);
  font-size: 15px;
  font-style: normal;
  font-weight: 600;
}

.plan-list {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.plan-list li {
  position: relative;
  padding: 5px 0 5px 24px;
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 600;
}

.plan-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 11px;
  width: 11px;
  height: 6px;
  border-left: 2px solid var(--leaf);
  border-bottom: 2px solid var(--leaf);
  transform: rotate(-45deg);
}

.plan-link {
  margin-top: 16px;
  color: var(--accent);
  font-size: 13.5px;
  font-weight: 700;
  transition: gap 0.16s ease, opacity 0.16s ease;
}

.plan-link:hover {
  opacity: 0.75;
}



.questions-section {
  background: var(--panel);
}

.question-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  gap: 12px;
}

.question-grid button {
  min-height: 86px;
  padding: 16px;
  color: var(--ink);
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffaf2;
  cursor: pointer;
}

.question-grid button:hover {
  border-color: var(--accent);
}

.diagnosis-section {
  background: linear-gradient(180deg, rgba(246, 160, 35, 0.1), var(--paper) 60%);
}

.diagnosis-section .section-heading p {
  color: var(--muted);
}

.diagnosis-section .section-heading h2 {
  color: var(--ink-dark);
  font-size: clamp(28px, 3.4vw, 44px);
  max-width: 900px;
  margin-inline: auto;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(186px, 1fr));
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  gap: 16px;
}

.diagnosis-section .steps article {
  padding: 22px 20px;
  color: var(--ink);
  background: var(--panel);
  border: 1px solid rgba(236, 138, 63, 0.34);
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(79, 43, 28, 0.06);
}

.diagnosis-section .steps article h3 {
  color: var(--ink-dark);
  font-size: 18px;
  font-weight: 700;
}

.diagnosis-section .steps article p {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.6;
}

.community-layout {
  display: grid;
  grid-template-columns: 190px 1fr;
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  gap: 20px;
}

.community-filters {
  display: grid;
  align-content: start;
  gap: 10px;
}

.community-filters button {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  cursor: pointer;
}

.community-filters button.active {
  color: #fff;
  border-color: var(--ink-dark);
  background: var(--ink-dark);
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.post-card {
  min-height: 260px;
  padding: 22px;
}

.post-card strong {
  color: var(--accent);
}

.post-card span {
  display: inline-block;
  margin-top: 24px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
}

.post-card.is-hidden {
  display: none;
}

.company-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 72px;
  margin-bottom: 28px;
  padding: 28px 36px;
  border: 1px solid rgba(236, 138, 63, 0.34);
  border-radius: 8px;
  background: rgba(255, 250, 242, 0.96);
  box-shadow: var(--shadow);
}

.company-section div {
  max-width: 780px;
}

.company-section .primary-btn {
  flex: 0 0 auto;
  min-width: 132px;
}

.site-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 30px 18px;
  color: rgba(255, 255, 255, 0.76);
  background: var(--ink-dark);
  text-align: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px 28px;
}

.site-footer span {
  color: #fff;
  font-weight: 700;
}

.footer-legal {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
}

.footer-legal p {
  margin: 0;
}

.footer-legal span {
  font-weight: 400;
  color: rgba(255, 255, 255, 0.6);
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.6);
  margin-left: 10px;
}

@media (max-width: 980px) {
  .site-header {
    align-items: center;
  }

  .nav-links {
    display: none;
  }

  .header-phone {
    display: none;
  }

  .hero {
    background:
      linear-gradient(135deg, rgba(53, 27, 16, 0.96), rgba(106, 50, 30, 0.9)),
      radial-gradient(circle at 92% 12%, rgba(246, 160, 35, 0.28), transparent 36%),
      var(--ink-dark);
  }

  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-dashboard {
    max-width: 560px;
  }

  .company-access,
  .solution-section,
  .login-panel,
  .community-layout,
  .company-section {
    grid-template-columns: 1fr;
  }

  .company-access h2 {
    max-width: none;
    font-size: clamp(24px, 6vw, 34px);
  }

  .pain-heading h2 {
    white-space: normal;
  }

  .login-panel button {
    width: 100%;
  }

  .pain-grid,
  .steps,
  .post-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .question-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .company-section {
    display: grid;
  }
}

@media (max-width: 620px) {
  .site-header {
    min-height: 84px;
    padding: 12px 14px;
  }

  .brand-pet {
    width: 64px;
    height: 64px;
    background-size: 512px auto;
  }

  .brand strong {
    font-size: 19px;
  }

  .brand small {
    font-size: 10px;
  }

  .header-tools {
    gap: 4px;
    min-width: 0;
  }

  .header-action {
    min-width: 0;
    min-height: 40px;
    padding: 0 10px;
    font-size: 12.5px;
  }

  .site-header {
    gap: 8px;
    padding: 12px 10px;
  }

  .brand strong {
    font-size: 17px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .header-qr {
    min-height: 40px;
    margin-left: 0;
    border-left: 1px solid rgba(236, 138, 63, 0.26);
    border-radius: 999px;
    padding: 5px;
  }

  .header-qr > img {
    width: 30px;
    height: 30px;
  }

  .header-qr > span {
    display: none;
  }

  .qr-popover {
    right: -68px;
  }

  .header-action {
    min-width: 86px;
    min-height: 40px;
    padding: 0 12px;
    font-size: 13px;
  }

  .hero-inner {
    width: calc(100vw - 28px);
    padding-top: 58px;
    overflow: hidden;
  }

  .hero-content,
  .hero-dashboard,
  .hero-trust {
    max-width: 100%;
    min-width: 0;
  }

  .question-grid,
  .dashboard-grid,
  .hero-dashboard-body {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 340px;
  }

  .hero-actions a {
    width: 100%;
    justify-content: center;
  }

  .hero-dashboard {
    width: calc(100vw - 28px);
  }

  .hero-dashboard-body > div {
    min-width: 0;
  }

  .mini-heatmap {
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 4px;
  }

  .mini-heatmap span {
    height: 14px;
  }

  .hero-toast {
    display: none;
  }

  .heat-card {
    grid-column: auto;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(36px, 11vw, 44px);
    overflow-wrap: anywhere;
  }

  .hero-copy {
    width: calc(100vw - 56px);
    max-width: calc(100vw - 56px);
    font-size: 17px;
    overflow-wrap: anywhere;
    word-break: break-all;
  }

  .hero-trust {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
  }

  .hero-trust div {
    min-width: 0;
  }

  .hero-trust img {
    width: 76px;
    height: 44px;
    padding: 6px;
  }

  .hero-trust p {
    width: calc(100vw - 148px);
    max-width: calc(100vw - 148px);
    font-size: 14px;
    overflow-wrap: anywhere;
    word-break: break-all;
  }

  .company-access h2 {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-all;
  }

  .suggestion-card p {
    overflow-wrap: anywhere;
    word-break: break-all;
  }

  .company-access,
  .pain-grid,
  .steps,
  .community-layout,
  .post-grid,
  .question-grid,
  .pricing-panel {
    width: min(100% - 28px, 1120px);
  }

  .company-access {
    padding: 18px;
  }

  .pricing-panel {
    padding: 70px 18px 24px;
  }

  .pricing-badge {
    left: 18px;
    top: 20px;
  }

  .pricing-card {
    min-height: 300px;
  }
}

/* ========== 新增区块：数据出处、分角色方案、诊断样例报告 ========== */

.metrics-note {
  width: min(1120px, calc(100% - 36px));
  margin: 14px auto 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
  text-align: center;
}

.roles-section {
  background: var(--paper);
}

.role-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  gap: 18px;
}

.role-card {
  display: flex;
  flex-direction: column;
  padding: 26px 24px;
  background: var(--panel);
  border: 1px solid rgba(236, 138, 63, 0.34);
  border-radius: 22px;
  box-shadow: 0 14px 34px rgba(79, 43, 28, 0.08);
  transition:
    transform 0.24s cubic-bezier(0.2, 0.6, 0.2, 1),
    box-shadow 0.24s cubic-bezier(0.2, 0.6, 0.2, 1);
}

.role-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 48px rgba(79, 43, 28, 0.16);
}

.role-tag {
  align-self: flex-start;
  padding: 5px 12px;
  color: var(--accent);
  background: rgba(236, 75, 21, 0.09);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.role-card h3 {
  margin: 14px 0 8px;
  color: var(--ink-dark);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.35;
}

.role-card > p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
}

.role-card ul {
  margin: 0;
  padding: 16px 0 0;
  border-top: 1px dashed rgba(236, 138, 63, 0.4);
  list-style: none;
}

.role-card li {
  position: relative;
  margin: 9px 0;
  padding-left: 20px;
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 600;
}

.role-card li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 8px;
  width: 8px;
  height: 8px;
  background: var(--brand);
  border-radius: 3px;
  transform: rotate(45deg);
}

.samples-section {
  background: linear-gradient(180deg, var(--paper), rgba(246, 160, 35, 0.09));
}

.sample-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 30px;
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto 18px;
  padding: 30px;
  background: var(--panel);
  border: 1px solid rgba(236, 138, 63, 0.34);
  border-radius: 26px;
  box-shadow: var(--shadow);
}

.sample-badge {
  display: inline-block;
  padding: 6px 13px;
  color: #fff;
  background: var(--accent-dark);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.sample-meta h3 {
  margin: 14px 0 8px;
  color: var(--ink-dark);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.35;
}

.sample-meta p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
}

.sample-bars {
  display: grid;
  gap: 18px;
}

.sample-bar-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 14.5px;
  font-weight: 600;
}

.sample-bar-top b {
  color: var(--accent);
  font-size: 16px;
  font-variant-numeric: tabular-nums;
}

.sample-track {
  height: 10px;
  background: rgba(236, 138, 63, 0.16);
  border-radius: 999px;
  overflow: hidden;
}

.sample-track i {
  display: block;
  width: var(--w);
  height: 100%;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  border-radius: 999px;
}

.sample-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  gap: 16px;
}

.sample-grid article {
  padding: 22px;
  background: var(--panel);
  border: 1px solid rgba(236, 138, 63, 0.3);
  border-radius: 20px;
}

.sample-grid span {
  color: var(--leaf);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.sample-grid h4 {
  margin: 8px 0 8px;
  color: var(--ink-dark);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.35;
}

.sample-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
  font-weight: 600;
}

.plan-service {
  display: block;
  width: 100%;
  margin-top: auto;
  padding-top: 16px;
  padding-top: 12px;
  border-top: 1px dashed rgba(236, 138, 63, 0.42);
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
  font-weight: 600;
  line-height: 1.55;
}

.diagnosis-section .steps article em {
  display: block;
  margin-bottom: 4px;
  color: var(--accent);
  font-size: 13px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.06em;
}

/* ========== 动效层 ========== */

.reveal {
  opacity: 0;
  transform: translateY(26px);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.7s ease-out,
    transform 0.7s cubic-bezier(0.2, 0.6, 0.2, 1);
  transition-delay: var(--reveal-delay, 0s);
}

.site-header {
  transition:
    min-height 0.28s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.28s cubic-bezier(0.4, 0, 0.2, 1),
    background 0.28s ease;
}

.site-header.is-condensed {
  min-height: 78px;
  background: rgba(251, 244, 231, 0.97);
  box-shadow: 0 10px 30px rgba(79, 43, 28, 0.12);
}

.site-header.is-condensed .brand-pet {
  transform: scale(0.86);
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

.pain-grid article,
.sample-grid article,
.post-card,
.pricing-card {
  transition:
    transform 0.24s cubic-bezier(0.2, 0.6, 0.2, 1),
    box-shadow 0.24s cubic-bezier(0.2, 0.6, 0.2, 1);
}

.pain-grid article:hover,
.sample-grid article:hover,
.post-card:hover,
.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 48px rgba(79, 43, 28, 0.16);
}

.primary-btn,
.secondary-btn,
.header-action {
  transition:
    transform 0.16s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.16s cubic-bezier(0.4, 0, 0.2, 1),
    filter 0.16s ease;
}

.primary-btn:hover,
.header-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(236, 75, 21, 0.28);
}

.secondary-btn:hover {
  transform: translateY(-2px);
}

.primary-btn:focus-visible,
.secondary-btn:focus-visible,
.header-action:focus-visible,
.nav-links a:focus-visible,
.question-grid button:focus-visible,
.community-filters button:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
}

/* 样例报告进度条：进入视口后再增长 */
.sample-track i {
  width: 0;
  transition: width 1s cubic-bezier(0.2, 0.6, 0.2, 1);
}

.sample-panel.is-visible .sample-track i {
  width: var(--w);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .reveal.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .sample-track i,
  .sample-panel.is-visible .sample-track i {
    width: var(--w);
    transition: none;
  }

  .role-bars i::before,
  .role-card.is-visible .role-bars i::before {
    transform: scaleX(1);
    transition: none;
  }

  .live-dot {
    animation: none;
  }

  .hero-toast {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .role-card:hover,
  .pain-grid article:hover,
  .sample-grid article:hover,
  .post-card:hover,
  .pricing-card:hover,
  .primary-btn:hover,
  .secondary-btn:hover,
  .header-action:hover {
    transform: none;
  }
}

@media (max-width: 980px) {
  .role-grid,
  .sample-grid,
  .sample-panel {
    grid-template-columns: 1fr;
  }

  .sample-panel {
    padding: 22px;
  }
}

.nav-links a {
  transition:
    color 0.16s ease,
    background 0.16s ease;
}

.nav-links a.is-current {
  color: var(--ink-dark);
  background: rgba(246, 160, 35, 0.22);
}

/* ===== 角色卡微型可视化 ===== */

.role-viz {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed rgba(236, 138, 63, 0.4);
}

.role-viz-label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.role-heat {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 5px;
}

.role-heat i {
  height: 22px;
  border-radius: 5px;
  transition: transform 0.18s cubic-bezier(0.2, 0.6, 0.2, 1);
}

.role-card:hover .role-heat i {
  transform: scaleY(1.16);
}

.role-bars {
  display: grid;
  gap: 7px;
}

.role-bars i {
  position: relative;
  display: block;
  height: 20px;
  border-radius: 5px;
  background: rgba(236, 138, 63, 0.14);
  overflow: hidden;
}

.role-bars i::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--w);
  background: linear-gradient(90deg, var(--brand), var(--accent));
  border-radius: 5px;
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 0.8s cubic-bezier(0.2, 0.6, 0.2, 1);
}

.role-card.is-visible .role-bars i::before {
  transform: scaleX(1);
}

.role-bars em {
  position: relative;
  z-index: 1;
  display: block;
  padding: 2px 8px;
  color: var(--ink-dark);
  font-size: 11px;
  font-style: normal;
  font-weight: 600;
}

.role-sizes {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 5px;
}

.role-sizes i {
  display: grid;
  place-items: center;
  height: 30px;
  border: 1px solid rgba(236, 138, 63, 0.34);
  border-radius: 6px;
  color: var(--muted);
  background: rgba(246, 160, 35, 0.1);
  font-size: 11.5px;
  font-style: normal;
  font-weight: 600;
}

.role-sizes i.gap {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
}

.role-stat {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.role-stat b {
  color: var(--accent);
  font-size: 17px;
  font-variant-numeric: tabular-nums;
}

/* ===== 区块级转化条 ===== */

.company-section strong {
  display: block;
  color: var(--ink-dark);
  font-size: 20px;
  font-weight: 700;
}

.company-section p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
}

.company-section .primary-btn {
  padding: 0 24px;
}

@media (max-width: 760px) {
  .company-section {
    flex-direction: column;
    align-items: flex-start;
    padding: 22px;
  }
}

.role-heat i {
  display: grid;
  place-items: center;
}

.role-heat em {
  color: rgba(53, 27, 16, 0.72);
  font-size: 10px;
  font-style: normal;
  font-weight: 600;
}

.role-heat .lv-3 em {
  color: #fff;
}

/* 锚点定位避开吸顶导航 */
section[id],
main [id] {
  scroll-margin-top: 118px;
}

@media (max-width: 620px) {
  section[id],
  main [id] {
    scroll-margin-top: 92px;
  }
}

/* ===== 图标系统：统一线稿 + 强调笔画 ===== */

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.ico {
  display: block;
  width: 46px;
  height: 46px;
  padding: 9px;
  border-radius: 13px;
  background: rgba(246, 160, 35, 0.15);
  fill: none;
  stroke: var(--ink-dark);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.24s cubic-bezier(0.2, 0.6, 0.2, 1);
}

.ico .ico-accent {
  stroke: var(--accent);
}

.pain-grid article .ico {
  margin: 16px 0 12px;
}

.pricing-card .plan-icon,
.role-card .ico-role {
  box-shadow: inset 0 0 0 1px rgba(236, 138, 63, 0.2);
}

.pain-grid article:hover .ico,
.role-card:hover .ico,
.sample-grid article:hover .ico {
  transform: translateY(-3px) rotate(-3deg);
}

.ico-role {
  width: 42px;
  height: 42px;
  margin-bottom: 12px;
}

.ico-sample {
  width: 38px;
  height: 38px;
  padding: 8px;
  border-radius: 11px;
  margin-bottom: 10px;
}

.ico-step {
  width: 36px;
  height: 36px;
  padding: 7px;
  border-radius: 10px;
  margin: 10px 0 8px;
  stroke-width: 2;
}

.diagnosis-section .steps article .ico {
  stroke: var(--ink-dark);
}

/* ===== 动效增强层 ===== */

/* 1. 顶栏滚动进度 */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 40;
  height: 3px;
  width: 100%;
  transform: scaleX(var(--progress, 0));
  transform-origin: left;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  pointer-events: none;
}

/* 2. 品牌土豆：悬停时敲键盘 */
.brand:hover .brand-pet,
.brand:focus-visible .brand-pet {
  animation: tudouType 0.72s steps(6) infinite;
}

@keyframes tudouType {
  from {
    background-position: 0 0;
  }
  to {
    background-position: -504px 0;
  }
}

/* 3. 首屏入场序列 */
.hero-trust,
.hero .eyebrow,
.hero h1 span,
.hero-copy,
.hero-actions,
.hero-dashboard {
  animation: heroIn 0.72s cubic-bezier(0.2, 0.6, 0.2, 1) backwards;
}

.hero-trust {
  animation-delay: 0.05s;
}
.hero .eyebrow {
  animation-delay: 0.14s;
}
.hero h1 span:first-child {
  animation-delay: 0.2s;
}
.hero h1 span:last-child {
  animation-delay: 0.28s;
}
.hero-copy {
  animation-delay: 0.36s;
}
.hero-actions {
  animation-delay: 0.44s;
}
.hero-dashboard {
  animation-delay: 0.3s;
}

@keyframes heroIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
}

/* 4. 首屏背景光晕缓慢漂移 */
.hero::before {
  content: "";
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(circle at 78% 22%, rgba(246, 160, 35, 0.28), transparent 34%),
    radial-gradient(circle at 18% 78%, rgba(236, 75, 21, 0.2), transparent 38%);
  animation: auraDrift 22s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes auraDrift {
  from {
    transform: translate3d(-2%, -1%, 0) scale(1);
  }
  to {
    transform: translate3d(3%, 2%, 0) scale(1.08);
  }
}

/* 5. 热力格逐格点亮 */
.mini-heatmap span,
.heatmap span {
  animation: cellIn 0.42s cubic-bezier(0.2, 0.6, 0.2, 1) backwards;
  animation-delay: calc(var(--i, 0) * 0.028s + 0.5s);
}

@keyframes cellIn {
  from {
    opacity: 0;
    transform: scale(0.4);
  }
}

/* 6. 趋势线描边绘制 */
.spark-line {
  stroke-dasharray: 320;
  stroke-dashoffset: 320;
  animation: drawLine 1.4s cubic-bezier(0.2, 0.6, 0.2, 1) 0.5s forwards;
}

.spark-area,
.spark-dot {
  animation: fadeIn 0.6s ease 1.5s backwards;
}

@keyframes drawLine {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
}

/* 7. 卡片光斑跟随鼠标 */
.pain-grid article,
.role-card,
.sample-grid article,
.pricing-card,
.post-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

/* 让“多数连锁从这一档开始”角标完整显示：定价卡片不裁剪溢出内容，
   发光层单独加圆角以避免四角溢出 */
.pricing-card {
  overflow: visible;
}
.pricing-card::after {
  border-radius: 18px;
}

.pain-grid article::after,
.role-card::after,
.sample-grid article::after,
.pricing-card::after,
.post-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(
    240px circle at var(--mx, 50%) var(--my, 0%),
    rgba(246, 160, 35, 0.18),
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.pain-grid article:hover::after,
.role-card:hover::after,
.sample-grid article:hover::after,
.pricing-card:hover::after,
.post-card:hover::after {
  opacity: 1;
}

/* 8. 定价数字轻微放大 */
.pricing-card b {
  transition: transform 0.24s cubic-bezier(0.2, 0.6, 0.2, 1);
  transform-origin: left center;
}

.pricing-card:hover b {
  transform: scale(1.06);
}

/* 9. 决策问题按钮：悬停浮起并露出箭头 */
.question-grid button {
  position: relative;
  transition:
    transform 0.2s cubic-bezier(0.2, 0.6, 0.2, 1),
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.question-grid button::after {
  content: "→";
  margin-left: 8px;
  opacity: 0;
  transform: translateX(-4px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.question-grid button:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(79, 43, 28, 0.12);
}

.question-grid button:hover::after {
  opacity: 1;
  transform: none;
}

/* 10. 社区筛选切换 */
.post-card {
  transition:
    opacity 0.32s ease,
    transform 0.32s cubic-bezier(0.2, 0.6, 0.2, 1),
    box-shadow 0.24s ease;
}

.post-card.is-hidden {
  display: none;
}

.post-card.is-entering {
  opacity: 0;
  transform: translateY(14px);
}

/* 11. FAQ 展开 */
.faq-list summary::after {
  transition: transform 0.24s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-list details[open] p {
  animation: faqIn 0.32s cubic-bezier(0.2, 0.6, 0.2, 1);
}

@keyframes faqIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .brand:hover .brand-pet,
  .hero-trust,
  .hero .eyebrow,
  .hero h1 span,
  .hero-copy,
  .hero-actions,
  .hero-dashboard,
  .hero::before,
  .mini-heatmap span,
  .heatmap span,
  .spark-line,
  .spark-area,
  .spark-dot,
  .faq-list details[open] p {
    animation: none;
  }

  .spark-line {
    stroke-dashoffset: 0;
  }

  .question-grid button:hover,
  .pricing-card:hover b {
    transform: none;
  }
}
