/* ==========================================================================
   奇喵汪谷官网 · 设计系统
   视觉基调：奶油暖光（温馨） + 夜航深蓝（科技感）
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. 设计令牌
   -------------------------------------------------------------------------- */
:root {
  /* 暖色系 —— 温馨 */
  --cream: #faf8f5;
  --cream-deep: #f3ede4;
  --paper: #ffffff;
  --ink: #2b2320;
  --ink-soft: #5c4f48;
  --ink-mute: #8d7f76;
  --line: rgba(43, 35, 32, 0.08);
  --line-strong: rgba(43, 35, 32, 0.14);

  /* 品牌色 */
  --brand: #e07e2e;
  --brand-dark: #c9691d;
  --brand-light: #f2a75b;
  --brand-wash: #fdf1e4;
  --gold: #c8963e;
  --trust: #4e9a68;
  --trust-wash: #eaf4ed;

  /* 冷色系 —— 科技感 */
  --night: #101b28;
  --night-2: #17273a;
  --night-3: #22384f;
  --cyan: #4ac9bd;
  --cyan-soft: #7fdbd2;
  --sky: #6fa8d8;

  /* 渐变 */
  --grad-brand: linear-gradient(135deg, #f2a75b 0%, #e07e2e 52%, #d9701f 100%);
  --grad-night: linear-gradient(165deg, #17273a 0%, #101b28 60%, #0c1620 100%);
  --grad-tech: linear-gradient(120deg, #4ac9bd 0%, #6fa8d8 100%);

  /* 阴影 */
  --shadow-sm: 0 2px 8px rgba(80, 55, 35, 0.06);
  --shadow-md: 0 10px 30px rgba(80, 55, 35, 0.08);
  --shadow-lg: 0 24px 60px rgba(60, 40, 25, 0.12);
  --shadow-glow: 0 0 0 1px rgba(74, 201, 189, 0.22), 0 18px 50px rgba(10, 25, 40, 0.45);

  /* 圆角 */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-pill: 999px;

  /* 版心 */
  --wrap: 1180px;
  --wrap-narrow: 820px;

  /* 字体 */
  --font-sans: "PingFang SC", "HarmonyOS Sans SC", "Source Han Sans SC",
    "Noto Sans SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", "Cascadia Code", Consolas,
    "Liberation Mono", monospace;
}

/* --------------------------------------------------------------------------
   2. 基础重置
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -0.01em;
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection {
  background: rgba(224, 126, 46, 0.22);
}

/* 跳过导航（无障碍） */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  padding: 12px 20px;
  background: var(--brand);
  color: #fff;
  border-radius: 0 0 var(--r-sm) 0;
}
.skip-link:focus {
  left: 0;
}

/* --------------------------------------------------------------------------
   3. 布局工具
   -------------------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 24px;
}

.wrap-narrow {
  max-width: var(--wrap-narrow);
}

.section {
  padding: 92px 0;
  position: relative;
}

.section-tight {
  padding: 64px 0;
}

.section-cream {
  background: var(--cream-deep);
}

.section-paper {
  background: var(--paper);
}

.grid {
  display: grid;
  gap: 24px;
}
.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stack-sm > * + * {
  margin-top: 10px;
}
.stack > * + * {
  margin-top: 18px;
}
.stack-lg > * + * {
  margin-top: 32px;
}

.center {
  text-align: center;
}
.mx-auto {
  margin-inline: auto;
}

/* --------------------------------------------------------------------------
   4. 排版组件
   -------------------------------------------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  background: var(--brand-wash);
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.eyebrow-tech {
  background: rgba(74, 201, 189, 0.12);
  color: var(--cyan-soft);
  border: 1px solid rgba(74, 201, 189, 0.28);
}

.eyebrow-dot::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.h1 {
  font-size: clamp(2.1rem, 5.2vw, 3.5rem);
  line-height: 1.22;
  letter-spacing: -0.02em;
}

.h2 {
  font-size: clamp(1.7rem, 3.6vw, 2.5rem);
  line-height: 1.28;
}

.h3 {
  font-size: clamp(1.15rem, 2vw, 1.4rem);
}

.lead {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--ink-soft);
  line-height: 1.85;
}

.muted {
  color: var(--ink-mute);
}

.small {
  font-size: 14px;
}

.tiny {
  font-size: 13px;
}

.grad-text {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.grad-text-tech {
  background: var(--grad-tech);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-head {
  max-width: 720px;
  margin-bottom: 52px;
}
.section-head.center {
  margin-inline: auto;
}
.section-head .h2 {
  margin-top: 18px;
}
.section-head .lead {
  margin-top: 16px;
}

/* --------------------------------------------------------------------------
   5. 按钮
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--r-pill);
  font-size: 15px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease,
    background-color 0.22s ease, color 0.22s ease, border-color 0.22s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--grad-brand);
  color: #fff;
  box-shadow: 0 8px 22px rgba(224, 126, 46, 0.3);
}
.btn-primary:hover {
  box-shadow: 0 14px 32px rgba(224, 126, 46, 0.38);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost:hover {
  background: var(--paper);
  border-color: var(--brand);
  color: var(--brand-dark);
}

.btn-dark {
  background: var(--night-2);
  color: #fff;
}
.btn-dark:hover {
  background: var(--night-3);
}

.btn-tech {
  background: rgba(74, 201, 189, 0.14);
  color: var(--cyan-soft);
  border-color: rgba(74, 201, 189, 0.4);
}
.btn-tech:hover {
  background: rgba(74, 201, 189, 0.22);
  color: #fff;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--brand-dark);
  transition: gap 0.2s ease;
}
.link-arrow::after {
  content: "→";
  transition: transform 0.2s ease;
}
.link-arrow:hover::after {
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   6. 顶部导航
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 248, 245, 0.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: none;
}
.brand img {
  display: block;
  height: 54px;
  width: auto;
  flex: none;
}
.footer-brand .brand img {
  height: 64px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav-links a {
  padding: 9px 14px;
  border-radius: var(--r-pill);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.2s ease, background-color 0.2s ease;
}
.nav-links a:hover {
  color: var(--ink);
  background: rgba(224, 126, 46, 0.08);
}
.nav-links a[aria-current="page"] {
  color: var(--brand-dark);
  font-weight: 600;
  background: var(--brand-wash);
}

.nav-cta {
  display: flex;
  gap: 10px;
  align-items: center;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-strong);
  background: var(--paper);
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
}
.nav-toggle span::before {
  transform: translateY(-6px);
}
.nav-toggle span::after {
  transform: translateY(6px);
}
.nav-toggle[aria-expanded="true"] span {
  background: transparent;
}
.nav-toggle[aria-expanded="true"] span::before {
  transform: rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span::after {
  transform: rotate(-45deg);
}

/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding: 84px 0 92px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

/* 暖光晕 */
.hero-bg::before,
.hero-bg::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
}
.hero-bg::before {
  width: 520px;
  height: 520px;
  top: -180px;
  right: -120px;
  background: radial-gradient(
    circle,
    rgba(242, 167, 91, 0.55),
    rgba(242, 167, 91, 0)
  );
}
.hero-bg::after {
  width: 460px;
  height: 460px;
  bottom: -220px;
  left: -140px;
  background: radial-gradient(
    circle,
    rgba(74, 201, 189, 0.3),
    rgba(74, 201, 189, 0)
  );
}

/* 科技网格 */
.grid-lines {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
      rgba(43, 35, 32, 0.045) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(43, 35, 32, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(
    ellipse 80% 60% at 50% 40%,
    #000 30%,
    transparent 78%
  );
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 56px;
  align-items: center;
}

.hero-title {
  margin-top: 22px;
}

.hero-lead {
  margin-top: 22px;
  max-width: 560px;
}

.hero-actions {
  margin-top: 34px;
}

.hero-meta {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.hero-meta li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--ink-soft);
}
.hero-meta li::before {
  content: "";
  width: 16px;
  height: 16px;
  flex: none;
  border-radius: 50%;
  background: var(--trust-wash);
  box-shadow: inset 0 0 0 2px var(--trust);
}

/* Hero 视觉卡 */
.hero-visual {
  position: relative;
}

.hero-card {
  background: var(--paper);
  border-radius: var(--r-xl);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  padding: 26px;
  position: relative;
  overflow: hidden;
}
.hero-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: var(--grad-brand);
}

