/* 首页 v10.0.10 — 圆润字体 + 加深字色；颜色仅 .home-main */
.page-home {
  --hx-bg: #030508;
  --hx-cyan: #2ee8d0;
  --hx-blue: #3dc8ff;
  --hx-violet: #8b7cff;
  --hx-amber: #ffc04a;
  --hx-card: rgba(12, 20, 34, 0.9);
  --hx-border: rgba(61, 200, 255, 0.22);
  --hx-glow: rgba(46, 232, 208, 0.4);
  font-family: "Nunito", "Noto Sans SC", var(--font);
  background:
    radial-gradient(ellipse 120% 80% at 50% -20%, rgba(0, 100, 180, 0.22), transparent 55%),
    radial-gradient(ellipse 60% 50% at 100% 50%, rgba(124, 107, 255, 0.12), transparent 50%),
    var(--hx-bg);
}

.home-main {
  --hz-text: #ffffff;
  --hz-body: #dce8f5;
  --hz-muted: #a8bdd4;
  color: var(--hz-text);
  position: relative;
  z-index: 2;
}

html[data-theme="light"] .page-home {
  --hx-bg: #e8eef6;
  --hx-card: rgba(255, 255, 255, 0.97);
  --hx-border: rgba(2, 120, 190, 0.2);
  --hx-glow: rgba(2, 132, 199, 0.25);
  background:
    radial-gradient(ellipse 100% 70% at 50% -10%, rgba(56, 189, 248, 0.18), transparent 50%),
    linear-gradient(180deg, #eef4fa 0%, #e8eef6 100%);
}

html[data-theme="light"] .home-main {
  --hz-text: #081424;
  --hz-body: #1a2f45;
  --hz-muted: #3a5068;
}

.page-home .site-footer {
  position: relative;
  z-index: 3;
  border-top: 1px solid var(--border);
  background: var(--card);
  color: var(--text);
}

.page-home .site-footer a,
.page-home .site-footer .muted {
  color: var(--muted);
}

/* 全屏粒子画布 */
.home-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.55;
}

html[data-theme="light"] .home-canvas {
  opacity: 0.35;
}

.home-scanlines {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.04;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 240, 212, 0.15) 2px,
    rgba(0, 240, 212, 0.15) 4px
  );
}

.home-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* —— Hero —— */
.home-hero {
  position: relative;
  min-height: min(92vh, 880px);
  display: flex;
  align-items: center;
  padding: 48px 0 32px;
  z-index: 1;
}

.home-hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.home-aurora {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  mix-blend-mode: screen;
  animation: homeAurora 18s ease-in-out infinite alternate;
}

.home-aurora-1 {
  width: 55%;
  height: 45%;
  left: -10%;
  top: -5%;
  background: radial-gradient(circle, rgba(0, 240, 212, 0.35), transparent 70%);
}

.home-aurora-2 {
  width: 50%;
  height: 40%;
  right: -8%;
  top: 15%;
  background: radial-gradient(circle, rgba(0, 180, 255, 0.3), transparent 70%);
  animation-delay: -6s;
  animation-duration: 22s;
}

.home-aurora-3 {
  width: 40%;
  height: 35%;
  left: 30%;
  bottom: 0;
  background: radial-gradient(circle, rgba(124, 107, 255, 0.25), transparent 70%);
  animation-delay: -12s;
  animation-duration: 20s;
}

@keyframes homeAurora {
  0% { transform: translate(0, 0) scale(1) rotate(0deg); opacity: 0.7; }
  50% { opacity: 1; }
  100% { transform: translate(30px, -20px) scale(1.12) rotate(8deg); opacity: 0.75; }
}

.home-hex-mesh {
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='100' viewBox='0 0 56 100'%3E%3Cpath d='M28 0 L56 16 v32 L28 64 L0 48 V16 Z' fill='none' stroke='%2300b4ff' stroke-width='0.6' opacity='0.5'/%3E%3C/svg%3E");
  background-size: 56px 100px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black, transparent 75%);
}

.home-grid {
  position: absolute;
  inset: -20% -10%;
  background-image:
    linear-gradient(rgba(0, 180, 255, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 180, 255, 0.09) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 75% 65% at 50% 38%, black, transparent 78%);
  transform: perspective(700px) rotateX(62deg) translateY(-6%);
  animation: homeGridDrift 20s linear infinite;
}

@keyframes homeGridDrift {
  0% { background-position: 0 0; }
  100% { background-position: 48px 48px; }
}

