@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Noto+Sans+SC:wght@400;500;600;700&family=Poppins:wght@400;500&display=swap");

@font-face {
  font-family: "Alimama ShuHeiTi";
  font-weight: 700;
  font-display: swap;
  src:
    local("阿里妈妈数黑体 Bold"),
    local("Alimama ShuHeiTi Bold"),
    url("https://at.alicdn.com/wf/webfont/FJW5SsRiax6k/Av3gsa7Kcl4k.woff2") format("woff2"),
    url("https://at.alicdn.com/wf/webfont/FJW5SsRiax6k/zaRxqGCeO9AI.woff") format("woff");
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  width: 100%;
  height: 100%;
  height: 100dvh;
  background: #0c0e12;
  overflow: hidden;
  font-family: "PingFang SC", "Noto Sans SC", sans-serif;
  -webkit-text-size-adjust: 100%;
  touch-action: manipulation;
}

body.presenting { cursor: none; }
body.presenting .hud,
body.presenting .hint { cursor: default; }
body.editing { cursor: default; }

.stage {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
}

.viewport {
  position: relative;
  width: min(100vw, calc(100dvh * 16 / 9));
  height: min(100dvh, calc(100vw * 9 / 16));
  overflow: hidden;
  background: #f7f8fa;
  border-radius: 4px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

.slide {
  position: absolute;
  inset: 0;
  width: 1920px;
  height: 1080px;
  transform-origin: 0 0;
  transform: scale(var(--sx, var(--s, 1)), var(--sy, var(--s, 1)));
  opacity: 0;
  pointer-events: none;
  z-index: 1;
}

.slide.active {
  opacity: 1;
  pointer-events: auto;
  z-index: 3;
}

.slide.exiting {
  opacity: 1;
  pointer-events: none;
  z-index: 2;
}

.slide-fx {
  position: absolute;
  inset: 0;
  width: 1920px;
  height: 1080px;
  transform-origin: 50% 50%;
}

.slide-visual,
.slide-copy {
  position: absolute;
  inset: 0;
  width: 1920px;
  height: 1080px;
}
.slide-visual { z-index: 1; }
.slide-visual-inner {
  position: absolute;
  inset: 0;
  width: 1920px;
  height: 1080px;
}
.case-pc-right-wrap {
  position: absolute;
  left: 849px;
  top: 192px;
  width: 1031px;
  height: 848px;
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  z-index: 2;
  pointer-events: none;
  box-sizing: border-box;
  padding: 30px;
}
.case-pc-right {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 8px;
}
.slide[data-page="40"] .case-pc-right {
  transform: translateY(-200px);
  height: calc(100% + 200px);
}
.slide-copy { z-index: 6; pointer-events: none; }
.slide-copy .t,
.slide-copy a,
.slide-copy .contact-bar,
.slide-copy .cap-icon {
  pointer-events: auto;
}

.slide-flow {
  display: none;
}

.m-cover-bg {
  display: none;
}

.slide.active .slide-fx {
  animation: fadeCover 280ms ease both;
}

.slide.exit-left .slide-fx,
.slide.exit-right .slide-fx {
  animation: none;
}

.slide.from-left.active .slide-fx {
  animation-name: fadeCover;
}

@keyframes fadeCover {
  from { opacity: 0; }
  to { opacity: 1; }
}

.slide .svg-page {
  position: absolute;
  left: 0;
  top: 0;
  width: 1920px;
  height: 1080px;
  display: block;
  pointer-events: none;
  z-index: 1;
  opacity: 1;
}

.slide.active .svg-page {
  animation: none;
}

.slide.from-left.active .svg-page {
  animation-name: artIn;
}

@keyframes artIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes artInLeft {
  from { opacity: 0; }
  to { opacity: 1; }
}

.slide-shine {
  display: none;
}

.slide.active .slide-shine {
  animation: none;
}

.t-header {
  z-index: 20 !important;
  pointer-events: auto;
  font-family: "Alimama ShuHeiTi", "阿里妈妈数黑体 Bold", sans-serif !important;
  font-size: 48px !important;
  font-weight: 700 !important;
  line-height: 48px !important;
  color: #ffffff !important;
  background: #2433FF;
  border-radius: 24px;
}

.slide.active .t-header {
  animation: headerIn 420ms ease 40ms both !important;
}

@keyframes headerIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.cap-icon {
  position: absolute;
  z-index: 7;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: #ecebff;
  color: #2433FF;
  display: grid;
  place-items: center;
  pointer-events: none;
  opacity: 0;
}
.cap-icon svg {
  width: 28px;
  height: 28px;
  display: block;
}
.slide.active .cap-icon {
  animation: fadeIn 420ms ease both;
  animation-delay: calc(80ms + var(--i, 0) * 40ms);
}

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

@keyframes popIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.t {
  position: absolute;
  z-index: 6;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  outline: none;
  white-space: pre-wrap;
  word-break: keep-all;
  overflow: visible;
  cursor: text;
  caret-color: #2433ff;
  opacity: 0;
}

.t.t-tag {
  display: flex !important;
  align-items: center;
  justify-content: center;
  background: #ecebff;
  border-radius: 999px;
  color: #2433FF !important;
  white-space: nowrap !important;
  overflow: hidden;
  word-break: keep-all;
  z-index: 8;
}

.slide.active .t {
  animation: textIn 420ms ease both;
  animation-delay: calc(60ms + var(--i, 0) * 24ms);
}

.slide.active .t[data-kind="hero"],
.slide.active .t[data-kind="title"],
.slide.active .t[data-kind="tag"],
.slide.active .t.t-tag,
.slide.active .t[data-kind="stat"],
.slide.active .t.stat {
  animation-name: textIn;
}

@keyframes textIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: var(--to, 1); transform: none; }
}