.hero-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.avatar-pet {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--grad-brand);
  display: grid;
  place-items: center;
  font-size: 26px;
  flex: none;
}

.badge-verified {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border-radius: var(--r-pill);
  background: var(--trust-wash);
  color: var(--trust);
  font-size: 12px;
  font-weight: 600;
}

.record-list {
  margin-top: 18px;
}
.record-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 14px;
}
.record-list li:last-child {
  border-bottom: none;
}
.record-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--cream-deep);
  font-size: 15px;
  flex: none;
}
.record-time {
  margin-left: auto;
  color: var(--ink-mute);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.voice-orb {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, #17273a, #22384f);
  color: #dce8f0;
  font-size: 13px;
}
.voice-orb .orb {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--grad-tech);
  flex: none;
  position: relative;
}
.voice-orb .orb::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid rgba(74, 201, 189, 0.5);
  animation: pulse-ring 2.4s ease-out infinite;
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.85);
    opacity: 0.9;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

.hero-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 15px;
  border-radius: var(--r-pill);
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  font-size: 13px;
  font-weight: 600;
  animation: float-y 5.5s ease-in-out infinite;
}
.hero-chip-1 {
  top: -18px;
  left: -22px;
}
.hero-chip-2 {
  bottom: -18px;
  right: -18px;
  animation-delay: -2.6s;
}

