/* HZAPI Brand VI + zzshu.cc Editorial Architecture (Precision Edition)
 * Palette:
 *   Page Surface            : oklch(0.985 0.006 280)
 *   Soft Section Surface    : oklch(0.97 0.012 285)
 *   Primary Electric Violet : #5B3EFF / oklch(0.51 0.24 282)
 *   Deep Carbon Ink         : #13141A / oklch(0.22 0.03 270)
 *   Acid Lime Accent        : #D4FF3F (pure, borderless)
 */

:root {
  --hz-violet: #5B3EFF;
  --hz-violet-deep: #482CE2;
  --hz-violet-soft: #EFEAFE;
  --hz-ink: oklch(0.22 0.03 270);
  --hz-ink-strong: #13141A;
  --hz-muted: oklch(0.46 0.02 270);
  --hz-subtle: oklch(0.55 0.03 275);
  --hz-page: oklch(0.985 0.006 280);
  --hz-horizon: oklch(0.97 0.015 285);
  --hz-line: oklch(0.9 0.015 280);
  --hz-lime: #D4FF3F;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--hz-page);
  color: var(--hz-ink);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.skip {
  position: fixed;
  top: -100px;
  left: 1rem;
  z-index: 200;
  background: var(--hz-ink-strong);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.85rem;
}
.skip:focus {
  top: 1rem;
}

/* ==================== 1:1 zzshu.cc PublicHeader Morphing Navbar ==================== */
.hz-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  pointer-events: none;
}

.hz-header-shell {
  pointer-events: auto;
  margin: 0 auto;
  max-width: 80rem; /* 1280px (max-w-7xl) */
  padding: 0 1.5rem;
  transition:
    max-width 700ms cubic-bezier(0.16, 1, 0.3, 1),
    padding 700ms cubic-bezier(0.16, 1, 0.3, 1);
}

.hz-header.scrolled .hz-header-shell {
  max-width: 52rem; /* 832px (max-w-[52rem]) */
  padding: 0.75rem 0.75rem 0;
}

.hz-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  height: 4rem; /* h-16 */
  padding: 0 0.5rem; /* px-2 */
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transition:
    height 700ms cubic-bezier(0.16, 1, 0.3, 1),
    padding 700ms cubic-bezier(0.16, 1, 0.3, 1),
    background-color 700ms cubic-bezier(0.16, 1, 0.3, 1),
    border-radius 700ms cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 700ms cubic-bezier(0.16, 1, 0.3, 1),
    backdrop-filter 700ms cubic-bezier(0.16, 1, 0.3, 1);
}

.hz-header.scrolled .hz-header-inner {
  height: 3rem; /* h-12 */
  padding: 0 0.375rem 0 1rem; /* pr-1.5 pl-4 */
  border-radius: 1rem; /* rounded-2xl */
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  box-shadow:
    0 2px 16px -6px rgba(0, 0, 0, 0.08),
    0 0 0 0.5px rgba(0, 0, 0, 0.06);
}

/* Brand Logo (Clean HZ mark + HZAPI wordmark, no muddy bordered box) */
.hz-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem; /* gap-2.5 */
  color: var(--hz-ink-strong);
  text-decoration: none;
  font-weight: 650;
  font-size: 0.875rem; /* text-sm */
  letter-spacing: -0.025em;
  flex-shrink: 0;
}

.hz-brand-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem; /* size-7 */
  height: 1.75rem;
  transition: transform 300ms ease;
}

.hz-brand:hover .hz-brand-logo-wrap {
  transform: scale(1.05);
}

.hz-brand img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.hz-brand-word {
  color: var(--hz-ink-strong);
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* Right Navigation Cluster (Exact zzshu.cc PublicHeader spacing & weight) */
.hz-header-right {
  display: flex;
  align-items: center;
  gap: 0.125rem; /* gap-0.5 */
  min-width: 0;
}

.hz-nav {
  display: flex;
  align-items: center;
  gap: 0.125rem;
}

.hz-nav a {
  color: oklch(0.48 0.02 270);
  text-decoration: none;
  font-size: 0.875rem; /* text-sm */
  font-weight: 500;
  padding: 0.375rem 0.75rem; /* px-3 py-1.5 */
  border-radius: 0.5rem; /* rounded-lg */
  white-space: nowrap;
  transition: color 200ms ease;
}

.hz-nav a:hover,
.hz-nav a.active {
  color: var(--hz-ink-strong);
}

.hz-nav-divider {
  width: 1px;
  height: 1rem; /* h-4 */
  background: rgba(19, 20, 26, 0.12);
  margin: 0 0.35rem;
  flex-shrink: 0;
}

.hz-customer-link {
  color: oklch(0.48 0.02 270);
  text-decoration: none;
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 0.375rem 0.65rem;
  border-radius: 0.5rem;
  white-space: nowrap;
  transition: color 200ms ease;
}

.hz-customer-link:hover {
  color: var(--hz-ink-strong);
}

.hz-console-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 2rem; /* h-8 */
  padding: 0 0.75rem; /* px-3 */
  border-radius: 0.5rem; /* rounded-lg */
  background: var(--hz-ink-strong);
  color: #ffffff;
  text-decoration: none;
  font-size: 0.75rem; /* text-xs */
  font-weight: 550;
  white-space: nowrap;
  transition: opacity 200ms ease, background-color 200ms ease;
}

