/* ========================================
   NeuraForge官网设计系统 v2.0
   浅色主题 · 对标 gzit.org.cn/docs/ 风格
   黑白为骨 · 品牌渐变为点睛
   纯静态 · 响应式 · 无外部依赖
   ======================================== */

:root {
  /* 背景层级 - 浅色 */
  --bg-base: #ffffff;
  --bg-elevated: #f8f9fa;
  --bg-surface: #f1f3f5;
  --bg-surface-hover: #e9ecef;
  --bg-card: #ffffff;
  --bg-card-hover: #f8f9fa;
  --bg-glass: rgba(255, 255, 255, 0.82);
  --bg-code: #f1f3f5;
  --bg-hero: #fafbfc;

  /* 文字层级 - 深色 */
  --text-primary: #1a1b1e;
  --text-secondary: #495057;
  --text-tertiary: #868e96;
  --text-muted: #adb5bd;
  --text-on-brand: #ffffff;

  /* 边框 */
  --border-default: #e9ecef;
  --border-hover: #dee2e6;
  --border-strong: #ced4da;
  --border-brand: rgba(167, 139, 250, 0.4);

  /* 品牌色 */
  --brand-rose: #ec4899;
  --brand-violet: #8b5cf6;
  --brand-blue: #3b82f6;
  --brand-indigo: #6366f1;
  --brand-emerald: #10b981;
  --brand-amber: #f59e0b;
  --brand-orange: #f97316;
  --brand-red: #ef4444;
  --brand-cyan: #06b6d4;
  --brand-gray: #6b7280;

  --brand-gradient: linear-gradient(135deg, #ec4899 0%, #8b5cf6 50%, #3b82f6 100%);
  --brand-gradient-soft: linear-gradient(135deg, rgba(236, 72, 153, 0.08) 0%, rgba(139, 92, 246, 0.08) 50%, rgba(59, 130, 246, 0.08) 100%);
  --brand-glow: 0 4px 24px rgba(139, 92, 246, 0.12);
  --brand-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  --brand-shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.08);

  /* 字体 */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
  --font-mono: "SF Mono", "Fira Code", "JetBrains Mono", "Monaco", "Consolas", "PingFang SC", monospace;

  /* 间距 */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* 圆角 */
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 20px;
  --radius-full: 9999px;

  /* 容器 */
  --container: 1140px;
  --container-narrow: 820px;

  /* 动效 */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;
}

/* ========================================
   Reset
   ======================================== */

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

::selection {
  background: rgba(139, 92, 246, 0.18);
  color: var(--text-primary);
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-elevated);
}
::-webkit-scrollbar-thumb {
  background: var(--border-strong);
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--text-tertiary);
}

/* ========================================
   工具类
   ======================================== */

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.container-narrow {
  max-width: var(--container-narrow);
}

.section {
  padding: var(--space-24) 0;
  position: relative;
}

.section-sm {
  padding: var(--space-16) 0;
}

.section-header {
  max-width: 720px;
  margin-bottom: var(--space-16);
}

.section-label {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--brand-violet);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: var(--space-4);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.section-label::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-gradient);
}

.section-title {
  font-size: clamp(1.625rem, 3.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-4);
  color: var(--text-primary);
}

