/* =============================================================================
   杭州星尘引力科技有限公司 — 官方主样式
   设计语言:暗色基调 + 琥珀金点缀 + 电影级克制
   ============================================================================= */

/* ---------------------------------------------------------------------------
   1. 设计令牌 (Design Tokens)
   --------------------------------------------------------------------------- */
:root {
  /* 色彩 — 主背景层级 */
  --bg-0: #0A0908;            /* 深空黑 (主背景) */
  --bg-1: #14110F;            /* 次表面 */
  --bg-2: #1A1714;            /* 卡片表面 */
  --bg-3: #221D19;            /* 浮起卡片 */
  --line: rgba(245, 241, 232, 0.08);   /* 描边 */
  --line-strong: rgba(245, 241, 232, 0.16);

  /* 文字 */
  --text-1: #F5F1E8;          /* 主文字 (暖白) */
  --text-2: #B8AE9D;          /* 次文字 */
  --text-3: #847B6E;          /* 弱文字 */
  --text-4: #5A5347;          /* 极弱文字 */

  /* 品牌 — 琥珀金 (主品牌色) */
  --brand: #D4A574;          /* 主 */
  --brand-bright: #F2C28A;    /* 亮 (高亮) */
  --brand-dim: #A8784A;      /* 暗 */
  --brand-soft: rgba(212, 165, 116, 0.12);
  --brand-glow: rgba(212, 165, 116, 0.4);

  /* 字体栈 */
  --font-display: "Fraunces", "Songti SC", "Source Han Serif SC", "Noto Serif SC", ui-serif, Georgia, serif;
  --font-body: "Bricolage Grotesque", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", ui-monospace, "Cascadia Mono", "Roboto Mono", Menlo, Consolas, monospace;

  /* 字号 — Modular Scale (1.25) + fluid clamp */
  --fs-xs: clamp(0.72rem, 0.68rem + 0.2vw, 0.78rem);
  --fs-sm: clamp(0.82rem, 0.78rem + 0.2vw, 0.88rem);
  --fs-base: clamp(0.95rem, 0.9rem + 0.25vw, 1.025rem);
  --fs-lg: clamp(1.1rem, 1.05rem + 0.3vw, 1.2rem);
  --fs-xl: clamp(1.35rem, 1.25rem + 0.5vw, 1.55rem);
  --fs-2xl: clamp(1.75rem, 1.5rem + 1.25vw, 2.25rem);
  --fs-3xl: clamp(2.25rem, 1.85rem + 2vw, 3rem);
  --fs-4xl: clamp(3rem, 2.4rem + 3vw, 4.25rem);
  --fs-5xl: clamp(3.75rem, 2.8rem + 4.5vw, 5.75rem);

  /* 间距 — fluid */
  --space-1: clamp(0.4rem, 0.35rem + 0.25vw, 0.5rem);
  --space-2: clamp(0.65rem, 0.6rem + 0.3vw, 0.85rem);
  --space-3: clamp(1rem, 0.9rem + 0.5vw, 1.25rem);
  --space-4: clamp(1.5rem, 1.3rem + 1vw, 2rem);
  --space-5: clamp(2rem, 1.7rem + 1.5vw, 2.75rem);
  --space-6: clamp(3rem, 2.5rem + 2.5vw, 4.25rem);
  --space-7: clamp(4.5rem, 3.5rem + 5vw, 7rem);
  --space-8: clamp(6rem, 4.5rem + 7vw, 9rem);

  /* 容器 */
  --container-w: 1200px;
  --container-pad: clamp(1.25rem, 1rem + 2vw, 2.5rem);

  /* 半径 */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  /* 阴影 */
  --shadow-1: 0 1px 2px rgba(0,0,0,.2), 0 8px 24px rgba(0,0,0,.18);
  --shadow-2: 0 4px 16px rgba(0,0,0,.25), 0 24px 60px rgba(0,0,0,.35);
  --glow: 0 0 0 1px var(--brand-soft), 0 8px 32px var(--brand-glow);

  /* 动效 — 100/300/500 规则 */
  --dur-fast: 120ms;
  --dur-base: 280ms;
  --dur-mid: 480ms;
  --dur-slow: 720ms;
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-out-quint: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

/* ---------------------------------------------------------------------------
   2. 重置 & 基础
   --------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.6;
  font-feature-settings: "ss01", "ss02", "kern", "calt";
  color: var(--text-1);
  background: var(--bg-0);
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* 暗色基础上的微噪点叠加,提升质感 */
  background-image:
    radial-gradient(ellipse at top, rgba(212, 165, 116, 0.05) 0%, transparent 50%),
    radial-gradient(ellipse at bottom, rgba(168, 120, 74, 0.03) 0%, transparent 50%);
  background-attachment: fixed;
}

