/* ============================================================================
   首页营销改版（2026-11）· 深色科技风
   ----------------------------------------------------------------------------
   只在 body.home 下生效，不改动官网其它页面。
   视觉参考：Trae 的「近黑底 + 薄荷绿 + 大字 + 真实产品界面」。
   原则：
     1. 品牌色只落在需要被点击、被记住的位置（CTA / 编号 / 状态）；
     2. 层级靠字号、字重、留白与 1px 细边，不堆叠光晕；
     3. 所有动效尊重 prefers-reduced-motion，内容默认可见。
   ============================================================================ */

/* ---------------------------------------------------------------- 主题令牌 */
.home {
  color-scheme: dark;

  --h-bg: #0a0b0d;
  --h-bg-deep: #08090b;
  --h-surface: rgba(255, 255, 255, 0.035);
  --h-surface-2: rgba(255, 255, 255, 0.06);
  --h-line: rgba(255, 255, 255, 0.09);
  --h-line-strong: rgba(255, 255, 255, 0.18);
  --h-text: #f5f9fe;
  --h-muted: #a6aab5;
  --h-dim: #787d87;
  --h-mint: #32f08c;
  --h-mint-soft: #a0fde7;
  --h-mint-dim: rgba(50, 240, 140, 0.12);
  --h-grad: linear-gradient(90deg, #3ee1a3 0%, #32f08c 36%, #60f2bd 71.63%, #a0fde7 100%);

  /* 把首页主题映射到全站语义令牌，顶栏 / 页脚 / 抽屉自动跟随 */
  --surface-base: #0a0b0d;
  --surface-raised: #101317;
  --surface-sunken: #08090b;
  --surface-overlay: #12161a;
  --text-primary: #f5f9fe;
  --text-secondary: #a6aab5;
  --text-tertiary: #7c828d;
  --text-disabled: #4c525b;
  --text-on-accent: #070908;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-default: rgba(255, 255, 255, 0.14);
  --border-strong: rgba(255, 255, 255, 0.3);
  --accent-solid: #32f08c;
  --accent-hover: #60f2bd;
  --accent-active: #a0fde7;
  --accent-subtle: rgba(50, 240, 140, 0.12);
  --accent-text: #32f08c;
  --focus-ring: #32f08c;
  --button-primary-bg: #f5f9fe;
  --button-primary-bg-hover: #ffffff;
  --button-primary-bg-active: #d9dee6;
  --button-primary-fg: #0a0b0d;
  --button-secondary-bg: transparent;
  --button-secondary-border: rgba(255, 255, 255, 0.18);
  --card-bg: rgba(255, 255, 255, 0.035);
  --card-border: rgba(255, 255, 255, 0.09);
  --nav-bg: #0a0b0d;
  --nav-item-active-bg: rgba(50, 240, 140, 0.12);
  --nav-item-active-fg: #32f08c;
  --shadow-xs: 0 1px 2px rgb(0 0 0 / 0.4);
  --shadow-sm: 0 1px 3px rgb(0 0 0 / 0.45), 0 1px 2px rgb(0 0 0 / 0.35);
  --shadow-md: 0 10px 30px rgb(0 0 0 / 0.5);
  --shadow-lg: 0 30px 80px rgb(0 0 0 / 0.55);
  --scrim: rgb(0 0 0 / 0.65);
}

.home {
  background:
    radial-gradient(1000px 600px at 50% -260px, rgba(50, 240, 140, 0.14), transparent 70%),
    radial-gradient(760px 460px at 88% 6%, rgba(160, 253, 231, 0.05), transparent 70%),
    var(--h-bg);
  color: var(--h-text);
}

.home ::selection {
  background: rgba(50, 240, 140, 0.22);
  color: var(--h-text);
}

/* ---------------------------------------------------------------- 顶栏 */
.home .site-header {
  background: rgba(10, 11, 13, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: rgba(255, 255, 255, 0.06);
}
.home .site-header.is-stuck {
  background: rgba(10, 11, 13, 0.92);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}
.home .theme-btn { display: none; }
.home .nav a:hover { color: var(--h-text); }
.home .nav a.active { color: var(--h-text); border-bottom-color: var(--h-mint); }
.home .header-tel { color: var(--h-muted); }
.home .nav-toggle { color: var(--h-text); border-color: rgba(255, 255, 255, 0.16); }
.home .drawer { background: #0c0e11; border-left-color: rgba(255, 255, 255, 0.08); }

/* ---------------------------------------------------------------- 共用排版 */
.home .h-sec,
.home .h-logos,
.home .h-stats,
.home .h-cta {
  position: relative;
}
.home .h-sec {
  padding: clamp(72px, 9vw, 120px) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.home .h-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--h-mint);
}
.home .h-title {
  margin: 0;
  font-size: clamp(32px, 4.4vw, 56px);
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: -0.035em;
  color: var(--h-text);
  text-wrap: balance;
}
.home .h-lede {
  margin: 0;
  font-size: clamp(15px, 1.25vw, 17px);
  line-height: 1.75;
  color: var(--h-muted);
  max-width: 62ch;
}
.home .h-lede strong { color: var(--h-text); font-weight: 600; }
.home .h-mint { color: var(--h-mint); }
.home .h-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.home .h-head .h-lede { margin-top: 20px; }
.home .h-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.home .h-head--center .h-lede { margin-left: auto; margin-right: auto; }
.home .h-head--row {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(24px, 5vw, 80px);
}
.home .h-head--row .h-lede { max-width: 46ch; padding-bottom: 6px; }

/* ---------------------------------------------------------------- 首屏 */
.home .h-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(56px, 7vw, 96px) 0 0;
}
.home .h-hero__grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 72% 56% at 50% 0%, #000 20%, transparent 76%);
  mask-image: radial-gradient(ellipse 72% 56% at 50% 0%, #000 20%, transparent 76%);
}
.home .h-hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.home .h-hero__inner > * { animation: h-rise 0.85s var(--ease-out) both; }
.home .h-hero__inner > :nth-child(1) { animation-delay: 0.04s; }
.home .h-hero__inner > :nth-child(2) { animation-delay: 0.12s; }
.home .h-hero__inner > :nth-child(3) { animation-delay: 0.2s; }
.home .h-hero__inner > :nth-child(4) { animation-delay: 0.28s; }
.home .h-hero__inner > :nth-child(5) { animation-delay: 0.36s; }

.home .h-badge {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0 0 26px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.03);
  font-size: 12px;
  color: var(--h-muted);
  letter-spacing: 0.01em;
}
.home .h-badge__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--h-mint);
  box-shadow: 0 0 0 4px rgba(50, 240, 140, 0.12);
}
.home .h-badge__sep {
  width: 1px;
  height: 12px;
  background: rgba(255, 255, 255, 0.16);
}

