@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Noto+Sans+SC:wght@400;500;700&family=Noto+Serif+SC:wght@600;700&display=swap');

:root {
  --ink: #0b1220;
  --ink-2: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-soft: #f3f7fc;
  --bg-tint: #eef8ff;
  --white: #ffffff;

  /* 科技主色：电光青 */
  --accent: #0891b2;
  --accent-2: #22d3ee;
  /* 三主题：咨询=洞察青 / 申报=科技靛 / 产权=护盾绿 */
  --c-consult: #0891b2;
  --c-consult-soft: #ecfeff;
  --c-consult-glow: rgba(34, 211, 238, .45);
  --c-project: #4f46e5;
  --c-project-soft: #eef2ff;
  --c-project-glow: rgba(129, 140, 248, .45);
  --c-ip: #059669;
  --c-ip-soft: #ecfdf5;
  --c-ip-glow: rgba(52, 211, 153, .4);

  --shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 24px 60px rgba(15, 23, 42, 0.08);
  --radius: 14px;
  --nav-h: 76px;
  --max: 1180px;
  --font-sans: "Inter", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-display: "Noto Serif SC", "Noto Sans SC", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}
body.hx-body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  position: relative;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; }
.hx-container { width: min(100% - 40px, var(--max)); margin: 0 auto; }

/* ========== Header：浅色现代化 ========== */
.hx-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100%;
  height: var(--nav-h);
  z-index: 10050;
  background: rgba(255,255,255,.92);
  border-bottom: 1px solid transparent;
  color: var(--ink);
  transition: background .25s, border-color .25s, box-shadow .25s, color .25s;
  /* 独立合成层，避免移动端滚动时被下方 transform/filter 盖住 */
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  padding-left: env(safe-area-inset-left, 0);
  padding-right: env(safe-area-inset-right, 0);
  overflow: visible;
}
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .hx-header {
    background: rgba(255,255,255,.78);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
  }
}
.hx-header.is-scrolled,
.hx-header.is-solid {
  background: #fff;
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px rgba(15,23,42,.06);
}
.hx-header__inner {
  height: 100%;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: nowrap;
  box-sizing: border-box;
}
.hx-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 0 0 auto;
}
.hx-brand img {
  height: 52px;
  width: auto;
  max-width: 170px;
  object-fit: contain;
  flex-shrink: 0;
  background: transparent;
  border-radius: 0;
  padding: 0;
  border: 0;
  box-shadow: none;
}
.hx-brand__text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  flex: 0 0 auto;
}
.hx-brand__name {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  color: var(--ink);
}
.hx-brand__en {
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.hx-nav {
  display: flex !important;
  align-items: center;
  justify-content: center;
  flex: 1 0 auto;
  flex-wrap: nowrap !important;
  white-space: nowrap !important;
}
.hx-nav a {
  position: relative;
  display: inline-block;
  padding: 8px 9px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-2);
  white-space: nowrap !important;
  word-break: keep-all;
  flex: 0 0 auto !important;
  transition: color .2s;
}
.hx-nav a:hover,
.hx-nav a.is-active { color: var(--accent); }
.hx-nav a::after {
  content: "";
  position: absolute;
  left: 9px; right: 9px; bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform .2s;
}
.hx-nav a:hover::after,
.hx-nav a.is-active::after { transform: scaleX(1); }
.hx-header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  white-space: nowrap;
}
.hx-phone {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent);
  white-space: nowrap !important;
}
.hx-btn--nav,
.hx-header__actions .hx-btn {
  min-height: 40px;
  padding: 0 16px;
  white-space: nowrap !important;
  border-radius: 999px;
}
.hx-burger {
  display: none;
  position: relative;
  z-index: 10060;
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  flex-shrink: 0;
}
.hx-burger span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 1px;
  background: var(--ink);
  transition: transform .2s, opacity .2s;
}
/* 菜单打开：变成关闭按钮，始终深色可见 */
.hx-burger.is-open {
  background: #fff !important;
  border-color: var(--line) !important;
  box-shadow: 0 6px 18px rgba(15, 23, 42, .12);
}
.hx-burger.is-open span {
  background: var(--ink) !important;
}
.hx-burger.is-open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.hx-burger.is-open span:nth-child(2) {
  opacity: 0;
}
.hx-burger.is-open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}
.hx-drawer {
  display: none;
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  background: rgba(15,23,42,.45);
  z-index: 10100;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}
.hx-drawer.is-open { display: block; }
.hx-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: auto;
  width: min(320px, calc(100% - 48px));
  max-width: 100%;
  height: auto;
  margin: 0;
  background: #fff;
  padding: 0 16px 28px;
  padding-top: calc(14px + env(safe-area-inset-top, 0px));
  padding-right: calc(16px + env(safe-area-inset-right, 0px));
  padding-left: 16px;
  box-shadow: -14px 0 40px rgba(15, 23, 42, .18);
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  box-sizing: border-box;
}
.hx-drawer__head {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 56px;
  margin: 0;
  padding: 8px 0 14px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.hx-drawer__head strong {
  font-size: 1rem;
  letter-spacing: .06em;
  color: var(--ink);
}
.hx-drawer__close {
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  position: relative;
  cursor: pointer;
  flex-shrink: 0;
}
.hx-drawer__close span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 16px;
  height: 2px;
  border-radius: 1px;
  background: var(--ink);
}
.hx-drawer__close span:first-child {
  transform: translate(-50%, -50%) rotate(45deg);
}
.hx-drawer__close span:last-child {
  transform: translate(-50%, -50%) rotate(-45deg);
}
.hx-drawer__panel a {
  display: block;
  padding: 14px 6px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}
/* 菜单打开时隐藏顶栏汉堡，避免透明顶栏上叠一个错位的 × */
body.hx-menu-open .hx-burger {
  visibility: hidden;
  pointer-events: none;
}
body.hx-menu-open .hx-header {
  pointer-events: none;
}

