/*
 * [INPUT]: index.html 与 app.js 的语义类名，base.css 的主题变量。
 * [OUTPUT]: 产品问答、指标、原生对比表、应用图解和页脚布局。
 * [POS]: dist 样式模块 content，由 styles.css 按依赖顺序加载。
 * [PROTOCOL]: 变更时更新此头部，然后检查 CLAUDE.md
 */

.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 41px 0 0;
  column-gap: 25px;
}
.metrics > div {
  padding-left: 32px;
  border-left: 1px solid var(--line);
}
.metrics > div:first-child {
  padding-left: 0;
  border: 0;
}
.metric-value {
  font: 500 clamp(26px, 3vw, 41px) / 1.3 var(--display);
  letter-spacing: -1.8px;
  white-space: nowrap;
}
.metric-value > span {
  font-size: 21px;
  letter-spacing: -0.7px;
  color: #99aa8a;
}
.metrics p {
  color: #939e88;
  font-size: 13px;
  margin: 10px 0 0;
}
.metrics sup {
  font-size: 10px;
}
.metrics .source-note {
  grid-column: 1/-1;
  font-size: 11px;
  color: #6e7b63;
  margin-top: 30px;
}
.source-note a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  padding-top: 116px;
  padding-bottom: 115px;
}
.intro .eyebrow {
  margin-bottom: 30px;
}
.intro-body {
  padding-top: 9px;
}
.intro-body .lead {
  font-size: 25px;
  font-weight: 450;
  line-height: 1.55;
  color: var(--ink);
  margin: 0 0 22px;
}
.intro-body > p:not(.lead) {
  font-size: 1rem;
  color: #9aa591;
  line-height: 1.9;
  max-width: 480px;
  margin: 15px 0;
}
.inline-link {
  display: inline-flex;
  gap: 33px;
  font-size: 13px;
  color: #c1cbb7;
  border-bottom: 1px solid #435235;
  padding-bottom: 7px;
  margin-top: 10px;
}
.inline-link:hover {
  color: var(--accent);
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 35px;
  margin-bottom: 45px;
}
.section-heading .eyebrow {
  margin-bottom: 23px;
}
.section-heading h2 {
  font-size: 43px;
}
.section-heading .section-description {
  font-size: 1rem;
  margin: 0 0 3px;
}
.playground-section {
  padding-top: 0;
  padding-bottom: 105px;
}
.workflow-notes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
  margin-top: 35px;
}
.workflow-notes > div {
  display: grid;
  grid-template-columns: 33px 1fr;
  column-gap: 15px;
}
.workflow-notes > div > span {
  grid-row: 1/3;
  color: #748a5f;
  font: 12px var(--mono);
  padding-top: 4px;
}
.workflow-notes h3 {
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.5;
  margin: 0;
}
.workflow-notes p {
  font-size: 0.875rem;
  color: #899b79;
  line-height: 1.8;
  margin: 10px 0 0;
}