/* 中文字符优化 */
:lang(zh-CN), :lang(zh) body { font-feature-settings: "palt"; }

img, svg, video, canvas { display: block; max-width: 100%; height: auto; }
svg { fill: currentColor; }

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-out-quart);
}

button { background: none; border: none; font: inherit; cursor: pointer; color: inherit; }
ul, ol { list-style: none; }

::selection {
  background: var(--brand);
  color: var(--bg-0);
}

/* 自定义焦点环 */
:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------------------------------------------------------------------------
   3. 排版
   --------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-1);
  font-variation-settings: "opsz" 14, "SOFT" 30;
}

em {
  font-style: italic;
  font-family: var(--font-display);
  color: var(--brand);
  font-variation-settings: "opsz" 24, "SOFT" 50, "WONK" 1;
  font-weight: 400;
}

p {
  color: var(--text-2);
  line-height: 1.65;
}

strong { color: var(--text-1); font-weight: 600; }

code, .mono {
  font-family: var(--font-mono);
  font-size: 0.92em;
}

/* ---------------------------------------------------------------------------
   4. 布局原语
   --------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 var(--container-pad);
  position: relative;
}

/* ---------------------------------------------------------------------------
   5. 顶部导航
   --------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: var(--space-3) 0;
  background: linear-gradient(to bottom, rgba(10,9,8,0.85) 0%, rgba(10,9,8,0.6) 60%, transparent 100%);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  transition: background var(--dur-base) var(--ease-out-quart);
}

.site-header.is-scrolled {
  background: rgba(10, 9, 8, 0.85);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

.brand {
  display: inline-flex;
  align-items: center;
  color: var(--text-1);
  flex-shrink: 0;
}
.brand-mark { width: auto; height: 50px; }

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}
.nav a {
  font-size: var(--fs-sm);
  color: var(--text-2);
  position: relative;
  padding: var(--space-1) 0;
  transition: color var(--dur-fast) var(--ease-out-quart);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 0;
  height: 1px;
  background: var(--brand);
  transition: width var(--dur-base) var(--ease-out-quart), left var(--dur-base) var(--ease-out-quart);
}
.nav a:hover { color: var(--text-1); }
.nav a:hover::after { width: 100%; left: 0; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.85em 1.5em;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 500;
  letter-spacing: 0.01em;
  transition:
    transform var(--dur-fast) var(--ease-out-quart),
    background var(--dur-fast) var(--ease-out-quart),
    border-color var(--dur-fast) var(--ease-out-quart),
    color var(--dur-fast) var(--ease-out-quart),
    box-shadow var(--dur-base) var(--ease-out-quart);
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: var(--brand);
  color: var(--bg-0);
  box-shadow: 0 4px 24px var(--brand-glow), inset 0 1px 0 rgba(255,255,255,0.2);
}
.btn-primary:hover {
  background: var(--brand-bright);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--brand-glow), inset 0 1px 0 rgba(255,255,255,0.3);
}

.btn-ghost {
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--text-1);
}
.btn-ghost:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.btn-link {
  background: transparent;
  padding: 0.85em 0;
  color: var(--text-2);
}
.btn-link:hover { color: var(--brand); }

/* ---------------------------------------------------------------------------
   6. Hero
   --------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: clamp(560px, 100vh, 920px);
  min-height: clamp(560px, 100dvh, 920px);
  padding: clamp(6rem, 5rem + 4vw, 9rem) 0 var(--space-6);
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0.7;
}

.hero-grid {
  position: absolute;
  inset: -20%;
  z-index: -1;
  background-image:
    linear-gradient(to right, rgba(212, 165, 116, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(212, 165, 116, 0.04) 1px, transparent 1px);
  background-size: clamp(40px, 5vw, 80px) clamp(40px, 5vw, 80px);
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
  animation: gridDrift 30s linear infinite;
}

@keyframes gridDrift {
  to { background-position: 80px 80px; }
}

.hero-vignette {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(ellipse at 50% 100%, var(--bg-0) 0%, transparent 50%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  width: 100%;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.5em 1em;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  background: rgba(20, 17, 15, 0.6);
  backdrop-filter: blur(8px);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.15em;
  color: var(--text-2);
  text-transform: uppercase;
  margin-bottom: var(--space-4);
}
.eyebrow-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--brand-bright);
  box-shadow: 0 0 12px var(--brand-bright);
  animation: pulse 2.4s var(--ease-in-out) infinite;
}
.eyebrow-sep { opacity: 0.4; }

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: var(--fs-5xl);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--text-1);
  margin-bottom: var(--space-4);
  font-variation-settings: "opsz" 96, "SOFT" 0;
}
.ht-line {
  display: block;
  overflow: hidden;
}
.ht-line em {
  font-style: italic;
  color: var(--brand);
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
  font-weight: 400;
}

.hero-sub {
  font-size: var(--fs-lg);
  color: var(--text-2);
  max-width: 580px;
  margin-bottom: var(--space-5);
  line-height: 1.55;
}

.hero-meta {
  margin-bottom: var(--space-5);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: var(--space-3) 0;
  max-width: 640px;
}
.meta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}
.meta-grid div { display: flex; flex-direction: column; gap: 4px; }
.meta-grid dt {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  color: var(--text-3);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.meta-grid dd {
  font-size: var(--fs-sm);
  color: var(--text-1);
  font-weight: 500;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-7);
}

.scroll-cue {
  position: absolute;
  bottom: -1.5rem;
  left: 0;
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.2em;
  color: var(--text-3);
}
.scroll-cue-line {
  display: inline-block;
  width: 1px;
  height: 28px;
  background: linear-gradient(to bottom, var(--brand), transparent);
  animation: scrollLine 2s var(--ease-in-out) infinite;
}
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ---------------------------------------------------------------------------
   7. Section 通用
   --------------------------------------------------------------------------- */
