:root {
  --bg-deep: #e8e6ff;
  --bg-soft: #fbfaff;
  --text-main: #142c3b;
  --text-soft: #4a6a86;
  --brand-1: #2d6cdf;
  --brand-2: #6f5bff;
  --brand-3: #8b5cf6;
  --brand-warm: #ff8a5b;
  --line-soft: rgba(43, 122, 90, 0.18);
  --shadow-soft: 0 18px 55px rgba(22, 49, 71, 0.12);
  --shadow-card: 0 10px 30px rgba(36, 76, 112, 0.1);
  --deck-chrome: 120px;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 12% 18%, rgba(45, 108, 223, 0.16), transparent 24%),
    radial-gradient(circle at 86% 12%, rgba(111, 91, 255, 0.18), transparent 22%),
    radial-gradient(circle at 78% 78%, rgba(139, 92, 246, 0.14), transparent 22%),
    linear-gradient(135deg, #f4f2ff 0%, #eef4ff 48%, #faf7ff 100%);
}

.app {
  height: 100svh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0)),
    transparent;
  color: var(--text-main);
  font-family: "Segoe UI Variable", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Noto Sans SC",
    ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.deck {
  position: relative;
  flex: 1;
  min-height: 0;
  display: grid;
  place-items: center;
  padding: 8px 12px 5px;
  box-sizing: border-box;
}

.is-fullscreen,
:fullscreen,
:-webkit-full-screen {
  --deck-chrome: 24px;
}

.is-fullscreen .deck,
:fullscreen .deck,
:-webkit-full-screen .deck {
  padding-bottom: 10px;
}

.slide {
  width: min(1360px, calc(100vw - 24px), calc((100svh - var(--deck-chrome)) * 16 / 9));
  max-height: calc(100svh - var(--deck-chrome));
  aspect-ratio: 16 / 9;
  height: auto;
  padding: clamp(22px, 4vw, 46px);
  box-sizing: border-box;
  border-radius: 26px;
  background-color: #ffffff;
  background-image: linear-gradient(rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.82)), url("./images/dianli2/slide10_bg.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: 1px solid rgba(151, 205, 228, 0.45);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  position: absolute;
  inset: auto;
  isolation: isolate;
  opacity: 0;
  transform: translateX(28px) scale(0.985);
  transition: opacity 220ms ease, transform 220ms ease;
  pointer-events: none;
  contain-intrinsic-size: 1200px 675px;
}

.slide:focus-visible {
  outline: 3px solid rgba(45, 108, 223, 0.55);
  outline-offset: 3px;
}

.is-fullscreen .slide,
:fullscreen .slide,
:-webkit-full-screen .slide {
  width: min(calc(100vw - 32px), calc((100svh - var(--deck-chrome)) * 16 / 9));
}

.slide[data-id="init-align"] .figure {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}

.slide[data-id="init-align"] .figure img {
  box-shadow: none;
  border: none;
}

.slide[data-id="roi"] .figure {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}

.slide[data-id="roi"] .figure img {
  box-shadow: none;
  border: none;
}

.slide[data-id="results"] .figure {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}

.slide[data-id="results"] .figure img {
  box-shadow: none;
  border: none;
}

.slide[data-id="control-errors"] .media {
  height: calc(100% - 140px) !important;
}

.slide[data-id="control-errors"] .figure {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}

.slide[data-id="control-errors"] .figure img {
  box-shadow: none;
  border: none;
  max-height: 66vh !important;
}

.slide[data-id="immersive"] .media {
  overflow: hidden;
}

.slide[data-id="immersive"] .figure {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}

.slide[data-id="immersive"] .figure img {
  box-shadow: none;
  border: none;
  max-height: 100% !important;
  border-radius: 22px;
}

.slide[data-id="step6-measure"] .media {
  height: calc(100% - 165px) !important;
  overflow: hidden;
}

.slide[data-id="step6-measure"] .figure {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(116, 172, 224, 0.22);
  box-shadow: 0 14px 28px rgba(48, 91, 133, 0.08);
  padding: 12px;
  border-radius: 24px;
  overflow: hidden;
}

.slide[data-id="step6-measure"] .figure img,
.slide[data-id="step6-measure"] .media img {
  box-shadow: none;
  border: none;
  border-radius: 18px;
  max-height: 58vh;
}

.slide[data-id="step4-bim-align"] .figure {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}

.slide[data-id="step4-bim-align"] .figure img,
.slide[data-id="step4-bim-align"] .media img {
  box-shadow: none;
  border: none;
}

.slide[data-id="step7-analysis"] .figure {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}