.t.t-about {
  display: flex;
  flex-direction: column;
  gap: 22px;
  height: auto !important;
  white-space: normal;
  overflow: visible;
}
.t-about .about-lead,
.t-about .about-p {
  margin: 0;
  white-space: normal;
  word-break: normal;
  overflow-wrap: anywhere;
  text-wrap: pretty;
}
.t-about .about-lead {
  font-size: 32px;
  line-height: 1.55;
  color: #1d2129;
}
.t-about .about-p {
  font-size: 30px;
  line-height: 1.7;
  color: #3d4450;
}
.t-about .about-em {
  color: #2433FF;
  font-weight: 600;
}
.t.t-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: auto !important;
  white-space: normal;
  overflow: visible;
}
.cert-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cert-label {
  font-size: 22px;
  font-weight: 600;
  color: #1d2129;
  line-height: 1.3;
  padding-left: 12px;
  border-left: 3px solid #2433FF;
}
.cert-body {
  font-size: 24px;
  font-weight: 400;
  color: #5c6570;
  line-height: 1.55;
  padding-left: 15px;
  word-break: keep-all;
}
.cert-em {
  color: #2433FF;
  font-weight: 600;
}

.t-link {
  color: #2433FF !important;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1.5px;
  cursor: pointer !important;
  pointer-events: auto;
}
.t-link:hover { opacity: 0.82; }
.t-link-light {
  color: #ffffff !important;
  font-weight: 500;
  text-underline-offset: 3px;
}

.t.t-cta {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  height: 37px !important;
  width: auto !important;
  min-width: 131px;
  padding: 0 22px;
  background: #2433FF;
  border-radius: 999px;
  color: #fff !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  word-break: keep-all;
  z-index: 12;
  cursor: pointer !important;
  pointer-events: auto !important;
  box-shadow: 0 8px 20px rgba(36, 51, 255, 0.28);
  overflow: hidden;
  transition:
    transform 180ms cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 180ms ease,
    background 180ms ease,
    filter 180ms ease;
}
.slide.active .t.t-cta {
  animation: ctaFade 560ms cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: 360ms;
}
@keyframes ctaFade {
  from { opacity: 0; }
  to { opacity: 1; }
}
.t.t-cta:hover {
  transform: translateY(-1px);
  background: #2f3bff;
  box-shadow: 0 8px 18px rgba(36, 51, 255, 0.28);
}
.t.t-cta:active,
.t.t-cta.is-pressed {
  transform: translateY(0) scale(0.98);
  background: #1e2ae0;
  box-shadow: 0 4px 10px rgba(36, 51, 255, 0.22);
  transition-duration: 80ms;
}
.t.t-cta .cta-ripple {
  position: absolute;
  width: 8px;
  height: 8px;
  margin: -4px 0 0 -4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  pointer-events: none;
  animation: ctaRipple 520ms ease-out forwards;
}
@keyframes ctaRipple {
  from { transform: scale(0.4); opacity: 0.85; }
  to { transform: scale(22); opacity: 0; }
}
body.presenting .t.t-cta { cursor: pointer !important; }
body.editing .t.t-cta {
  animation: none !important;
  opacity: 1;
}

.t.stat {
  white-space: nowrap;
  overflow: visible;
  align-items: baseline;
}