@keyframes float-y {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* --------------------------------------------------------------------------
   8. 卡片
   -------------------------------------------------------------------------- */
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.28s ease, box-shadow 0.28s ease,
    border-color 0.28s ease;
  height: 100%;
}

.card-hover:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(224, 126, 46, 0.32);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 22px;
  background: var(--brand-wash);
  margin-bottom: 18px;
}
.card-icon-trust {
  background: var(--trust-wash);
}
.card-icon-tech {
  background: rgba(74, 201, 189, 0.14);
}

.card h3 {
  font-size: 1.08rem;
  margin-bottom: 8px;
}

.card p {
  color: var(--ink-soft);
  font-size: 15px;
}

/* 双业务模块 Slogan 卡 */
.product-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-xl);
  padding: 40px;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.product-card::after {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  top: -150px;
  right: -110px;
  opacity: 0.4;
  filter: blur(60px);
  pointer-events: none;
}
.product-card--breeder::after {
  background: radial-gradient(circle, rgba(200, 150, 62, 0.6), transparent 70%);
}
.product-card--parent::after {
  background: radial-gradient(circle, rgba(242, 167, 91, 0.6), transparent 70%);
}

.product-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-mute);
  letter-spacing: 0.05em;
}
.product-kicker .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
}
.product-card--breeder .product-kicker .dot {
  background: var(--gold);
}

.product-name {
  font-size: clamp(1.5rem, 2.6vw, 1.95rem);
  margin-top: 14px;
  position: relative;
  z-index: 1;
}

/* 关键：slogan 大字展示 */
.slogan {
  margin-top: 18px;
  font-size: clamp(1.35rem, 2.8vw, 1.9rem);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.01em;
  position: relative;
  z-index: 1;
  padding-left: 18px;
  border-left: 4px solid transparent;
  border-image: var(--grad-brand) 1;
}
.product-card--breeder .slogan {
  border-image: linear-gradient(180deg, #dcae55, #c8963e) 1;
}

.product-desc {
  margin-top: 18px;
  color: var(--ink-soft);
  position: relative;
  z-index: 1;
}

.feature-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
  position: relative;
  z-index: 1;
}
.feature-pills li {
  padding: 6px 13px;
  border-radius: var(--r-pill);
  background: var(--cream-deep);
  font-size: 13px;
  color: var(--ink-soft);
  font-weight: 500;
}

.product-card .btn-row {
  margin-top: auto;
  padding-top: 30px;
  position: relative;
  z-index: 1;
}

/* --------------------------------------------------------------------------
   9. 流程链路
   -------------------------------------------------------------------------- */
.flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  counter-reset: flow;
}