.home .h-hero__title {
  margin: 0;
  font-size: clamp(46px, 7.6vw, 100px);
  line-height: 0.98;
  font-weight: 600;
  letter-spacing: -0.055em;
  color: var(--h-text);
}
.home .h-hero__sub {
  margin: 26px 0 0;
  max-width: 60ch;
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: 1.8;
  color: var(--h-muted);
  text-wrap: pretty;
}
.home .h-hero__sub strong { color: var(--h-text); font-weight: 600; }

.home .h-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}
.home .h-actions--left { justify-content: flex-start; }
.home .h-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--duration-base) var(--ease-out), border-color var(--duration-base) var(--ease-out),
    color var(--duration-base) var(--ease-out), transform var(--duration-base) var(--ease-out);
}
.home .h-btn svg { width: 16px; height: 16px; flex: none; }
.home .h-btn--primary { background: #f5f9fe; color: #0a0b0d; }
.home .h-btn--primary:hover { background: #fff; color: #0a0b0d; transform: translateY(-1px); }
.home .h-btn--primary:active { background: #d9dee6; transform: translateY(0); }
.home .h-btn--ghost {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.16);
  color: var(--h-text);
}
.home .h-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--h-text);
}

.home .h-hero__meta {
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: clamp(20px, 4vw, 56px);
  margin: 44px 0 0;
  padding: 0;
  list-style: none;
}
.home .h-hero__meta li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0;
  text-align: left;
}
.home .h-hero__meta b {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--h-text);
  font-variant-numeric: tabular-nums;
}
.home .h-hero__meta span { font-size: 11px; color: var(--h-dim); }