section { position: relative; }

.kicker {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  color: var(--brand);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: var(--space-3);
}

.section-head {
  margin-bottom: var(--space-6);
  max-width: 820px;
}

.section-title {
  font-size: var(--fs-4xl);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 400;
  color: var(--text-1);
  margin-bottom: var(--space-4);
  font-variation-settings: "opsz" 80, "SOFT" 20;
}
.section-title em {
  font-style: italic;
  color: var(--brand);
}

.section-lede {
  font-size: var(--fs-lg);
  color: var(--text-2);
  max-width: 640px;
  line-height: 1.55;
}

/* ---------------------------------------------------------------------------
   8. About
   --------------------------------------------------------------------------- */
.about { padding: var(--space-7) 0; }

.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--space-6);
  align-items: start;
  padding-top: var(--space-4);
  border-top: 1px solid var(--line);
}

.about-lede p {
  font-size: var(--fs-lg);
  line-height: 1.65;
  color: var(--text-2);
  margin-bottom: var(--space-3);
}
.about-lede p:first-child::first-letter {
  font-family: var(--font-display);
  font-size: 3.5em;
  float: left;
  line-height: 0.9;
  margin: 0.05em 0.1em 0 -0.05em;
  color: var(--brand);
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
}

/* ---------------------------------------------------------------------------
   9. Products
   --------------------------------------------------------------------------- */