.hz-console-btn:hover {
  opacity: 0.9;
}

.hz-lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  height: 2rem;
  padding: 0 0.6rem;
  border-radius: 0.5rem;
  border: 1px solid oklch(0.88 0.016 282);
  background: rgba(255, 255, 255, 0.66);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: oklch(0.52 0.02 278);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: border-color 180ms ease, background-color 180ms ease, color 180ms ease;
}

.hz-lang-switch:hover {
  border-color: oklch(0.74 0.12 282);
  background: rgba(255, 255, 255, 0.92);
}

.hz-lang-switch span {
  transition: color 160ms ease, font-weight 160ms ease;
}

.hz-lang-switch span.active {
  color: var(--hz-violet);
  font-weight: 750;
}

.hz-lang-switch i {
  font-style: normal;
  opacity: 0.38;
  font-size: 0.68rem;
}

/* ==================== English Editorial Typography & Layout (html[lang="en"]) ==================== */
html[lang="en"] .zz-eyebrow {
  letter-spacing: 0.15em;
}

/* In English mode, .zz-kicker already provides the English section eyebrow; hide redundant .zz-sub */
html[lang="en"] .zz-sub {
  display: none;
}

html[lang="en"] .zz-title {
  max-width: 18ch;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(2.15rem, 4.2vw, 3.55rem);
  line-height: 1.08;
  letter-spacing: -0.038em;
  text-wrap: balance;
}

html[lang="en"] .zz-lead {
  max-width: 58ch;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.68;
  text-wrap: pretty;
}

html[lang="en"] .zz-section h2 {
  max-width: 22ch;
  line-height: 1.15;
  letter-spacing: -0.032em;
  text-wrap: balance;
}

html[lang="en"] .zz-cta h2 {
  max-width: 22ch;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.15;
  letter-spacing: -0.032em;
  text-wrap: balance;
}

html[lang="en"] .zz-note {
  max-width: 62ch;
  line-height: 1.68;
  text-wrap: pretty;
}

html[lang="en"] .zz-cta .zz-note {
  max-width: 54ch;
  margin-left: auto;
  margin-right: auto;
  text-wrap: balance;
}

html[lang="en"] .zz-caps h3 {
  letter-spacing: -0.02em;
}

html[lang="en"] .zz-caps p,
html[lang="en"] .zz-row p,
html[lang="en"] .zz-faq-item p {
  line-height: 1.68;
}

@media (min-width: 861px) {
  html[lang="en"] .zz-row {
    grid-template-columns: 60px 260px 1fr;
  }
  html[lang="en"] .zz-model {
    grid-template-columns: 260px 1fr;
  }
  html[lang="en"] .hz-vi-station {
    grid-template-columns: 215px 1fr;
  }
}

.hz-menu-toggle {
  display: none;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.5rem;
  border: 0;
  background: transparent;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  padding: 0;
}

.hz-menu-toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--hz-ink-strong);
  border-radius: 999px;
  transition: transform 250ms ease, opacity 250ms ease;
}

/* ==================== HERO (Exact zzshu.cc Atmosphere & Orbit) ==================== */
.zz-page {
  background: var(--hz-page);
  color: var(--hz-ink);
  min-height: 100vh;
}

.zz-hero {
  min-height: 100svh;
  overflow: hidden;
  padding: 7.5rem 1.5rem 15rem;
  position: relative;
  text-align: center;
}

.zz-sky {
  animation: zz-enter 1.1s ease-out both;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  position: absolute;
}

.zz-aurora {
  animation: zz-drift 26s ease-in-out infinite alternate;
  border-radius: 50%;
  filter: blur(80px);
  height: 46vw;
  min-height: 320px;
  min-width: 320px;
  opacity: 0.55;
  position: absolute;
  width: 46vw;
}

.zz-aurora-a {
  background: radial-gradient(circle, oklch(0.86 0.08 290), transparent 68%);
  left: -12%;
  top: -18%;
}

.zz-aurora-b {
  animation-duration: 34s;
  animation-direction: alternate-reverse;
  background: radial-gradient(circle, oklch(0.9 0.06 250), transparent 68%);
  right: -14%;
  top: 8%;
}