/* ========== Buttons ========== */
.hx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .2s, box-shadow .2s, background .2s, color .2s, border-color .2s;
}
.hx-btn:hover { transform: translateY(-1px); }
.hx-btn--primary {
  background: linear-gradient(135deg, #0e7490, #22d3ee 55%, #6366f1);
  color: #fff;
  box-shadow: 0 10px 28px rgba(8, 145, 178, .35);
}
.hx-btn--ghost {
  background: #fff;
  border-color: var(--line);
  color: var(--ink);
}
.hx-btn--ghost:hover {
  border-color: #bfdbfe;
  color: var(--accent);
}
.hx-btn--outline {
  background: transparent;
  border-color: #cbd5e1;
  color: var(--ink-2);
}
.hx-btn--outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ========== Hero：科技感三主题首屏 ========== */
.hx-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 36px) 0 88px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(1200px 600px at 85% 20%, rgba(79, 70, 229, .35), transparent 55%),
    radial-gradient(900px 500px at 10% 85%, rgba(5, 150, 105, .28), transparent 50%),
    linear-gradient(145deg, #020617 0%, #0b1e3d 38%, #083344 72%, #042f2e 100%);
}
.hx-hero__stage {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hx-hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  animation: hxDrift 7s ease-in-out infinite;
}
.hx-hero__glow--a {
  width: 52vw; height: 52vw;
  right: -10%; top: -18%;
  background: var(--c-consult-glow); /* 咨询·青 */
}
.hx-hero__glow--b {
  width: 40vw; height: 40vw;
  left: -12%; bottom: -16%;
  background: var(--c-project-glow); /* 申报·靛 */
  animation-delay: -2.5s;
}
.hx-hero__glow--c {
  width: 28vw; height: 28vw;
  right: 22%; bottom: 8%;
  background: var(--c-ip-glow); /* 产权·绿 */
  animation-delay: -4.5s;
}
.hx-hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(34, 211, 238, .1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(129, 140, 248, .09) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 75%);
  opacity: .75;
  animation: hxGridPulse 5s ease-in-out infinite;
}
.hx-hero__scan {
  position: absolute;
  inset: -20% 0;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(34, 211, 238, .03) 46%,
    rgba(34, 211, 238, .22) 50%,
    rgba(129, 140, 248, .08) 54%,
    transparent 100%
  );
  animation: hxScan 3.8s ease-in-out infinite;
}
.hx-hero__beam {
  position: absolute;
  left: -20%;
  top: 42%;
  width: 140%;
  height: 3px;
  background: linear-gradient(90deg,
    transparent,
    var(--accent-2) 25%,
    #818cf8 50%,
    #34d399 75%,
    transparent);
  transform: rotate(-8deg);
  animation: hxBeam 2.8s ease-in-out infinite;
  box-shadow: 0 0 18px rgba(34, 211, 238, .55);
}
.hx-hero__beam--2 {
  top: 58%;
  height: 2px;
  transform: rotate(6deg);
  animation-name: hxBeamAlt;
  animation-duration: 3.4s;
  animation-delay: -1.2s;
}
.hx-hero__particles {
  position: absolute;
  inset: 0;
}
.hx-hero__particles span {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 14px currentColor;
  opacity: 0;
  animation: hxFloatDot 4.5s ease-in-out infinite;
}
.hx-hero__particles span:nth-child(1) { left: 12%; top: 28%; color: #22d3ee; animation-delay: 0s; }
.hx-hero__particles span:nth-child(2) { left: 28%; top: 62%; color: #818cf8; animation-delay: .7s; }
.hx-hero__particles span:nth-child(3) { left: 48%; top: 22%; color: #34d399; animation-delay: 1.2s; }
.hx-hero__particles span:nth-child(4) { left: 66%; top: 48%; color: #22d3ee; animation-delay: 1.8s; }
.hx-hero__particles span:nth-child(5) { left: 78%; top: 30%; color: #818cf8; animation-delay: 2.4s; }
.hx-hero__particles span:nth-child(6) { left: 88%; top: 68%; color: #34d399; animation-delay: 3s; }
.hx-hero__ring {
  position: absolute;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 50%;
  right: 8%;
  top: 50%;
  transform: translateY(-50%);
  animation: hxSpin 16s linear infinite;
}
.hx-hero__ring--1 {
  width: min(46vw, 520px); height: min(46vw, 520px);
  border-color: rgba(34, 211, 238, .4);
  box-shadow: 0 0 40px rgba(34, 211, 238, .12), inset 0 0 40px rgba(34, 211, 238, .06);
}
.hx-hero__ring--2 {
  width: min(34vw, 380px); height: min(34vw, 380px);
  border-color: rgba(129, 140, 248, .42);
  animation-direction: reverse;
  animation-duration: 11s;
}
.hx-hero__ring--3 {
  width: min(22vw, 240px); height: min(22vw, 240px);
  border-color: rgba(52, 211, 153, .45);
  border-style: dashed;
  animation-duration: 8s;
}
.hx-hero__layout {
  position: relative;
  z-index: 2;
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 40px;
  align-items: center;
}
.hx-hero__content { max-width: 680px; }
.hx-hero__brand {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5.8vw, 4.2rem);
  line-height: 1.15;
  margin: 0 0 18px;
  letter-spacing: 0.08em;
  color: #fff;
  text-shadow: 0 10px 40px rgba(0,0,0,.25);
}
.hx-hero__lead {
  font-size: clamp(1.2rem, 2.4vw, 1.55rem);
  font-weight: 600;
  color: rgba(255,255,255,.95);
  margin: 0 0 14px;
  letter-spacing: 0.04em;
}
.hx-hero__desc {
  margin: 0 0 20px;
  max-width: 28em;
  color: rgba(255,255,255,.72);
  font-size: 1.05rem;
  line-height: 1.75;
}
.hx-hero__themes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 28px;
}
.hx-theme {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: .88rem;
  font-weight: 600;
  letter-spacing: .04em;
  border: 1px solid transparent;
  backdrop-filter: blur(8px);
  transition: background .2s, border-color .2s, transform .2s, box-shadow .2s;
  animation: hxThemeGlow 2.8s ease-in-out infinite;
}
.hx-theme i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  box-shadow: 0 0 10px currentColor;
}
.hx-theme--consult {
  color: #a5f3fc;
  background: rgba(8, 145, 178, .18);
  border-color: rgba(34, 211, 238, .35);
}
.hx-theme--consult i { background: #22d3ee; color: #22d3ee; }
.hx-theme--project {
  color: #c7d2fe;
  background: rgba(79, 70, 229, .2);
  border-color: rgba(129, 140, 248, .4);
}
.hx-theme--project i { background: #818cf8; color: #818cf8; }
.hx-theme--ip {
  color: #a7f3d0;
  background: rgba(5, 150, 105, .18);
  border-color: rgba(52, 211, 153, .4);
}
.hx-theme--ip i { background: #34d399; color: #34d399; }
.hx-theme:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
}
.hx-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.hx-btn--hero {
  position: relative;
  overflow: hidden;
  min-height: 52px;
  padding: 0 28px;
  font-size: 1rem;
  box-shadow: 0 14px 36px rgba(34, 211, 238, .35);
  animation: hxBtnPulse 2.2s ease-in-out infinite;
}
.hx-btn--hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.45) 50%, transparent 65%);
  transform: translateX(-120%);
  animation: hxShine 2.8s ease-in-out infinite;
}
.hx-btn--light {
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.55);
  color: #fff;
  font-weight: 600;
  backdrop-filter: blur(8px);
  transition: background .2s, transform .2s, border-color .2s;
}
.hx-btn--light:hover {
  background: rgba(255,255,255,.22);
  border-color: #fff;
  transform: translateY(-1px);
}

/* 右侧轨道视觉 */
.hx-hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 420px;
}
.hx-hero__orbit {
  position: relative;
  width: min(100%, 420px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(255,255,255,.1), transparent 48%);
  animation: hxPulseOrbit 3.2s ease-in-out infinite;
}
.hx-hero__orbit::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 210deg,
    rgba(34, 211, 238, .9),
    rgba(129, 140, 248, .9),
    rgba(52, 211, 153, .9),
    rgba(34, 211, 238, .9));
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 2px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 2px));
  pointer-events: none;
  animation: hxConicSpin 8s linear infinite;
}
.hx-hero__orbit::after {
  content: "";
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(8, 145, 178, .28), transparent 65%);
  pointer-events: none;
  animation: hxCoreBreath 2.4s ease-in-out infinite;
}
.hx-hero__spinner {
  position: absolute;
  inset: 0;
  z-index: 3;
  animation: hxOrbitSpin 12s linear infinite;
}
.hx-hero__core {
  position: absolute;
  inset: 32%;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, rgba(8, 145, 178, .35), rgba(79, 70, 229, .3), rgba(5, 150, 105, .28));
  border: 1px solid rgba(255,255,255,.45);
  backdrop-filter: blur(10px);
  box-shadow:
    0 0 0 1px rgba(34, 211, 238, .25),
    0 0 50px rgba(34, 211, 238, .35),
    0 20px 60px rgba(0,0,0,.3);
  z-index: 2;
  animation: hxCoreGlow 2.6s ease-in-out infinite;
}
.hx-hero__core strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: .2em;
}
.hx-hero__core em {
  font-style: normal;
  font-size: .78rem;
  letter-spacing: .28em;
  opacity: .75;
  margin-top: 4px;
}
.hx-hero__node {
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  animation: hxOrbitCounter 12s linear infinite;
}
.hx-hero__node::after {
  content: attr(data-label);
  position: absolute;
  left: 50%;
  top: -36px;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: .92rem;
  font-weight: 700;
  letter-spacing: .12em;
  color: #fff;
  text-shadow: 0 4px 16px rgba(0,0,0,.45);
}
.hx-hero__node--1 {
  left: 50%;
  top: 2%;
  margin-left: -8px;
  background: #22d3ee;
  box-shadow: 0 0 0 10px rgba(34, 211, 238, .22), 0 0 28px rgba(34, 211, 238, .9);
}
.hx-hero__node--2 {
  right: 4%;
  top: 68%;
  background: #818cf8;
  box-shadow: 0 0 0 10px rgba(129, 140, 248, .22), 0 0 28px rgba(129, 140, 248, .9);
}
.hx-hero__node--3 {
  left: 4%;
  top: 68%;
  background: #34d399;
  box-shadow: 0 0 0 10px rgba(52, 211, 153, .22), 0 0 28px rgba(52, 211, 153, .85);
}