.slide[data-id="step7-analysis"] .figure img {
  box-shadow: none;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 18px;
}

.slide[data-id="step1"] .media {
  height: calc(100% - 170px) !important;
  overflow: hidden;
}

.slide[data-id="step1"] .figure {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}

.slide[data-id="step1"] .figure img,
.slide[data-id="step1"] .media img {
  box-shadow: none;
  border: none;
  max-height: 100% !important;
}

.slide[data-id="step3-post"] .figure {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}

.slide[data-id="step3-post"] .figure img,
.slide[data-id="step3-post"] .media img {
  box-shadow: 0 10px 26px rgba(11, 16, 32, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 20px;
}

.slide[data-id="demos"] {
  display: flex;
  flex-direction: column;
}

.slide[data-id="demos"] .demo-stage {
  width: min(1040px, 100%);
  margin: 12px auto 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  min-height: 0;
}

.slide[data-id="demos"] .demo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  flex: 1;
  min-height: 0;
  align-items: stretch;
  grid-template-rows: 1fr;
}

.slide[data-id="demos"] .demo-card {
  position: relative;
  border-radius: 18px;
  padding: 16px 16px 14px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(116, 172, 224, 0.18);
  box-shadow: 0 12px 28px rgba(41, 89, 135, 0.1);
  display: grid;
  grid-template-rows: auto auto auto;
  gap: 10px;
  overflow: hidden;
}

.slide[data-id="demos"] .demo-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 6px;
  background: linear-gradient(180deg, rgba(45, 108, 223, 0.9), rgba(95, 225, 255, 0.25));
}

.slide[data-id="demos"] .demo-card--green::before {
  background: linear-gradient(180deg, rgba(30, 156, 137, 0.9), rgba(160, 255, 185, 0.25));
}

.slide[data-id="demos"] .demo-card--purple::before {
  background: linear-gradient(180deg, rgba(139, 92, 246, 0.9), rgba(190, 160, 255, 0.22));
}

.slide[data-id="demos"] .demo-card__title {
  padding-left: 10px;
  font-weight: 900;
  color: #173a46;
  font-size: 18px;
  line-height: 1.25;
}

.slide[data-id="demos"] .demo-card__desc {
  padding-left: 10px;
  color: rgba(23, 58, 70, 0.76);
  font-size: 15px;
  line-height: 1.55;
}

.slide[data-id="demos"] .demo-card__actions {
  display: flex;
  justify-content: flex-end;
  padding-left: 10px;
}

.btn--demo {
  font-size: 14px;
  padding: 10px 14px;
  border-radius: 14px;
}

.slide[data-id="demos"] .demo-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.slide[data-id="demos"] .demo-strip__item {
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(116, 172, 224, 0.16);
  box-shadow: 0 10px 22px rgba(41, 89, 135, 0.08);
  height: 150px;
  display: grid;
  place-items: center;
  overflow: hidden;
  position: relative;
}

.slide[data-id="demos"] .demo-strip__item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 18% 22%, rgba(45, 108, 223, 0.18), transparent 55%);
  pointer-events: none;
}

.slide[data-id="demos"] .demo-strip__item--green::before {
  background: radial-gradient(circle at 18% 22%, rgba(30, 156, 137, 0.18), transparent 55%);
}

.slide[data-id="demos"] .demo-strip__item--purple::before {
  background: radial-gradient(circle at 18% 22%, rgba(139, 92, 246, 0.18), transparent 55%);
}

.slide[data-id="demos"] .demo-strip__item img {
  width: 106%;
  height: 106%;
  object-fit: cover;
  opacity: 0.92;
  filter: drop-shadow(0 10px 18px rgba(11, 16, 32, 0.12));
}

@media (max-width: 980px) {
  .slide[data-id="demos"] .demo-grid {
    grid-template-columns: 1fr;
  }

  .slide[data-id="demos"] .demo-strip {
    grid-template-columns: 1fr;
  }
}

.slide:not(.is-active):not(.is-leaving) {
  content-visibility: hidden;
}

.slide.is-active,
.slide.is-leaving {
  content-visibility: visible;
}

.slide::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(135deg, rgba(45, 108, 223, 0.09), transparent 30%),
    radial-gradient(circle at right top, rgba(30, 156, 137, 0.18), transparent 26%),
    radial-gradient(circle at left bottom, rgba(139, 92, 246, 0.11), transparent 24%),
    radial-gradient(circle at 18% 84%, rgba(255, 138, 91, 0.12), transparent 30%),
    radial-gradient(circle at 62% 46%, rgba(95, 225, 255, 0.1), transparent 34%);
  pointer-events: none;
  z-index: -2;
  transform-origin: 50% 50%;
  animation: bgFloat 14s ease-in-out infinite;
}