.zz-stars {
  background-image:
    radial-gradient(1.5px 1.5px at 8% 12%, oklch(0.55 0.12 285 / 0.45), transparent),
    radial-gradient(1px 1px at 17% 34%, oklch(0.55 0.1 270 / 0.35), transparent),
    radial-gradient(1.5px 1.5px at 26% 71%, oklch(0.5 0.12 300 / 0.3), transparent),
    radial-gradient(1px 1px at 41% 22%, oklch(0.55 0.08 250 / 0.35), transparent),
    radial-gradient(1.5px 1.5px at 63% 18%, oklch(0.5 0.14 285 / 0.4), transparent),
    radial-gradient(1px 1px at 78% 42%, oklch(0.55 0.1 270 / 0.3), transparent),
    radial-gradient(1.5px 1.5px at 88% 16%, oklch(0.52 0.12 300 / 0.35), transparent);
  inset: 0;
  position: absolute;
}

.zz-shoot {
  animation: zz-shoot linear infinite;
  background: linear-gradient(90deg, transparent, oklch(0.48 0.16 285 / 0.85) 55%, transparent);
  border-radius: 999px;
  height: 1.5px;
  opacity: 0;
  position: absolute;
  width: 150px;
}

.zz-horizon {
  animation: zz-horizon 1.7s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
  aspect-ratio: 2.6;
  background: var(--hz-horizon);
  border-radius: 50%;
  box-shadow:
    0 -1.5px oklch(0.62 0.14 290 / 0.65),
    0 -12px 34px -6px oklch(0.7 0.12 285 / 0.45),
    0 -40px 90px -12px oklch(0.78 0.08 280 / 0.35);
  left: 50%;
  position: absolute;
  top: 100%;
  width: max(190vw, 1400px);
}

.zz-orbit-svg,
.zz-arc {
  display: block;
  height: 100%;
  width: 100%;
}

.zz-orbit-svg {
  animation: zz-orbit-in 1.9s cubic-bezier(0.22, 1, 0.36, 1) 0.15s both;
  aspect-ratio: 1600 / 920;
  height: auto;
  left: 50%;
  position: absolute;
  top: 48%;
  transform-origin: center;
  translate: -50% -50%;
  width: max(1600px, 100%);
}

.zz-orbit-svg text,
.zz-arc text {
  font-family: ui-sans-serif, system-ui, "PingFang SC", "Microsoft YaHei", sans-serif;
}

.zz-float {
  animation: zz-float var(--fd, 12s) ease-in-out var(--fdl, 0s) infinite alternate;
}

.zz-depth {
  animation: zz-depth var(--T, 30s) linear var(--DL, 0s) infinite;
  transform-box: fill-box;
  transform-origin: center;
}

.zz-node {
  animation: zz-node-in 1.2s 0.6s forwards;
  opacity: 0;
}

.zz-arc {
  bottom: 0;
  height: 220px;
  left: 0;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  position: absolute;
  width: 100%;
  z-index: 2;
}