.flow-step {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px 22px;
}
.flow-step::before {
  counter-increment: flow;
  content: counter(flow, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--brand);
  letter-spacing: 0.08em;
}
.flow-step h3 {
  font-size: 1.05rem;
  margin: 10px 0 8px;
}
.flow-step p {
  font-size: 14px;
  color: var(--ink-soft);
}
.flow-step .tag {
  display: inline-block;
  margin-top: 14px;
  font-size: 12px;
  padding: 3px 10px;
  border-radius: var(--r-pill);
  background: var(--cream-deep);
  color: var(--ink-mute);
}

.flow-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -14px;
  width: 8px;
  height: 8px;
  border-top: 2px solid var(--line-strong);
  border-right: 2px solid var(--line-strong);
  transform: rotate(45deg) translateY(-50%);
}

/* --------------------------------------------------------------------------
   10. 深色科技区块
   -------------------------------------------------------------------------- */
.section-dark {
  background: var(--grad-night);
  color: #e6edf3;
  position: relative;
  overflow: hidden;
  padding: 100px 0;
}

.section-dark .h2,
.section-dark h3 {
  color: #f4f8fb;
}
.section-dark .lead,
.section-dark p {
  color: #a8bccd;
}
.section-dark .muted {
  color: #7e94a7;
}

.dark-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(111, 168, 216, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(111, 168, 216, 0.07) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 10%, transparent 75%);
  -webkit-mask-image: radial-gradient(
    ellipse 90% 70% at 50% 0%,
    #000 10%,
    transparent 75%
  );
  pointer-events: none;
}

.dark-glow {
  position: absolute;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  filter: blur(110px);
  pointer-events: none;
  background: radial-gradient(circle, rgba(74, 201, 189, 0.2), transparent 70%);
  top: -260px;
  left: 50%;
  transform: translateX(-50%);
}

.section-dark .wrap {
  position: relative;
  z-index: 1;
}

.dark-card {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--r-lg);
  padding: 26px;
  height: 100%;
  transition: border-color 0.28s ease, background-color 0.28s ease,
    transform 0.28s ease;
}
.dark-card:hover {
  border-color: rgba(74, 201, 189, 0.42);
  background: rgba(74, 201, 189, 0.07);
  transform: translateY(-4px);
}
.dark-card h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
}
.dark-card p {
  font-size: 14.5px;
}
.dark-card .kbd {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--cyan-soft);
  letter-spacing: 0.04em;
  display: block;
  margin-bottom: 12px;
}

/* AI 管线 */
.pipeline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  padding: 24px;
  border-radius: var(--r-lg);
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--font-mono);
  font-size: 13px;
}
.pipeline-node {
  padding: 8px 14px;
  border-radius: var(--r-sm);
  background: rgba(74, 201, 189, 0.1);
  border: 1px solid rgba(74, 201, 189, 0.28);
  color: #cdeeea;
  white-space: nowrap;
}
.pipeline-node.is-human {
  background: rgba(242, 167, 91, 0.12);
  border-color: rgba(242, 167, 91, 0.35);
  color: #f6d5ae;
}
.pipeline-sep {
  color: #55708a;
}

/* 代码/术语块 */
.term-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
}
.term-table th,
.term-table td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.term-table th {
  font-weight: 600;
  white-space: nowrap;
  color: var(--ink);
}
.term-table td {
  color: var(--ink-soft);
}
.term-table tbody tr:last-child th,
.term-table tbody tr:last-child td {
  border-bottom: none;
}
.term-table code {
  font-family: var(--font-mono);
  font-size: 13px;
  background: var(--cream-deep);
  padding: 2px 7px;
  border-radius: 5px;
  color: var(--brand-dark);
}
.table-scroll {
  overflow-x: auto;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}

/* --------------------------------------------------------------------------
   11. 数据 / 引用 / 特色条
   -------------------------------------------------------------------------- */