.home-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(72px);
  animation: homeOrbDrift 14s ease-in-out infinite alternate;
}

.home-orb-a {
  width: 420px;
  height: 420px;
  left: -8%;
  top: 8%;
  background: rgba(45, 212, 191, 0.22);
}

.home-orb-b {
  width: 360px;
  height: 360px;
  right: -5%;
  top: 20%;
  background: rgba(56, 189, 248, 0.2);
  animation-delay: -4s;
}

.home-orb-c {
  width: 280px;
  height: 280px;
  left: 35%;
  bottom: 5%;
  background: rgba(129, 140, 248, 0.16);
  animation-delay: -7s;
}

@keyframes homeOrbDrift {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(24px, -18px) scale(1.08); }
}

.home-beam {
  position: absolute;
  top: -40%;
  left: 50%;
  width: 3px;
  height: 140%;
  background: linear-gradient(180deg, transparent, var(--hx-cyan), var(--hx-blue), transparent);
  transform: translateX(-50%) rotate(12deg);
  opacity: 0.4;
  animation: homeBeam 5s ease-in-out infinite;
  box-shadow: 0 0 40px var(--hx-glow);
}

.home-beam-2 {
  left: 62%;
  transform: translateX(-50%) rotate(-8deg);
  opacity: 0.2;
  animation-delay: -2.5s;
  width: 2px;
}

@keyframes homeBeam {
  0%, 100% { opacity: 0.2; }
  50% { opacity: 0.55; }
}

.home-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.home-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px 7px 12px;
  border-radius: 999px;
  font-family: "Nunito", "Noto Sans SC", sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--hx-cyan);
  background: rgba(0, 240, 212, 0.06);
  border: 1px solid rgba(0, 240, 212, 0.35);
  margin-bottom: 22px;
  box-shadow: 0 0 24px rgba(0, 240, 212, 0.12), inset 0 0 20px rgba(0, 240, 212, 0.04);
}

.home-kicker-text {
  background: linear-gradient(90deg, var(--hx-cyan), var(--hx-blue));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.home-kicker-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--hx-cyan);
  box-shadow: 0 0 12px var(--hx-cyan);
  animation: homePulse 2s ease infinite;
}

@keyframes homePulse {
  0%, 100% { opacity: 0.5; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1); }
}

.page-home main {
  overflow-x: clip;
  background: transparent;
  padding-top: var(--nav-h);
}

.page-home .site-nav {
  background: color-mix(in srgb, rgba(3, 5, 8, 0.88) 85%, var(--card));
  border-bottom-color: rgba(0, 180, 255, 0.2);
  backdrop-filter: blur(20px);
}

html[data-theme="light"] .page-home .site-nav {
  background: color-mix(in srgb, rgba(255, 255, 255, 0.92) 90%, var(--card));
}

.home-title {
  font-family: "Nunito", "Noto Sans SC", sans-serif;
  font-size: clamp(2.1rem, 6.5vw, 3.75rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
  color: var(--hz-text);
  text-shadow: 0 0 60px rgba(61, 200, 255, 0.18);
}

.home-title-accent {
  background: linear-gradient(105deg, var(--hx-blue) 0%, var(--hx-cyan) 38%, #fff 72%, var(--hx-amber) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: homeShimmer 6s ease-in-out infinite;
}

@keyframes homeShimmer {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 100% center; }
}

.home-tagline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 2px;
  margin-top: 12px;
  margin-bottom: 8px;
  font-family: "Nunito", "Noto Sans SC", sans-serif;
  font-size: clamp(0.95rem, 2.4vw, 1.12rem);
  font-weight: 800;
  color: var(--hx-cyan);
  line-height: 1.55;
  min-height: 1.55em;
}

.home-cursor {
  display: inline-block;
  width: 2px;
  height: 1.1em;
  background: var(--hx-cyan);
  margin-left: 2px;
  animation: homeBlink 1s step-end infinite;
  box-shadow: 0 0 8px var(--hx-cyan);
}

@keyframes homeBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

@media (max-width: 900px) {
  .home-tagline {
    justify-content: center;
    text-align: center;
  }
}

.home-lead {
  font-size: clamp(15px, 2.2vw, 17px);
  line-height: 1.75;
  color: var(--hz-body);
  font-weight: 700;
  max-width: 520px;
  margin-bottom: 28px;
}

.home-lead strong {
  color: var(--hz-text);
  font-weight: 800;
}

.home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.home-btn-glow {
  animation: homeBtnPulse 2.8s ease-in-out infinite;
}