.section-desc {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.text-gradient {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-center {
  text-align: center;
}

.text-center .section-header {
  margin-left: auto;
  margin-right: auto;
}

.bg-elevated {
  background: var(--bg-elevated);
}

.bg-surface {
  background: var(--bg-surface);
}

/* ========================================
   导航栏
   ======================================== */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 64px;
  z-index: 1000;
  transition: background var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
  border-bottom: 1px solid var(--border-default);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav.scrolled {
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--border-default);
  box-shadow: 0 1px 12px rgba(0, 0, 0, 0.03);
}

.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.nav-logo {
  height: 32px;
  width: auto;
}

.nav-brand-text {
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

.nav-brand-text span {
  color: var(--text-tertiary);
  font-weight: 500;
  font-size: 0.875rem;
  margin-left: var(--space-1);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.nav-link {
  padding: var(--space-2) var(--space-4);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-md);
  position: relative;
  transition: color var(--transition-fast), background var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
  background: var(--bg-surface);
}

/* 导航项悬浮徽章图标（吗喽 logo）— 悬浮于"喽"字右上方，不遮字 */
.nav-link-icon {
  display: inline-block;
  position: relative;
  top: -9px;
  left: 3px;
  width: 18px;
  height: 18px;
  margin-left: -3px;
  object-fit: contain;
  border-radius: 5px;
  background: transparent;
  z-index: 2;
  animation: nav-icon-float 3.2s ease-in-out infinite;
}

@keyframes nav-icon-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

/* 悬停时动画加速，增加互动感 */
.nav-link:hover .nav-link-icon {
  animation-duration: 1.2s;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

/* 移动端菜单 — 桌面默认隐藏 */
.nav-menu {
  display: none;
}

.nav-mobile-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  color: var(--text-primary);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-mobile-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

/* ========================================
   按钮
   ======================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-5);
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
  text-decoration: none;
}

.btn-primary {
  background: var(--text-primary);
  color: var(--bg-base);
  border-color: var(--text-primary);
}

.btn-primary:hover {
  background: #000;
  box-shadow: var(--brand-shadow);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--bg-base);
  color: var(--text-primary);
  border-color: var(--border-strong);
}

.btn-secondary:hover {
  border-color: var(--text-tertiary);
  background: var(--bg-elevated);
  transform: translateY(-1px);
}

.btn-brand {
  background: var(--text-primary);
  color: var(--bg-base);
  border-color: var(--text-primary);
  font-weight: 600;
}

.btn-brand:hover {
  background: #000;
  box-shadow: var(--brand-shadow);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border-color: transparent;
  padding: var(--space-2) var(--space-3);
}

.btn-ghost:hover {
  color: var(--text-primary);
  background: var(--bg-surface);
}

.btn-lg {
  padding: var(--space-4) var(--space-8);
  font-size: 1rem;
  border-radius: var(--radius-lg);
}

.btn-sm {
  padding: var(--space-2) var(--space-4);
  font-size: 0.875rem;
}

/* ========================================
   Hero
   ======================================== */

.hero {
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: calc(64px + var(--space-16)) var(--space-6) var(--space-20);
  position: relative;
  overflow: hidden;
  background: var(--bg-hero);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.15;
}

.hero-glow-1 {
  width: 500px;
  height: 500px;
  background: var(--brand-violet);
  top: -150px;
  right: -100px;
}

.hero-glow-2 {
  width: 400px;
  height: 400px;
  background: var(--brand-blue);
  bottom: -100px;
  left: -80px;
  opacity: 0.1;
}

.hero-glow-3 {
  width: 350px;
  height: 350px;
  background: var(--brand-rose);
  top: 30%;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0.08;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 75%);
}

.hero-content {
  max-width: 860px;
  text-align: center;
  z-index: 1;
  position: relative;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: var(--bg-base);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-8);
  box-shadow: var(--brand-shadow);
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-emerald);
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.5);
  animation: pulse 2s ease-in-out infinite;
}

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

.hero-title {
  font-size: clamp(2rem, 5.5vw, 4rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-6);
  color: var(--text-primary);
}

.hero-subtitle {
  font-size: clamp(1.0625rem, 2vw, 1.375rem);
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 640px;
  margin: 0 auto var(--space-10);
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-bottom: var(--space-16);
}

/* ========================================
   卡片
   ======================================== */

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  transition: all var(--transition-base);
  box-shadow: var(--brand-shadow);
}

.card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--brand-shadow-lg);
  transform: translateY(-3px);
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
  border: 1px solid var(--border-default);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-5);
  color: var(--text-primary);
}

.card-icon svg {
  width: 22px;
  height: 22px;
}

.card-emoji {
  font-size: 1.75rem;
  line-height: 1;
  margin-bottom: var(--space-4);
}

.card-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: var(--space-2);
  color: var(--text-primary);
}

.card-desc {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* 网格 */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-5);
}

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

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

/* ========================================
   产品卡片
   ======================================== */

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  position: relative;
  overflow: hidden;
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
  box-shadow: var(--brand-shadow);
}

.product-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--brand-gradient);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.product-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--brand-shadow-lg);
  transform: translateY(-4px);
}

.product-card:hover::before {
  opacity: 1;
}

.product-card-badge {
  display: inline-flex;
  align-self: flex-start;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: var(--space-5);
  font-family: var(--font-mono);
}

.product-card-badge.enterprise {
  background: rgba(139, 92, 246, 0.1);
  color: var(--brand-violet);
  border: 1px solid rgba(139, 92, 246, 0.2);
}

.product-card-badge.personal {
  background: rgba(59, 130, 246, 0.1);
  color: var(--brand-blue);
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.product-card-logo {
  width: 52px;
  height: 52px;
  margin-bottom: var(--space-5);
}

.product-card-title {
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: var(--space-3);
  color: var(--text-primary);
}

.product-card-desc {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-6);
  flex: 1;
}