/* 首屏产品界面 */
.home .h-hero__stage {
  position: relative;
  z-index: 1;
  margin-top: clamp(44px, 6vw, 76px);
  padding-bottom: clamp(52px, 7vw, 92px);
}
.home .h-hero__glow {
  position: absolute;
  left: 50%;
  top: 12%;
  width: min(980px, 88%);
  height: 58%;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(50, 240, 140, 0.28), rgba(50, 240, 140, 0.06) 55%, transparent 78%);
  filter: blur(60px);
  pointer-events: none;
}
.home .h-screen {
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: #0d1014;
  overflow: hidden;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.02) inset;
  transform: perspective(1600px) rotateX(3deg);
  transform-origin: 50% 0;
  animation: h-stage 1.1s var(--ease-out) 0.3s both;
  transition: transform 0.65s var(--ease-out), border-color var(--duration-base) var(--ease-out);
}
.home .h-screen:hover {
  transform: perspective(1600px) rotateX(0deg);
  border-color: rgba(50, 240, 140, 0.32);
}
.home .h-screen__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.02);
}
.home .h-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  flex: none;
}
.home .h-screen__url {
  margin-left: 8px;
  padding: 3px 12px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-full);
  background: rgba(0, 0, 0, 0.25);
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--h-dim);
}
.home .h-screen__live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  font-size: 10.5px;
  color: var(--h-mint);
  white-space: nowrap;
}
.home .h-screen__live i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--h-mint);
  box-shadow: 0 0 0 3px rgba(50, 240, 140, 0.14);
}
.home .h-screen img { display: block; width: 100%; height: auto; }
.home .h-screen__fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 90px;
  background: linear-gradient(to top, #0a0b0d, transparent);
  pointer-events: none;
}

.home .h-float {
  position: absolute;
  display: grid;
  gap: 2px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(16, 19, 23, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  animation: h-float 7s ease-in-out infinite;
}
.home .h-float span { font-size: 10.5px; color: var(--h-dim); letter-spacing: 0.04em; }
.home .h-float b { font-size: 13px; font-weight: 600; color: var(--h-text); }
.home .h-float--a { left: max(24px, calc(50% - 620px)); top: 24%; }
.home .h-float--b { right: max(24px, calc(50% - 620px)); top: 58%; animation-delay: -3.5s; }

/* ---------------------------------------------------------------- 合作单位 */
.home .h-logos {
  padding: 44px 0 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: var(--h-bg-deep);
}
.home .h-logos__label {
  margin: 0 0 22px;
  font-size: 12px;
  color: var(--h-muted);
  text-align: center;
}
.home .h-logos__label span {
  margin-right: 10px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  color: var(--h-dim);
}
.home .h-logos__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}
.home .h-logo {
  display: grid;
  place-items: center;
  min-height: 64px;
  padding: 10px 14px;
  border-radius: 12px;
  background: #f7f9fa;
  transition: transform var(--duration-base) var(--ease-out), background var(--duration-base) var(--ease-out);
}
.home .h-logo img {
  width: auto;
  max-width: 100%;
  max-height: 34px;
  height: auto;
  filter: grayscale(1) contrast(0.92) opacity(0.78);
  transition: filter var(--duration-base) var(--ease-out);
}
.home .h-logo:hover { transform: translateY(-2px); background: #fff; }
.home .h-logo:hover img { filter: none; }
.home .h-logos__note {
  margin: 16px 0 0;
  font-size: 10.5px;
  color: var(--h-dim);
  text-align: center;
}

/* ---------------------------------------------------------------- 为什么是产线 */
.home .h-principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.home .h-principle {
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid var(--h-line);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  transition: border-color var(--duration-base) var(--ease-out), transform var(--duration-base) var(--ease-out);
}
.home .h-principle:hover { border-color: rgba(50, 240, 140, 0.28); transform: translateY(-3px); }
.home .h-num {
  display: block;
  margin-bottom: 34px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--h-mint);
}
.home .h-principle h3 {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--h-text);
}
.home .h-principle p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--h-muted);
}