@keyframes homeBtnPulse {
  0%, 100% { box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.3), 0 12px 40px rgba(37, 99, 235, 0.35); }
  50% { box-shadow: 0 0 0 1px rgba(45, 212, 191, 0.45), 0 16px 48px rgba(37, 99, 235, 0.5); }
}

.home-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.home-metric {
  padding: 14px 18px;
  border-radius: 14px;
  background: var(--hx-card);
  border: 1px solid var(--hx-border);
  backdrop-filter: blur(12px);
  min-width: 100px;
}

.home-metric em {
  display: block;
  font-style: normal;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--hx-blue);
  line-height: 1.2;
}

.home-metric span {
  font-size: 12px;
  font-weight: 700;
  color: var(--hz-muted);
}

/* Hero visual */
.home-visual-frame {
  position: relative;
  aspect-ratio: 1;
  max-width: 400px;
  margin: 0 auto;
  transform-style: preserve-3d;
}

.home-hud {
  position: absolute;
  width: 28px;
  height: 28px;
  border: 2px solid rgba(0, 240, 212, 0.55);
  z-index: 6;
  pointer-events: none;
  animation: homeHudPulse 3s ease-in-out infinite;
}

.home-hud-tl { top: 0; left: 0; border-right: none; border-bottom: none; }
.home-hud-tr { top: 0; right: 0; border-left: none; border-bottom: none; }
.home-hud-bl { bottom: 0; left: 0; border-right: none; border-top: none; }
.home-hud-br { bottom: 0; right: 0; border-left: none; border-top: none; }

@keyframes homeHudPulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; box-shadow: 0 0 12px var(--hx-glow); }
}

.home-ring-pulse {
  position: absolute;
  inset: -4%;
  border-radius: 50%;
  border: 1px solid rgba(0, 180, 255, 0.25);
  animation: homeRingExpand 3.5s ease-out infinite;
  z-index: 1;
  pointer-events: none;
}

.home-ring-pulse::before {
  content: "";
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  border: 1px solid rgba(0, 240, 212, 0.2);
  animation: homeRingExpand 3.5s ease-out infinite 1.2s;
}

@keyframes homeRingExpand {
  0% { transform: scale(0.92); opacity: 0.8; }
  100% { transform: scale(1.08); opacity: 0; }
}

.home-orbit-ring {
  position: absolute;
  inset: 4%;
  animation: homeSpin 28s linear infinite;
}

.home-orbit-chip {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 48px;
  height: 48px;
  margin: -24px 0 0 -24px;
  transform: rotate(calc(var(--i) * (360deg / var(--orbit-n, 6)))) translateY(-132px) rotate(calc(var(--i) * (-360deg / var(--orbit-n, 6))));
  z-index: 4;
}

.home-orbit-chip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
  border: 2px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

@media (min-width: 901px) {
  .home-visual-frame {
    max-width: 420px;
  }

  .home-orbit-chip {
    width: 52px;
    height: 52px;
    margin: -26px 0 0 -26px;
    transform: rotate(calc(var(--i) * (360deg / var(--orbit-n, 6)))) translateY(-150px) rotate(calc(var(--i) * (-360deg / var(--orbit-n, 6))));
  }

  .home-core-card {
    width: 44%;
    max-width: 168px;
  }

  .home-core-card strong {
    font-size: 1.12rem;
  }
}

@keyframes homeSpin {
  to { transform: rotate(360deg); }
}

.home-core-card {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 42%;
  max-width: 152px;
  aspect-ratio: 1;
  z-index: 2;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 4px;
  background: radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.12), transparent 45%),
    linear-gradient(145deg, rgba(30, 41, 59, 0.95), rgba(15, 23, 42, 0.98));
  border: 1px solid rgba(56, 189, 248, 0.35);
  box-shadow: 0 0 60px rgba(45, 212, 191, 0.2), inset 0 0 40px rgba(56, 189, 248, 0.08);
  overflow: hidden;
}

.home-core-shine {
  position: absolute;
  inset: -50%;
  background: conic-gradient(from 0deg, transparent, rgba(45, 212, 191, 0.25), transparent 40%);
  animation: homeSpin 8s linear infinite;
}

.home-core-card strong {
  position: relative;
  font-size: 1.05rem;
  z-index: 1;
  color: #f8fafc;
}

.home-core-card small,
.home-core-label {
  position: relative;
  z-index: 1;
  font-size: 11px;
  color: #94a3b8;
}