.zz-hero-inner,
.zz-inner {
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.zz-hero-inner {
  left: 50%;
  max-width: 34rem;
  position: absolute;
  top: 48%;
  translate: -50% -54%;
  width: min(34rem, 78%);
}

.zz-inner {
  box-sizing: border-box;
  margin-left: auto;
  margin-right: auto;
  max-width: 1280px;
  width: 100%;
}

.zz-rise {
  animation: zz-rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.zz-d1 { animation-delay: 0.05s; }
.zz-d2 { animation-delay: 0.16s; }
.zz-d3 { animation-delay: 0.26s; }
.zz-d4 { animation-delay: 0.36s; }
.zz-d5 { animation-delay: 0.48s; }

.zz-eyebrow {
  align-items: center;
  color: oklch(0.48 0.08 285);
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 650;
  gap: 0.75rem;
  letter-spacing: 0.16em;
}

.zz-eyebrow i {
  animation: zz-brow 4.6s ease-in-out infinite;
  background: linear-gradient(90deg, transparent, oklch(0.55 0.12 285 / 0.7));
  display: block;
  height: 1px;
  transform-origin: 100%;
  width: 44px;
}

.zz-eyebrow i.flip {
  background: linear-gradient(270deg, transparent, oklch(0.55 0.12 285 / 0.7));
  transform-origin: 0;
}

.zz-title {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 760;
  letter-spacing: -0.05em;
  line-height: 1.05;
  margin: 1.1rem auto 0;
  position: relative;
  text-wrap: balance;
}

.zz-title-text,
.zz-sheen {
  background: linear-gradient(175deg, oklch(0.4 0.16 290) 18%, oklch(0.46 0.14 255));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: block;
}

.zz-sheen {
  animation: zz-sheen 7.5s ease-in-out 1.8s infinite;
  background: linear-gradient(105deg, transparent 42%, oklch(0.99 0.01 300 / 0.95) 50%, transparent 58%) 130% 0 / 280% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  inset: 0;
  position: absolute;
  pointer-events: none;
}

.zz-lead {
  color: var(--hz-muted);
  font-size: 1.02rem;
  line-height: 1.9;
  margin: 0.85rem auto 0;
  max-width: 32rem;
}

.zz-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.15rem;
}

.zz-btn,
.zz-btn-ghost {
  align-items: center;
  border-radius: 14px;
  cursor: pointer;
  display: inline-flex;
  font-size: 0.95rem;
  font-weight: 650;
  justify-content: center;
  min-height: 3rem;
  padding: 0 1.6rem;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.zz-btn {
  background: linear-gradient(180deg, oklch(0.52 0.18 285), oklch(0.46 0.18 278));
  box-shadow: 0 10px 24px oklch(0.5 0.14 285 / 0.22);
  color: #ffffff;
}

.zz-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px oklch(0.5 0.16 285 / 0.28);
}

.zz-btn-ghost {
  background: oklch(1 0 0 / 0.72);
  border: 1px solid oklch(0.88 0.02 280);
  color: oklch(0.32 0.04 270);
}

.zz-btn-ghost:hover {
  border-color: oklch(0.76 0.08 285);
  background: #ffffff;
}

/* ==================== Below-the-Fold Sections (1:1 zzshu.cc Editorial System) ==================== */
.zz-section {
  padding: 5.5rem 1.5rem;
}

.zz-hero + .zz-section {
  padding-top: 2.75rem;
}

.zz-section-soft {
  background: linear-gradient(180deg, oklch(0.97 0.012 285), var(--hz-page));
}

/* Pure typographic kicker — no bordered square */
.zz-kicker {
  color: oklch(0.5 0.12 285);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.zz-sub {
  color: oklch(0.5 0.02 270);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  margin: 0.7rem 0 0;
}

.zz-section h2,
.zz-cta h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  font-weight: 740;
  letter-spacing: -0.03em;
  line-height: 1.25;
  margin: 0.9rem 0 0;
  max-width: 16em;
  color: var(--hz-ink);
}

.zz-grad {
  background: linear-gradient(100deg, oklch(0.48 0.18 290), oklch(0.46 0.14 240));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.zz-note {
  color: oklch(0.48 0.02 270);
  line-height: 1.8;
  margin: 0.9rem 0 0;
  max-width: 40rem;
}

/* 01. Capabilities (Exact zzshu.cc 3-Column Editorial Grid) */
.zz-caps {
  display: grid;
  gap: 2.25rem;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 3.2rem;
}

.zz-num {
  color: oklch(0.62 0.08 285);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.zz-caps h3,
.zz-row h3 {
  font-size: 1.18rem;
  font-weight: 700;
  margin: 0.7rem 0 0.55rem;
  color: var(--hz-ink);
}

.zz-caps p,
.zz-row p,
.zz-faq-item p {
  color: var(--hz-muted);
  line-height: 1.8;
  margin: 0;
}

/* 02. Editorial Rows & Model Rows (Exact zzshu.cc Grid) */
.zz-list {
  margin-top: 2.4rem;
}

.zz-row,
.zz-model,
.zz-faq-item {
  border-top: 1px solid var(--hz-line);
  display: grid;
  gap: 0.7rem 1.5rem;
  padding: 1.7rem 0;
}

.zz-row {
  grid-template-columns: 4rem 12rem 1fr;
  align-items: baseline;
}

.zz-model {
  align-items: baseline;
  grid-template-columns: 11rem 1fr;
}

.zz-faq-item {
  grid-template-columns: minmax(14rem, 18rem) 1fr;
  align-items: baseline;
}

.zz-faq-item h3 {
  font-size: 1.02rem;
  font-weight: 680;
  margin: 0;
}

.zz-tags {
  color: oklch(0.55 0.04 280);
  font-size: 0.84rem;
  margin-top: 0.7rem !important;
}

.zz-tags a {
  color: var(--hz-violet);
  text-decoration: none;
  font-weight: 600;
}

.zz-tags a:hover {
  text-decoration: underline;
}

.zz-model b {
  font-size: 0.98rem;
  color: var(--hz-ink);
}

.zz-model p {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.82rem;
  color: var(--hz-muted);
  margin: 0;
  line-height: 1.8;
}

.zz-q {
  color: oklch(0.55 0.12 285);
  margin-right: 0.35rem;
}

/* ==================== Brand VI Light Workstation Card (1:1 Match to VI Poster Bottom-Left) ==================== */
.hz-vi-station {
  margin-top: 2.8rem;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid oklch(0.91 0.014 280);
  border-radius: 20px;
  box-shadow: 0 18px 48px -18px oklch(0.45 0.08 280 / 0.1);
  display: grid;
  grid-template-columns: 196px minmax(0, 1fr);
  overflow: hidden;
}

.hz-vi-sidebar {
  border-right: 1px solid oklch(0.92 0.012 280);
  padding: 1.35rem 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  background: oklch(0.99 0.004 280 / 0.6);
}

.hz-vi-side-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.58rem 0.8rem;
  border-radius: 10px;
  font-size: 0.84rem;
  font-weight: 560;
  color: oklch(0.44 0.02 270);
  text-decoration: none;
  transition: background-color 0.16s ease, color 0.16s ease;
}

.hz-vi-side-item:hover {
  background: oklch(0.96 0.015 285);
  color: var(--hz-ink-strong);
}

.hz-vi-side-item.active {
  background: var(--hz-violet-soft);
  color: var(--hz-violet);
  font-weight: 680;
}

.hz-vi-side-item svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
}

.hz-vi-main {
  padding: 1.85rem 2.2rem;
  min-width: 0;
}

.hz-vi-main-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.hz-vi-heading {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 1.35rem;
  font-weight: 780;
  letter-spacing: -0.025em;
  color: var(--hz-ink-strong);
  margin: 0;
}

.hz-vi-heading::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 1.15em;
  border-radius: 2px;
  background: var(--hz-violet);
}