/* ---------------------------------------------------------------- 产线导览 */
.home .h-tour {
  display: grid;
  grid-template-columns: 302px minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}
.home .h-rail {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 6px;
}
.home .h-step {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) 16px;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 13px 14px;
  border: 1px solid transparent;
  border-radius: 14px;
  background: transparent;
  font-family: inherit;
  text-align: left;
  color: var(--h-muted);
  cursor: pointer;
  transition: background var(--duration-base) var(--ease-out), border-color var(--duration-base) var(--ease-out),
    color var(--duration-base) var(--ease-out);
}
.home .h-step:hover { background: rgba(255, 255, 255, 0.035); color: var(--h-text); }
.home .h-step.active {
  background: linear-gradient(90deg, rgba(50, 240, 140, 0.12), rgba(50, 240, 140, 0.025));
  border-color: rgba(50, 240, 140, 0.28);
  color: var(--h-text);
}
.home .h-step__no {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--h-dim);
  transition: color var(--duration-base) var(--ease-out);
}
.home .h-step.active .h-step__no { color: var(--h-mint); }
.home .h-step__body { display: grid; gap: 2px; min-width: 0; }
.home .h-step__body b { font-size: 14px; font-weight: 600; letter-spacing: 0; }
.home .h-step__body small { font-size: 11px; color: var(--h-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.home .h-step svg { width: 16px; height: 16px; opacity: 0.35; transition: opacity var(--duration-base) var(--ease-out), color var(--duration-base) var(--ease-out); }
.home .h-step.active svg { opacity: 1; color: var(--h-mint); }

.home .h-view { min-width: 0; }
.home .h-pane.active { animation: h-fade 0.38s var(--ease-out) both; }
.home .h-browser {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: #0d1014;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}
.home .h-browser__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.02);
}
.home .h-browser__bar span {
  margin-left: 8px;
  padding: 3px 12px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-full);
  background: rgba(0, 0, 0, 0.25);
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--h-dim);
}
.home .h-browser img { display: block; width: 100%; height: auto; }
.home .h-pane__cap {
  margin: 18px 0 0;
  padding-left: 14px;
  border-left: 2px solid var(--h-mint);
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--h-muted);
}

/* ---------------------------------------------------------------- 硬能力 */
.home .h-bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
}
.home .h-bento__card {
  --pad: clamp(22px, 3vw, 30px);
  grid-column: span 5;
  display: flex;
  flex-direction: column;
  padding: var(--pad);
  border: 1px solid var(--h-line);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.012));
  overflow: hidden;
  transition: border-color var(--duration-base) var(--ease-out), transform var(--duration-base) var(--ease-out);
}
.home .h-bento__card--wide { grid-column: span 7; }
.home .h-bento__card:hover { border-color: rgba(50, 240, 140, 0.26); transform: translateY(-3px); }
.home .h-bento__tag {
  align-self: flex-start;
  margin-bottom: 22px;
  padding: 4px 10px;
  border: 1px solid rgba(50, 240, 140, 0.26);
  border-radius: var(--radius-full);
  background: rgba(50, 240, 140, 0.07);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--h-mint);
}
.home .h-bento__card h3 {
  margin: 0 0 10px;
  font-size: clamp(19px, 1.7vw, 23px);
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--h-text);
}
.home .h-bento__card p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--h-muted);
}
.home .h-bento__media {
  margin: 24px calc(-1 * var(--pad)) calc(-1 * var(--pad));
  border-top: 1px solid var(--h-line);
  overflow: hidden;
}
.home .h-bento__media img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: 50% 22%;
  transition: transform 0.7s var(--ease-out);
}
.home .h-bento__card:hover .h-bento__media img { transform: scale(1.035); }

