/* Homepage hero (2026-10-25): heading, intro, 联系我们 / 解决方案 buttons, the 智能协作中枢 Lottie card and
   six capability nodes. Every class, custom property and keyframe is prefixed hz- so nothing collides
   with the Webflow template (replica.css / vantor CSS). Assets: /assets/hz-hero/; player: /vendor/dotlottie/. */
.hz-hero {
  --hz-page: #171616;
  --hz-white: #f9fafb;
  --hz-muted: rgba(249, 250, 251, .76);
  --hz-button-start: #8f72ff;
  --hz-button-end: #5a3ce0;
  --hz-brand: linear-gradient(90deg, var(--hz-button-start) 0%, var(--hz-button-end) 100%);
  /* 素材替换位：透明光束/粒子 PNG 覆层，替换 /assets/hz-hero/hero-light.png 即可。 */
  --hz-light-image: url("/assets/hz-hero/hero-light.png");
  --hz-node-height: clamp(50px, 2.74vw, 66px);
  --hz-node-icon-size: clamp(32px, 1.74vw, 42px);

  position: relative;
  isolation: isolate;
  /* The section ends with its content so the bottom fade meets the next section without a strip. */
  padding-top: 184px;
  overflow: hidden;
  background: var(--hz-page);
  color: var(--hz-white);
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}
.hz-hero, .hz-hero *, .hz-hero *::before, .hz-hero *::after { box-sizing: border-box; }
/* iPhone Safari fills the status-bar strip from the page: theme-color (index.html) on iOS 15–18; on iOS 26
   the html/body background colour (theme-color is ignored there). Both roots take the hero's colour so the
   strip continues the hero. The sections never showed the body itself: .page-wrapper wraps the whole page
   and carries the #030305 they sit on, so nothing below the hero changes. */