.slide::after {
  content: "";
  position: absolute;
  top: 22px;
  right: 112px;
  width: 240px;
  height: 96px;
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.7;
  pointer-events: none;
  z-index: -1;
  transform-origin: 50% 50%;
  animation: decoFloat 9s ease-in-out infinite;
}

.slide[data-id="cover"] {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  text-align: center;
  background-color: #ffffff;
  position: relative;
  padding: 0 !important;
}

.slide[data-id="cover"] .cover-content {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 0;
  z-index: 2;
}

.slide[data-id="cover"] .top-space {
  height: 33.33%;
  position: relative;
  background: white;
}

.slide[data-id="cover"] .cover-logo {
  position: absolute;
  top: 40px;
  left: 40px;
  width: clamp(180px, 18vw, 280px);
}

.slide[data-id="cover"] .cover-title-banner {
  height: 33.33%;
  background-image: linear-gradient(rgba(0, 102, 102, 0.7), rgba(0, 80, 80, 0.7)), url("./images/dianli/image8.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
  margin: 0;
  width: 100%;
}

.slide[data-id="cover"] .bottom-section {
  height: 33.34%;
  background-size: cover;
  background-position: center bottom;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 20px;
}

.slide[data-id="cover"] h1 {
  color: #ffffff;
  font-size: clamp(42px, 6.5vw, 76px);
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  margin: 0;
  padding: 0 40px;
  font-weight: 900;
  letter-spacing: 0.12em;
  background: none;
}

.slide[data-id="cover"] .lead {
  color: #1a5a56;
  font-size: clamp(22px, 3vw, 38px);
  font-weight: 700;
  margin: 0;
  width: 100%;
  letter-spacing: 0.06em;
  background-image: url("./images/dianli/image9.webp");
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
  padding: 20px 0;
  display: block;
}

.slide[data-id="cover"] .meta {
  color: #006666;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(0, 102, 102, 0.2);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  font-size: 24px;
  font-weight: 800;
  margin-top: auto;
  margin-bottom: 40px;
  padding: 10px 30px;
  border-radius: 8px;
  letter-spacing: 0.1em;
}

/* 在封面页隐藏全局 logo */
.slide[data-id="cover"].is-active ~ #global-logo,
.slide[data-id="cover"].is-active #global-logo {
  opacity: 0;
}

/* 更好的全局 logo 逻辑：如果当前是封面，隐藏全局 logo */
#global-logo {
  transition: opacity 0.3s ease;
}