.products { padding: var(--space-7) 0; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
  align-items: stretch;
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: linear-gradient(160deg, var(--bg-2) 0%, var(--bg-1) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  overflow: hidden;
  transition:
    transform var(--dur-mid) var(--ease-out-quart),
    border-color var(--dur-base) var(--ease-out-quart),
    box-shadow var(--dur-mid) var(--ease-out-quart);
  transform-style: preserve-3d;
  will-change: transform;
}

.product-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 0%), var(--brand-soft) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--dur-base) var(--ease-out-quart);
  pointer-events: none;
}

.product-card:hover {
  border-color: var(--brand-dim);
  box-shadow: var(--shadow-2), 0 0 0 1px var(--brand-soft);
}
.product-card:hover::before { opacity: 1; }

.product-link {
  position: absolute;
  inset: 0;
  z-index: 2;
}
.product-link:focus-visible ~ .product-foot { color: var(--brand); }

.product-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-3);
  position: relative;
  z-index: 1;
}
.product-num {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  color: var(--text-3);
  letter-spacing: 0.1em;
}
.product-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.1em;
  color: var(--brand);
  text-transform: uppercase;
}
.product-status .dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--brand-bright);
  box-shadow: 0 0 8px var(--brand-bright);
}
.product-status--soon { color: var(--text-3); }
.product-status--soon .dot {
  background: var(--text-3);
  box-shadow: none;
  animation: pulse 3s var(--ease-in-out) infinite;
}

.product-head {
  margin-bottom: var(--space-3);
  position: relative;
  z-index: 1;
}
.product-name {
  font-family: var(--font-display);
  font-size: var(--fs-2xl);
  font-weight: 500;
  color: var(--text-1);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 6px;
  font-variation-settings: "opsz" 48, "SOFT" 20;
}
.product-name-en {
  font-family: var(--font-mono);
  font-size: 0.45em;
  color: var(--brand);
  font-weight: 400;
  vertical-align: middle;
  letter-spacing: 0.05em;
  margin-left: 4px;
}
.product-domain {
  font-family: var(--font-mono);
  font-size: var(--fs-sm);
  color: var(--text-3);
}

.product-desc {
  font-size: var(--fs-sm);
  color: var(--text-2);
  line-height: 1.6;
  margin-bottom: var(--space-4);
  flex-grow: 1;
  position: relative;
  z-index: 1;
}

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: var(--space-4);
  position: relative;
  z-index: 1;
}
.product-tags li {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  color: var(--text-2);
  padding: 4px 10px;
  background: rgba(212, 165, 116, 0.06);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.product-foot {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.12em;
  color: var(--text-2);
  text-transform: uppercase;
  padding-top: var(--space-3);
  border-top: 1px solid var(--line);
  position: relative;
  z-index: 1;
  transition: color var(--dur-base) var(--ease-out-quart);
}
.product-card:hover .product-foot { color: var(--brand); }
.product-card:hover .product-foot svg { transform: translate(2px, -2px); }
.product-foot svg { transition: transform var(--dur-base) var(--ease-out-quart); }

.product-card--ghost {
  background: linear-gradient(160deg, transparent 0%, var(--bg-1) 100%);
  border-style: dashed;
  border-color: var(--line-strong);
}
.product-card--ghost:hover {
  border-style: solid;
  border-color: var(--brand-dim);
}

/* ---------------------------------------------------------------------------
   10. Capabilities
   --------------------------------------------------------------------------- */
.capabilities { padding: var(--space-7) 0; }

.cap-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: var(--space-6);
}