.product-card-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}

.product-card-feature {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

.product-card-feature svg {
  width: 18px;
  height: 18px;
  color: var(--brand-emerald);
  flex-shrink: 0;
}

.product-card-action {
  margin-top: auto;
}

/* ========================================
   代码块
   ======================================== */

.code-block {
  background: var(--bg-code);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: var(--space-5) var(--space-6);
  font-family: var(--font-mono);
  font-size: 0.875rem;
  line-height: 1.8;
  color: var(--text-secondary);
  overflow-x: auto;
  position: relative;
}

.code-block .cmd {
  color: var(--brand-violet);
  font-weight: 600;
}

.code-block .comment {
  color: var(--text-muted);
}

.code-line {
  display: block;
}

.code-prompt::before {
  content: "$ ";
  color: var(--brand-emerald);
  font-weight: 600;
}

/* ========================================
   架构图
   ======================================== */

.architecture {
  background: var(--bg-elevated);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-2xl);
  padding: var(--space-10);
  position: relative;
}

.architecture-flow {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: var(--space-4);
}

.arch-node {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  text-align: center;
  position: relative;
  box-shadow: var(--brand-shadow);
}

.arch-node-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto var(--space-4);
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
  border: 1px solid var(--border-default);
  display: flex;
  align-items: center;
  justify-content: center;
}

.arch-node-title {
  font-weight: 600;
  margin-bottom: var(--space-2);
  color: var(--text-primary);
}

.arch-node-desc {
  font-size: 0.8125rem;
  color: var(--text-tertiary);
  line-height: 1.5;
}

.arch-arrow {
  display: flex;
  align-items: center;
  color: var(--text-muted);
}

.arch-arrow svg {
  width: 24px;
  height: 24px;
}

/* 架构分层 */
.arch-layers {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.arch-layer {
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: var(--space-5) var(--space-6);
  display: flex;
  align-items: center;
  gap: var(--space-4);
  transition: all var(--transition-fast);
}

.arch-layer:hover {
  border-color: var(--border-hover);
  box-shadow: var(--brand-shadow);
}

.arch-layer-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--brand-violet);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  min-width: 80px;
}

.arch-layer-content {
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

.arch-layer-arrow {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.75rem;
  padding: var(--space-1) 0;
}

/* ========================================
   引擎模块
   ======================================== */

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

.engine-card {
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  text-align: center;
  transition: all var(--transition-base);
  box-shadow: var(--brand-shadow);
}

.engine-card:hover {
  border-color: var(--border-brand);
  box-shadow: var(--brand-shadow-lg);
  transform: translateY(-3px);
}

.engine-card-icon {
  font-size: 2rem;
  line-height: 1;
  margin-bottom: var(--space-4);
}

.engine-card-title {
  font-weight: 600;
  margin-bottom: var(--space-2);
  color: var(--text-primary);
}

.engine-card-desc {
  font-size: 0.875rem;
  color: var(--text-tertiary);
  line-height: 1.6;
}

/* ========================================
   步骤
   ======================================== */

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

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  box-shadow: var(--brand-shadow);
}

.step-number {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--brand-violet);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-4);
}

.step-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: var(--space-4);
  color: var(--text-primary);
}

.step-desc {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-5);
}

/* ========================================
   用户证言
   ======================================== */

.testimonial {
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  box-shadow: var(--brand-shadow);
  transition: all var(--transition-base);
}

.testimonial:hover {
  border-color: var(--border-hover);
  box-shadow: var(--brand-shadow-lg);
}

.testimonial-avatar {
  font-size: 2.5rem;
  line-height: 1;
  margin-bottom: var(--space-4);
}

.testimonial-quote {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-5);
  position: relative;
  padding-left: var(--space-5);
  border-left: 3px solid var(--brand-gradient);
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.testimonial-name {
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--text-primary);
}

.testimonial-role {
  font-size: 0.8125rem;
  color: var(--text-tertiary);
}

/* ========================================
   合作伙伴
   ======================================== */

.partners {
  border-top: 1px solid var(--border-default);
  border-bottom: 1px solid var(--border-default);
  padding: var(--space-16) 0;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-6);
}

.partner-slot {
  aspect-ratio: 2 / 1;
  background: var(--bg-elevated);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* ========================================
   CTA
   ======================================== */

.cta-section {
  padding: var(--space-24) 0;
}

.cta-box {
  background: var(--bg-elevated);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-2xl);
  padding: var(--space-16) var(--space-8);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  right: -50%;
  bottom: -50%;
  background: var(--brand-gradient-soft);
  filter: blur(60px);
  z-index: 0;
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
}