.slide[data-id="end"] {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.slide[data-id="end"] .box {
  margin-top: 10px;
}

.slide[data-id="end"] .lead {
  max-width: 44ch;
}

.slide.is-active {
  opacity: 1;
  transform: translateX(0) scale(1);
  pointer-events: auto;
}

.slide.is-prev {
  transform: translateX(-28px) scale(0.985);
}

h1 {
  margin: 10px 0 14px;
  font-size: clamp(38px, 5.3vw, 64px);
  letter-spacing: 0.02em;
  line-height: 1.06;
  font-weight: 900;
  color: var(--text-main);
  text-wrap: balance;
  text-shadow: 0 8px 30px rgba(45, 108, 223, 0.12);
}

h2 {
  position: relative;
  margin: 0 0 24px;
  padding-left: 0;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  text-align: right;
  font-size: clamp(28px, 3.5vw, 42px);
  letter-spacing: 0.02em;
  line-height: 1.14;
  font-weight: 850;
  color: #16503e;
  -webkit-background-clip: text;
  background-clip: text;
  text-wrap: balance;
}

h2::before {
  content: "";
  width: clamp(120px, 14vw, 200px);
  height: clamp(34px, 4.2vw, 48px);
  background-image: url("./images/dianli/image3.webp");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: left center;
  margin-right: auto;
  opacity: 0.92;
  flex: 0 0 auto;
}

h2::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -10px;
  width: 50%;
  max-width: 400px;
  height: 4px;
  background: linear-gradient(90deg, #ffffff 0%, #006666 100%);
  border-radius: 2px;
}

h3 {
  margin: 18px 0 10px;
  font-size: clamp(18px, 2.2vw, 24px);
  color: #246390;
  font-weight: 800;
}

p,
li {
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 1.65;
  color: var(--text-main);
}

ul,
ol {
  margin: 10px 0 0;
  padding-left: 22px;
}

li + li {
  margin-top: 10px;
}

.lead {
  max-width: 42em;
  font-size: clamp(18px, 2.1vw, 24px);
  color: var(--text-soft);
  font-weight: 500;
}

.slide[data-id="reg-method"] .lead--nowrap {
  white-space: nowrap;
}

@media (max-width: 860px) {
  .slide[data-id="reg-method"] .lead--nowrap {
    font-size: clamp(16px, 2vw, 20px);
  }
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
  line-height: 1.4;
  background: #ffffff;
}

.spec-card {
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  border: 1px solid #e2e8f0;
  overflow: hidden;
}

.spec-table thead {
  background: #f8fafc;
  border-bottom: 2px solid #cbd5e1;
}

.spec-table th {
  padding: 10px 8px;
  font-weight: 600;
  color: #334155;
}

.spec-table th:first-child {
  padding: 10px 12px;
  width: 28%;
  border-right: 1px solid #e2e8f0;
}

.spec-table th:nth-child(n + 5):nth-child(-n + 7) {
  background: #eff6ff;
}

.spec-table tbody {
  color: #475569;
}

.spec-table td {
  padding: 8px 12px;
  border-bottom: 1px solid #e2e8f0;
  vertical-align: top;
}

.spec-table tbody tr:last-child td {
  border-bottom: none;
}

.spec-table td:first-child {
  font-weight: 500;
  color: #0f172a;
  border-right: 1px solid #e2e8f0;
}

.spec-table__placeholder {
  padding: 8px;
  text-align: center;
  vertical-align: middle;
}

.spec-table__placeholder-content {
  color: #94a3b8;
  font-style: italic;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.meta {
  margin-top: 28px;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 15px;
  color: #235d84;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(86, 149, 209, 0.22);
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.08);
  backdrop-filter: blur(10px);
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(43, 122, 90, 0.2);
  background: rgba(43, 122, 90, 0.08);
  font-size: 14px;
  color: #2b7a5a;
}

pre {
  margin: 16px 0 0;
  padding: 16px 16px;
  border-radius: 14px;
  background: #f0fbf5;
  border: 1px solid rgba(43, 122, 90, 0.15);
  overflow: auto;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

#global-logo {
  position: fixed;
  top: calc(10px + clamp(22px, 4vw, 46px));
  left: calc(((100vw - min(1200px, calc(100vw - 32px))) / 2) + clamp(22px, 4vw, 46px));
  z-index: 20;
  width: clamp(100px, 12vw, 180px);
  height: auto;
  opacity: 0;
  pointer-events: none;
  filter: drop-shadow(0 4px 12px rgba(11, 16, 32, 0.08));
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  overflow: hidden;
  backdrop-filter: none;
}

#global-logo img {
  width: 100%;
  height: auto;
  display: block;
  mix-blend-mode: normal;
}

.brand-logo {
  width: clamp(92px, 14vw, 160px);
  margin: 18px auto 10px;
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.45));
}

.grid {
  display: grid;
  gap: 16px;
}

.grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid--gap-24 {
  gap: 1.5rem;
}

.grid--gap-18 {
  gap: 18px;
}

.grid--2 {
  grid-template-columns: 1.15fr 0.85fr;
  align-items: start;
}

.media {
  margin-top: 14px;
  position: relative;
}

.media--mt8 {
  margin-top: 8px;
}

.media--flex {
  display: flex;
}

.media--items-center {
  align-items: center;
}

.media--justify-center {
  justify-content: center;
}

.media--overflow-hidden {
  overflow: hidden;
}

.media--h-130 {
  height: calc(100% - 130px);
}

.media--h-150 {
  height: calc(100% - 150px);
}

.media--h-170 {
  height: calc(100% - 170px);
}

.u-flex {
  display: flex;
}

.u-abs {
  position: absolute;
}

.u-right-20 {
  right: 20px;
}

.u-bottom-20 {
  bottom: 20px;
}

.u-bottom-0 {
  bottom: 0;
}

.u-z-10 {
  z-index: 10;
}

.u-flex-col {
  flex-direction: column;
}

.u-items-center {
  align-items: center;
}

.u-items-stretch {
  align-items: stretch;
}

.u-justify-center {
  justify-content: center;
}

.u-gap-16 {
  gap: 1rem;
}

.u-gap-24 {
  gap: 1.5rem;
}

.u-gap-32 {
  gap: 2rem;
}

.u-mt-12 {
  margin-top: 0.8rem;
}

.u-mt-6 {
  margin-top: 6px;
}

.u-mt-neg-8 {
  margin-top: -0.5rem;
}

.u-mt-16 {
  margin-top: 1rem;
}