.cap-card {
  background: var(--bg-1);
  padding: var(--space-4);
  transition: background var(--dur-base) var(--ease-out-quart);
  position: relative;
}
.cap-card:hover {
  background: var(--bg-2);
}
.cap-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 0;
  height: 1px;
  background: var(--brand);
  transition: width var(--dur-mid) var(--ease-out-quart);
}
.cap-card:hover::before { width: 100%; }

.cap-num {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  color: var(--brand);
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: var(--space-3);
}

.cap-title {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  font-weight: 500;
  color: var(--text-1);
  margin-bottom: var(--space-2);
  letter-spacing: -0.01em;
  font-variation-settings: "opsz" 32, "SOFT" 30;
}

.cap-desc {
  font-size: var(--fs-sm);
  color: var(--text-2);
  line-height: 1.6;
  margin-bottom: var(--space-3);
}

.cap-list li {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  color: var(--text-3);
  padding: 4px 0;
  border-top: 1px dashed var(--line);
  position: relative;
  padding-left: 16px;
}
.cap-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--brand);
  opacity: 0.6;
}

/* 对比表 */
.cap-table-wrap {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow-x: auto;
  background: var(--bg-1);
}
.cap-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--fs-sm);
}
.cap-table caption {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  color: var(--text-3);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-align: left;
  padding: var(--space-3) var(--space-4);
  border-bottom: 1px solid var(--line);
}
.cap-table th, .cap-table td {
  text-align: left;
  padding: var(--space-3) var(--space-4);
  border-bottom: 1px solid var(--line);
}
.cap-table thead th {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--text-1);
  background: var(--bg-2);
  font-size: var(--fs-sm);
}
.cap-table thead th:first-child { background: transparent; }
.cap-table tbody th {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: 400;
  color: var(--text-2);
  letter-spacing: 0.05em;
  width: 32%;
}
.cap-table tbody td {
  font-family: var(--font-mono);
  font-size: var(--fs-base);
  text-align: center;
  width: 22.66%;
}
.cap-table tbody tr:last-child th,
.cap-table tbody tr:last-child td { border-bottom: none; }
.check { color: var(--brand); font-size: 1.2em; }
.dot-c { color: var(--text-4); font-size: 0.8em; opacity: 0.5; }

/* ---------------------------------------------------------------------------
   10.5 Services - 企业级研发与 AI 落地服务
   --------------------------------------------------------------------------- */
.services { padding: var(--space-7) 0; border-top: 1px solid var(--line-soft); }

.svc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
}

.svc-card {
  position: relative;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: var(--space-5) var(--space-4);
  transition: border-color var(--dur-base) var(--ease-out-quart),
              background var(--dur-base) var(--ease-out-quart);
  display: flex;
  flex-direction: column;
}
.svc-card:hover {
  border-color: var(--brand);
  background: var(--bg-2);
}
.svc-num {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: var(--brand);
  letter-spacing: 1px;
  margin-bottom: var(--space-3);
  padding: 0.2em 0.6em;
  border: 1px solid var(--brand-soft);
  border-radius: var(--radius-sm);
}
.svc-title {
  font-family: 'Fraunces', 'Source Han Serif SC', serif;
  font-size: clamp(1.5rem, 1.2rem + 1vw, 1.85rem);
  font-weight: 500;
  margin-bottom: 0.4em;
  letter-spacing: -0.01em;
  color: var(--text-1);
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.5em;
}
.svc-title-en {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 1.5px;
  color: var(--text-4);
  text-transform: uppercase;
}
.svc-desc {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-2);
  margin-bottom: var(--space-5);
  max-width: 56ch;
}
.svc-divider {
  height: 1px;
  background: var(--line);
  margin: 0 0 var(--space-3);
}
.svc-tags-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-4);
  margin-bottom: var(--space-3);
}
.svc-tags {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.svc-tags li {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  letter-spacing: 0.3px;
  padding: 0.45em 0.9em;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--text-2);
  background: var(--bg-0);
  white-space: nowrap;
  transition: border-color var(--dur-base), color var(--dur-base), background var(--dur-base);
}
.svc-card:hover .svc-tags li {
  border-color: var(--line-2);
  color: var(--text-1);
  background: var(--bg-2);
}