.hz-protocol-pills {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  background: oklch(0.965 0.01 285);
  padding: 0.22rem;
  border-radius: 10px;
  border: 1px solid oklch(0.91 0.015 280);
}

.hz-protocol-pills button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--hz-muted);
  font-size: 0.76rem;
  font-weight: 600;
  padding: 0.34rem 0.72rem;
  border-radius: 7px;
  cursor: pointer;
  transition: all 0.16s ease;
}

.hz-protocol-pills button:hover {
  color: var(--hz-ink-strong);
}

.hz-protocol-pills button[aria-selected="true"] {
  background: #ffffff;
  color: var(--hz-violet);
  box-shadow: 0 1px 4px rgba(19, 20, 26, 0.06);
}

/* Inner Code Panel with Crisp VI Acid-Lime Corner Line */
.hz-vi-code-card {
  position: relative;
  border: 1px solid oklch(0.92 0.012 280);
  border-radius: 14px;
  background: #ffffff;
  padding: 0.2rem 1.25rem 1.25rem;
}

.hz-vi-code-card::after {
  content: "";
  position: absolute;
  top: -1px;
  right: -1px;
  width: 64px;
  height: 38px;
  border-top: 3.5px solid var(--hz-lime);
  border-right: 3.5px solid var(--hz-lime);
  border-top-right-radius: 14px;
  pointer-events: none;
}

.hz-lang-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid oklch(0.93 0.01 280);
  margin-bottom: 0.95rem;
}

.hz-lang-tabs {
  display: flex;
  gap: 1.5rem;
}

.hz-lang-tabs button {
  appearance: none;
  border: 0;
  background: transparent;
  color: oklch(0.56 0.02 270);
  font-size: 0.84rem;
  font-weight: 600;
  padding: 0.65rem 0.15rem;
  border-bottom: 2.5px solid transparent;
  margin-bottom: -1px;
  cursor: pointer;
  transition: color 0.16s ease, border-color 0.16s ease;
}

.hz-lang-tabs button:hover {
  color: var(--hz-ink-strong);
}

.hz-lang-tabs button[aria-selected="true"] {
  color: var(--hz-violet);
  border-bottom-color: var(--hz-violet);
}

.hz-code-well {
  position: relative;
  background: oklch(0.972 0.006 280);
  border-radius: 10px;
  padding: 1.05rem 3rem 1.05rem 1.2rem;
}

.hz-copy-btn {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  background: #ffffff;
  border: 1px solid oklch(0.9 0.015 280);
  color: var(--hz-muted);
  border-radius: 7px;
  cursor: pointer;
  transition: border-color 0.16s ease, color 0.16s ease;
}

.hz-copy-btn:hover {
  border-color: var(--hz-violet);
  color: var(--hz-violet);
}

.hz-code-box {
  margin: 0;
  overflow-x: auto;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.82rem;
  line-height: 1.75;
  color: var(--hz-ink-strong);
}

.hz-code-box .code-key {
  color: var(--hz-violet);
  font-weight: 600;
}

.hz-code-box .code-str {
  color: oklch(0.42 0.14 260);
}

.hz-workbench-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  margin-top: 0.9rem;
  font-size: 0.78rem;
  color: var(--hz-subtle);
}

.hz-workbench-foot code {
  color: var(--hz-ink-strong);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.hz-workbench-foot a {
  color: var(--hz-violet);
  font-weight: 600;
  text-decoration: none;
}

.hz-workbench-foot a:hover {
  text-decoration: underline;
}

/* ==================== 03. Brand VI Interlocking Cards (1:1 Match to VI Poster Bottom-Right) ==================== */
.hz-vi-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 2.2rem;
}

.hz-vi-card {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  padding: 2rem 2.2rem;
  min-height: 184px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.24s ease;
}

.hz-vi-card:hover {
  transform: translateY(-2px);
}