.u-mt-12px {
  margin-top: 12px;
}

.u-mt-24 {
  margin-top: 1.5rem;
}

.u-mt-32 {
  margin-top: 2rem;
}

.u-mb-24 {
  margin-bottom: 1.5rem;
}

.u-flex-1 {
  flex: 1;
}

.u-flex-12 {
  flex: 1.2;
}

.u-h-110 {
  height: calc(100% - 110px);
}

.u-h-130 {
  height: calc(100% - 130px);
}

.u-overflow-auto {
  overflow: auto;
}

.u-text-muted {
  color: #94a3b8;
}

.u-pt-2 {
  padding-top: 0.2rem;
}

.subhead {
  margin-top: 0;
  color: #0f172a;
  margin-bottom: 0.8rem;
}

.subhead--md {
  font-size: 1.2rem;
}

.subhead--sm {
  font-size: 1.1rem;
}

.subhead--center {
  text-align: center;
}

.panel-title {
  margin-top: 0;
  color: #0f172a;
  font-size: 1.2rem;
  border-bottom: 2px solid #e2e8f0;
  padding-bottom: 0.5rem;
}

.status-card {
  padding: 1rem;
  border-radius: 0 8px 8px 0;
  border-left: 4px solid transparent;
}

.status-card--ok {
  background: #f0fdf4;
  border-left-color: #16a34a;
}

.status-card--warn {
  background: #fffbeb;
  border-left-color: #f59e0b;
}

.status-card--bad {
  background: #fef2f2;
  border-left-color: #ef4444;
}

.status-card__title {
  display: block;
  margin-bottom: 0.3rem;
}

.status-card--ok .status-card__title {
  color: #15803d;
}

.status-card--warn .status-card__title {
  color: #b45309;
}

.status-card--bad .status-card__title {
  color: #b91c1c;
}

.status-card__desc {
  font-size: 0.95rem;
  color: #334155;
  line-height: 1.5;
}

.ifc-tok--blue {
  color: #3b82f6;
}

.ifc-tok--green {
  color: #10b981;
}

.ifc-tok--amber {
  color: #f59e0b;
}

.ifc-tok--red {
  color: #ef4444;
}

.ifc-tok--purple {
  color: #a855f7;
}

.ifc-tok--muted {
  color: #64748b;
}

.note-callout {
  margin-top: 1rem;
  padding: 1rem;
  background: #eff6ff;
  border-radius: 8px;
  border: 1px solid #bfdbfe;
}

.note-callout__text {
  color: #1e3a8a;
  font-size: 0.95rem;
  line-height: 1.5;
}

.icp-panel {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.5rem 2rem;
  margin-top: 1rem;
  display: flex;
  align-items: stretch;
  gap: 2rem;
}

.icp-panel__main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.icp-panel__title {
  margin-top: 0;
  color: #0f172a;
  font-size: 1.3rem;
}

.icp-panel__formula {
  font-size: 1.6rem;
  font-family: "Times New Roman", Times, serif;
  background: #ffffff;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  color: #1e293b;
  text-align: center;
  margin: 1rem 0;
  border: 1px solid #e2e8f0;
}

.icp-panel__notes {
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.7;
  margin-left: 1.5rem;
}