/* Marquee */
.home-marquee-wrap {
  position: relative;
  z-index: 2;
  border-block: 1px solid var(--hx-border);
  background: rgba(8, 12, 22, 0.6);
  overflow: hidden;
  padding: 14px 0;
}

.home-marquee {
  display: flex;
  gap: 40px;
  width: max-content;
  animation: homeMarquee 45s linear infinite;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: rgba(220, 232, 245, 0.95);
  padding-right: 40px;
}

@media (min-width: 901px) {
  .home-marquee {
    gap: 56px;
    font-size: 14px;
    animation-duration: 55s;
  }
}

.home-marquee span {
  flex-shrink: 0;
}

@keyframes homeMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Sections */
.home-section {
  position: relative;
  z-index: 2;
  padding: 56px 0 24px;
}

.home-section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 32px;
}

.home-eyebrow {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hx-cyan);
  margin-bottom: 10px;
}

.home-section-head h2 {
  font-family: "Nunito", "Noto Sans SC", sans-serif;
  font-size: clamp(1.55rem, 4vw, 2.05rem);
  font-weight: 900;
  letter-spacing: -0.01em;
  color: var(--hz-text);
}

.home-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--hx-card);
  border: 1px solid var(--hx-border);
  font-size: 13px;
  font-weight: 700;
  color: var(--hz-text);
  backdrop-filter: blur(8px);
  transition: transform 0.2s, border-color 0.2s;
}

.home-pill:hover {
  transform: translateY(-2px);
  border-color: rgba(45, 212, 191, 0.4);
}

.home-pill-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.home-core-label {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--hx-cyan);
  font-weight: 700;
}

.home-pill-ico,
.home-bento-ico,
.home-li-ico {
  display: inline-flex;
  width: 1.25rem;
  height: 1.25rem;
}

.home-pill-ico img,
.home-bento-ico img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Bento */
.home-bento {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.home-bento-card {
  padding: 24px 22px;
  border-radius: 20px;
  background: var(--hx-card);
  border: 1px solid var(--hx-border);
  backdrop-filter: blur(14px);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  position: relative;
  overflow: hidden;
}

.home-bento-card::after,
.home-step::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 240, 212, 0.08), transparent);
  transition: left 0.6s ease;
  pointer-events: none;
}

.home-bento-card:hover::after,
.home-step:hover::after {
  left: 140%;
}

.home-bento-card:hover {
  transform: translateY(-4px);
  border-color: rgba(56, 189, 248, 0.35);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.home-bento-highlight {
  border-color: rgba(45, 212, 191, 0.28);
  background: linear-gradient(145deg, var(--hx-card), rgba(45, 212, 191, 0.06));
}

.home-bento-card {
  min-height: 168px;
  display: flex;
  flex-direction: column;
}

.home-bento-card p {
  flex: 1;
}

@media (min-width: 901px) {
  .home-bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    max-width: 960px;
    margin: 0 auto;
  }

  .home-bento-card {
    min-height: 190px;
    padding: 26px 24px;
  }

  .home-bento-wide {
    grid-column: span 1;
  }
}

.home-bento-ico {
  font-size: 1.75rem;
  margin-bottom: 12px;
}

.home-bento-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: var(--hz-text);
}

.home-bento-card p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--hz-body);
  font-weight: 700;
}

.home-step h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: var(--hz-text);
  font-weight: 900;
}

.home-step .home-step-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--hz-body);
  font-weight: 700;
  margin: 0;
}

.home-cap h3 {
  font-size: 14px;
  margin-bottom: 6px;
  color: var(--hz-text);
}

.home-cap p {
  font-size: 13px;
  color: var(--hz-body);
  font-weight: 700;
}

/* Split + terminal */
.home-split-section {
  position: relative;
  z-index: 2;
  padding: 48px 0;
  background: linear-gradient(180deg, transparent, rgba(15, 23, 42, 0.5), transparent);
}

.home-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.home-checklist {
  list-style: none;
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.home-checklist li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
}

.home-terminal {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--hx-border);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.home-terminal-bar {
  display: flex;
  gap: 6px;
  padding: 10px 14px;
  background: #1e293b;
}

.home-terminal-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #475569;
}