/* ---------------------------------------------------------------------------
   10.6 OPC - 一人公司专项服务
   --------------------------------------------------------------------------- */
.opc {
  padding: var(--space-7) 0;
  background: linear-gradient(180deg, transparent 0%, rgba(212,165,116,0.04) 50%, transparent 100%);
  border-top: 1px solid var(--line-soft);
}
.opc .section-title em {
  font-style: italic;
  color: var(--brand-bright);
}

.opc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}

.opc-card {
  position: relative;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: var(--space-5) var(--space-4);
  transition: border-color var(--dur-base) var(--ease-out-quart),
              transform var(--dur-base) var(--ease-out-quart);
  display: flex;
  flex-direction: column;
}
.opc-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, var(--brand-soft), transparent 60%);
  opacity: 0;
  transition: opacity var(--dur-slow) var(--ease-out-quart);
  pointer-events: none;
}
.opc-card:hover {
  border-color: var(--brand);
  transform: translateY(-2px);
}
.opc-card:hover::after { opacity: 1; }
.opc-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4em;
  height: 2.4em;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 1px;
  color: var(--brand-bright);
  background: var(--brand-soft);
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-3);
  position: relative;
  z-index: 1;
}
.opc-title {
  font-family: 'Fraunces', 'Source Han Serif SC', serif;
  font-size: clamp(1.35rem, 1.1rem + 0.6vw, 1.6rem);
  font-weight: 500;
  margin-bottom: 0.4em;
  letter-spacing: -0.005em;
  color: var(--text-1);
  position: relative;
  z-index: 1;
}
.opc-desc {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--text-2);
  margin-bottom: var(--space-5);
  max-width: 50ch;
  position: relative;
  z-index: 1;
}
.opc-divider {
  height: 1px;
  background: var(--line);
  margin: 0 0 var(--space-3);
  position: relative;
  z-index: 1;
}
.opc-tags-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-4);
  margin-bottom: var(--space-3);
  position: relative;
  z-index: 1;
}
.opc-tags {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  position: relative;
  z-index: 1;
}
.opc-tags li {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  letter-spacing: 0.3px;
  padding: 0.45em 0.9em;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--text-2);
  background: var(--bg-0);
  white-space: nowrap;
  transition: border-color var(--dur-base), color var(--dur-base), background var(--dur-base);
}
.opc-card:hover .opc-tags li {
  border-color: var(--brand-soft);
  color: var(--text-1);
  background: var(--bg-2);
}

/* Services / OPC 响应式 */
@media (max-width: 980px) {
  .svc-grid { grid-template-columns: 1fr; }
  .opc-grid { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------------------------
   11. FAQ
   --------------------------------------------------------------------------- */
.faq { padding: var(--space-7) 0; }

.faq-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: var(--space-6);
  align-items: start;
}

.faq-head {
  position: sticky;
  top: 100px;
}

.faq-list { display: flex; flex-direction: column; gap: 0; }
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item:first-child { border-top: 1px solid var(--line); }

.faq-item details summary {
  list-style: none;
  cursor: pointer;
  padding: var(--space-4) 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-3);
  transition: color var(--dur-fast) var(--ease-out-quart);
}
.faq-item details summary::-webkit-details-marker { display: none; }
.faq-item details summary:hover { color: var(--brand); }

.faq-q {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  font-weight: 500;
  color: var(--text-1);
  letter-spacing: -0.01em;
  font-variation-settings: "opsz" 24, "SOFT" 30;
}

.faq-icon {
  flex-shrink: 0;
  position: relative;
  width: 20px;
  height: 20px;
}
.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  background: var(--brand);
  transition: transform var(--dur-base) var(--ease-out-quart);
}
.faq-icon::before { width: 14px; height: 1px; transform: translate(-50%, -50%); }
.faq-icon::after { width: 1px; height: 14px; transform: translate(-50%, -50%); }