.hz-vi-card-violet {
  background: var(--hz-violet);
  color: #ffffff;
  box-shadow: 0 14px 32px -12px rgba(91, 62, 255, 0.32);
}

.hz-vi-card-dark {
  background: var(--hz-ink-strong);
  color: #ffffff;
  box-shadow: 0 14px 32px -12px rgba(19, 20, 26, 0.22);
}

.hz-vi-card-copy {
  position: relative;
  z-index: 2;
  max-width: 52%;
}

.hz-vi-card h3 {
  font-size: clamp(1.5rem, 2.2vw, 1.85rem);
  font-weight: 780;
  letter-spacing: -0.03em;
  margin: 0 0 0.45rem;
  color: #ffffff;
}

.hz-vi-card p {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.78);
}

.hz-vi-card-arrow {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: 1.25rem;
  color: rgba(255, 255, 255, 0.92);
}

.hz-vi-card-art {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 52%;
  max-width: 280px;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* ==================== CTA & Footer (Exact zzshu.cc Style) ==================== */
.zz-cta {
  overflow: hidden;
  padding: 6rem 1.5rem 2.5rem;
  position: relative;
  text-align: center;
}

.zz-cta-bg {
  animation: zz-drift 18s ease-in-out infinite alternate;
  background:
    radial-gradient(55% 48% at 50% 28%, oklch(0.9 0.06 270 / 0.75), transparent 70%),
    linear-gradient(180deg, oklch(0.96 0.02 260), transparent 55%);
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.zz-cta-inner {
  box-sizing: border-box;
  margin: 0 auto;
  max-width: 1280px;
  position: relative;
  width: 100%;
}

.zz-cta h2 {
  margin-left: auto;
  margin-right: auto;
}

.zz-cta .zz-note {
  margin-left: auto;
  margin-right: auto;
}

.zz-foot {
  border-top: 1px solid var(--hz-line);
  color: oklch(0.5 0.02 270);
  display: flex;
  flex-wrap: wrap;
  font-size: 0.88rem;
  gap: 0.8rem 1.4rem;
  justify-content: space-between;
  margin: 3.5rem auto 0;
  max-width: none;
  padding-top: 1.4rem;
  text-align: left;
  width: 100%;
}

.zz-foot a {
  color: inherit;
  margin-right: 1rem;
  text-decoration: none;
  transition: color 0.16s ease;
}

.zz-foot a:hover {
  color: var(--hz-ink-strong);
}

.zz-copy {
  font-size: 0.78rem;
  margin: 0.8rem 0 0;
}

#toast {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  background: var(--hz-ink-strong);
  color: #fff;
  padding: 0.6rem 1.1rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 100;
}

#toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ==================== Keyframes (zzshu.cc Motion System) ==================== */
@keyframes zz-enter { from { opacity: 0; } }
@keyframes zz-drift { from { transform: translate(0) scale(1); } to { transform: translate(4vw, 3vh) scale(1.12); } }
@keyframes zz-shoot {
  0% { opacity: 0; transform: rotate(var(--ang, 24deg)) translateX(0) scaleX(0.35); }
  1.5% { opacity: 0.85; }
  7%, 100% { opacity: 0; transform: rotate(var(--ang, 24deg)) translateX(46vw) scaleX(1); }
}
@keyframes zz-horizon { from { opacity: 0; transform: translate(-50%); } to { opacity: 1; transform: translate(-50%, -9%); } }
@keyframes zz-orbit-in { from { opacity: 0; transform: scale(0.94); } }
@keyframes zz-float { from { transform: translateY(-9px); } to { transform: translateY(9px); } }
@keyframes zz-depth {
  0% { opacity: 0.7; transform: scale(0.85); }
  25% { opacity: 0.26; transform: scale(0.58); }
  50% { opacity: 0.7; transform: scale(0.85); }
  75% { opacity: 1; transform: scale(1.18); }
  to { opacity: 0.7; transform: scale(0.85); }
}
@keyframes zz-node-in { to { opacity: 1; } }
@keyframes zz-rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes zz-sheen { from { background-position: 130% 0; } 24%, to { background-position: -40% 0; } }
@keyframes zz-brow { 0%, 100% { opacity: 0.45; transform: scaleX(0.5); } 50% { opacity: 1; transform: scaleX(1); } }
@keyframes zz-reveal { from { opacity: 0; filter: blur(4px); transform: translateY(28px); } to { opacity: 1; filter: none; transform: none; } }

/* ==================== Pro Below-the-Fold Delicate Craft & Motion System ==================== */
html.hz-motion-ready .zz-reveal {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  filter: blur(3px);
  will-change: opacity, transform, filter;
  transition:
    opacity 860ms cubic-bezier(0.19, 1, 0.22, 1) var(--stagger, 0ms),
    transform 920ms cubic-bezier(0.19, 1, 0.22, 1) var(--stagger, 0ms),
    filter 760ms cubic-bezier(0.19, 1, 0.22, 1) var(--stagger, 0ms);
}

html.hz-motion-ready .zz-reveal.in-view {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: blur(0px);
}

/* 01. Capabilities — Delicate Architectural Glass Cards + Living 1px SVG Schematic */
.zz-caps {
  gap: 1.35rem;
}

.zz-caps > div {
  position: relative;
  padding: 1.45rem 1.55rem 1.6rem;
  border-radius: 18px;
  background:
    radial-gradient(280px circle at var(--mx, 50%) var(--my, 0%), oklch(0.62 0.16 285 / 0.065), transparent 72%),
    rgba(255, 252, 255, 0.74);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid oklch(0.912 0.016 282);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 10px 30px -18px oklch(0.42 0.09 282 / 0.10);
  transition:
    transform 420ms cubic-bezier(0.19, 1, 0.22, 1),
    border-color 320ms ease,
    box-shadow 420ms cubic-bezier(0.19, 1, 0.22, 1);
}

.zz-caps > div:hover {
  transform: translateY(-2.5px);
  border-color: #cfc3ef;
  box-shadow:
    inset 0 1px 0 #ffffff,
    0 18px 38px -18px oklch(0.42 0.12 282 / 0.15);
}

.zz-cap-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}