.home-terminal-bar span:nth-child(1) { background: #ef4444; }
.home-terminal-bar span:nth-child(2) { background: #f59e0b; }
.home-terminal-bar span:nth-child(3) { background: #22c55e; }

.home-terminal-body {
  margin: 0;
  padding: 18px;
  font-size: 12px;
  line-height: 1.65;
  background: #0f172a;
  color: #94a3b8;
  white-space: pre-wrap;
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
}

/* Steps */
.home-steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 12px;
  align-items: start;
  max-width: 960px;
  margin: 0 auto;
}

.home-step {
  padding: 22px 18px;
  border-radius: 18px;
  background: var(--hx-card);
  border: 1px solid var(--hx-border);
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s, border-color 0.25s;
}

.home-step:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 180, 255, 0.35);
}

.home-step-num {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--hx-blue), var(--hx-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.home-step-line {
  width: 100%;
  height: 2px;
  margin-top: 42px;
  background: linear-gradient(90deg, transparent, var(--hx-border), transparent);
}

/* Cap grid */
.home-cap-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.home-cap {
  padding: 22px 16px;
  text-align: center;
  border-radius: 18px;
  background: var(--hx-card);
  border: 1px solid var(--hx-border);
  transition: transform 0.2s;
}

.home-cap:hover {
  transform: translateY(-3px);
}

.home-cap .icon,
.home-cap .site-ico {
  font-size: 1.6rem;
  margin-bottom: 10px;
  display: block;
}

.home-cap h3 {
  font-size: 14px;
  margin-bottom: 6px;
}

.home-cap p {
  font-size: 13px;
  color: var(--hz-body);
  font-weight: 700;
}

/* CTA */
.home-cta {
  position: relative;
  z-index: 2;
  padding: 24px 0 72px;
}

.home-cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 40px 36px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.92));
  border: 1px solid rgba(56, 189, 248, 0.35);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.home-cta-copy {
  flex: 1;
  min-width: min(100%, 280px);
}

.home-cta-inner h2 {
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  margin-bottom: 10px;
  color: #f8fafc;
  font-weight: 800;
}

.home-cta-desc {
  font-size: 15px;
  line-height: 1.65;
  color: rgba(226, 232, 240, 0.92);
  max-width: 520px;
}

html[data-theme="light"] .home-cta-desc {
  color: var(--muted);
}

.home-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.home-cta-actions .btn-outline {
  color: #f1f5f9;
  border-color: rgba(148, 163, 184, 0.55);
  background: rgba(15, 23, 42, 0.45);
  font-weight: 800;
}

.home-cta-actions .btn-outline:hover {
  color: #fff;
  border-color: var(--hx-cyan);
  background: rgba(45, 212, 191, 0.12);
}

html[data-theme="light"] .home-cta-actions .btn-outline {
  color: var(--text);
  background: var(--bg2);
  border-color: var(--border);
}

/* 手机端专属：微信登录 + 联系合作 */
.home-hero-mobile-only {
  display: none;
}

.home-hero-actions-extra {
  width: 100%;
  max-width: 360px;
  margin: 0 auto 16px;
  flex-direction: column;
  gap: 10px;
}

.home-hero-actions-extra .auth-wechat-btn {
  margin-top: 0 !important;
}

.home-coop-btn {
  font-weight: 800;
}

.home-hero .btn-outline {
  color: var(--hz-text);
  border-color: color-mix(in srgb, var(--hx-blue) 45%, var(--hx-border));
  background: rgba(15, 23, 42, 0.35);
}

html[data-theme="light"] .home-hero .btn-outline {
  color: var(--hz-text);
  background: #fff;
  border-color: var(--hx-border);
}

/* 引擎条 */
.home-engines {
  position: relative;
  z-index: 2;
  padding: 20px 0 8px;
}

.home-engines-label {
  text-align: center;
  font-family: "Nunito", "Noto Sans SC", sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--hz-body);
  margin-bottom: 14px;
}

.home-engines-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.home-engine-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 12px;
  background: var(--hx-card);
  border: 1px solid var(--hx-border);
  backdrop-filter: blur(10px);
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.home-engine-chip:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 240, 212, 0.4);
  box-shadow: 0 8px 28px rgba(0, 180, 255, 0.15);
}

.home-engine-chip img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: cover;
}

.home-engine-chip strong {
  font-size: 13px;
  font-weight: 700;
  color: var(--hz-text);
}

.home-engine-fallback {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(0, 180, 255, 0.15);
  font-size: 14px;
}

/* 终端演示 */
.home-demo {
  position: relative;
  z-index: 2;
  padding: 48px 0 32px;
}

.home-demo-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 36px;
  align-items: center;
}

.home-demo-copy h2 {
  font-family: "Nunito", "Noto Sans SC", sans-serif;
  font-size: clamp(1.45rem, 3.5vw, 1.95rem);
  font-weight: 900;
  margin-bottom: 12px;
  color: var(--hz-text);
}