.home .h-check {
  display: grid;
  gap: 0;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}
.home .h-check li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 11px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 13px;
  color: var(--h-muted);
}
.home .h-check li:last-child { padding-bottom: 0; }
.home .h-check svg { width: 14px; height: 14px; color: var(--h-mint); flex: none; }

.home .h-tiers {
  display: grid;
  gap: 14px;
  margin-top: 26px;
  padding-top: 6px;
}
.home .h-tier {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 44px;
  align-items: center;
  gap: 12px;
}
.home .h-tier span { font-size: 12px; color: var(--h-muted); }
.home .h-tier i {
  display: block;
  width: var(--w);
  height: 6px;
  border-radius: var(--radius-full);
  background: var(--h-grad);
}
.home .h-tier em { font-style: normal; font-size: 10.5px; color: var(--h-dim); text-align: right; }

.home .h-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}
.home .h-chips li {
  margin: 0;
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.03);
  font-size: 12px;
  color: var(--h-muted);
}

/* ---------------------------------------------------------------- 数据 */
.home .h-stats {
  padding: clamp(44px, 6vw, 64px) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(180deg, #0c0e11, #0a0b0d);
}
.home .h-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
}
.home .h-stat {
  display: grid;
  gap: 4px;
  padding-left: clamp(16px, 2vw, 28px);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}
.home .h-stat:first-child { padding-left: 0; border-left: 0; }
.home .h-stat b {
  font-size: clamp(36px, 3.6vw, 52px);
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.045em;
  color: var(--h-text);
  font-variant-numeric: tabular-nums;
}
.home .h-stat b span { font-size: inherit; color: inherit; }
.home .h-stat > span { margin-top: 6px; font-size: 13px; color: var(--h-text); }
.home .h-stat small { font-size: 11px; color: var(--h-dim); }

/* ---------------------------------------------------------------- 案例 */
.home .h-cases {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
}
.home .h-case {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 214px;
  border: 1px solid var(--h-line);
  border-radius: 20px;
  overflow: hidden;
  color: var(--h-text);
  transition: border-color var(--duration-base) var(--ease-out), transform var(--duration-base) var(--ease-out);
}
.home .h-case--tall { grid-row: span 2; min-height: 480px; }
.home .h-case--tall img { object-position: 50% 26%; }
.home .h-case img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.72) saturate(0.92);
  transition: transform 0.75s var(--ease-out), filter var(--duration-base) var(--ease-out);
}
.home .h-case__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5, 6, 8, 0.94) 6%, rgba(5, 6, 8, 0.45) 46%, rgba(5, 6, 8, 0.08) 78%);
}
.home .h-case__body {
  position: relative;
  z-index: 1;
  padding: 24px;
  display: grid;
  gap: 8px;
}
.home .h-case__cat {
  justify-self: start;
  padding: 3px 9px;
  border: 1px solid rgba(50, 240, 140, 0.3);
  border-radius: var(--radius-full);
  background: rgba(10, 12, 14, 0.5);
  font-size: 10px;
  color: var(--h-mint);
  letter-spacing: 0.04em;
}
.home .h-case h3 {
  margin: 0;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #fff;
}
.home .h-case p {
  margin: 0;
  max-width: 46ch;
  font-size: 13px;
  line-height: 1.65;
  color: rgba(235, 240, 246, 0.72);
}
.home .h-case__meta { margin-top: 4px; font-size: 11px; color: var(--h-mint); }
.home .h-case:hover { border-color: rgba(50, 240, 140, 0.36); transform: translateY(-3px); }
.home .h-case:hover img { transform: scale(1.04); filter: brightness(0.82) saturate(1); }

.home .h-more { margin-top: 28px; }
.home .h-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--h-mint);
}
.home .h-link svg { width: 15px; height: 15px; }
.home .h-link:hover { color: var(--h-mint-soft); }