.icp-panel__side {
  width: 320px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.icp-panel__em {
  color: #0f172a;
}

.icp-panel__hint {
  color: #64748b;
  font-size: 0.85rem;
}

.metric-list {
  display: grid;
  gap: 10px;
}

.metric-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

.metric-row--total {
  padding-top: 8px;
  border-top: 1px dashed rgba(43, 122, 90, 0.22);
}

.metric-value {
  font-weight: 900;
  color: #173a46;
  letter-spacing: 0.02em;
}

.metric-value--delta {
  color: #ef6b54;
}

.error-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.error-card--muted {
  background: #f8fafc;
  border-color: #cbd5e1;
  box-shadow: none;
}

.error-card__title {
  margin-top: 0;
  color: #0f172a;
  border-bottom: 2px solid #e2e8f0;
  padding-bottom: 0.8rem;
}

.error-card__list {
  color: #334155;
  font-size: 1.05rem;
  line-height: 1.8;
  margin-left: 1.2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}

.error-em--blue {
  color: #3b82f6;
}

.error-em--red {
  color: #ef4444;
}

.error-em--green {
  color: #10b981;
}

.error-steps {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
  flex: 1;
  justify-content: space-around;
}

.error-step {
  background: #ffffff;
  padding: 1rem;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  border-left: 4px solid transparent;
}

.error-step--amber {
  border-left-color: #f59e0b;
}

.error-step--red {
  border-left-color: #ef4444;
}

.error-step--green {
  border-left-color: #10b981;
}

.error-step__title {
  display: block;
  margin-bottom: 0.3rem;
}

.error-step--amber .error-step__title {
  color: #b45309;
}

.error-step--red .error-step__title {
  color: #b91c1c;
}

.error-step--green .error-step__title {
  color: #047857;
}

.error-step__desc {
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.5;
  display: block;
}

.end-layout {
  display: flex;
  height: 100%;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.end-title {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--color-primary);
}

.end-lead {
  margin-bottom: 3rem;
}

.end-logo {
  opacity: 0.8;
}

.ifc-code {
  background: #1e293b;
  border-radius: 12px;
  padding: 1.5rem;
  color: #e2e8f0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.85rem;
  line-height: 1.6;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  position: relative;
}

.ifc-code__bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 0.5rem 1rem;
  background: #0f172a;
  border-bottom: 1px solid #334155;
  font-weight: 700;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ifc-code__body {
  margin-top: 2rem;
}

.ifc-tree {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.ifc-tree__title {
  margin-top: 0;
  color: #0f172a;
  border-bottom: 2px solid #e2e8f0;
  padding-bottom: 0.8rem;
  font-size: 1.2rem;
}

.ifc-tree__body {
  flex: 1;
  overflow-y: auto;
  padding-top: 1rem;
  font-size: 1.05rem;
  line-height: 1.5;
}

.ifc-tree__node {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ifc-tree__node--building {
  font-weight: 800;
  color: #1e293b;
}

.ifc-tree__node--room {
  font-weight: 600;
  color: #334155;
}

.ifc-tree__node--sub {
  color: #475569;
}

.ifc-tree__indent {
  border-left: 2px solid #e2e8f0;
  padding-left: 1.5rem;
  padding-bottom: 0.5rem;
}

.ifc-tree__indent--room {
  margin-left: 1.5rem;
  margin-top: 0.5rem;
}

.ifc-tree__indent--equip {
  margin-left: 1rem;
  margin-top: 0.8rem;
}

.ifc-tree__chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: #0f172a;
  background: #ffffff;
  padding: 0.5rem 1rem;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.ifc-tree__badge {
  font-size: 0.8rem;
  background: #f1f5f9;
  color: #64748b;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 8px;
}

.ifc-tree__sub {
  margin-left: 2rem;
  border-left: 2px dashed #cbd5e1;
  padding-left: 1.5rem;
  margin-top: 0.8rem;
  position: relative;
}

.ifc-tree__sub-line {
  position: absolute;
  left: 0;
  top: 12px;
  width: 1.2rem;
  height: 2px;
  background: #cbd5e1;
}

.media img,
.figure img,
.demo-card img,
.demo-strip__item img {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.figure {
  border-radius: 24px;
  background: transparent;
  border: none;
  padding: 0;
  box-shadow: none;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.figure--w-full {
  width: 100%;
}

.figure--flex1 {
  flex: 1;
}

.figure--flex125 {
  flex: 1.25;
}

.figure--pad12 {
  padding: 12px;
}

.img--w100-contain {
  width: 100%;
  object-fit: contain;
}

.img--w100-contain-68 {
  width: 100%;
  max-height: 68vh;
  object-fit: contain;
}

.img--w100-contain-52 {
  width: 100%;
  max-height: 52vh;
  object-fit: contain;
}

.img--w100-contain-48 {
  width: 100%;
  max-height: 48vh;
  object-fit: contain;
}

.img--w100-h100-contain-48 {
  width: 100%;
  height: 100%;
  max-height: 48vh;
  object-fit: contain;
}

.img--w100-contain-max {
  width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.img--contain-fit {
  width: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.img--reg-steps {
  width: min(800px, 100%);
  height: 160px;
  object-fit: contain;
}

.img--immersive-diagram {
  width: auto;
  max-width: 96%;
  max-height: 66vh;
  object-fit: contain;
}

.img--h60 {
  height: 60px;
  width: auto;
}

.figure img.img--cover-58 {
  width: 100%;
  max-height: 58vh;
  object-fit: cover;
  border-radius: 14px;
}

.caption--center {
  text-align: center;
}

.caption {
  margin-top: 10px;
  font-size: 12px;
  color: #67879a;
}

.compact {
  margin-top: 10px;
  padding-left: 20px;
}

.compact li + li {
  margin-top: 8px;
}

.flow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 12px;
}

.box {
  position: relative;
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.94) 0%, rgba(244, 250, 255, 0.92) 100%);
  border: 1px solid rgba(116, 172, 224, 0.24);
  box-shadow: var(--shadow-card);
  padding: 18px 20px;
  backdrop-filter: blur(8px);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.box--plain {
  background: #ffffff;
  border-color: #cbd5e1;
}

.box--top-blue {
  border-top: 4px solid #3b82f6;
}

.box--top-green {
  border-top: 4px solid #10b981;
}

.box--top-purple {
  border-top: 4px solid #8b5cf6;
}

.box--left-green {
  border-left: 4px solid #1e9c89;
}

.box--left-blue {
  border-left: 4px solid #2d6cdf;
}

.box--left-purple {
  border-left: 4px solid #8b5cf6;
}

.box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 18px;
  right: 18px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand-1) 0%, var(--brand-2) 55%, var(--brand-3) 100%);
  opacity: 0.9;
}

.box:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(41, 89, 135, 0.14);
}

.box__k {
  font-family: "Segoe UI Variable", "PingFang SC", "Microsoft YaHei UI", sans-serif;
  font-size: 18px;
  color: #173a46;
  font-weight: 800;
  margin-bottom: 10px;
}

.box__k--lg {
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
  color: #1e293b;
}

.box__k--slate {
  color: #1e293b;
}

.box__v {
  font-size: 15px;
  line-height: 1.6;
  color: #45697a;
}

.box__v--lg {
  font-size: 1rem;
  line-height: 1.6;
}

.box__v--sm {
  font-size: 0.9rem;
  line-height: 1.6;
}

.box__v--16 {
  font-size: 16px;
}

.box__v--left {
  text-align: left;
}

.box__v b {
  font-family: "Segoe UI Variable", "Helvetica Neue", Arial, sans-serif;
  color: var(--brand-2);
  font-size: 14px;
  letter-spacing: 0.06em;
  display: inline-block;
  margin-bottom: 4px;
}

.slide[data-id="rgb"] {
  display: flex;
  flex-direction: column;
}

.slide[data-id="rgb"] h2 {
  margin-bottom: 10px;
  font-size: clamp(24px, 3vw, 36px);
}

.slide[data-id="rgb"] .lead {
  margin: 0;
  font-size: clamp(16px, 1.8vw, 20px);
}

.slide[data-id="rgb"] .media {
  margin-top: 10px;
  flex: 1;
  min-height: 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide[data-id="rgb"] .figure {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}

.slide[data-id="rgb"] .media img {
  max-height: 48vh;
  box-shadow: none;
  border: none;
  border-radius: 18px;
}

.slide[data-id="rgb"] .grid {
  gap: 10px;
}

.slide[data-id="rgb"] .box {
  padding: 12px 14px;
  border-radius: 16px;
}

.slide[data-id="rgb"] .box__k {
  font-size: 16px;
  margin-bottom: 6px;
}

.slide[data-id="rgb"] .box__v {
  font-size: 13.5px;
  line-height: 1.5;
}

@media (max-height: 820px) {
  .slide[data-id="rgb"] .media img {
    max-height: 42vh;
  }

  .slide[data-id="rgb"] .box__v {
    font-size: 13px;
  }
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 14px;
  color: #246390;
}

.table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(43, 122, 90, 0.2);
  background: #ffffff;
}

.table--mt0 {
  margin-top: 0;
}

.table--case th:nth-child(1) {
  width: 22%;
}

.table--case th:nth-child(2),
.table--case th:nth-child(3),
.table--case th:nth-child(4) {
  width: 26%;
}

.table th,
.table td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(43, 122, 90, 0.1);
  vertical-align: top;
  text-align: left;
  font-size: clamp(14px, 1.4vw, 18px);
  line-height: 1.45;
}