.stat-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.stat {
  text-align: center;
  padding: 26px 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
.stat b {
  display: block;
  font-size: clamp(1.7rem, 3.4vw, 2.3rem);
  line-height: 1.1;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-variant-numeric: tabular-nums;
}
.stat span {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  color: var(--ink-soft);
}

.quote {
  position: relative;
  padding: 34px 38px;
  background: var(--paper);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  font-size: clamp(1.05rem, 1.9vw, 1.25rem);
  line-height: 1.8;
  font-weight: 500;
}
.quote::before {
  content: "\201C";
  position: absolute;
  top: 4px;
  left: 18px;
  font-size: 68px;
  line-height: 1;
  color: rgba(224, 126, 46, 0.18);
  font-family: Georgia, serif;
}
.quote cite {
  display: block;
  margin-top: 16px;
  font-size: 14px;
  font-style: normal;
  color: var(--ink-mute);
  font-weight: 400;
}

.checklist li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 9px 0;
  color: var(--ink-soft);
}
.checklist li::before {
  content: "✓";
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 3px;
  border-radius: 50%;
  background: var(--trust-wash);
  color: var(--trust);
  font-size: 12px;
  font-weight: 700;
  display: grid;
  place-items: center;
}
.section-dark .checklist li {
  color: #a8bccd;
}
.section-dark .checklist li::before {
  background: rgba(74, 201, 189, 0.16);
  color: var(--cyan-soft);
}

.crosslist li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 9px 0;
  color: var(--ink-mute);
}
.crosslist li::before {
  content: "✕";
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 3px;
  border-radius: 50%;
  background: rgba(43, 35, 32, 0.06);
  color: var(--ink-mute);
  font-size: 11px;
  font-weight: 700;
  display: grid;
  place-items: center;
}

/* 两栏图文 */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split-media {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 30px;
  box-shadow: var(--shadow-md);
}
.section-dark .split-media {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-glow);
}

/* --------------------------------------------------------------------------
   12. FAQ
   -------------------------------------------------------------------------- */
.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color 0.24s ease, box-shadow 0.24s ease;
}
.faq-item[open] {
  border-color: rgba(224, 126, 46, 0.35);
  box-shadow: var(--shadow-sm);
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 56px 20px 24px;
  font-weight: 600;
  font-size: 16px;
  position: relative;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: "";
  position: absolute;
  right: 24px;
  top: 27px;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--brand);
  border-bottom: 2px solid var(--brand);
  transform: rotate(45deg);
  transition: transform 0.25s ease;
}
.faq-item[open] summary::after {
  transform: rotate(-135deg);
  top: 30px;
}
.faq-item .faq-body {
  padding: 0 24px 22px;
  color: var(--ink-soft);
  font-size: 15px;
}
.faq-item .faq-body > * + * {
  margin-top: 12px;
}

/* --------------------------------------------------------------------------
   13. CTA 区
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-xl);
  padding: 60px 48px;
  background: var(--grad-night);
  color: #fff;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.cta-band .h2 {
  color: #fff;
}
.cta-band p {
  color: #a8bccd;
  margin-top: 16px;
  max-width: 620px;
  margin-inline: auto;
}
.cta-band .btn-row {
  justify-content: center;
  margin-top: 32px;
}

.qr-hint {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  padding: 10px 18px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 14px;
  color: #cddbe6;
}

/* --------------------------------------------------------------------------
   14. 页脚
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--cream-deep);
  border-top: 1px solid var(--line);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 40px;
}

.footer-brand p {
  margin-top: 16px;
  font-size: 14px;
  color: var(--ink-soft);
  max-width: 300px;
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--ink);
}
.footer-col li {
  margin-bottom: 10px;
}
.footer-col a {
  font-size: 14px;
  color: var(--ink-soft);
  transition: color 0.2s ease;
}
.footer-col a:hover {
  color: var(--brand-dark);
}

.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 13px;
  color: var(--ink-mute);
}
.footer-bottom a {
  color: inherit;
}
.footer-bottom a:hover {
  color: var(--brand-dark);
}

/* --------------------------------------------------------------------------
   15. 面包屑
   -------------------------------------------------------------------------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: 13px;
  color: var(--ink-mute);
  padding: 18px 0 0;
}
.breadcrumb li:not(:last-child)::after {
  content: "/";
  margin-left: 8px;
  color: var(--line-strong);
}
.breadcrumb a:hover {
  color: var(--brand-dark);
}

/* 页面头部（内页） */
.page-hero {
  position: relative;
  padding: 48px 0 70px;
  overflow: hidden;
}
.page-hero .wrap {
  position: relative;
  z-index: 1;
}
.page-hero-title {
  margin-top: 18px;
  max-width: 780px;
}
.page-hero .lead {
  margin-top: 20px;
  max-width: 680px;
}