/* ---------------------------------------------------------------- 在线系统 */
.home .h-apps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.home .h-app {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 268px;
  padding: clamp(22px, 2.6vw, 28px);
  border: 1px solid var(--h-line);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
  overflow: hidden;
  color: var(--h-text);
  transition: border-color var(--duration-base) var(--ease-out), transform var(--duration-base) var(--ease-out);
}
.home .h-app:hover { border-color: rgba(50, 240, 140, 0.3); transform: translateY(-3px); }
.home .h-app__mono {
  position: absolute;
  right: 14px;
  top: 2px;
  font-family: var(--font-mono);
  font-size: 68px;
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 1;
  color: rgba(255, 255, 255, 0.045);
  pointer-events: none;
}
.home .h-app__domain {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--h-mint);
}
.home .h-app h3 {
  margin: 16px 0 10px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--h-text);
}
.home .h-app p { margin: 0; font-size: 13px; line-height: 1.7; color: var(--h-muted); }
.home .h-app__go {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 22px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--h-mint);
}
.home .h-app__go svg { width: 14px; height: 14px; }

/* ---------------------------------------------------------------- 关于 */
.home .h-about {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}
.home .h-about .h-lede + .h-lede { margin-top: 16px; }
.home .h-facts { margin: 0; }
.home .h-facts > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}
.home .h-facts > div:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.09); }
.home .h-facts dt { margin: 0; font-size: 12px; color: var(--h-dim); }
.home .h-facts dd {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--h-text);
  text-align: right;
}

/* ---------------------------------------------------------------- 收尾 CTA */
.home .h-cta { padding: 0 0 clamp(72px, 9vw, 112px); }
.home .h-cta__card {
  position: relative;
  overflow: hidden;
  padding: clamp(36px, 6vw, 76px);
  border: 1px solid rgba(50, 240, 140, 0.22);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(50, 240, 140, 0.075), rgba(255, 255, 255, 0.018));
  text-align: center;
}
.home .h-cta__glow {
  position: absolute;
  left: 50%;
  top: -50%;
  width: 640px;
  height: 420px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(50, 240, 140, 0.22), transparent 72%);
  filter: blur(40px);
  pointer-events: none;
}
.home .h-cta__card > :not(.h-cta__glow) { position: relative; z-index: 1; }
.home .h-cta__card .h-lede { margin: 22px auto 0; max-width: 56ch; }
.home .h-cta__card .h-actions { margin-top: 30px; }
.home .h-cta__note { margin: 26px 0 0; font-size: 11px; color: var(--h-dim); }

/* ---------------------------------------------------------------- 页脚 */
.home .site-footer { margin-top: 0; background: var(--h-bg-deep); border-top-color: rgba(255, 255, 255, 0.07); }
.home .site-footer .brand-text span { color: var(--h-dim); }

/* 右下角浮动联系方式：全站共用结构，首页单独收敛成深色圆形按钮组 */
.home .float-cta {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: var(--z-dropdown);
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
}
.home .float-cta .float-btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background: rgba(16, 19, 23, 0.92);
  color: var(--h-text);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.5);
  cursor: pointer;
  transition: border-color var(--duration-base) var(--ease-out), color var(--duration-base) var(--ease-out);
}
.home .float-cta .float-btn:hover { border-color: var(--h-mint); color: var(--h-mint); }
.home .float-cta .float-btn svg { width: 18px; height: 18px; }
.home .float-cta .float-btn .tip {
  position: absolute;
  right: 56px;
  top: 50%;
  transform: translateY(-50%);
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: #161a1e;
  color: var(--h-text);
  font-size: 11px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-fast) var(--ease-out);
}
.home .float-cta .float-btn:hover .tip { opacity: 1; }