.zz-cap-tag {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: oklch(0.54 0.06 282);
  background: #fffcff;
  border: 1px solid #e6e0f5;
  padding: 0.18rem 0.52rem;
  border-radius: 999px;
}

.zz-cap-svg {
  display: block;
  width: 100%;
  height: 54px;
  margin-bottom: 0.95rem;
  border-radius: 11px;
  background: linear-gradient(180deg, oklch(0.982 0.008 285 / 0.75), oklch(0.992 0.004 285 / 0.55));
  border: 1px solid #eae4f7;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.zz-caps > div h3 {
  margin: 0.2rem 0 0.5rem;
}

/* 02. Editorial Rows — Zero Layout Jitter, Whisper-Fine Hairline & Soft Backdrop */
.zz-row,
.zz-model,
.zz-faq-item {
  position: relative;
  z-index: 0;
}

/* Subtle non-shifting hover halo behind the row */
.zz-row::after,
.zz-model::after,
.zz-faq-item::after {
  content: "";
  position: absolute;
  inset: 0 -0.85rem;
  border-radius: 12px;
  background: linear-gradient(90deg, oklch(0.972 0.012 285 / 0.68) 0%, oklch(0.985 0.006 285 / 0.25) 65%, transparent 100%);
  opacity: 0;
  pointer-events: none;
  z-index: -1;
  transition: opacity 280ms ease;
}

/* Delicate 1px #b7a6e6 -> #7a5cff top hairline */
.zz-row::before,
.zz-model::before,
.zz-faq-item::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -1px;
  height: 1px;
  background: linear-gradient(90deg, #8a63e8 0%, #c4b6ee 42%, transparent 90%);
  transform: scaleX(0);
  transform-origin: left center;
  opacity: 0;
  pointer-events: none;
  transition: transform 640ms cubic-bezier(0.19, 1, 0.22, 1), opacity 360ms ease;
}

.zz-row:hover::after,
.zz-model:hover::after,
.zz-faq-item:hover::after {
  opacity: 1;
}

.zz-row:hover::before,
.zz-model:hover::before,
.zz-faq-item:hover::before {
  transform: scaleX(1);
  opacity: 0.85;
}

.zz-row .zz-num,
.zz-faq-item .zz-q {
  transition: color 240ms ease;
}

.zz-row:hover .zz-num,
.zz-faq-item:hover .zz-q {
  color: var(--hz-violet);
}

.zz-row h3,
.zz-model b,
.zz-faq-item h3 {
  transition: color 220ms ease;
}

.zz-row:hover h3,
.zz-model:hover b {
  color: #4933b8;
}

/* 03. Model Ecosystem Authentic Hero-Style Pill Badges */
.zz-model {
  align-items: center;
}

.zz-model-body {
  display: flex;
  flex-direction: column;
  gap: 0.52rem;
}

.zz-model-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.zz-mpill {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  height: 26px;
  padding: 0 0.68rem 0 0.52rem;
  border-radius: 999px;
  background: #fffcff;
  border: 1px solid #e4def4;
  box-shadow:
    inset 0 1px 0 #ffffff,
    0 2px 5px rgba(90, 65, 180, 0.045);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.75rem;
  font-weight: 600;
  color: #3a3558;
  transition:
    transform 260ms cubic-bezier(0.19, 1, 0.22, 1),
    border-color 220ms ease,
    box-shadow 260ms ease;
}

.zz-mpill svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}

.zz-mpill:hover {
  transform: translateY(-1.5px);
  border-color: #c4b6ee;
  box-shadow:
    inset 0 1px 0 #ffffff,
    0 5px 12px rgba(91, 62, 255, 0.09);
}