.cta-title {
  font-size: clamp(1.625rem, 4vw, 2.25rem);
  font-weight: 700;
  margin-bottom: var(--space-4);
  color: var(--text-primary);
}

.cta-desc {
  color: var(--text-secondary);
  margin-bottom: var(--space-8);
  font-size: 1.0625rem;
}

/* ========================================
   Footer
   ======================================== */

.footer {
  border-top: 1px solid var(--border-default);
  padding: var(--space-16) 0 var(--space-8);
  background: var(--bg-elevated);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: var(--space-10);
  margin-bottom: var(--space-16);
}

.footer-brand {
  max-width: 300px;
}

.footer-logo {
  height: 32px;
  width: auto;
  margin-bottom: var(--space-4);
}

.footer-desc {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-4);
}

.footer-title {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-5);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-link {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--brand-violet);
}

.footer-contact {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

.footer-bottom {
  border-top: 1px solid var(--border-default);
  padding-top: var(--space-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.footer-copy {
  font-size: 0.8125rem;
  color: var(--text-tertiary);
}

.footer-icp {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ========================================
   内页通用
   ======================================== */

.page-hero {
  padding: calc(64px + var(--space-20)) 0 var(--space-16);
  text-align: center;
  border-bottom: 1px solid var(--border-default);
  background: var(--bg-hero);
  position: relative;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.page-hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.1;
}

.page-hero-glow-1 {
  width: 400px;
  height: 400px;
  background: var(--brand-violet);
  top: -100px;
  right: -50px;
}

.page-hero-glow-2 {
  width: 300px;
  height: 300px;
  background: var(--brand-blue);
  bottom: -80px;
  left: -30px;
  opacity: 0.07;
}

.page-hero-content {
  position: relative;
  z-index: 1;
}

.page-hero-title {
  font-size: clamp(1.875rem, 4.5vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-5);
  color: var(--text-primary);
}

.page-hero-desc {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.7;
}

.content-section {
  padding: var(--space-20) 0;
}

/* Feature Row */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
  margin-bottom: var(--space-20);
}

.feature-row:last-child {
  margin-bottom: 0;
}

.feature-row.reverse {
  direction: rtl;
}

.feature-row.reverse > * {
  direction: ltr;
}

.feature-visual {
  background: var(--bg-elevated);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.feature-visual-bg {
  position: absolute;
  inset: 0;
  background: var(--brand-gradient-soft);
  opacity: 0.6;
}

.feature-visual-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.feature-title {
  font-size: 1.625rem;
  font-weight: 700;
  margin-bottom: var(--space-4);
  color: var(--text-primary);
}

.feature-desc {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-5);
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.feature-list-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

.feature-list-item svg {
  width: 20px;
  height: 20px;
  color: var(--brand-emerald);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ========== 用户故事 + 原型展示 ========== */
.scenario-story {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  margin-bottom: var(--space-12);
}
.scenario-story:last-child {
  margin-bottom: 0;
}
.scenario-story.reverse {
  flex-direction: row-reverse;
}
.scenario-narrative {
  flex: 0 0 42%;
}
.scenario-prototype {
  flex: 1;
  min-width: 0;
}
.scenario-story-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-violet);
  margin-bottom: var(--space-2);
}
.scenario-story-title {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-4);
  line-height: 1.4;
}
.scenario-story-text {
  color: var(--text-secondary);
  line-height: 1.85;
  font-size: 0.9375rem;
  margin-bottom: var(--space-4);
}
.scenario-story-text strong {
  color: var(--text-primary);
  font-weight: 600;
}
.scenario-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-4);
}
.scenario-tag {
  padding: 3px 10px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  color: var(--text-tertiary);
}