.faq-item details[open] .faq-icon::after { transform: translate(-50%, -50%) scaleY(0); }
.faq-item details[open] summary .faq-q { color: var(--brand); }

.faq-a {
  padding-bottom: var(--space-4);
  max-width: 720px;
  animation: faqOpen 480ms var(--ease-out-quart);
}
@keyframes faqOpen {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}
.faq-a p {
  font-size: var(--fs-base);
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: var(--space-2);
}
.faq-a p:last-child { margin-bottom: 0; }
.faq-a ul {
  margin: var(--space-2) 0;
  padding-left: var(--space-3);
  list-style: none;
}
.faq-a ul li {
  font-size: var(--fs-base);
  color: var(--text-2);
  line-height: 1.7;
  padding: 4px 0 4px 20px;
  position: relative;
}
.faq-a ul li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--brand);
}
.faq-a a {
  color: var(--brand);
  border-bottom: 1px solid currentColor;
}

/* ---------------------------------------------------------------------------
   12. Contact
   --------------------------------------------------------------------------- */
.contact { padding: var(--space-7) 0 var(--space-8); }

.contact-inner {
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
  padding: var(--space-7) var(--space-4);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(ellipse at top, rgba(212, 165, 116, 0.06) 0%, transparent 60%),
    var(--bg-1);
  position: relative;
  overflow: hidden;
}
.contact-inner::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -10%;
  width: 120%;
  height: 200%;
  background: conic-gradient(from 0deg at 50% 50%, transparent, var(--brand-soft), transparent 60%);
  animation: conicSpin 24s linear infinite;
  opacity: 0.4;
  z-index: 0;
}
@keyframes conicSpin {
  to { transform: rotate(360deg); }
}
.contact-inner > * { position: relative; z-index: 1; }

.contact-title {
  font-family: var(--font-display);
  font-size: var(--fs-4xl);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-4);
  font-variation-settings: "opsz" 80, "SOFT" 20;
}
.contact-title em { font-style: italic; color: var(--brand); }

.contact-sub {
  font-size: var(--fs-lg);
  color: var(--text-2);
  margin-bottom: var(--space-5);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.55;
}