.home-demo-lead {
  font-size: 15px;
  line-height: 1.7;
  color: var(--hz-body);
  font-weight: 700;
  margin-bottom: 18px;
}

.home-demo-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.home-demo-tags li {
  padding: 6px 14px;
  border-radius: 8px;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  color: var(--hx-cyan);
  background: rgba(0, 240, 212, 0.08);
  border: 1px solid rgba(0, 240, 212, 0.25);
}

.home-terminal-live .home-terminal-bar {
  display: flex;
  align-items: center;
  gap: 6px;
}

.home-terminal-live .home-terminal-bar em {
  margin-left: auto;
  font-style: normal;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  color: #64748b;
  letter-spacing: 0.06em;
}

.home-terminal-live .home-terminal-body {
  min-height: 160px;
  color: #67e8f9;
}

.home-terminal-live .home-terminal-body code {
  font-family: inherit;
  white-space: pre-wrap;
}

/* Scroll reveal */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 { transition-delay: 0.12s; }

/* Light theme */
html[data-theme="light"] .page-home {
  --hx-bg: #eef2f8;
  --hx-card: rgba(255, 255, 255, 0.92);
  --hx-border: rgba(15, 23, 42, 0.1);
}

html[data-theme="light"] .home-cta-inner {
  background: linear-gradient(135deg, #fff, #f1f5f9);
  border-color: rgba(2, 132, 199, 0.25);
}

html[data-theme="light"] .home-cta-inner h2 {
  color: #0f172a;
}

html[data-theme="light"] .home-cta-desc {
  color: #475569;
}

html[data-theme="light"] .home-cta-actions .btn-outline {
  color: #0f172a;
  background: #fff;
  border-color: var(--border);
}

html[data-theme="light"] .page-home .home-terminal-body {
  background: #1e293b;
  color: #cbd5e1;
}

html[data-theme="light"] .home-marquee {
  color: rgba(26, 47, 69, 0.92);
}

html[data-theme="light"] .home-orb-a { opacity: 0.5; }
html[data-theme="light"] .home-orb-b { opacity: 0.45; }

@media (max-width: 900px) {
  .home-hero-mobile-only {
    display: flex;
  }

  .home-hero-actions {
    width: 100%;
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
  }

  .home-hero-actions .btn {
    flex: 1 1 calc(50% - 6px);
    min-width: 140px;
  }

  .home-hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .home-lead {
    margin-left: auto;
    margin-right: auto;
  }
  .home-hero-actions,
  .home-metrics {
    justify-content: center;
  }
  .home-visual-frame {
    max-width: 318px;
  }
  .home-orbit-chip {
    width: 46px;
    height: 46px;
    margin: -23px 0 0 -23px;
    transform: rotate(calc(var(--i) * (360deg / var(--orbit-n, 6)))) translateY(-124px) rotate(calc(var(--i) * (-360deg / var(--orbit-n, 6))));
  }
  .home-core-card {
    width: 42%;
    max-width: 126px;
  }
  .home-core-card strong {
    font-size: 0.94rem;
  }
  .home-marquee {
    animation-duration: 28s;
    font-size: 12px;
    gap: 32px;
  }
  .home-split {
    grid-template-columns: 1fr;
  }
  .home-bento {
    grid-template-columns: 1fr;
  }

  .home-demo-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .home-demo-copy {
    text-align: center;
  }

  .home-demo-tags {
    justify-content: center;
  }

  .home-engines-row {
    gap: 8px;
  }

  .home-engine-chip {
    flex: 1 1 calc(50% - 8px);
    min-width: 140px;
    justify-content: center;
  }

  .home-bento-card {
    min-height: 0;
  }
  .home-steps {
    grid-template-columns: 1fr;
  }
  .home-step-line {
    display: none;
  }
  .home-cap-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .home-cta-inner {
    flex-direction: column;
    text-align: center;
    padding: 28px 20px;
  }
  .home-cta-actions {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .home-cap-grid {
    grid-template-columns: 1fr;
  }
  .home-hero {
    min-height: auto;
    padding-top: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-marquee,
  .home-orbit-ring,
  .home-orb,
  .home-beam,
  .home-core-shine,
  .home-aurora,
  .home-grid,
  .home-ring-pulse,
  .home-hud,
  .home-btn-glow,
  .home-title-accent {
    animation: none;
  }
  .reveal-on-scroll {
    opacity: 1;
    transform: none;
  }
}