/* ========== 原型窗口通用框架 ========== */
.proto-window {
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}
.proto-titlebar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border-default);
}
.proto-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.proto-dot-r { background: #ff5f57; }
.proto-dot-y { background: #febc2e; }
.proto-dot-g { background: #28c840; }
.proto-titlebar-text {
  margin-left: 8px;
  font-size: 0.75rem;
  color: var(--text-tertiary);
  font-weight: 500;
}
.proto-body {
  padding: 16px;
}

/* ========== 原型5: 政务问答（复用 chat 样式） ========== */
.proto-deploy-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 0.75rem;
  color: var(--text-secondary);
  font-weight: 500;
}
.proto-deploy-lock {
  color: var(--brand-emerald);
  font-size: 0.75rem;
}
.proto-deploy-nodes {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.proto-deploy-node {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
}
.proto-deploy-node-status {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-emerald);
  flex-shrink: 0;
}
.proto-deploy-node-name {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-primary);
}
.proto-deploy-node-detail {
  font-size: 0.6875rem;
  color: var(--text-tertiary);
}
.proto-deploy-node-ok {
  margin-left: auto;
  font-size: 0.6875rem;
  color: var(--brand-emerald);
}
.proto-deploy-footer {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed var(--border-default);
  font-size: 0.6875rem;
  color: var(--text-tertiary);
}

/* ========== 私有化价值数据条 ========== */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
}
.stat-strip-item {
  text-align: center;
  padding: var(--space-6) var(--space-4);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
}
.stat-strip-num {
  font-size: 2rem;
  font-weight: 700;
  color: var(--brand-violet);
  line-height: 1.2;
}
.stat-strip-label {
  margin-top: var(--space-2);
  font-size: 0.875rem;
  color: var(--text-tertiary);
}
@media (max-width: 720px) {
  .stat-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ========== 原型1: 企业版 Dashboard ========== */
.proto-dashboard {
  display: flex;
  min-height: 280px;
}
.proto-sidebar {
  width: 140px;
  background: var(--bg-elevated);
  border-right: 1px solid var(--border-default);
  padding: 14px 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex-shrink: 0;
}
.proto-sidebar-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: var(--radius-md);
  font-size: 0.8125rem;
  color: var(--text-secondary);
}
.proto-sidebar-item.active {
  background: var(--brand-violet);
  color: #fff;
  font-weight: 500;
}
.proto-sidebar-item .proto-sb-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  opacity: 0.7;
}
.proto-sidebar-item.active .proto-sb-icon {
  opacity: 1;
}
.proto-main {
  flex: 1;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.proto-agent-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.proto-agent-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
}
.proto-agent-status {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.75rem;
  color: var(--brand-emerald);
}
.proto-agent-status .pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-emerald);
}
.proto-timeline {
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-left: 2px solid var(--border-default);
  padding-left: 12px;
  margin-top: 4px;
}
.proto-tl-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 0;
  font-size: 0.75rem;
  position: relative;
}
.proto-tl-item::before {
  content: '';
  position: absolute;
  left: -17px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-emerald);
  border: 2px solid var(--bg-card);
}
.proto-tl-item.warn::before {
  background: var(--brand-orange);
}
.proto-tl-time {
  color: var(--text-tertiary);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  flex-shrink: 0;
  width: 42px;
}
.proto-tl-text {
  color: var(--text-secondary);
}
.proto-tl-text .check {
  color: var(--brand-emerald);
  font-weight: 600;
}
.proto-tl-text .warn {
  color: var(--brand-orange);
  font-weight: 600;
}