.contact-mail {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  background: var(--bg-2);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  color: var(--text-1);
  transition:
    border-color var(--dur-base) var(--ease-out-quart),
    transform var(--dur-base) var(--ease-out-quart),
    box-shadow var(--dur-base) var(--ease-out-quart);
}
.contact-mail:hover {
  border-color: var(--brand);
  transform: translateY(-2px);
  box-shadow: var(--glow);
  color: var(--brand);
}
.contact-mail:hover .cm-arrow { transform: translateX(4px); }
.cm-label {
  font-size: var(--fs-xs);
  color: var(--text-3);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.cm-addr {
  font-size: var(--fs-lg);
  font-weight: 500;
  color: var(--text-1);
}
.contact-mail:hover .cm-addr { color: var(--brand); }
.cm-arrow {
  color: var(--brand);
  transition: transform var(--dur-base) var(--ease-out-quart);
}

/* ---------------------------------------------------------------------------
   13. Footer
   --------------------------------------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: var(--space-6) 0 0;
  background: var(--bg-0);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: var(--space-6);
  padding-bottom: var(--space-6);
}
.footer-brand img { height: 38px; width: auto; margin-bottom: var(--space-2); }
.footer-tagline {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--text-2);
  font-size: var(--fs-base);
  font-variation-settings: "opsz" 24, "SOFT" 100, "WONK" 1;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}
.footer-nav h4 {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  color: var(--text-3);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: var(--space-2);
  font-weight: 500;
}
.footer-nav ul li {
  padding: 4px 0;
  font-size: var(--fs-sm);
}
.footer-nav a {
  color: var(--text-2);
  transition: color var(--dur-fast) var(--ease-out-quart);
}
.footer-nav a:hover { color: var(--brand); }

.footer-bottom {
  border-top: 1px solid var(--line);
  padding: var(--space-3) 0;
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-3);
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  color: var(--text-3);
  letter-spacing: 0.05em;
}
.footer-beian a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-3);
  transition: color var(--dur-fast) var(--ease-out-quart);
}
.footer-beian a:hover { color: var(--brand); }

/* ---------------------------------------------------------------------------
   14. 入场揭示动效
   默认完全可见。JS 加载后,对 viewport 外的元素临时隐藏,滚动进入后再淡入。
   设计目标:无 JS / 慢网络 / 截图工具 → 元素始终可见。
   --------------------------------------------------------------------------- */
.reveal {
  transition:
    opacity var(--dur-slow) var(--ease-out-quart),
    transform var(--dur-slow) var(--ease-out-quart);
  transition-delay: calc(var(--reveal-delay, 0) * 1ms);
  will-change: opacity, transform;
}
/* JS 给初始远离 viewport 的元素加此 class,滚动进入视口后由 JS 移除 */
.reveal.reveal-pending {
  opacity: 0;
  transform: translateY(24px);
}

/* 减弱动效偏好:跳过动画直接显示 */
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal.reveal-pending {
    animation: none;
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------------------------------------------------------------------------
   15. 响应式
   --------------------------------------------------------------------------- */
@media (max-width: 980px) {
  .about-grid { grid-template-columns: 1fr; gap: var(--space-5); }
  .product-grid { grid-template-columns: 1fr 1fr; }
  .product-card--ghost { grid-column: span 2; }
  .cap-grid { grid-template-columns: repeat(2, 1fr); }
  .faq-layout { grid-template-columns: 1fr; }
  .faq-head { position: static; }
  .footer-inner { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  :root { --container-pad: 1.25rem; }
  .nav { display: none; }
  .nav-cta { display: none; }
  .header-inner { justify-content: space-between; }
  .brand-mark { height: 44px; }

  .hero { padding-top: clamp(5.5rem, 5rem + 3vw, 7rem); padding-bottom: var(--space-6); min-height: auto; }
  .hero-title { font-size: clamp(2.1rem, 1.4rem + 3.5vw, 2.8rem); line-height: 1.08; }
  .eyebrow { font-size: 0.65rem; padding: 0.4em 0.85em; }
  .eyebrow .eyebrow-sep + span { display: none; } /* 移动端隐藏第二段 */
  .meta-grid { grid-template-columns: 1fr; gap: var(--space-3); }

  .section-title { font-size: clamp(1.85rem, 1.4rem + 2.5vw, 2.5rem); }
  .contact-title { font-size: clamp(1.85rem, 1.4rem + 2.5vw, 2.5rem); }

  .product-grid { grid-template-columns: 1fr; }
  .product-card--ghost { grid-column: span 1; }
  .cap-grid { grid-template-columns: 1fr; }
  .footer-nav { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom-inner { flex-direction: column; align-items: flex-start; gap: var(--space-2); }

  .about-lede p:first-child::first-letter { font-size: 2.8em; }
  .contact-inner { padding: var(--space-5) var(--space-3); }
  .contact-mail { flex-wrap: wrap; gap: var(--space-2); }
  .scroll-cue { display: none; }
}

@media (max-width: 480px) {
  .hero-cta { flex-direction: column; align-items: stretch; }
  .btn-primary, .btn-ghost { width: 100%; }
  .cm-arrow { display: none; }
}

/* ---------------------------------------------------------------------------
   16. 减弱动效 (a11y)
   --------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero-canvas { opacity: 0.4; }
}

/* ---------------------------------------------------------------------------
   17. 打印 (GEO/SEO 友好)
   --------------------------------------------------------------------------- */
@media print {
  .site-header, .hero-canvas, .hero-grid, .scroll-cue, .product-status, .dot, .footer-beian svg, .contact-mail::before { display: none !important; }
  body { background: white; color: black; }
  .container { max-width: 100%; }
}