.hx-hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,.7);
}
.hx-hero__scroll i {
  display: block;
  width: 1px;
  height: 32px;
  background: linear-gradient(#fff, transparent);
  animation: hxLine 1.8s ease-in-out infinite;
}
@keyframes hxDrift {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: .85; }
  50% { transform: translate(-36px, 28px) scale(1.12); opacity: 1; }
}
@keyframes hxBeam {
  0%, 100% { opacity: .2; transform: rotate(-8deg) translateX(-4%); }
  50% { opacity: 1; transform: rotate(-8deg) translateX(4%); }
}
@keyframes hxBeamAlt {
  0%, 100% { opacity: .15; transform: rotate(6deg) translateX(4%); }
  50% { opacity: .85; transform: rotate(6deg) translateX(-4%); }
}
@keyframes hxSpin {
  to { transform: translateY(-50%) rotate(360deg); }
}
@keyframes hxPulseOrbit {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}
@keyframes hxOrbitSpin {
  to { transform: rotate(360deg); }
}
@keyframes hxOrbitCounter {
  from { transform: rotate(0deg); }
  to { transform: rotate(-360deg); }
}
@keyframes hxConicSpin {
  to { transform: rotate(360deg); }
}
@keyframes hxCoreBreath {
  0%, 100% { opacity: .55; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}
@keyframes hxCoreGlow {
  0%, 100% { box-shadow: 0 0 0 1px rgba(34,211,238,.2), 0 0 36px rgba(34,211,238,.25), 0 20px 60px rgba(0,0,0,.3); }
  50% { box-shadow: 0 0 0 1px rgba(129,140,248,.35), 0 0 64px rgba(129,140,248,.45), 0 20px 60px rgba(0,0,0,.3); }
}
@keyframes hxScan {
  0% { transform: translateY(-30%); opacity: 0; }
  20% { opacity: .9; }
  80% { opacity: .7; }
  100% { transform: translateY(35%); opacity: 0; }
}
@keyframes hxGridPulse {
  0%, 100% { opacity: .45; }
  50% { opacity: .85; }
}
@keyframes hxFloatDot {
  0%, 100% { opacity: 0; transform: translateY(16px) scale(.6); }
  25% { opacity: 1; }
  70% { opacity: .8; }
  100% { opacity: 0; transform: translateY(-48px) scale(1.2); }
}
@keyframes hxBtnPulse {
  0%, 100% { box-shadow: 0 14px 36px rgba(34, 211, 238, .35); }
  50% { box-shadow: 0 16px 48px rgba(34, 211, 238, .65), 0 0 0 8px rgba(34, 211, 238, .12); }
}
@keyframes hxShine {
  0%, 55% { transform: translateX(-120%); }
  80%, 100% { transform: translateX(120%); }
}
@keyframes hxLine {
  0% { transform: scaleY(.2); transform-origin: top; opacity: 0; }
  40% { opacity: 1; }
  100% { transform: scaleY(1); transform-origin: top; opacity: 0; }
}

/* 首页顶部未滚动：透明底 */
.hx-home .hx-header:not(.is-scrolled) {
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  color: #fff;
  border-bottom-color: transparent;
  box-shadow: none;
}
.hx-home .hx-header:not(.is-scrolled) .hx-brand__name,
.hx-home .hx-header:not(.is-scrolled) .hx-nav a {
  color: #fff;
}
.hx-home .hx-header:not(.is-scrolled) .hx-brand__en {
  color: rgba(255,255,255,.7);
}
.hx-home .hx-header:not(.is-scrolled) .hx-nav a:hover,
.hx-home .hx-header:not(.is-scrolled) .hx-nav a.is-active {
  color: #7dd3fc;
}
.hx-home .hx-header:not(.is-scrolled) .hx-burger {
  border-color: rgba(255,255,255,.45);
  background: rgba(255,255,255,.14);
}
.hx-home .hx-header:not(.is-scrolled) .hx-burger span {
  background: #fff;
}
.hx-home .hx-header:not(.is-scrolled) .hx-phone {
  color: #7dd3fc;
}

/* ========== Sections ========== */
.hx-section { padding: 88px 0; }
.hx-section--soft { background: var(--bg-soft); }
.hx-section--white { background: #fff; }
.hx-section--tint { background: var(--bg-tint); }
.hx-section--dark {
  /* 兼容旧类名，改为浅色区块 */
  background: var(--bg-soft);
  color: var(--ink);
}

/* ========== 首页公告栏 ========== */
.hx-notice {
  position: relative;
  z-index: 2;
  margin: 0 0 28px;
  padding: 0 0 16px;
  border-bottom: 1px solid rgba(8, 145, 178, .12);
}
.hx-notice__inner {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 36px;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
}
.hx-notice__badge {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 28px;
  padding: 0 12px;
  border-radius: 6px;
  background: linear-gradient(135deg, #0891b2, #06b6d4);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.hx-notice__viewport {
  flex: 1 1 auto;
  min-width: 0;
  height: 28px;
  overflow: hidden;
  position: relative;
}
.hx-notice__list {
  list-style: none;
  margin: 0;
  padding: 0;
  transition: transform .45s ease;
}
.hx-notice__list li {
  height: 28px;
  display: flex;
  align-items: center;
}
.hx-notice__list a {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-width: 0;
  color: var(--ink-2);
  font-size: 0.92rem;
  line-height: 1.2;
  transition: color .2s;
}
.hx-notice__list a:hover {
  color: var(--accent);
}
.hx-notice__list time {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 0.78rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
}
.hx-notice__list span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.hx-notice__more {
  flex: 0 0 auto;
  color: var(--accent);
  font-size: 0.84rem;
  font-weight: 600;
  white-space: nowrap;
}
.hx-notice__more:hover {
  color: #0e7490;
}

.hx-section__head {
  max-width: 640px;
  margin: 0 0 40px;
}
.hx-eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.hx-section__head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  margin: 0 0 14px;
  letter-spacing: 0.03em;
}
.hx-section__head p {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

/* ========== Services：明亮三栏 ========== */
.hx-showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.hx-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 26px 24px;
  min-height: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  color: var(--ink);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.hx-panel--consult { background: linear-gradient(180deg, var(--c-consult-soft), #fff 42%); }
.hx-panel--project { background: linear-gradient(180deg, var(--c-project-soft), #fff 42%); }
.hx-panel--ip { background: linear-gradient(180deg, var(--c-ip-soft), #fff 42%); }
.hx-panel:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.hx-panel--consult:hover {
  border-color: #67e8f9;
  box-shadow: 0 20px 48px rgba(8, 145, 178, .16);
}
.hx-panel--project:hover {
  border-color: #a5b4fc;
  box-shadow: 0 20px 48px rgba(79, 70, 229, .16);
}
.hx-panel--ip:hover {
  border-color: #6ee7b7;
  box-shadow: 0 20px 48px rgba(5, 150, 105, .16);
}
.hx-panel__bg {
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  z-index: 1;
}
.hx-panel--consult .hx-panel__bg { background: linear-gradient(90deg, #0e7490, #22d3ee); }
.hx-panel--project .hx-panel__bg { background: linear-gradient(90deg, #4338ca, #818cf8); }
.hx-panel--ip .hx-panel__bg { background: linear-gradient(90deg, #047857, #34d399); }
.hx-panel__index {
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1;
  margin: 8px 0 14px;
  opacity: .35;
}
.hx-panel--consult .hx-panel__index { color: var(--c-consult); }
.hx-panel--project .hx-panel__index { color: var(--c-project); }
.hx-panel--ip .hx-panel__index { color: var(--c-ip); }
.hx-panel__tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.hx-panel--consult .hx-panel__tag { color: var(--c-consult); }
.hx-panel--project .hx-panel__tag { color: var(--c-project); }
.hx-panel--ip .hx-panel__tag { color: var(--c-ip); }
.hx-panel h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin: 0 0 10px;
  letter-spacing: 0.04em;
}
.hx-panel p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 0.95rem;
  min-height: 4.2em;
}
.hx-panel__meta {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
}
.hx-panel__meta li {
  padding: 8px 0;
  border-top: 1px dashed var(--line);
  font-size: 0.9rem;
  color: var(--ink-2);
}
.hx-panel__cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.9rem;
}
.hx-panel--consult .hx-panel__cta { color: var(--c-consult); }
.hx-panel--project .hx-panel__cta { color: var(--c-project); }
.hx-panel--ip .hx-panel__cta { color: var(--c-ip); }
.hx-panel__cta span { transition: transform .2s; }
.hx-panel:hover .hx-panel__cta span { transform: translateX(4px); }

/* ========== Methodology ========== */
.hx-ribbon {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.hx-ribbon__item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 20px;
  transition: border-color .2s, box-shadow .2s;
}
.hx-ribbon__item:hover {
  border-color: #bfdbfe;
  box-shadow: var(--shadow);
}
.hx-ribbon__num {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 8px;
}
.hx-ribbon__item h3 {
  font-size: 1.05rem;
  margin: 0 0 6px;
}
.hx-ribbon__item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

/* ========== About ========== */
.hx-about {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.hx-about__visual {
  position: relative;
  min-height: 380px;
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  background:
    radial-gradient(circle at 70% 30%, rgba(14,165,233,.28), transparent 45%),
    radial-gradient(circle at 20% 80%, rgba(37,99,235,.18), transparent 40%),
    linear-gradient(145deg, #dbeafe, #eff6ff 50%, #f8fafc);
  border: 1px solid #dbeafe;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: background-image .35s ease;
}
.hx-about__visual--photo {
  background-color: #0b1c2c;
}
.hx-about__visual--photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,28,44,.15) 0%, rgba(11,28,44,.45) 100%);
  pointer-events: none;
  transition: opacity .3s ease;
}
.hx-about__visual::before {
  content: "HUAXIAO";
  position: absolute;
  right: 14px;
  bottom: 8px;
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(37,99,235,.08);
  z-index: 1;
}
.hx-about__visual--photo::before {
  color: rgba(255,255,255,.12);
}
.hx-about__marks {
  position: absolute;
  inset: auto 20px 20px 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 10px;
  z-index: 2;
}
.hx-mark {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 10px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(6px);
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.hx-mark:hover,
.hx-mark.is-active {
  transform: translateY(-3px);
  background: #fff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, .14);
}
.hx-mark__txt {
  min-width: 0;
}
.hx-mark strong {
  display: block;
  font-size: 1.02rem;
  margin-bottom: 2px;
}
.hx-mark span { font-size: 0.78rem; color: var(--muted); }
.hx-mark[data-t="consult"] strong { color: var(--c-consult); }
.hx-mark[data-t="project"] strong { color: var(--c-project); }
.hx-mark[data-t="ip"] strong { color: var(--c-ip); }
.hx-about__text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  margin: 0 0 14px;
}
.hx-about__text p {
  color: var(--muted);
  margin: 0 0 14px;
}
.hx-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.hx-chips span {
  padding: 8px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 0.84rem;
  color: var(--ink-2);
}

/* ========== News ========== */
.hx-news {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.hx-news-card {
  display: block;
  padding: 24px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.hx-news-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: #bfdbfe;
}
.hx-news-card__date {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 10px;
}
.hx-news-card h3 {
  font-size: 1.08rem;
  margin: 0 0 10px;
  line-height: 1.45;
}
.hx-news-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hx-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px 16px;
  color: var(--muted);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: #fff;
}

/* ========== Contact ========== */
.hx-contact {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 20px;
}
.hx-contact__main {
  padding: 40px 36px;
  border-radius: calc(var(--radius) + 2px);
  color: #fff;
  background:
    radial-gradient(ellipse at 90% 10%, rgba(34, 211, 238, .35), transparent 45%),
    radial-gradient(ellipse at 10% 90%, rgba(52, 211, 153, .22), transparent 45%),
    linear-gradient(135deg, #083344, #0e7490 45%, #4338ca);
}
.hx-contact__main h2 {
  font-family: var(--font-display);
  font-size: 1.9rem;
  margin: 0 0 10px;
}
.hx-contact__main > p {
  margin: 0 0 24px;
  color: rgba(255,255,255,.85);
}
.hx-contact__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.hx-contact__list li {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid rgba(255,255,255,.18);
}
.hx-contact__list strong {
  color: rgba(255,255,255,.78);
  font-weight: 600;
}
.hx-contact__side {
  padding: 32px 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 2px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: var(--shadow);
}
.hx-contact__side h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin: 0 0 10px;
}
.hx-contact__side p {
  color: var(--muted);
  margin: 0 0 20px;
}
.hx-contact__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hx-contact__links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
  font-weight: 600;
  transition: border-color .2s, background .2s, color .2s;
}
.hx-contact__links a[data-t="consult"]:hover { border-color: #67e8f9; background: var(--c-consult-soft); color: var(--c-consult); }
.hx-contact__links a[data-t="project"]:hover { border-color: #a5b4fc; background: var(--c-project-soft); color: var(--c-project); }
.hx-contact__links a[data-t="ip"]:hover { border-color: #6ee7b7; background: var(--c-ip-soft); color: var(--c-ip); }

/* ========== Inner pages ========== */
.hx-page-banner,
.hx-page-banner--consulting,
.hx-page-banner--consult,
.hx-page-banner--project,
.hx-page-banner--ip {
  padding: calc(var(--nav-h) + 56px) 0 56px;
  color: var(--ink);
  background:
    radial-gradient(700px 280px at 90% 0%, rgba(34, 211, 238, .2), transparent 55%),
    linear-gradient(180deg, #ecfeff, #ffffff);
  border-bottom: 1px solid var(--line);
}
.hx-page-banner--project {
  background:
    radial-gradient(700px 280px at 90% 0%, rgba(79, 70, 229, .18), transparent 55%),
    linear-gradient(180deg, #eef2ff, #ffffff);
}
.hx-page-banner--ip {
  background:
    radial-gradient(700px 280px at 90% 0%, rgba(5, 150, 105, .16), transparent 55%),
    linear-gradient(180deg, #ecfdf5, #ffffff);
}
.hx-page-banner h1 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  margin: 0 0 14px;
  letter-spacing: 0.04em;
}
.hx-page-banner p {
  margin: 0;
  max-width: 40em;
  color: var(--muted);
}
.hx-breadcrumb {
  margin-bottom: 14px;
  font-size: 0.86rem;
  color: var(--muted);
}
.hx-breadcrumb a:hover { color: var(--accent); }

.hx-detail {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 28px;
}
.hx-detail__main h2,
.hx-detail__side h3 {
  font-family: var(--font-display);
  margin: 0 0 14px;
}
.hx-detail__main p,
.hx-detail__side p { color: var(--muted); margin: 0 0 14px; }
.hx-list { list-style: none; margin: 0; padding: 0; }
.hx-list li {
  position: relative;
  padding: 14px 0 14px 20px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-2);
}
.hx-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 20px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
}
body.hx-svc-consulting .hx-list li::before { background: var(--c-consult); }
body.hx-svc-project .hx-list li::before { background: var(--c-project); }
body.hx-svc-ip .hx-list li::before { background: var(--c-ip); }
.hx-detail__side {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  height: fit-content;
  position: sticky;
  top: calc(var(--nav-h) + 16px);
  box-shadow: var(--shadow);
}
.hx-detail__side .hx-btn { width: 100%; margin-top: 8px; }
.hx-process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 22px;
}
.hx-process__item {
  padding: 18px 14px;
  background: var(--bg-soft);
  border-radius: 10px;
  border-top: 3px solid var(--accent);
}
body.hx-svc-consulting .hx-process__item { border-top-color: var(--c-consult); }
body.hx-svc-project .hx-process__item { border-top-color: var(--c-project); }
body.hx-svc-ip .hx-process__item { border-top-color: var(--c-ip); }
.hx-process__item strong {
  display: block;
  font-size: 1.2rem;
  margin-bottom: 6px;
  color: var(--accent);
}
body.hx-svc-consulting .hx-process__item strong { color: var(--c-consult); }
body.hx-svc-project .hx-process__item strong { color: var(--c-project); }
body.hx-svc-ip .hx-process__item strong { color: var(--c-ip); }
.hx-process__item span { font-size: 0.88rem; color: var(--ink-2); }

/* News list */
.hx-news-layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 22px;
}
.hx-side-nav {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.hx-side-nav__title {
  background: linear-gradient(135deg, #0e7490, #22d3ee 55%, #6366f1);
  color: #fff;
  padding: 18px 16px;
  font-family: var(--font-display);
}
.hx-side-nav .classtypebtn {
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
}
.hx-side-nav .classtypebtn:hover,
.hx-side-nav .classtypebtnactive {
  background: #eff6ff;
  color: var(--accent);
}
.hx-crumbbar {
  background: var(--bg-soft);
  padding: 14px 16px;
  margin-bottom: 18px;
  border-radius: 10px;
  color: var(--muted);
}
.hx-article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 32px 48px;
}
.hx-article__title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  text-align: center;
  margin: 0 0 10px;
}
.hx-article__meta {
  text-align: center;
  color: var(--muted);
  margin-bottom: 28px;
}
.hx-article__body { line-height: 1.9; color: #334155; overflow-wrap: anywhere; }
.solutionbody { list-style: none; margin: 0; padding: 0; }
.solutionbody li { padding: 16px 0; border-bottom: 1px solid var(--line); }
.solutionbody li a {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.solutionbody li a:hover { color: var(--accent); }
.page { margin-top: 24px; text-align: center; }
.pagecontent span {
  display: inline-block;
  margin: 0 6px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  background: #fff;
}
.pagecontent span:hover { border-color: var(--accent); color: var(--accent); }

/* ========== Footer ========== */
.hx-footer {
  background: #0f172a;
  color: rgba(255,255,255,.72);
  padding: 56px 0 0;
}
.hx-footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.85fr;
  gap: 32px;
  padding-bottom: 40px;
}
.hx-footer h4 {
  color: #fff;
  font-family: var(--font-display);
  margin: 0 0 14px;
  font-size: 1.1rem;
}
.hx-footer p { margin: 0 0 8px; }
.hx-footer a { color: rgba(255,255,255,.72); }
.hx-footer a:hover { color: #7dd3fc; }
.hx-footer__links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 14px;
}
.hx-footer__qr {
  width: 110px;
  height: 110px;
  background: #fff center/cover no-repeat;
  border-radius: 8px;
}
.hx-footer__bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 16px 0;
  text-align: center;
  font-size: 0.84rem;
  color: rgba(255,255,255,.45);
}
.hx-footer__bottom a { color: rgba(255,255,255,.6); }

/* ========== 酷炫进场：涌入 / 错峰 / 弹入 ========== */
.hx-reveal {
  opacity: 0;
  transform: translate3d(0, 72px, 0) scale(.9);
  filter: blur(14px);
  transition:
    opacity .95s cubic-bezier(.16, 1, .3, 1),
    transform .95s cubic-bezier(.16, 1, .3, 1),
    filter .95s cubic-bezier(.16, 1, .3, 1);
  will-change: opacity, transform, filter;
}
.hx-reveal.is-in {
  opacity: 1;
  transform: none;
  filter: none;
}
.hx-reveal--left {
  transform: translate3d(-88px, 0, 0) scale(.92);
}
.hx-reveal--right {
  transform: translate3d(88px, 0, 0) scale(.92);
}
.hx-reveal--zoom {
  transform: translate3d(0, 32px, 0) scale(.74);
}
.hx-reveal--up {
  transform: translate3d(0, 96px, 0);
}

.hx-stag > * {
  opacity: 0;
  transform: translate3d(0, 64px, 0) scale(.88);
  filter: blur(10px);
  transition:
    opacity .95s cubic-bezier(.16, 1, .3, 1),
    transform .95s cubic-bezier(.16, 1, .3, 1),
    filter .95s cubic-bezier(.16, 1, .3, 1);
  will-change: opacity, transform, filter;
}
.hx-stag.is-in > *:nth-child(1) { transition-delay: .05s; }
.hx-stag.is-in > *:nth-child(2) { transition-delay: .18s; }
.hx-stag.is-in > *:nth-child(3) { transition-delay: .32s; }
.hx-stag.is-in > *:nth-child(4) { transition-delay: .46s; }
.hx-stag.is-in > *:nth-child(5) { transition-delay: .58s; }
.hx-stag.is-in > *:nth-child(6) { transition-delay: .7s; }
.hx-stag.is-in > * {
  opacity: 1;
  transform: none;
  filter: none;
}

/* 服务卡：弹跃涌入 */
.hx-showcase.hx-stag > .hx-panel {
  transform: translate3d(0, 96px, 0) scale(.82) rotateX(12deg);
  transform-origin: 50% 100%;
}
.hx-showcase.hx-stag.is-in > .hx-panel {
  transform: none;
}
.hx-showcase.hx-stag.is-in > .hx-panel:nth-child(1) { transition-delay: .08s; }
.hx-showcase.hx-stag.is-in > .hx-panel:nth-child(2) { transition-delay: .26s; }
.hx-showcase.hx-stag.is-in > .hx-panel:nth-child(3) { transition-delay: .44s; }

/* 首屏逐块涌入 + 右侧轨道出现 */
.hx-hero__content > * {
  opacity: 0;
  transform: translate3d(0, 56px, 0);
  animation: hxSurge 1.05s cubic-bezier(.16, 1, .3, 1) forwards;
}
.hx-hero__brand { animation-delay: .1s; }
.hx-hero__lead { animation-delay: .26s; }
.hx-hero__desc { animation-delay: .4s; }
.hx-hero__themes { animation-delay: .52s; }
.hx-hero__cta { animation-delay: .66s; }
.hx-hero__visual {
  opacity: 0;
  animation: hxVisualIn 1.2s .28s cubic-bezier(.16, 1, .3, 1) forwards;
}
.hx-theme--consult { animation-delay: 0s; }
.hx-theme--project { animation-delay: .4s; }
.hx-theme--ip { animation-delay: .8s; }

@keyframes hxSurge {
  0% {
    opacity: 0;
    transform: translate3d(0, 64px, 0) scale(.9);
    filter: blur(14px);
  }
  55% { filter: blur(0); }
  100% {
    opacity: 1;
    transform: none;
    filter: none;
  }
}
@keyframes hxVisualIn {
  0% {
    opacity: 0;
    transform: scale(.72) rotate(-8deg);
    filter: blur(16px);
  }
  100% {
    opacity: 1;
    transform: none;
    filter: none;
  }
}
@keyframes hxThemeGlow {
  0%, 100% { box-shadow: 0 0 0 rgba(0,0,0,0); }
  50% { box-shadow: 0 0 22px rgba(34, 211, 238, .28); }
}

/* 服务卡流光 */
.hx-panel::after {
  content: "";
  position: absolute;
  top: 0; left: -40%;
  width: 40%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,.35), transparent);
  transform: skewX(-18deg);
  opacity: 0;
  pointer-events: none;
}
.hx-panel:hover::after {
  animation: hxCardSweep .85s ease;
}
@keyframes hxCardSweep {
  from { left: -40%; opacity: 0; }
  30% { opacity: 1; }
  to { left: 120%; opacity: 0; }
}

/* 版块标题带光扫 */
.hx-section__head.is-in h2 {
  animation: hxTitlePop .9s cubic-bezier(.16, 1, .3, 1) both;
}
@keyframes hxTitlePop {
  0% { letter-spacing: .28em; opacity: .15; filter: blur(6px); }
  100% { letter-spacing: .03em; opacity: 1; filter: none; }
}

/* 尊重减少动态偏好 */
@media (prefers-reduced-motion: reduce) {
  .hx-reveal,
  .hx-stag > *,
  .hx-hero__content > *,
  .hx-hero__visual,
  .hx-hero__glow,
  .hx-hero__beam,
  .hx-hero__ring,
  .hx-hero__orbit,
  .hx-hero__orbit::before,
  .hx-hero__orbit::after,
  .hx-hero__spinner,
  .hx-hero__node,
  .hx-hero__scan,
  .hx-hero__particles span,
  .hx-theme,
  .hx-btn--hero,
  .hx-btn--hero::after {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    animation: none !important;
    transition: none !important;
  }
}

/* Responsive */
@media (max-width: 1280px) {
  .hx-phone { display: none; }
  .hx-brand__en { display: none; }
  .hx-nav a { padding: 8px 6px; font-size: 0.84rem; }
}
@media (max-width: 1100px) {
  .hx-showcase { grid-template-columns: 1fr; }
  .hx-ribbon { grid-template-columns: 1fr 1fr; }
  .hx-process { grid-template-columns: 1fr 1fr; }
  .hx-notice {
    margin: 0 0 20px;
    padding: 0 0 12px;
  }
  .hx-notice__inner {
    gap: 10px;
    padding: 0;
  }
  .hx-brand img {
    height: 46px;
    max-width: 150px;
  }
  .hx-hero__layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .hx-hero__visual {
    min-height: 320px;
  }
  .hx-hero__orbit {
    width: min(56vw, 360px);
  }
}
@media (max-width: 980px) {
  .hx-news,
  .hx-about,
  .hx-contact,
  .hx-detail,
  .hx-news-layout,
  .hx-footer__grid { grid-template-columns: 1fr; }
  .hx-detail__side { position: static; }
  .hx-nav, .hx-header__actions .hx-btn, .hx-header__actions .hx-phone { display: none !important; }
  .hx-burger { display: inline-flex; }
  .hx-about__marks { grid-template-columns: 1fr; }

  /* 手机顶栏始终固定，不随页面滚动 */
  .hx-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    z-index: 10050 !important;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
  }
  .hx-header__inner {
    padding-left: 16px;
    padding-right: 16px;
  }
  .hx-header__actions {
    margin-right: 0;
    padding-right: 0;
  }

  /* 首页未滚动：透明，只留菜单按钮 */
  .hx-home .hx-header:not(.is-scrolled) {
    background: transparent !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    border-bottom-color: transparent !important;
    box-shadow: none !important;
    pointer-events: none; /* 顶栏本身穿透，仅按钮可点 */
  }
  .hx-home .hx-header:not(.is-scrolled) .hx-burger,
  .hx-home .hx-header:not(.is-scrolled) .hx-header__actions {
    pointer-events: auto;
  }
  .hx-home .hx-header:not(.is-scrolled) .hx-brand {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    overflow: hidden;
    margin: 0;
    padding: 0;
  }
  .hx-home .hx-header:not(.is-scrolled) .hx-header__inner {
    justify-content: flex-end;
  }
  .hx-drawer__panel {
    width: min(300px, calc(100% - 56px)) !important;
    right: 0 !important;
  }
  /* 透明顶栏上：白底 + 深色三条杠，避免白块看不见菜单 */
  .hx-home .hx-header:not(.is-scrolled) .hx-burger:not(.is-open) {
    border-color: rgba(255,255,255,.85) !important;
    background: #fff !important;
    box-shadow: 0 6px 20px rgba(0,0,0,.22);
  }
  .hx-home .hx-header:not(.is-scrolled) .hx-burger:not(.is-open) span {
    background: #0f172a !important;
  }
  /* 未滚动但打开菜单：按钮切深色，避免白底抽屉上“消失” */
  .hx-home .hx-header:not(.is-scrolled) .hx-burger.is-open {
    background: #fff !important;
    border-color: #cbd5e1 !important;
    box-shadow: 0 8px 22px rgba(0,0,0,.16);
  }
  .hx-home .hx-header:not(.is-scrolled) .hx-burger.is-open span {
    background: #0f172a !important;
  }
  body.hx-menu-open .hx-header {
    pointer-events: auto;
  }

  /* 滚动后：固定白底顶栏完整出现（Logo + 名称 + 菜单） */
  .hx-home .hx-header.is-scrolled,
  .hx-header.is-solid {
    background: #fff !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    border-bottom: 1px solid var(--line) !important;
    box-shadow: 0 6px 20px rgba(15, 23, 42, .08) !important;
    color: var(--ink) !important;
  }
  .hx-home .hx-header.is-scrolled .hx-brand {
    position: static;
    width: auto;
    height: auto;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    max-width: none;
    overflow: visible;
    padding: 0;
  }
  .hx-home .hx-header.is-scrolled .hx-brand__name {
    color: var(--ink) !important;
  }
  .hx-home .hx-header.is-scrolled .hx-brand__en {
    color: var(--muted) !important;
  }
  .hx-home .hx-header.is-scrolled .hx-burger {
    border-color: var(--line) !important;
    background: #fff !important;
    box-shadow: none;
  }
  .hx-home .hx-header.is-scrolled .hx-burger span {
    background: var(--ink) !important;
  }
  .hx-brand__name {
    max-width: 46vw;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .hx-reveal,
  .hx-stag > * {
    filter: none;
  }
}
@media (max-width: 780px) {
  :root { --nav-h: 68px; }
  .hx-section { padding: 64px 0; }
  .hx-ribbon, .hx-process { grid-template-columns: 1fr; }
  .hx-brand__name { font-size: 0.92rem; }
  .hx-brand img {
    height: 40px;
    max-width: 130px;
  }
  .hx-contact__main { padding: 28px 22px; }
  .hx-article { padding: 24px 16px 36px; }
  .hx-hero {
    min-height: 100svh;
    padding: calc(var(--nav-h) + 28px) 0 72px;
  }
  .hx-hero__layout {
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: center;
  }
  .hx-hero__content {
    max-width: none;
  }
  .hx-hero__desc {
    margin-left: auto;
    margin-right: auto;
  }
  .hx-hero__cta,
  .hx-hero__themes {
    justify-content: center;
  }
  .hx-hero__visual {
    min-height: 280px;
    order: -1;
  }
  .hx-hero__orbit {
    width: min(72vw, 300px);
  }
  .hx-hero__ring {
    right: 50%;
    transform: translate(50%, -50%);
  }
  .hx-hero__ring--1,
  .hx-hero__ring--2,
  .hx-hero__ring--3 {
    animation-name: hxSpinCenter;
  }
}
@keyframes hxSpinCenter {
  to { transform: translate(50%, -50%) rotate(360deg); }
}