/* ========== 原型2: 吗喽多Agent ========== */
.proto-multi-agent {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.proto-ma-header {
  font-size: 0.8125rem;
  color: var(--text-tertiary);
  margin-bottom: 2px;
}
.proto-ma-card {
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.proto-ma-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}
.proto-ma-info {
  flex: 1;
  min-width: 0;
}
.proto-ma-name {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2px;
}
.proto-ma-detail {
  font-size: 0.6875rem;
  color: var(--text-tertiary);
}
.proto-ma-progress {
  width: 60px;
  flex-shrink: 0;
  text-align: right;
}
.proto-ma-progress-num {
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 3px;
}
.proto-ma-bar {
  height: 4px;
  border-radius: 2px;
  background: var(--bg-elevated);
  overflow: hidden;
}
.proto-ma-bar-fill {
  height: 100%;
  border-radius: 2px;
}

/* ========== 原型3: 聊天对话 ========== */
.proto-chat {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.proto-chat-msg {
  max-width: 82%;
  padding: 10px 14px;
  border-radius: var(--radius-lg);
  font-size: 0.8125rem;
  line-height: 1.65;
}
.proto-chat-msg.agent {
  background: var(--bg-elevated);
  border: 1px solid var(--border-default);
  color: var(--text-primary);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}
.proto-chat-msg.user {
  background: var(--brand-violet);
  color: #fff;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}
.proto-chat-msg .proto-chat-role {
  font-size: 0.6875rem;
  font-weight: 600;
  margin-bottom: 3px;
  opacity: 0.7;
}
.proto-chat-msg.agent .proto-chat-list {
  margin: 6px 0 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.75rem;
}
.proto-chat-msg.agent .proto-chat-list li {
  padding: 2px 0;
  color: var(--text-secondary);
}
.proto-chat-msg.agent .proto-chat-list .check {
  color: var(--brand-emerald);
  font-weight: 600;
}
.proto-chat-msg.agent .proto-chat-link {
  display: inline-block;
  margin-top: 4px;
  padding: 3px 8px;
  background: var(--brand-violet);
  color: #fff;
  border-radius: var(--radius-sm);
  font-size: 0.6875rem;
  text-decoration: none;
}

/* ========== 原型4: 代码编辑器 ========== */
.proto-code {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  line-height: 1.8;
}
.proto-code .ln {
  color: var(--text-tertiary);
  opacity: 0.5;
  user-select: none;
  display: inline-block;
  width: 24px;
  text-align: right;
  margin-right: 12px;
}
.proto-code .kw { color: var(--brand-violet); font-weight: 500; }
.proto-code .str { color: var(--brand-emerald); }
.proto-code .fn { color: var(--brand-blue); }
.proto-code .cmt { color: var(--text-tertiary); font-style: italic; }
.proto-code .punct { color: var(--text-secondary); }
.proto-code-output {
  margin-top: 10px;
  padding: 10px 12px;
  background: var(--bg-elevated);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-default);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  line-height: 1.8;
  color: var(--text-tertiary);
}
.proto-code-output .ok { color: var(--brand-emerald); font-weight: 500; }
.proto-code-output .stage { color: var(--brand-violet); font-weight: 500; }

/* ========== 响应式 ========== */
@media (max-width: 768px) {
  .scenario-story,
  .scenario-story.reverse {
    flex-direction: column;
    gap: var(--space-5);
  }
  .scenario-narrative {
    flex: none;
    width: 100%;
  }
  .proto-sidebar {
    display: none;
  }
}

/* 部署模式 */
.deploy-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-5);
}

.deploy-card {
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  box-shadow: var(--brand-shadow);
  transition: all var(--transition-base);
}

.deploy-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--brand-shadow-lg);
}

.deploy-card-header {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-5);
}

.deploy-card-icon {
  font-size: 1.75rem;
  line-height: 1;
}

.deploy-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
}

.deploy-card-desc {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-5);
}

/* 时间线 */
.timeline {
  position: relative;
  padding-left: var(--space-8);
}

.timeline::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--border-default);
}

.timeline-item {
  position: relative;
  padding-bottom: var(--space-8);
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: -30px;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--bg-base);
  border: 3px solid var(--brand-violet);
}

.timeline-date {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--brand-violet);
  margin-bottom: var(--space-2);
}

.timeline-title {
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: var(--space-2);
  color: var(--text-primary);
}

.timeline-desc {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* 值观卡片 */
.value-card {
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  text-align: center;
  box-shadow: var(--brand-shadow);
  transition: all var(--transition-base);
}

.value-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--brand-shadow-lg);
  transform: translateY(-3px);
}

.value-card-icon {
  font-size: 2rem;
  margin-bottom: var(--space-4);
}

.value-card-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: var(--space-3);
  color: var(--text-primary);
}

.value-card-desc {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ========================================
   动效
   ======================================== */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   响应式
   ======================================== */

@media (max-width: 1024px) {
  .grid-4,
  .engine-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .partners-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .architecture-flow {
    flex-direction: column;
  }

  .arch-arrow {
    transform: rotate(90deg);
    justify-content: center;
    padding: var(--space-2) 0;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .steps {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links,
  .nav-actions .btn-secondary {
    display: none;
  }

  .nav-mobile-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--bg-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-default);
    padding: var(--space-4);
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition-base);
  }

  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-menu .nav-link {
    padding: var(--space-3) var(--space-4);
  }

  .section {
    padding: var(--space-16) 0;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .engine-grid,
  .deploy-cards {
    grid-template-columns: 1fr;
  }

  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-row {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .feature-row.reverse {
    direction: ltr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

}

/* ========================================
   企业版页面（并入官网，非独立子站）
   ======================================== */

/* 企业版页面紧凑 Hero */
.hero-compact {
  min-height: 72vh;
  padding-top: calc(64px + var(--space-12));
  padding-bottom: var(--space-16);
}

/* 吗喽 Hero logo */
.hero-malou-logo {
  width: 96px;
  height: 96px;
  object-fit: contain;
  margin: 0 auto var(--space-5);
  border-radius: var(--radius-2xl);
}

/* 页面二级导航（页内锚点，sticky 吸顶） */
.page-subnav {
  position: sticky;
  top: 64px;
  z-index: 900;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-default);
  height: 40px;
  display: flex;
  align-items: center;
}

.page-subnav .container {
  display: flex;
  align-items: center;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-left: var(--subnav-offset, var(--space-6));
}

.page-subnav .container::-webkit-scrollbar {
  display: none;
}

.subnav-link {
  white-space: nowrap;
  padding: var(--space-2) var(--space-4);
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--text-tertiary);
  border-radius: var(--radius-md);
  position: relative;
  transition: color var(--transition-fast), background var(--transition-fast);
  cursor: pointer;
  text-decoration: none;
}

.subnav-link:hover {
  color: var(--text-secondary);
  background: var(--bg-hover);
}

.subnav-link.active {
  color: var(--brand-violet);
  font-weight: 500;
}

.subnav-link.active::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: var(--space-4);
  right: var(--space-4);
  height: 2px;
  background: var(--brand-violet);
  border-radius: 1px;
}