/* ---- 模型对比与场景图解 ---- */
.difference-section {
  background: #0e130e;
  border-block: 1px solid #253020;
}
.difference-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 85px;
  padding-top: 86px;
  padding-bottom: 86px;
}
.difference-copy h2 {
  font-size: 43px;
}
.difference-copy .section-description {
  font-size: 1rem;
  max-width: 390px;
  margin-top: 26px;
}
.difference-note {
  display: flex;
  gap: 14px;
  margin-top: 28px;
  font-size: 12px;
  color: #839775;
}
.difference-note > span {
  font-size: 20px;
  color: #acc58e;
}
.difference-note p {
  margin: 0;
  line-height: 1.9;
}
.comparison {
  min-width: 0;
  padding-top: 4px;
}
.comparison table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 0.875rem;
}
.comparison caption {
  text-align: left;
  color: #c3d4b3;
  font-weight: 500;
  padding-bottom: 20px;
}
.comparison th,
.comparison td {
  padding: 21px 12px;
  border-bottom: 1px solid #293624;
  text-align: left;
  vertical-align: top;
  font-weight: 400;
  overflow-wrap: anywhere;
  hyphens: auto;
}
.comparison th:first-child {
  width: 23%;
  padding-left: 0;
  color: #95a487;
}
.comparison th:nth-child(2) {
  width: 34%;
}
.comparison td:nth-child(2),
.comparison thead th {
  color: #a0ae94;
}
.comparison td:last-child,
.comparison th:last-child {
  padding-right: 0;
  color: #c3d4b3;
}
.comparison thead th {
  padding-top: 0;
  font-weight: 500;
}
.comparison thead .accent {
  color: var(--accent);
}
.compare-footnote {
  font-size: 0.8125rem;
  color: #95a487;
  margin-top: 19px;
}
.compare-footnote a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.applications {
  padding-top: 105px;
  padding-bottom: 95px;
}
.use-cases {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid #2a3623;
  border-radius: 8px;
  overflow: hidden;
}
.use-card {
  padding: 26px 25px 30px;
  background: #0c100b;
  border-right: 1px solid #2a3623;
  transition: background 0.3s;
}
.use-card:last-child {
  border: 0;
}
.use-card:hover {
  background: #121a0f;
}
.case-number {
  font: 9px var(--mono);
  color: #899d77;
  letter-spacing: 1px;
}
.case-diagram {
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 6px 0 14px;
  font: 9px var(--mono);
  color: #98b381;
}
.flow-box {
  display: grid;
  place-items: center;
  border: 1px solid #425735;
  border-radius: 4px;
  padding: 8px;
  color: #93a881;
}
.flow-active {
  color: #c1ff72;
  border-color: #85a85f;
  background: #22351b;
}
.flow-box.small {
  font-size: 7px;
  padding: 2px 10px;
  margin: 5px 0;
  color: #536c43;
  border-color: #293d21;
}
.flow-box.selected {
  border-color: #7c9e58;
  color: var(--accent);
}
.routing-diagram i {
  height: 1px;
  width: 12px;
  background: #5f7c44;
}
.use-card h3 {
  font-size: 16px;
  font-weight: 500;
  margin: 0 0 12px;
  letter-spacing: -0.5px;
  line-height: 1.6;
}
.use-card > p {
  font-size: 1rem;
  line-height: 1.9;
  color: #91a17f;
  margin: 0 0 22px;
}
.case-tag {
  font-size: 10px;
  color: #b1c298;
  padding-top: 15px;
  border-top: 1px solid #2b3922;
  display: block;
}
.realtime-diagram {
  gap: 5px;
  position: relative;
  padding-bottom: 5px;
}
.event-bar {
  height: 25px;
  width: 5px;
  background: #789e4f;
  border-radius: 2px;
  animation: signal 3s ease-in-out infinite;
}
.event-bar:nth-child(3n) {
  height: 57px;
  animation-delay: -1s;
  background: #b7e888;
}
.event-bar:nth-child(4n) {
  height: 38px;
  animation-delay: -1.8s;
}
.event-bar:nth-child(5n) {
  height: 19px;
  animation-delay: -2.4s;
}
.signal-label {
  position: absolute;
  bottom: 20px;
  color: #688052;
  font-size: 7px;
  letter-spacing: 1px;
}
@keyframes signal {
  0%,
  100% {
    transform: scaleY(0.8);
    opacity: 0.55;
  }
  50% {
    transform: scaleY(1.15);
    opacity: 1;
  }
}
.data-rows {
  width: 53px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.data-rows i {
  display: block;
  height: 3px;
  background: #5b7148;
}
.data-rows i:nth-child(2) {
  width: 70%;
}
.data-rows i:nth-child(3) {
  width: 90%;
}
.data-rows i:nth-child(4) {
  width: 55%;
}
.diagram-arrow {
  padding: 0 5px;
  font-size: 17px;
}
.matrix {
  display: grid;
  grid-template-columns: repeat(3, 22px);
  gap: 5px;
  font-size: 7px;
}
.matrix span {
  display: grid;
  place-items: center;
  min-height: 20px;
  border: 1px solid #496734;
  color: #b1d88b;
  background: #1b2a14;
}
.guardrail-diagram {
  gap: 13px;
}
.guard-text {
  font-size: 8px;
  color: #91a47e;
}
.guard-filter {
  height: 52px;
  display: flex;
  position: relative;
  align-items: center;
  padding: 0 8px;
  border: 1px solid #597345;
  border-radius: 5px;
  background: #1c2b14;
  color: #c3e4a4;
  font-size: 8px;
}
.guard-filter i {
  position: absolute;
  top: 7px;
  bottom: 7px;
  width: 1px;
  background: #bde78b;
  box-shadow: 0 0 9px #c1ff72;
  animation: scan 3s ease-in-out infinite;
}
.guard-check {
  color: #c1ff72;
  border: 1px solid #4b6536;
  border-radius: 50%;
  padding: 4px 8px;
}
@keyframes scan {
  0%,
  100% {
    left: 8px;
    opacity: 0.3;
  }
  50% {
    left: calc(100% - 8px);
    opacity: 1;
  }
}

/* ---- 收尾与可访问的动态偏好 ---- */
.closing {
  text-align: center;
  padding: 73px 0 84px;
  border-top: 1px solid var(--line);
  position: relative;
  background: radial-gradient(ellipse at 50% 20%, #7aa7460a, transparent 65%);
}
.closing-symbol {
  color: var(--accent);
  font: 55px Georgia;
  margin-bottom: 23px;
  display: inline-block;
  transform: rotate(10deg);
}
.closing .eyebrow {
  font-size: 10px;
  letter-spacing: 2px;
  margin-bottom: 23px;
}
.closing h2 {
  font-size: 43px;
  letter-spacing: -1.7px;
}
.closing > p:not(.eyebrow) {
  font-size: 14px;
  color: #8d9b80;
  margin: 24px 0 31px;
}
.closing-hint {
  display: block;
  color: #76866b;
  font-size: 11px;
  margin-top: 17px;
}
.site-footer {
  max-width: 1280px;
  margin: auto;
  border-top: 1px solid var(--line);
}
.footer-top {
  display: flex;
  align-items: center;
  padding: 32px 0;
  gap: 40px;
}
.footer-top .brand {
  font-size: 33px;
}
.footer-top .brand-mark {
  font-size: 42px;
}
.footer-top > span {
  font: 14px var(--display);
  color: #94a185;
}
.footer-top > a:last-child {
  margin-left: auto;
  font-size: 12px;
  color: #a5b197;
}
.footer-top > a:last-child span {
  margin-left: 13px;
}
.footer-bottom {
  display: flex;
  align-items: center;
  gap: 25px;
  border-top: 1px solid #202a1b;
  padding: 23px 0 27px;
  font-size: 10px;
  color: #6c7d60;
}
.footer-bottom > p {
  margin: 0;
}
.footer-bottom > a {
  margin-left: auto;
}
.will-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.will-reveal.is-visible {
  opacity: 1;
  transform: none;
}
.motion-paused *,
.motion-paused *:before,
.motion-paused *:after {
  animation-play-state: paused !important;
}
.motion-paused .will-reveal {
  opacity: 1;
  transform: none;
  transition: none;
}
.motion-paused {
  scroll-behavior: auto;
}