.table--nowrap th,
.table--nowrap td {
  white-space: nowrap;
}

.table th {
  background: rgba(43, 122, 90, 0.08);
  color: #1a4a38;
  font-weight: 600;
}

.table tr:last-child td {
  border-bottom: none;
}

.quote {
  margin: 14px 0 0;
  padding: 16px 18px;
  border-left: 4px solid #2d6cdf;
  background: linear-gradient(135deg, rgba(45, 108, 223, 0.08), rgba(30, 156, 137, 0.07));
  border-radius: 16px;
  color: #285d7f;
  font-size: clamp(16px, 1.7vw, 20px);
  box-shadow: 0 10px 24px rgba(45, 108, 223, 0.08);
}

.pill {
  list-style: none;
  padding-left: 0;
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.pill li {
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(116, 172, 224, 0.22);
  box-shadow: 0 6px 14px rgba(48, 91, 133, 0.06);
}

hr {
  border: none;
  height: 1px;
  background: rgba(43, 122, 90, 0.15);
  margin: 18px 0;
}

.contact {
  margin-top: 14px;
  display: grid;
  place-items: center;
}

.contact__box {
  width: min(420px, 100%);
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: #ffffff;
  border: 1px dashed rgba(43, 122, 90, 0.3);
  color: #55a887;
  font-size: 16px;
}

.hud {
  position: sticky;
  bottom: 0;
  padding: 10px 14px 12px;
  box-sizing: border-box;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(247, 251, 255, 0.92) 40%, rgba(246, 250, 255, 1) 100%);
  backdrop-filter: blur(10px);
}