.t.stat .stat-unit {
  font-size: 32px !important;
  font-weight: 600 !important;
  font-family: "PingFang SC", "Noto Sans SC", sans-serif !important;
  line-height: 1;
  margin-left: 4px;
  transform: translateY(-6px);
}

.t:focus {
  outline: 1px dashed rgba(36, 51, 255, 0.55);
  outline-offset: 2px;
  background: rgba(255, 255, 255, 0.06);
}

.hud {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  padding: 0;
  background: none;
  border: 0;
  z-index: 20;
  color: #fff;
  cursor: default;
}

.page-brand-logo {
  display: none;
}

.hud-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px 8px 16px;
  background: rgba(12, 14, 18, 0.72);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
}

.hud button {
  appearance: none;
  border: 0;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 13px;
}

.hud-icon {
  display: grid;
  place-items: center;
  padding: 0;
}

.hud-icon svg {
  width: 16px;
  height: 16px;
  display: block;
}

.hud-icon .icon-exit { display: none; }
.hud-icon.is-full .icon-enter { display: none; }
.hud-icon.is-full .icon-exit { display: block; }

body.presenting .hud:hover,
body.presenting .hint:hover {
  opacity: 1 !important;
  pointer-events: auto !important;
}
.counter { min-width: 72px; text-align: center; font-variant-numeric: tabular-nums; font-size: 13px; }

.hint {
  display: none !important;
}

body.presenting .t { cursor: none; }
body.presenting .t:focus { outline: none; background: transparent; }
body.editing .t {
  cursor: text;
  animation: none !important;
  opacity: var(--to, 1);
  transform: none;
  filter: none;
  clip-path: none;
}

body.presenting .t.t-tag {
  transition: transform 280ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 280ms ease;
}
body.presenting .t.t-tag:hover {
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 10px 24px rgba(36, 51, 255, 0.18);
}

body.editing .svg-page,
body.editing .slide-shine,
body.editing .cap-icon {
  animation: none !important;
  opacity: 1;
  transform: none;
  filter: none;
}

.contact-bar {
  position: absolute;
  left: 135px;
  top: 680px;
  width: 1650px;
  height: 280px;
  display: grid;
  grid-template-columns: 1.15fr 0.95fr 1.15fr 1.4fr;
  column-gap: 40px;
  align-items: start;
  justify-items: start;
  z-index: 22;
  pointer-events: auto;
}

.contact-item {
  display: grid;
  grid-template-rows: 48px 45px auto;
  row-gap: 10px;
  justify-items: start;
  align-items: start;
  text-align: left;
  width: 100%;
  min-width: 0;
  color: #fff;
  text-decoration: none;
  padding: 0;
  border-radius: 16px;
  transform: translateY(0);
  transition: transform 280ms cubic-bezier(0.16, 1, 0.3, 1), background 280ms ease;
}

.slide.active .contact-item {
  animation: popIn 700ms cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: calc(280ms + var(--i, 0) * 90ms);
}

.contact-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center start;
  color: #fff;
  margin: 0;
  transform-origin: 20% 80%;
  transition: transform 320ms cubic-bezier(0.16, 1, 0.3, 1), filter 320ms ease;
}

.contact-icon svg {
  width: 48px;
  height: 48px;
  display: block;
}

.contact-label {
  font-size: 32px;
  font-weight: 500;
  line-height: 45px;
  margin: 0;
  width: 100%;
  text-align: left;
  outline: none;
}

.contact-value {
  font-size: 30px;
  font-weight: 400;
  line-height: 42px;
  margin: 0;
  width: 100%;
  max-width: none;
  text-align: left;
  outline: none;
  position: relative;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.contact-item[href*="boilingwater.cn"] .contact-value {
  text-decoration: underline;
  text-underline-offset: 6px;
}

.contact-item:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.04);
}

.contact-item:hover .contact-icon {
  transform: none;
  filter: none;
}

.contact-item:hover .contact-value {
  text-decoration: underline;
  text-underline-offset: 6px;
}

body.presenting .contact-item { cursor: pointer; }
body.editing .contact-item { cursor: default; }
body.editing .contact-label,
body.editing .contact-value { cursor: text; }

.progress {
  position: fixed;
  left: 0;
  top: 0;
  height: 3px;
  width: 100%;
  z-index: 30;
  background: rgba(255, 255, 255, 0.08);
}

.progress > i {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #4d5cff, #2433ff);
  box-shadow: 0 0 12px rgba(36, 51, 255, 0.7);
  transition: width 480ms cubic-bezier(0.16, 1, 0.3, 1);
}