html, body { background-color: #171616; }
.page-wrapper { background-color: #030305; }

/* 21st.dev Shiny Button properties for the six capability nodes. */
@property --hz-shiny-angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@property --hz-shiny-angle-offset { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@property --hz-shiny-percent { syntax: "<percentage>"; inherits: false; initial-value: 5%; }
@property --hz-shiny-color { syntax: "<color>"; inherits: false; initial-value: #fff; }

.hz-hero__media { position: absolute; z-index: 0; inset: 0; overflow: hidden; pointer-events: none; }
.hz-hero__overlay {
  position: absolute;
  z-index: 1;
  inset: 0;
  background-color: var(--hz-page);
  background-image: var(--hz-light-image), linear-gradient(200deg, #171616, rgba(23,22,22,.92) 30%, #171616 70%);
  background-position: 50% 0%, 0 0;
  background-size: 100% auto, auto;
  background-repeat: no-repeat, repeat;
}

.hz-hero__content { position: relative; z-index: 2; }
.hz-hero__container { width: min(1650px, calc(100% - 48px)); margin: 0 auto; }
.hz-hero__text { display: flex; width: min(820px, 100%); min-height: 346px; flex-direction: column; align-items: center; margin: 0 auto; text-align: center; }
.hz-hero__badge { display: inline-flex; min-height: 38px; align-items: center; gap: 10px; padding: 10px 15px; border: 1px solid rgba(255,255,255,.055); border-radius: 32px; background: rgba(255,255,255,.04); color: #fff; font-size: 14px; font-weight: 400; line-height: 14px; white-space: nowrap; backdrop-filter: blur(12px); }
/* The template gives every h1 a gradient text fill; the hero heading is plain white. */
.hz-hero__title { max-width: 820px; margin: 16px 0 0; background: none; -webkit-background-clip: border-box; background-clip: border-box; color: var(--hz-white); -webkit-text-fill-color: currentColor; font-family: inherit; font-size: clamp(48px, 2.7vw, 65px); font-weight: 700; line-height: 1.11; letter-spacing: -.035em; text-transform: none; }
/* Second heading line: the live hero's coral-to-amber title gradient, without the bordered title box. */
.hz-hero__title-accent { background-image: linear-gradient(100deg, #ff507f 3%, #ff806c 52%, #ffbd70 100%); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.hz-hero__lead { width: min(560px, 100%); margin: 16px 0 0; color: var(--hz-muted); font-size: 16px; font-weight: 400; line-height: 24px; }
.hz-hero__actions { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 35px; }

.hz-hero__stage { position: relative; width: 87.45%; aspect-ratio: 1443 / 617; margin: 78px auto 0; overflow: visible; }
.hz-hero__animation { position: absolute; z-index: 3; top: -18px; left: 0; width: 100%; height: calc(100% + 28px); overflow: hidden; }
.hz-hero__animation dotlottie-player { display: block; width: 100%; height: 100%; }
.hz-hero__nodes { position: absolute; z-index: 8; inset: 0; pointer-events: none; }

.hz-node {
  --hz-shiny-background: #000;
  --hz-shiny-background-subtle: #1a1818;
  --hz-shiny-foreground: #fff;
  --hz-shiny-highlight: blue;
  --hz-shiny-highlight-subtle: #8484ff;
  --hz-shiny-duration: 3s;
  --hz-shiny-shadow-size: 2px;
  --hz-shiny-transition: 800ms cubic-bezier(.25, 1, .5, 1);
  --hz-shiny-angle-offset: 0deg;
  --hz-shiny-percent: 5%;
  --hz-shiny-color: #fff;

  position: absolute;
  display: flex;
  width: max-content;
  height: var(--hz-node-height);
  align-items: center;
  gap: 0;
  padding: 0 clamp(18px, 1.25vw, 26px) 0 clamp(9px, .55vw, 12px);
  border: 1px solid transparent;
  border-radius: 360px;
  color: var(--hz-shiny-foreground);
  background: linear-gradient(var(--hz-shiny-background), var(--hz-shiny-background)) padding-box,
    conic-gradient(
      from calc(var(--hz-shiny-angle) - var(--hz-shiny-angle-offset)),
      transparent,
      var(--hz-shiny-highlight) var(--hz-shiny-percent),
      var(--hz-shiny-color) calc(var(--hz-shiny-percent) * 2),
      var(--hz-shiny-highlight) calc(var(--hz-shiny-percent) * 3),
      transparent calc(var(--hz-shiny-percent) * 4)
    ) border-box;
  box-shadow: inset 0 0 0 1px var(--hz-shiny-background-subtle);
  isolation: isolate;
  overflow: hidden;
  transition: var(--hz-shiny-transition);
  transition-property: --hz-shiny-angle-offset, --hz-shiny-percent, --hz-shiny-color;
  pointer-events: auto;
  animation: hz-shiny-gradient var(--hz-shiny-duration) linear infinite,
    hz-shiny-gradient calc(var(--hz-shiny-duration) / .4) linear infinite reverse paused;
  animation-composition: add;
}
.hz-node::before,
.hz-node::after,
.hz-node__content::before {
  content: "";
  pointer-events: none;
  position: absolute;
  inset-inline-start: 50%;
  inset-block-start: 50%;
  translate: -50% -50%;
  z-index: -1;
}
.hz-node::before {
  --size: calc(100% - var(--hz-shiny-shadow-size) * 3);
  --position: 2px;
  --space: calc(var(--position) * 2);
  width: var(--size);
  height: var(--size);
  background: radial-gradient(circle at var(--position) var(--position), #fff calc(var(--position) / 4), transparent 0) padding-box;
  background-size: var(--space) var(--space);
  background-repeat: space;
  mask-image: conic-gradient(from calc(var(--hz-shiny-angle) + 45deg), #000, transparent 10% 90%, #000);
  border-radius: inherit;
  opacity: .4;
  animation: hz-shiny-gradient var(--hz-shiny-duration) linear infinite,
    hz-shiny-gradient calc(var(--hz-shiny-duration) / .4) linear infinite reverse paused;
  animation-composition: add;
  animation-delay: inherit;
}
.hz-node::after {
  width: 100%;
  aspect-ratio: 1;
  background: linear-gradient(-50deg, transparent, var(--hz-shiny-highlight), transparent);
  mask-image: radial-gradient(circle at bottom, transparent 40%, #000);
  opacity: .6;
  animation: hz-shimmer var(--hz-shiny-duration) linear infinite,
    hz-shimmer calc(var(--hz-shiny-duration) / .4) linear infinite reverse paused;
  animation-composition: add;
  animation-delay: inherit;
}
.hz-node__content { position: relative; z-index: 1; display: flex; width: 100%; min-width: 0; height: 100%; align-items: center; gap: clamp(10px, .65vw, 16px); }
.hz-node__content::before {
  --size: calc(100% + 1rem);
  width: var(--size);
  height: var(--size);
  box-shadow: inset 0 -1ex 2rem 4px var(--hz-shiny-highlight);
  opacity: 0;
  transition: opacity var(--hz-shiny-transition);
  animation: calc(var(--hz-shiny-duration) * 1.5) hz-shiny-breathe linear infinite;
}
.hz-node:is(:hover, :focus-visible),
.hz-node:is(:hover, :focus-visible)::before,
.hz-node:is(:hover, :focus-visible)::after {
  --hz-shiny-percent: 20%;
  --hz-shiny-angle-offset: 95deg;
  --hz-shiny-color: var(--hz-shiny-highlight-subtle);
  animation-play-state: running;
}
.hz-node:is(:hover, :focus-visible) .hz-node__content::before { opacity: 1; }
.hz-node__icon {
  position: relative;
  z-index: 3;
  display: grid;
  width: var(--hz-node-icon-size);
  height: var(--hz-node-icon-size);
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 28%, #2a2828, var(--hz-page) 72%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 0 10px rgba(143,114,255,.12);
  animation: hz-icon-breathe 5.8s ease-in-out infinite;
  animation-delay: inherit;
}
.hz-node__icon img { display: block; width: 52%; max-width: none; height: 52%; object-fit: contain; animation: hz-icon-sway 5.8s ease-in-out infinite; animation-delay: inherit; }
.hz-node__label { position: relative; z-index: 3; overflow: hidden; font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif; font-size: clamp(14px, .9vw, 20px); font-weight: 500; line-height: 1.4; letter-spacing: .04em; text-overflow: ellipsis; white-space: nowrap; }
.hz-node--workflow { top: 25.6%; left: 4.8%; transform: translate(-50%, -50%); }
.hz-node--knowledge { top: 56.9%; left: 14.9%; transform: translate(-50%, -50%); animation-delay: -.8s; }
.hz-node--governance { top: 87%; left: 4.8%; transform: translate(-50%, -50%); animation-delay: -1.6s; }
.hz-node--integration { top: 25.6%; right: 4.8%; transform: translate(50%, -50%); animation-delay: -2.4s; }
.hz-node--agent { top: 56.9%; right: 14.5%; transform: translate(50%, -50%); animation-delay: -3.2s; }
.hz-node--analytics { top: 87%; right: 4.8%; transform: translate(50%, -50%); animation-delay: -4s; }
/* Fades to deep black at the bottom of the hero. */
.hz-hero__fade { position: absolute; z-index: 5; right: 0; bottom: -31px; left: 0; height: 280px; background: linear-gradient(rgba(0,0,0,0) 20%, #000 78%); pointer-events: none; }

@keyframes hz-shiny-gradient { to { --hz-shiny-angle: 360deg; } }
@keyframes hz-shimmer { to { rotate: 360deg; } }
@keyframes hz-shiny-breathe { from, to { scale: 1; } 50% { scale: 1.2; } }
@keyframes hz-icon-breathe {
  0%, 100% { transform: scale(.96); box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 0 8px rgba(143,114,255,.1); }
  50% { transform: scale(1.06); box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 0 16px rgba(143,114,255,.26); }
}
@keyframes hz-icon-sway { 0%, 100% { transform: rotate(-4deg) scale(.96); } 50% { transform: rotate(4deg) scale(1.04); } }

@media (max-width: 1100px) {
  .hz-hero { padding-top: 165px; }
  .hz-hero__title { font-size: clamp(46px, 5.3vw, 62px); }
  .hz-hero__stage { margin-top: 64px; }
}
@media (max-width: 760px) {
  .hz-hero { padding-top: 127px; }
  /* The light PNG's main beam cluster sits at ~58% of its width; enlarge it and centre that cluster on phones. */
  .hz-hero__overlay { background-size: 300% auto, auto; background-position: 62% 0, 0 0; }
  .hz-hero__container { width: calc(100% - 32px); }
  .hz-hero__text { min-height: 0; }
  .hz-hero__badge { min-height: 35px; gap: 8px; padding: 9px 12px; font-size: 11px; }
  /* The longer line (一站式陪伴企业数字化前行) has 12 characters: size the heading so it always fits on one line. */
  .hz-hero__title { max-width: none; margin-top: 18px; font-size: clamp(22px, calc((100vw - 40px) / 12), 52px); line-height: 1.2; letter-spacing: -.02em; }
  .hz-hero__lead { max-width: 430px; font-size: 13px; line-height: 1.65; }
  .hz-hero__actions { gap: 8px; margin-top: 21px; }
  /* 移动端：中央动画与六个节点保持桌面布局，按容器宽度（cqw）整体等比缩放。 */
  .hz-hero__stage { width: 100%; margin: 48px auto 0; container-type: inline-size; }
  .hz-hero__animation { top: -1.55cqw; height: calc(100% + 2.4cqw); }
  .hz-node { height: 7cqw; padding: 0 2.4cqw 0 1cqw; }
  .hz-node__content { gap: 1.3cqw; }
  .hz-node__icon { width: 5.2cqw; height: 5.2cqw; }
  .hz-node__label { font-size: 2.4cqw; letter-spacing: 0; }
  .hz-node--workflow, .hz-node--governance { left: 0; transform: translateY(-50%); }
  .hz-node--integration, .hz-node--analytics { right: 0; transform: translateY(-50%); }
  /* Phones: the rotating shimmer and breathing glow repaint all six nodes every frame (30 animations) and
     are barely visible at this size. Keep the static border; only the icons' transform-only sway remains. */
  .hz-node, .hz-node::before, .hz-node::after, .hz-node__content::before, .hz-node__icon { animation: none; }
  .hz-hero__fade { height: 180px; }
}
@media (max-width: 380px) {
  .hz-hero__actions { gap: 6px; }
}
