/* ==========================================================================
   首页首屏 v2 · 白纸 + 群青字 + 图录纹样
   只在 index.html 引用（body.zc-home 作用域），不影响其余五页
   ========================================================================== */

/* ---------- 首页专用字体（子集，只含本页用字） ---------- */
@font-face {
  font-family: "ZC-HeroWJM";
  src: url("../library/fonts/home/hero-wjm.woff?v=2026110301") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "ZC-HeroZMX";
  src: url("../library/fonts/home/hero-zmx.woff?v=20261201") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

.zc-home {
  --hv-ink: #0a1c30;
  --hv-blue: #153f6d;
  --hv-blue-2: #2b5d93;
  --hv-blue-3: #6b90b8;
  --hv-blue-4: #a9c2da;
  --hv-blue-5: #d9e6f2;
  --hv-line: rgba(10, 28, 48, 0.14);
  --hv-line-2: rgba(10, 28, 48, 0.075);
  --hv-serif: "ZC-HeroWJM", "Songti SC", serif;
  --hv-brush: "ZC-HeroZMX", "ZC-HeroWJM", "Songti SC", serif;
  background: #fff;
}

/* ==========================================================================
   顶栏：白底深字（原站 header 是给深色首屏做的浅字，这里是反向覆盖）
   ========================================================================== */
.zc-home .site-header {
  background: rgba(255, 255, 255, 0.94);
  border-bottom-color: var(--hv-line-2);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
}
.zc-home .site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
  border-bottom-color: var(--hv-line);
}
.zc-home .site-header .brand { color: var(--hv-ink); }
.zc-home .site-header .brand__logo { width: 38px; height: 38px; }
.zc-home .site-header .brand__name { color: var(--hv-ink); }
.zc-home .site-header .brand__sub { color: var(--hv-blue-3); }
.zc-home .nav__link { color: #3d5872; }
.zc-home .nav__link:hover,
.zc-home .nav__link.is-active { color: var(--hv-blue); }
.zc-home .nav__link::after { background: var(--hv-blue); }
.zc-home .nav__caret::before,
.zc-home .nav__caret::after { background: currentColor; }
.zc-home .nav__cta {
  background: var(--hv-blue);
  color: #fff;
  box-shadow: none;
}
.zc-home .nav__cta:hover {
  background: var(--hv-ink);
  box-shadow: none;
  transform: none;
}
.zc-home .nav__drop-inner {
  background: rgba(255, 255, 255, 0.98);
  border-color: var(--hv-line);
  box-shadow: 0 24px 48px -30px rgba(10, 28, 48, 0.34);
}
.zc-home .nav__drop-link { color: #3d5872; }
.zc-home .nav__drop-link:hover {
  color: var(--hv-blue);
  background: rgba(21, 63, 109, 0.05);
}
.zc-home .nav__toggle span { background: var(--hv-ink); }

/* ==========================================================================
   首屏
   ========================================================================== */
.hv {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 100vh;
  min-height: 100svh;
  padding-top: var(--nav-h);
  background: #fff;
}

/* ---------- 纹样层 ---------- */
.hv__deco {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  will-change: transform;
  transition: transform 0.75s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.hv__glow {
  position: absolute;
  left: 50%;
  top: 44%;
  width: 70vmax;
  height: 70vmax;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(217, 230, 242, 0.55), transparent 62%);
}
.hv__rings {
  position: absolute;
  left: 50%;
  top: 46%;
  width: 150vmax;
  height: 150vmax;
  transform: translate(-50%, -50%);
  background: repeating-radial-gradient(
    circle at 50% 50%,
    transparent 0 196px,
    rgba(21, 63, 109, 0.05) 196px 197px,
    transparent 197px 316px
  );
}
.hv__ticks,
.hv__ticks--b {
  position: absolute;
  left: 50%;
  top: 46%;
  width: 150vmax;
  height: 150vmax;
  transform: translate(-50%, -50%);
  background: repeating-conic-gradient(from 0deg, rgba(21, 63, 109, 0.055) 0deg 0.2deg, transparent 0.2deg 2.8deg);
  -webkit-mask: radial-gradient(circle, transparent 0 40%, #000 40.1% 41.2%, transparent 41.3% 100%);
  mask: radial-gradient(circle, transparent 0 40%, #000 40.1% 41.2%, transparent 41.3% 100%);
  animation: hv-spin 200s linear infinite;
}
.hv__ticks--b {
  background: repeating-conic-gradient(from 0deg, rgba(21, 63, 109, 0.04) 0deg 0.18deg, transparent 0.18deg 1.6deg);
  -webkit-mask: radial-gradient(circle, transparent 0 17%, #000 17.1% 17.9%, transparent 18% 100%);
  mask: radial-gradient(circle, transparent 0 17%, #000 17.1% 17.9%, transparent 18% 100%);
  animation: hv-spin 150s linear infinite reverse;
}
.hv__hatch {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 9vw;
  background: repeating-linear-gradient(90deg, rgba(21, 63, 109, 0.09) 0 1px, transparent 1px 9px);
}
.hv__hatch--l {
  left: 0;
  -webkit-mask: linear-gradient(to right, #000, transparent);
  mask: linear-gradient(to right, #000, transparent);
}
.hv__hatch--r {
  right: 0;
  -webkit-mask: linear-gradient(to left, #000, transparent);
  mask: linear-gradient(to left, #000, transparent);
}
/* 四角套准标记 */
.hv__crest {
  position: absolute;
  left: 50%;
  top: 46%;
  transform: translate(-50%, -50%);
  width: min(64vw, 720px);
  aspect-ratio: 1;
}
.hv__crest i {
  position: absolute;
  width: 15px;
  height: 15px;
  border: 0 solid rgba(21, 63, 109, 0.3);
}
.hv__crest i:nth-child(1) { top: 0; left: 0; border-top-width: 1px; border-left-width: 1px; }
.hv__crest i:nth-child(2) { top: 0; right: 0; border-top-width: 1px; border-right-width: 1px; }
.hv__crest i:nth-child(3) { bottom: 0; left: 0; border-bottom-width: 1px; border-left-width: 1px; }
.hv__crest i:nth-child(4) { bottom: 0; right: 0; border-bottom-width: 1px; border-right-width: 1px; }

@keyframes hv-spin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* ---------- 主内容 ---------- */
.hv__in {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 14px;
  padding-bottom: 30px;
}

.hv__eb {
  display: flex;
  align-items: center;
  gap: 15px;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--hv-blue);
  text-transform: uppercase;
  animation: hv-rise 1s cubic-bezier(0.2, 0.7, 0.2, 1) 0.1s backwards;
}
.hv__eb i {
  display: block;
  width: 30px;
  height: 2px;
  background: var(--hv-blue-4);
}
/* 两端各一条短横线：文字末尾自带 letter-spacing，右侧那条要往回让 0.2em 才和左边对称 */
.hv__eb i:last-child {
  margin-left: -0.2em;
}

.hv__h1 {
  margin-top: 34px;
  font-family: var(--hv-brush);
  font-weight: 400;
  font-size: clamp(54px, 8.4vw, 126px);
  line-height: 1.18;
  letter-spacing: 0.01em;
  color: var(--hv-ink);
}
.hv__h1 span {
  display: block;
  overflow: hidden;
}
.hv__h1 span > b {
  display: block;
  font-weight: 400;
  animation: hv-rise 1.15s cubic-bezier(0.2, 0.7, 0.2, 1) backwards;
}
.hv__h1 .hv-l1 > b { animation-delay: 0.22s; }
.hv__h1 .hv-l2 > b { animation-delay: 0.36s; color: var(--hv-blue); }
.hv__h1 .hv-l2 b em { font-style: normal; color: var(--hv-ink); }

@keyframes hv-rise {
  from { transform: translateY(105%); }
  to { transform: translateY(0); }
}

.hv__rule {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 40px;
  animation: hv-rise 1s cubic-bezier(0.2, 0.7, 0.2, 1) 0.52s backwards;
}
.hv__rule i {
  display: block;
  width: clamp(48px, 7vw, 110px);
  height: 1px;
  background: var(--hv-line);
}
.hv__rule span {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--hv-blue-4);
  text-transform: uppercase;
}

.hv__sub {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 30px;
  font-size: 16px;
  letter-spacing: 0.04em;
  color: #41596f;
  animation: hv-rise 1s cubic-bezier(0.2, 0.7, 0.2, 1) 0.62s backwards;
}
.hv__sub i {
  display: block;
  flex: none;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--hv-blue-4);
}

.hv__act {
  display: flex;
  gap: 14px;
  margin-top: 44px;
  animation: hv-rise 1s cubic-bezier(0.2, 0.7, 0.2, 1) 0.74s backwards;
}
.hv__btn {
  padding: 14px 34px;
  border-radius: 100px;
  font-size: 14px;
  letter-spacing: 0.12em;
  transition: 0.32s;
}
.hv__btn--fill {
  background: var(--hv-blue);
  color: #fff;
}
.hv__btn--fill:hover {
  background: var(--hv-ink);
  transform: translateY(-1px);
}
.hv__btn--line {
  border: 1px solid var(--hv-line);
  color: var(--hv-blue);
}
.hv__btn--line:hover {
  border-color: var(--hv-blue);
  background: #fff;
}

/* ---------- 底部五段链路 ---------- */
.hv__foot {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--hv-line-2);
  animation: hv-rise 1s cubic-bezier(0.2, 0.7, 0.2, 1) 0.86s backwards;
}
.hv__foot .container {
  display: flex;
  align-items: center;
  padding-top: 24px;
  padding-bottom: 26px;
}
.hv__foot-it {
  display: flex;
  align-items: baseline;
  gap: 9px;
  flex: 1;
}
.hv__foot-it b {
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 400;
  letter-spacing: 0.24em;
  color: var(--hv-blue-4);
}
.hv__foot-it span {
  font-family: var(--hv-serif);
  font-size: 15px;
  letter-spacing: 0.16em;
  color: #2c4763;
}
.hv__scroll {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.3em;
  color: var(--hv-blue-4);
}
.hv__scroll::after {
  content: "";
  width: 1px;
  height: 22px;
  background: linear-gradient(var(--hv-blue-4), transparent);
  animation: hv-drop 2.4s ease-in-out infinite;
}
@keyframes hv-drop {
  0%, 100% { opacity: 0.25; transform: scaleY(0.55); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ==========================================================================
   关键词条（覆盖原站暖调 marquee）
   ========================================================================== */
.zc-home .marquee {
  background: #fff;
  border-top: 0;
  border-bottom: 1px solid var(--hv-line-2);
  padding: 4px 0;
}
.zc-home .marquee__item {
  font-family: var(--hv-serif);
  font-size: 13px;
  letter-spacing: 0.3em;
  color: #93a9be;
  gap: 0;
}
.zc-home .marquee__item:hover { color: var(--hv-blue); }
.zc-home .marquee__item::after {
  width: 3px;
  height: 3px;
  background: var(--hv-blue-5);
  transform: none;
  border-radius: 50%;
  margin: 0 0 0 30px;
}


/* ==========================================================================
   页脚：暖墨斜织纹深底 + 纯白文字（2026-11-28 用户定案，A 版）
   🔴 色值与 css/style.css :root 的 --ft-* 共用，这里只做「zc-home 覆盖」，
      同一段 .zc-home 也作用于 help / feedback / invite 三页（body 都带 zc-home），
      所以改这里 = 这四页一起变；其余页面走 style.css 的 .site-footer。
   ========================================================================== */
.zc-home .site-footer {
  --on-dark: var(--ft-ink);
  --on-dark-muted: var(--ft-ink-2);
  background: var(--ft-bg);
  color: var(--ft-ink-2);
  padding: 68px 0 34px;
}
.zc-home .footer__grid { border-bottom-color: rgba(255, 255, 255, 0.14); }
.zc-home .footer__brand .brand { margin-bottom: 20px; }
.zc-home .footer__brand .brand__name { color: var(--ft-ink); }
.zc-home .footer__brand .brand__sub { color: var(--ft-ink-3); }
.zc-home .footer__brand .brand__logo { width: 34px; height: 34px; }
.zc-home .footer__brand p { color: var(--ft-ink-2); line-height: 2; }
.zc-home .footer__qrs { gap: 30px; }
/* 窄屏要一行放下四张码（.zc-home 特异性高于 style.css 的 .footer__qrs，必须在这里覆盖） */
@media (max-width: 640px) {
  .zc-home .footer__qrs { gap: 14px; }
}
@media (max-width: 380px) {
  .zc-home .footer__qrs { gap: 9px; }
}
.zc-home .footer__qr-box {
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
}
.zc-home .footer__qr-t { color: var(--ft-ink-3); }
.zc-home .footer__col h4 {
  font-family: var(--hv-serif);
  color: var(--ft-ink);
  font-weight: 400;
  letter-spacing: 0.14em;
}
.zc-home .footer__col ul a { color: var(--ft-ink-2); }
.zc-home .footer__col ul a:hover { color: var(--ft-ink); }
.zc-home .footer__wx { color: var(--ft-ink-2); }
.zc-home .footer__legal { color: var(--ft-ink-3); }
.zc-home .footer__legal a:hover { color: var(--ft-ink); }

/* ==========================================================================
   窄屏
   ========================================================================== */
@media (max-width: 1080px) {
  .hv__crest { width: min(84vw, 620px); }
  .hv__hatch { width: 7vw; }
}

@media (max-width: 900px) {
  .zc-home .nav__links {
    background: rgba(255, 255, 255, 0.98);
    border-top: 1px solid var(--hv-line-2);
    box-shadow: 0 24px 40px -30px rgba(10, 28, 48, 0.3);
  }
  .zc-home .nav__drop-inner {
    background: rgba(244, 248, 252, 0.98);
    box-shadow: none;
  }
}

@media (max-width: 760px) {
  .hv__crest { width: min(88vw, 420px); }
  .hv__in { padding-top: 26px; padding-bottom: 26px; }
  .hv__eb { font-size: 11.5px; letter-spacing: 0.16em; gap: 11px; }
  .hv__eb i { width: 22px; }
  .hv__h1 {
    font-size: clamp(44px, 13vw, 60px);
    line-height: 1.26;
    letter-spacing: 0.02em;
    margin-top: 26px;
  }
  .hv__rule { margin-top: 30px; gap: 14px; }
  .hv__rule span { font-size: 8.5px; letter-spacing: 0.24em; }
  .hv__sub {
    flex-direction: column;
    gap: 8px;
    margin-top: 26px;
    font-size: 15px;
    line-height: 1.9;
  }
  .hv__sub i { display: none; }
  .hv__act { margin-top: 34px; gap: 12px; }
  .hv__btn { padding: 12px 26px; font-size: 13px; }
  .hv__foot .container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px 0;
    padding-top: 20px;
    padding-bottom: 22px;
  }
  .hv__foot-it { white-space: nowrap; }
  .hv__foot-it span { font-size: 14px; }
  .hv__scroll { display: none; }
  .hv__ticks { opacity: 0.7; }
  .hv__rings { opacity: 0.8; }
  .zc-home .marquee__item { font-size: 12.5px; letter-spacing: 0.22em; }
}

/* 超窄屏（≤360）三列放不下五条链路，退回两列 */
@media (max-width: 360px) {
  .hv__foot .container { grid-template-columns: repeat(2, 1fr); }
  .hv__foot-it span { font-size: 13.5px; letter-spacing: 0.12em; }
}

/* 系统开启"减少动态效果"时全部静止 */
@media (prefers-reduced-motion: reduce) {
  .hv *, .hv *::before, .hv *::after {
    animation: none !important;
    transition: none !important;
  }
}