/* --------------------------------------------------------------------------
   15b. 深色内页：组件在暗色语境下的适配
   -------------------------------------------------------------------------- */
.page-hero.section-dark {
  padding: 40px 0 88px;
}
.page-hero.section-dark .breadcrumb {
  color: #7e94a7;
}
.page-hero.section-dark .breadcrumb a:hover {
  color: var(--cyan-soft);
}
.page-hero.section-dark .breadcrumb li:not(:last-child)::after {
  color: rgba(255, 255, 255, 0.2);
}

.section-dark .hero-meta {
  border-top-color: rgba(255, 255, 255, 0.12);
}
.section-dark .hero-meta li {
  color: #a8bccd;
}
.section-dark .hero-meta li::before {
  background: rgba(74, 201, 189, 0.16);
  box-shadow: inset 0 0 0 2px var(--cyan);
}

.section-dark .card,
.section-dark .stat,
.section-dark .flow-step,
.section-dark .faq-item,
.section-dark .quote,
.section-dark .table-scroll,
.section-dark .plane-row {
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: none;
}
.section-dark .card h3,
.section-dark .flow-step h3 {
  color: #f4f8fb;
}
.section-dark .card p,
.section-dark .flow-step p,
.section-dark .stat span {
  color: #a8bccd;
}
.section-dark .card-icon:not(.card-icon-trust):not(.card-icon-tech) {
  background: rgba(74, 201, 189, 0.14);
}
.section-dark .flow-step::before {
  color: var(--cyan-soft);
}
.section-dark .flow-step .tag {
  background: rgba(255, 255, 255, 0.07);
  color: #8fa6b8;
}
.section-dark .flow-step:not(:last-child)::after {
  border-color: rgba(255, 255, 255, 0.22);
}
.section-dark .stat b {
  background: var(--grad-tech);
  -webkit-background-clip: text;
  background-clip: text;
}

.section-dark .faq-item summary {
  color: #f4f8fb;
}
.section-dark .faq-item summary::after {
  border-color: var(--cyan-soft);
}
.section-dark .faq-item .faq-body {
  color: #a8bccd;
}
.section-dark .faq-item[open] {
  border-color: rgba(74, 201, 189, 0.4);
}

.section-dark .quote {
  color: #e6edf3;
}
.section-dark .quote::before {
  color: rgba(74, 201, 189, 0.25);
}
.section-dark .quote cite {
  color: #7e94a7;
}

.section-dark .term-table th {
  color: #e6edf3;
}
.section-dark .term-table td {
  color: #a8bccd;
}
.section-dark .term-table th,
.section-dark .term-table td {
  border-bottom-color: rgba(255, 255, 255, 0.1);
}
.section-dark .term-table code {
  background: rgba(74, 201, 189, 0.12);
  color: var(--cyan-soft);
}

.section-dark .btn-ghost {
  color: #e6edf3;
  border-color: rgba(255, 255, 255, 0.22);
}
.section-dark .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--cyan);
  color: #fff;
}
.section-dark .link-arrow {
  color: var(--cyan-soft);
}
.section-dark .eyebrow:not(.eyebrow-tech) {
  background: rgba(242, 167, 91, 0.12);
  color: #f6c88a;
}

/* 代码风格展示卡 */
.code-card {
  background: rgba(4, 10, 16, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r-lg);
  padding: 20px 22px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.9;
  color: #b8cbd9;
  overflow-x: auto;
  box-shadow: var(--shadow-glow);
}
.code-head {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.code-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex: none;
}
.code-title {
  margin-left: 10px;
  font-size: 11.5px;
  color: #7e94a7;
  letter-spacing: 0.08em;
}
.c-key {
  color: #7fdbd2;
}
.c-str {
  color: #f6c88a;
}
.c-cmt {
  color: #5f7789;
}
.c-punc {
  color: #6b8399;
}