.laser {
  position: fixed;
  width: 18px;
  height: 18px;
  margin: -9px 0 0 -9px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 40;
  background: radial-gradient(circle, #fff 0 2px, rgba(36, 51, 255, 0.55) 3px, transparent 70%);
  mix-blend-mode: normal;
  opacity: 0;
  transform: scale(0.4);
  transition: opacity 180ms ease, transform 180ms ease;
}

body.presenting .laser.on {
  opacity: 0.5;
  transform: scale(1);
}

.ripple {
  position: fixed;
  width: 10px;
  height: 10px;
  margin: -5px 0 0 -5px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 25;
  border: 1.5px solid rgba(36, 51, 255, 0.35);
  animation: ripple 480ms ease-out forwards;
}

@keyframes ripple {
  from { transform: scale(0.6); opacity: 0.5; }
  to { transform: scale(8); opacity: 0; }
}

.hud {
  transition: opacity 280ms ease, transform 280ms ease;
}

body.presenting.hud-hide .hud,
body.presenting.hud-hide .hint {
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(12px);
}

body.presenting.hud-hide .hint {
  transform: translateY(-8px);
}

.hint {
  transition: opacity 280ms ease, transform 280ms ease;
}

@media (max-width: 900px) {
  html, body {
    overflow-x: hidden;
    overflow-y: auto;
    height: auto;
    min-height: 100dvh;
    overscroll-behavior-x: none;
    touch-action: pan-y;
    background: #f4f5f8;
  }

  body.presenting { cursor: auto; }
  body.presenting .t { cursor: auto; }
  .laser { display: none !important; }
  .slide-shine { display: none !important; }

  .stage {
    display: block;
    padding: 0;
    width: 100%;
    height: auto;
    min-height: 100dvh;
  }

  .viewport {
    width: 100%;
    height: auto;
    min-height: 100dvh;
    max-width: none;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
    background: #f7f8fa;
  }

  .slide,
  .slide.active,
  .slide.exiting {
    position: relative;
    inset: auto;
    width: 100% !important;
    height: auto !important;
    min-height: 100%;
    transform: none !important;
    overflow: visible;
  }
  .slide { display: none; opacity: 0; pointer-events: none; }
  .slide.active {
    display: block;
    opacity: 1;
    pointer-events: auto;
  }
  .slide.exiting { display: none; }

  .slide-fx {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    background: #f7f8fa;
  }

  .slide-visual {
    display: none !important;
  }

  .slide-copy-desk {
    display: none !important;
  }

  .hint {
    top: calc(10px + env(safe-area-inset-top, 0px));
    right: calc(10px + env(safe-area-inset-right, 0px));
    left: calc(10px + env(safe-area-inset-left, 0px));
    text-align: center;
    font-size: 11px;
    padding: 6px 10px;
  }

  .hud {
    bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    padding: 0;
    width: auto;
    max-width: calc(100% - 24px);
    justify-content: center;
  }

  .slide.has-cover-bg .page-brand-logo {
    display: block;
    position: absolute;
    left: 50%;
    bottom: calc(72px + env(safe-area-inset-bottom, 0px));
    transform: translateX(-50%);
    height: 22px;
    width: auto;
    z-index: 6;
    opacity: 0.92;
    pointer-events: none;
  }

  .hud-bar {
    gap: 6px;
    padding: 4px 6px 4px 10px;
  }

  .hud button {
    min-width: 32px;
    height: 32px;
    padding: 0 10px;
    font-size: 12px;
  }

  .hud-icon {
    padding: 0;
    width: 32px;
  }

  .counter {
    min-width: 52px;
    font-size: 12px;
  }

  body.presenting.hud-hide .hud {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%);
  }

  body.presenting.hud-hide .hint { opacity: 0; }
  .progress { height: 2px; }
}

@media (max-width: 900px) and (orientation: landscape) {
  .hud {
    left: auto;
    right: calc(8px + env(safe-area-inset-right, 0px));
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    flex-direction: column;
    width: auto;
  }
  .hud-bar {
    flex-direction: column;
    border-radius: 20px;
    padding: 8px 6px;
  }
  body.presenting.hud-hide .hud { transform: translateY(-50%); }
  .hint { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .slide.active .slide-fx,
  .slide.exit-left .slide-fx,
  .slide.exit-right .slide-fx,
  .slide.active .t,
  .slide.active .cap-icon,
  .slide.active .contact-item,
  .slide.active .slide-shine {
    animation: none !important;
    opacity: 1;
    transform: none;
    filter: none;
    clip-path: none;
  }
  .slide.active .svg-page {
    animation: none !important;
    opacity: 1;
    filter: none;
    clip-path: none;
  }
  .t { opacity: var(--to, 1); }
}