/* ---------------------------------------------------------------- 动效 */
@keyframes h-rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
@keyframes h-stage {
  from { opacity: 0; transform: perspective(1600px) rotateX(9deg) translateY(26px) scale(0.985); }
  to { opacity: 1; transform: perspective(1600px) rotateX(3deg) scale(1); }
}
@keyframes h-fade {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
@keyframes h-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ---------------------------------------------------------------- 响应式 */
@media (max-width: 1080px) {
  .home .h-tour { grid-template-columns: 1fr; }
  .home .h-rail {
    position: static;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 6px;
    scrollbar-width: none;
  }
  .home .h-rail::-webkit-scrollbar { display: none; }
  .home .h-step { flex: 0 0 188px; grid-template-columns: 26px minmax(0, 1fr); }
  .home .h-step svg { display: none; }
}

@media (max-width: 900px) {
  .home .h-head--row { flex-direction: column; align-items: flex-start; }
  .home .h-hero__title { font-size: clamp(44px, 11vw, 72px); }
  .home .h-hero__meta { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 32px; width: 100%; max-width: 420px; }
  .home .h-float { display: none; }
  .home .h-screen { transform: none; }
  .home .h-screen:hover { transform: none; }
  .home .h-screen__bar { padding: 10px 12px; }
  .home .h-logos__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .home .h-principles { grid-template-columns: 1fr; }
  .home .h-num { margin-bottom: 18px; }
  .home .h-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home .h-bento__card,
  .home .h-bento__card--wide { grid-column: span 1; }
  .home .h-stats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
  .home .h-stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .home .h-cases { grid-template-columns: 1fr; grid-template-rows: none; }
  .home .h-case--tall { grid-row: auto; min-height: 360px; }
  .home .h-case { min-height: 240px; }
  .home .h-apps { grid-template-columns: 1fr; }
  .home .h-app { min-height: 0; }
  .home .h-about { grid-template-columns: 1fr; }
  .home .h-facts dd { font-size: 12px; }
}

@media (max-width: 640px) {
  .home .h-hero { padding-top: 36px; }
  .home .h-badge { font-size: 11px; gap: 8px; padding: 7px 12px; }
  .home .h-hero__title { font-size: clamp(42px, 13vw, 58px); letter-spacing: -0.05em; }
  .home .h-hero__sub { margin-top: 20px; font-size: 14px; line-height: 1.75; }
  .home .h-actions { width: 100%; }
  .home .h-btn { flex: 1 1 auto; min-height: 46px; padding: 0 16px; }
  .home .h-hero__meta { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 32px; }
  .home .h-hero__stage { margin-top: 34px; }
  .home .h-screen__url { display: none; }
  .home .h-logos__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .home .h-logo { min-height: 54px; padding: 8px 10px; }
  .home .h-logo img { max-height: 28px; }
  .home .h-sec { padding: 64px 0; }
  .home .h-title { font-size: clamp(28px, 7.6vw, 36px); }
  .home .h-bento { grid-template-columns: 1fr; }
  .home .h-bento__media img { height: 180px; }
  .home .h-stats__grid { grid-template-columns: 1fr; gap: 20px; }
  .home .h-stat,
  .home .h-stat:nth-child(3) { padding-left: 0; border-left: 0; border-top: 1px solid rgba(255, 255, 255, 0.09); padding-top: 20px; }
  .home .h-stat:first-child { border-top: 0; padding-top: 0; }
  .home .h-case--tall { min-height: 320px; }
  .home .h-case__body { padding: 20px; }
  .home .h-facts > div { flex-direction: column; gap: 6px; }
  .home .h-facts dd { text-align: left; }
  .home .h-cta__card { border-radius: 22px; }
}

/* ---------------------------------------------------------------- 无障碍 */
@media (prefers-reduced-motion: reduce) {
  .home .h-hero__inner > *,
  .home .h-screen,
  .home .h-float,
  .home .h-pane.active {
    animation: none !important;
  }
  .home .h-screen { transform: none; }
  .home .h-btn,
  .home .h-principle,
  .home .h-bento__card,
  .home .h-case,
  .home .h-app,
  .home .h-logo { transition: none; }
  .home .h-case:hover img,
  .home .h-bento__card:hover .h-bento__media img { transform: none; }
}