@media (max-width: 768px) {
  .page-subnav {
    top: 64px;
  }
}

/* 企业版二级导航 */
.enterprise-subnav {
  position: sticky;
  top: 64px;
  z-index: 900;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-default);
  padding: var(--space-2) 0;
}

.enterprise-subnav .container {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  overflow-x: auto;
}

.enterprise-subnav .nav-link {
  white-space: nowrap;
}

@media (max-width: 768px) {
  .enterprise-subnav {
    top: 64px;
  }
}

/* 文档页头部 */
.doc-header {
  padding: calc(64px + var(--space-16)) 0 var(--space-10);
  background: var(--bg-hero);
  border-bottom: 1px solid var(--border-default);
  text-align: center;
}

.doc-header-title {
  font-size: clamp(1.875rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-3);
  color: var(--text-primary);
}

.doc-header-desc {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto;
}

/* 文档内容容器 */
.doc-content {
  padding: var(--space-16) 0 var(--space-24);
}

.doc-content .container {
  max-width: 860px;
}

.doc-h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: var(--space-12) 0 var(--space-5);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--border-default);
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.doc-content .doc-h2:first-child {
  margin-top: 0;
}

.doc-h3 {
  font-size: 1.1875rem;
  font-weight: 600;
  margin: var(--space-8) 0 var(--space-4);
  color: var(--text-primary);
}

.doc-h4 {
  font-size: 0.9375rem;
  font-weight: 600;
  margin: var(--space-5) 0 var(--space-2);
  color: var(--text-secondary);
}

.doc-p {
  margin-bottom: var(--space-4);
  color: var(--text-secondary);
  line-height: 1.75;
}

.doc-ul, .doc-ol {
  margin-bottom: var(--space-4);
  padding-left: var(--space-6);
  color: var(--text-secondary);
  line-height: 1.75;
}

.doc-ul li, .doc-ol li {
  margin-bottom: var(--space-2);
}

.doc-code {
  font-family: var(--font-mono);
  background: var(--bg-surface);
  padding: 2px 7px;
  border-radius: 5px;
  font-size: 0.86rem;
  color: var(--brand-violet);
}

/* 文档代码块 */
.doc-pre {
  background: var(--bg-code);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: var(--space-5) var(--space-6);
  overflow-x: auto;
  margin: var(--space-4) 0;
  font-family: var(--font-mono);
  font-size: 0.84rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.doc-pre code {
  background: none;
  padding: 0;
  color: inherit;
  font-size: inherit;
  font-family: inherit;
}

/* 文档表格 */
.table-wrap {
  overflow-x: auto;
  margin: var(--space-4) 0 var(--space-6);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-default);
  background: var(--bg-card);
}