/* 层级图（三个平面） */
.plane {
  display: grid;
  gap: 14px;
}
.plane-row {
  display: grid;
  grid-template-columns: 148px 1fr;
  gap: 20px;
  align-items: center;
  padding: 20px 22px;
  border-radius: var(--r-lg);
  background: var(--paper);
  border: 1px solid var(--line);
}
.plane-row .plane-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  padding: 7px 12px;
  border-radius: var(--r-pill);
  text-align: center;
  border: 1px solid;
}
.plane-row h3 {
  font-size: 1.02rem;
  margin-bottom: 6px;
}
.plane-row p {
  font-size: 14.5px;
  color: var(--ink-soft);
}

/* 浅色语境下的平面标签 */
.plane-meta .plane-label {
  color: var(--brand-dark);
  border-color: rgba(224, 126, 46, 0.36);
  background: var(--brand-wash);
}
.plane-gen .plane-label {
  color: #16786f;
  border-color: rgba(74, 201, 189, 0.5);
  background: rgba(74, 201, 189, 0.14);
}
.plane-run .plane-label {
  color: #2c5f8d;
  border-color: rgba(111, 168, 216, 0.5);
  background: rgba(111, 168, 216, 0.14);
}

/* 深色语境下的平面标签 */
.section-dark .plane-row h3 {
  color: #f4f8fb;
}
.section-dark .plane-row p {
  color: #a8bccd;
}
.section-dark .plane-meta .plane-label {
  color: #f6c88a;
  border-color: rgba(242, 167, 91, 0.4);
  background: rgba(242, 167, 91, 0.1);
}
.section-dark .plane-gen .plane-label {
  color: var(--cyan-soft);
  border-color: rgba(74, 201, 189, 0.42);
  background: rgba(74, 201, 189, 0.1);
}
.section-dark .plane-run .plane-label {
  color: #a8c6e0;
  border-color: rgba(111, 168, 216, 0.4);
  background: rgba(111, 168, 216, 0.1);
}

@media (max-width: 620px) {
  .plane-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .plane-row .plane-label {
    justify-self: start;
  }
}

/* --------------------------------------------------------------------------
   16. 滚动进入动画
   -------------------------------------------------------------------------- */
/* 只有在 JS 可用时才隐藏初始状态，否则无脚本环境（含部分爬虫）会看不到内容 */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}
.js .reveal-d1 {
  transition-delay: 0.08s;
}
.js .reveal-d2 {
  transition-delay: 0.16s;
}
.js .reveal-d3 {
  transition-delay: 0.24s;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   17. 响应式
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero-visual {
    max-width: 480px;
  }
  .hero-chip-1 {
    left: -12px;
  }
  .hero-chip-2 {
    right: -8px;
  }
  .grid-4,
  .stat-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .flow-step:not(:last-child)::after {
    display: none;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .split {
    gap: 40px;
  }
}

@media (max-width: 860px) {
  .nav-links {
    position: fixed;
    inset: 72px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 16px 20px 24px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
  }
  .nav-links.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .nav-links a {
    padding: 13px 14px;
    font-size: 16px;
  }
  .nav-toggle {
    display: inline-flex;
    position: relative;
  }
  .nav-cta .btn {
    display: none;
  }
  .grid-2,
  .grid-3,
  .split {
    grid-template-columns: 1fr;
  }
  .section {
    padding: 68px 0;
  }
  .section-dark {
    padding: 72px 0;
  }
  .product-card {
    padding: 32px 26px;
  }
  .cta-band {
    padding: 44px 26px;
  }
}

@media (max-width: 560px) {
  .wrap {
    padding-inline: 18px;
  }
  .brand img {
    height: 46px;
  }
  .footer-brand .brand img {
    height: 56px;
  }
  .grid-4,
  .stat-row,
  .flow {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero {
    padding: 56px 0 68px;
  }
  .hero-chip {
    display: none;
  }
  .card,
  .dark-card {
    padding: 22px;
  }
  .quote {
    padding: 28px 22px 24px;
  }
  .btn {
    padding: 12px 20px;
    font-size: 14.5px;
  }
  .faq-item summary {
    padding: 17px 48px 17px 18px;
    font-size: 15px;
  }
  .faq-item .faq-body {
    padding: 0 18px 18px;
  }
}

/* 打印 */
@media print {
  .site-header,
  .site-footer,
  .cta-band,
  .nav-toggle {
    display: none;
  }
  body {
    background: #fff;
  }
}