/* 04. Workstation Specular Polish, Live Telemetry Pill & Smooth Code Morph */
.hz-vi-station {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 18px 48px -18px oklch(0.45 0.08 280 / 0.10);
  transition:
    box-shadow 420ms cubic-bezier(0.19, 1, 0.22, 1),
    border-color 320ms ease;
}

.hz-vi-station:hover {
  border-color: #d5cbf2;
  box-shadow:
    inset 0 1px 0 #ffffff,
    0 24px 56px -20px oklch(0.42 0.10 282 / 0.14);
}

.hz-telemetry-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  padding: 0.22rem 0.62rem;
  border-radius: 999px;
  background: #fffcff;
  border: 1px solid #e6e0f5;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.7rem;
  font-weight: 600;
  color: #4a4368;
}

.hz-telemetry-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #16a34a;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.15);
  animation: hz-pulse-dot 2.8s ease-in-out infinite;
}

@keyframes hz-pulse-dot {
  0%, 100% { box-shadow: 0 0 0 2px rgba(22, 163, 74, 0.12); }
  50% { box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.22); }
}

@keyframes hz-panel-morph {
  0% {
    opacity: 0;
    transform: translate3d(0, 5px, 0);
    filter: blur(2px);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    filter: blur(0px);
  }
}

.hz-morph-anim {
  animation: hz-panel-morph 260ms cubic-bezier(0.19, 1, 0.22, 1) both;
}

/* 05. Brand VI Interlocking Cards — Damped Lerp Parallax & Subtle Specular Glow */
.hz-vi-card {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.hz-vi-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(320px circle at var(--mx, 80%) var(--my, 50%), rgba(255, 255, 255, 0.11), transparent 70%);
  opacity: 0;
  transition: opacity 360ms ease;
  pointer-events: none;
  z-index: 1;
}

.hz-vi-card:hover {
  transform: translateY(-2.5px);
}

.hz-vi-card:hover::before {
  opacity: 1;
}

.hz-vi-card-arrow {
  transition: transform 320ms cubic-bezier(0.19, 1, 0.22, 1), color 220ms ease;
}

.hz-vi-card:hover .hz-vi-card-arrow {
  transform: translateX(4px);
  color: var(--hz-lime);
}

.hz-vi-card-art path {
  transform: translate3d(calc(var(--px, 0) * -6px), calc(var(--py, 0) * -4px), 0);
}

.hz-vi-card-art rect {
  transform-box: fill-box;
  transform-origin: center;
  transform: translate3d(calc(var(--px, 0) * 4.5px), calc(var(--py, 0) * -6px), 0);
}

@media (max-width: 860px) {
  .zz-caps,
  .zz-row,
  .zz-model,
  .zz-faq-item,
  .hz-vi-cards,
  .hz-vi-station {
    grid-template-columns: minmax(0, 1fr);
  }
  .zz-row > *,
  .zz-caps > *,
  .zz-faq-item > *,
  .hz-vi-station > *,
  .hz-vi-code-card,
  .hz-code-well {
    min-width: 0;
    max-width: 100%;
  }
  .hz-vi-sidebar {
    flex-direction: row;
    overflow-x: auto;
    border-right: 0;
    border-bottom: 1px solid oklch(0.92 0.012 280);
    padding: 0.75rem 1rem;
  }
  .hz-vi-side-item {
    white-space: nowrap;
  }
  .hz-vi-card-copy {
    max-width: 68%;
  }
  .zz-hero {
    padding-top: 6.5rem;
  }
  .hz-menu-toggle {
    display: inline-flex;
  }
  .hz-customer-link,
  .hz-nav-divider {
    display: none;
  }
  .hz-nav {
    display: none;
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 1rem;
    right: 1rem;
    flex-direction: column;
    align-items: stretch;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--hz-line);
    border-radius: 16px;
    padding: 0.65rem;
    box-shadow: 0 16px 36px rgba(19, 20, 26, 0.12);
  }
  .hz-header.open .hz-nav,
  .hz-nav.open {
    display: flex;
  }
}

a:focus-visible,
button:focus-visible,
[role="button"]:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--hz-violet, #5B3EFF);
  outline-offset: 2px;
}

.zz-mpill[role="button"] {
  cursor: pointer;
}

@media (prefers-reduced-motion: reduce) {
  .zz-sky, .zz-aurora, .zz-shoot, .zz-horizon, .zz-orbit-svg, .zz-float, .zz-depth, .zz-node, .zz-rise, .zz-sheen, .zz-eyebrow i, .zz-cta-bg, .zz-reveal, .hz-telemetry-dot, .hz-morph-anim {
    animation: none !important;
    transition: none !important;
  }
  html.hz-motion-ready .zz-reveal {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
  .zz-node, .zz-sheen { opacity: 1; }
  .zz-horizon { transform: translate(-50%, -9%); }
}