.table-wrap table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.table-wrap th {
  background: var(--bg-elevated);
  color: var(--text-secondary);
  font-weight: 600;
  text-align: left;
  padding: var(--space-3) var(--space-4);
  border-bottom: 1px solid var(--border-default);
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.table-wrap td {
  padding: var(--space-3) var(--space-4);
  border-bottom: 1px solid var(--border-default);
  color: var(--text-secondary);
  line-height: 1.55;
}

.table-wrap tr:last-child td {
  border-bottom: none;
}

.table-wrap tr:hover td {
  background: var(--bg-surface);
}

/* API 端点卡片 */
.doc-endpoint {
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  margin: var(--space-4) 0 var(--space-6);
  box-shadow: var(--brand-shadow);
  transition: box-shadow var(--transition-base);
}

.doc-endpoint:hover {
  box-shadow: var(--brand-shadow-lg);
}

.doc-endpoint-head {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
  flex-wrap: wrap;
}

.doc-method {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.doc-method-get { background: #dcfce7; color: #166534; }
.doc-method-post { background: #dbeafe; color: #1e40af; }
.doc-method-put { background: #fef3c7; color: #92400e; }
.doc-method-delete { background: #fee2e2; color: #991b1b; }

.doc-endpoint-path {
  font-family: var(--font-mono);
  font-size: 0.9375rem;
  color: var(--text-primary);
  font-weight: 500;
}

.doc-endpoint-desc {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  margin-bottom: var(--space-2);
  line-height: 1.65;
}

.doc-endpoint-auth {
  font-size: 0.8125rem;
  color: var(--brand-amber);
  font-weight: 500;
  margin-bottom: var(--space-3);
}

/* 提示框 */
.info-box {
  background: rgba(139, 92, 246, 0.06);
  border-left: 3px solid var(--brand-violet);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: var(--space-4) var(--space-5);
  margin: var(--space-5) 0;
  font-size: 0.9375rem;
  color: var(--brand-violet);
  line-height: 1.6;
}

.warn-box {
  background: rgba(245, 158, 11, 0.08);
  border-left: 3px solid var(--brand-amber);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: var(--space-4) var(--space-5);
  margin: var(--space-5) 0;
  font-size: 0.9375rem;
  color: #92400e;
  line-height: 1.6;
}

/* 下载卡片 */
.download-card {
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-2xl);
  padding: var(--space-10) var(--space-8);
  text-align: center;
  margin: var(--space-5) 0;
  box-shadow: var(--brand-shadow-lg);
}

.download-card h3 {
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: var(--space-2);
  color: var(--text-primary);
}

.download-version {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  margin-bottom: var(--space-5);
}

.download-size {
  display: inline-block;
  background: var(--bg-surface);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  color: var(--text-tertiary);
  margin-left: var(--space-2);
}

.download-note {
  margin-top: var(--space-4);
  font-size: 0.85rem;
  color: var(--text-tertiary);
}

/* 更新日志 */
.changelog {
  margin-top: var(--space-6);
}

.changelog-entry {
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  margin-bottom: var(--space-5);
  overflow: hidden;
  box-shadow: var(--brand-shadow);
  transition: box-shadow var(--transition-base);
}

.changelog-entry:hover {
  box-shadow: var(--brand-shadow-lg);
}

.changelog-latest {
  border-color: var(--border-brand);
}

.changelog-header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-6);
  background: var(--bg-elevated);
  flex-wrap: wrap;
}

.changelog-latest .changelog-header {
  background: rgba(139, 92, 246, 0.06);
}

.changelog-version {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-primary);
}

.changelog-date {
  font-size: 0.8125rem;
  color: var(--text-tertiary);
}

.changelog-tag {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: var(--radius-full);
  background: var(--text-primary);
  color: var(--bg-base);
}

.changelog-body {
  padding: var(--space-5) var(--space-6);
}

.changelog-section {
  margin-bottom: var(--space-4);
}

.changelog-section:last-child {
  margin-bottom: 0;
}

.changelog-section h4 {
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: var(--space-2);
  color: var(--text-primary);
}

.changelog-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.changelog-section li {
  padding: var(--space-1) 0;
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* CLI 命令块 */
.cli-commands {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
  margin-top: var(--space-5);
}

.cli-cmd {
  background: var(--text-primary);
  color: rgba(255, 255, 255, 0.85);
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-lg);
  font-family: var(--font-mono);
  font-size: 0.875rem;
  transition: background var(--transition-fast);
}

.cli-cmd:hover {
  background: #2c2c2e;
}

.cli-cmd code {
  background: none;
  padding: 0;
  color: inherit;
  font-size: inherit;
  font-family: inherit;
}

.cli-cmd .cmd-desc {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.8125rem;
  margin-top: var(--space-2);
  font-family: var(--font-sans);
}

/* 企业版 Footer */
.footer-docs .footer-bottom {
  justify-content: center;
}

.footer-docs .footer-copy a {
  color: var(--brand-violet);
}

/* 响应式：企业版文档 */
@media (max-width: 768px) {
  .cli-commands {
    grid-template-columns: 1fr;
  }

  .doc-content .container {
    padding: 0 var(--space-4);
  }

  .doc-endpoint {
    padding: var(--space-5);
  }

  .doc-endpoint-head {
    flex-wrap: wrap;
  }
}