.is-fullscreen .hud #prevBtn,
.is-fullscreen .hud #nextBtn,
:fullscreen .hud #prevBtn,
:fullscreen .hud #nextBtn,
:-webkit-full-screen .hud #prevBtn,
:-webkit-full-screen .hud #nextBtn {
  display: none;
}

.is-fullscreen .hud .controls,
.is-fullscreen .hud .hint,
:fullscreen .hud .controls,
:fullscreen .hud .hint,
:-webkit-full-screen .hud .controls,
:-webkit-full-screen .hud .hint {
  display: none;
}

.progress {
  height: 4px;
  border-radius: 999px;
  background: rgba(30, 156, 137, 0.14);
  overflow: hidden;
}

.progress__bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #1e9c89 0%, #47c6b2 42%, #2d6cdf 100%);
  transition: width 180ms ease;
}

.controls {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  padding-top: 10px;
}

.btn {
  appearance: none;
  border: 1px solid rgba(104, 165, 214, 0.25);
  background: rgba(255, 255, 255, 0.82);
  color: #1f4d72;
  border-radius: 14px;
  padding: 10px 12px;
  font-size: 14px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 18px rgba(41, 89, 135, 0.08);
  font-weight: 700;
  backdrop-filter: blur(10px);
  transition: transform 140ms ease, box-shadow 140ms ease, background 140ms ease, border-color 140ms ease;
}

.btn:hover {
  border-color: rgba(111, 91, 255, 0.26);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(238, 240, 255, 0.96));
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(43, 88, 140, 0.12);
}

.btn:active {
  transform: translateY(1px);
}

.btn.is-tap,
.box.is-tap {
  animation: tapPulse 520ms ease;
}

.slide.is-enter .figure img,
.slide.is-enter .media img {
  animation: riseIn 520ms ease;
}

@keyframes decoFloat {
  0% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -6px, 0);
  }
  100% {
    transform: translate3d(0, 0, 0);
  }
}

@keyframes bgFloat {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(-10px, 6px, 0) scale(1.02);
  }
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes tapPulse {
  0% {
    transform: translateY(0) scale(1);
  }
  35% {
    transform: translateY(-1px) scale(1.02);
  }
  100% {
    transform: translateY(0) scale(1);
  }
}

@keyframes riseIn {
  0% {
    opacity: 0;
    transform: translateY(8px) scale(0.992);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.btn--ghost {
  background: transparent;
  box-shadow: none;
  border-color: transparent;
}

.btn--ghost:hover {
  background: rgba(43, 122, 90, 0.08);
  border-color: transparent;
}

.counter {
  min-width: 86px;
  text-align: center;
  font-size: 14px;
  color: #5d7f92;
  font-weight: 700;
}

.hint {
  text-align: center;
  padding-top: 6px;
  font-size: 12px;
  color: #89a6b7;
}

.btn--feishu {
  background: #2d6cdf;
  color: #ffffff;
  padding: 12px 24px;
  font-size: 1.1rem;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(45, 108, 223, 0.3);
  border: none;
  transition: all 0.3s ease;
}

.btn--feishu:hover {
  background: #1e5bbd;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 15px 35px rgba(45, 108, 223, 0.4);
  color: #ffffff;
}

@media (prefers-reduced-motion: reduce) {
  .slide,
  .progress__bar {
    transition: none;
  }
  .slide::before,
  .slide::after,
  .btn.is-tap,
  .box.is-tap,
  .slide.is-enter .figure img,
  .slide.is-enter .media img {
    animation: none;
  }
}

@media (max-width: 860px) {
  .slide::after {
    right: 88px;
    width: 180px;
    height: 72px;
  }
  .grid--2 {
    grid-template-columns: 1fr;
  }
  .flow {
    grid-template-columns: 1fr;
  }
  h1,
  h2 {
    max-width: none;
  }
}
