/* ==========================================================================
   DEEPSEEK | 深度求索 - 纯黑三维点云 (3D Point Cloud) 视觉系统
   核心理念：海量色点构成空间，无连续表面。API 开放平台是可旋转的点云，端点是更密的点簇，背景纯黑。
   ========================================================================== */

:root {
  /* 纯黑深空与海量色点调色板 */
  --pc-bg-black: #000000;            /* 纯黑深空背景 */
  --pc-point-cyan: #00F0FF;          /* 三维激光高维点色 */
  --pc-point-purple: #C084FC;        /* 神经流形色点 */
  --pc-point-magenta: #F43F5E;       /* 高曲率端点聚拢色 */
  --pc-point-amber: #FBBF24;         /* 梯度收敛点色 (强调色) */
  --pc-point-emerald: #10B981;       /* 激活端点点簇 */

  /* 文字颜色 */
  --ink-primary: #FFFFFF;           /* 高对比纯白 */
  --ink-secondary: #94A3B8;         /* 色点坐标灰 */
  --ink-muted: #64748B;             /* 极浅灰 */

  /* 基础结构 */
  --font-base: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "JetBrains Mono", Menlo, Consolas, monospace;
  --radius-card: 12px;
  --radius-btn: 12px;
  --radius-logo: 8px;
  --radius-capsule: 9999px;
  --header-height: 64px;

  /* 响应式内边距 */
  --padding-x: 64px;
  --padding-y: 100px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--pc-bg-black);
  color: var(--ink-primary);
  font-family: var(--font-base);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body {
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--pc-bg-black);
  line-height: 1.7;
}

/* ==========================================================================
   无连续表面：海量色点空间背景 (Point Cloud Space)
   通过多个微点径向渐变层交叠，构成无连续表面的粒子离散空间
   ========================================================================== */
.pointcloud-space-field {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  background-color: #000000;
  background-image:
    /* 青蓝离散微色点 */
    radial-gradient(circle at 18px 24px, rgba(0, 240, 255, 0.45) 1.2px, transparent 1.6px),
    /* 紫色离散色点 */
    radial-gradient(circle at 64px 72px, rgba(192, 132, 252, 0.4) 1.5px, transparent 1.8px),
    /* 琥珀金色散点 */
    radial-gradient(circle at 110px 38px, rgba(251, 191, 36, 0.35) 1.1px, transparent 1.5px),
    /* 翠绿色微点 */
    radial-gradient(circle at 148px 112px, rgba(16, 185, 129, 0.3) 1.3px, transparent 1.7px);
  background-size: 160px 160px, 190px 190px, 220px 220px, 260px 260px;
  opacity: 0.75;
}

/* 容器与版心 */
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--padding-x);
  padding-right: var(--padding-x);
  position: relative;
  z-index: 1;
}

.section-wrapper {
  padding-top: var(--padding-y);
  padding-bottom: var(--padding-y);
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   导航规范：固定在顶部，高 64px。
   黑底约 80% 透明，背后模糊，底边一条极浅点阵分割线。
   左：圆角方标(8px) + 字标。中：4 条 14px 灰色文字链接(间距36px)。
   右：幽灵按钮「登录」+ 品牌色实心主按钮。
   ========================================================================== */
.navbar-fixed {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px dotted rgba(0, 240, 255, 0.25);
  z-index: 1000;
  display: flex;
  align-items: center;
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-brand-logo {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-logo);
  object-fit: cover;
  border: 1px dotted var(--pc-point-cyan);
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.3);
}

.nav-brand-text {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink-primary);
  letter-spacing: -0.02em;
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.brand-cloud-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--pc-point-cyan);
  background: rgba(0, 240, 255, 0.08);
  border: 1px dotted rgba(0, 240, 255, 0.3);
  padding: 1px 6px;
  border-radius: 4px;
}

.nav-links-center {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-link-item {
  font-size: 14px;
  color: var(--ink-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
  position: relative;
}

.nav-link-item:hover,
.nav-link-item.active {
  color: var(--pc-point-cyan);
}

.nav-actions-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* 按钮体系：全页主按钮层级统一 */
.btn-ghost-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  border-radius: var(--radius-btn);
  border: 1px dotted rgba(0, 240, 255, 0.4);
  color: var(--ink-primary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  background: rgba(0, 240, 255, 0.04);
  transition: all 0.2s ease;
}

.btn-ghost-nav:hover {
  background: rgba(0, 240, 255, 0.12);
  border-color: var(--pc-point-cyan);
  color: var(--pc-point-cyan);
}

.btn-primary-solid {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 22px;
  border-radius: var(--radius-btn);
  background: var(--pc-point-cyan);
  color: #000000;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid var(--pc-point-cyan);
  box-shadow: 0 0 16px rgba(0, 240, 255, 0.45);
  transition: all 0.2s ease;
}

.btn-primary-solid:hover {
  background: #38bdf8;
  box-shadow: 0 0 24px rgba(0, 240, 255, 0.7);
  transform: translateY(-1px);
}

.btn-outline-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  border-radius: var(--radius-btn);
  background: rgba(255, 255, 255, 0.02);
  color: var(--ink-primary);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  border: 1px dotted rgba(0, 240, 255, 0.35);
  transition: all 0.2s ease;
}

.btn-outline-secondary:hover {
  border-color: var(--pc-point-cyan);
  background: rgba(0, 240, 255, 0.08);
  color: var(--pc-point-cyan);
}

/* 移动端汉堡与抽屉 */
.mobile-menu-btn {
  display: none;
  background: transparent;
  border: 1px dotted var(--pc-point-cyan);
  color: var(--pc-point-cyan);
  padding: 6px 10px;
  border-radius: 8px;
  cursor: pointer;
}

.mobile-menu-drawer {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.98);
  border-bottom: 1px dotted rgba(0, 240, 255, 0.3);
  padding: 20px var(--padding-x);
  flex-direction: column;
  gap: 16px;
  z-index: 999;
}

.mobile-menu-drawer.open {
  display: flex;
}

.mobile-nav-item {
  color: var(--ink-secondary);
  text-decoration: none;
  font-size: 15px;
  padding: 8px 0;
  border-bottom: 1px dotted rgba(0, 240, 255, 0.15);
}
.mobile-nav-item:hover {
  color: var(--pc-point-cyan);
}

/* ==========================================================================
   首屏规范：两列 1:1，间距 60px，上内边距约 140px，最小高度一屏
   左栏：1.胶囊公告 2.品牌色产品名(42px紧字距) 3.主张(24px宽字距) 4.灰介绍(最宽600px)
         5.主实心+次描边双入口 6.品牌色信息条(3行内) 7.三条短信任点(带勾)
   右栏：最宽460px演示卡片(圆角20px)，仿窗口三圆点+右侧标题，两轮对话，
         左侧品牌色边+深色等宽代码，底部三点输入
   ========================================================================== */
.hero-section {
  padding-top: 140px;
  padding-bottom: 80px;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-left-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

/* 1. 胶囊公告 */
.hero-capsule {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px;
  background: rgba(0, 240, 255, 0.06);
  border: 1px dotted rgba(0, 240, 255, 0.35);
  border-radius: var(--radius-capsule);
  font-size: 13px;
  color: var(--ink-primary);
  margin-bottom: 24px;
}

.capsule-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pc-point-cyan);
  box-shadow: 0 0 10px var(--pc-point-cyan);
  animation: pulsePoint 2s infinite;
}

@keyframes pulsePoint {
  0%, 100% { opacity: 0.4; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.3); }
}

/* 2. 品牌色产品名，约 42px，字距略紧 */
.hero-product-name {
  font-size: 42px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--pc-point-cyan);
  margin-bottom: 12px;
  text-shadow: 0 0 20px rgba(0, 240, 255, 0.35);
}

/* 3. 主张，约 24px，字距略宽 */
.hero-tagline {
  font-size: 24px;
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ink-primary);
  margin-bottom: 20px;
}

/* 4. 灰色介绍，最宽约 600px */
.hero-desc-gray {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-secondary);
  max-width: 600px;
  margin-bottom: 32px;
}

/* 5. 两个入口：主实心，次描边 */
.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 28px;
}

/* 6. 品牌色信息条 (三行以内) */
.hero-info-strip {
  width: 100%;
  max-width: 600px;
  background: rgba(0, 240, 255, 0.04);
  border-left: 3px solid var(--pc-point-cyan);
  border-radius: 0 var(--radius-card) var(--radius-card) 0;
  padding: 12px 18px;
  font-size: 13.5px;
  color: #E0F2FE;
  line-height: 1.6;
  margin-bottom: 24px;
}
.hero-info-strip strong {
  color: var(--pc-point-cyan);
}

/* 7. 三条短信任点，带小勾 */
.hero-trust-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--ink-secondary);
}

.trust-check-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(0, 240, 255, 0.15);
  color: var(--pc-point-cyan);
  font-size: 11px;
  flex-shrink: 0;
}

/* 右栏：演示卡片最宽约 460px，圆角约 20px */
.hero-demo-card {
  width: 100%;
  max-width: 460px;
  margin-left: auto;
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.9);
  border: 1px dotted rgba(0, 240, 255, 0.4);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9), 0 0 30px rgba(0, 240, 255, 0.1);
  overflow: hidden;
  position: relative;
}

.demo-card-window-header {
  height: 42px;
  background: rgba(0, 240, 255, 0.04);
  border-bottom: 1px dotted rgba(0, 240, 255, 0.2);
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.window-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}

.window-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.window-dot.red { background: #F43F5E; }
.window-dot.yellow { background: #FBBF24; }
.window-dot.green { background: #10B981; }

.window-sub-title {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--pc-point-cyan);
  letter-spacing: 0.05em;
}

.demo-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.chat-bubble-user {
  align-self: flex-end;
  background: #0f172a;
  color: #f8fafc;
  padding: 10px 16px;
  border-radius: 14px 14px 2px 14px;
  font-size: 14px;
  max-width: 88%;
  line-height: 1.5;
  border: 1px dotted rgba(255, 255, 255, 0.15);
}

.chat-bubble-ai {
  align-self: flex-start;
  background: rgba(0, 0, 0, 0.95);
  border-left: 3px solid var(--pc-point-cyan);
  border-radius: 2px 14px 14px 14px;
  padding: 14px 18px;
  color: var(--ink-primary);
  font-size: 13.5px;
  line-height: 1.6;
  max-width: 100%;
}

.ai-role {
  font-size: 11.5px;
  font-family: var(--font-mono);
  color: var(--pc-point-cyan);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.demo-code-block {
  margin-top: 10px;
  background: #000000;
  border: 1px dotted rgba(0, 240, 255, 0.25);
  border-radius: 8px;
  padding: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: #A7F3D0;
  overflow-x: auto;
  line-height: 1.5;
}

.demo-typing-indicator {
  display: flex;
  align-items: center;
  gap: 5px;
  padding-left: 6px;
  margin-top: 4px;
}

.typing-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pc-point-cyan);
  animation: typingBounce 1.4s infinite ease-in-out both;
}
.typing-dot:nth-child(1) { animation-delay: -0.32s; }
.typing-dot:nth-child(2) { animation-delay: -0.16s; }
.typing-dot:nth-child(3) { animation-delay: 0s; }

@keyframes typingBounce {
  0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
  40% { transform: scale(1.1); opacity: 1; }
}

/* ==========================================================================
   核心要求特性专区：API 开放平台是可旋转的点云，端点是更密的点簇，背景纯黑
   ========================================================================== */
.rotatable-cloud-section {
  position: relative;
  background: #000000;
  border-top: 1px dotted rgba(0, 240, 255, 0.25);
  border-bottom: 1px dotted rgba(0, 240, 255, 0.25);
  padding: 80px 0;
}

.cloud-visual-stage {
  position: relative;
  width: 100%;
  max-width: 680px;
  height: 480px;
  margin: 0 auto;
  border-radius: var(--radius-card);
  background: #000000;
  border: 1px dotted rgba(0, 240, 255, 0.35);
  box-shadow: 0 10px 40px rgba(0, 240, 255, 0.1);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1000px;
}

/* 3D 旋转点云主空间 (Rotatable 3D Cloud) */
.cloud-3d-rotating-core {
  position: relative;
  width: 280px;
  height: 280px;
  transform-style: preserve-3d;
  animation: cloudOrbit 16s linear infinite;
}

@keyframes cloudOrbit {
  0% { transform: rotateY(0deg) rotateX(15deg) rotateZ(0deg); }
  50% { transform: rotateY(180deg) rotateX(-15deg) rotateZ(180deg); }
  100% { transform: rotateY(360deg) rotateX(15deg) rotateZ(360deg); }
}

/* 轨道环 (Orbit Rings) */
.cloud-orbit-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 260px;
  height: 260px;
  margin-top: -130px;
  margin-left: -130px;
  border-radius: 50%;
  border: 1px dotted rgba(0, 240, 255, 0.3);
  pointer-events: none;
}
.cloud-orbit-ring:nth-child(2) {
  width: 220px;
  height: 220px;
  margin-top: -110px;
  margin-left: -110px;
  border-color: rgba(192, 132, 252, 0.35);
  transform: rotateX(60deg);
}
.cloud-orbit-ring:nth-child(3) {
  width: 180px;
  height: 180px;
  margin-top: -90px;
  margin-left: -90px;
  border-color: rgba(251, 191, 36, 0.3);
  transform: rotateY(60deg);
}

/* 端点更密集的彩色点簇 (Dense End Clusters) */
.dense-end-cluster {
  position: absolute;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-image: 
    radial-gradient(circle, #00F0FF 1.5px, transparent 2px),
    radial-gradient(circle at 10px 10px, #C084FC 1.5px, transparent 2px),
    radial-gradient(circle at 25px 8px, #F43F5E 1.5px, transparent 2px),
    radial-gradient(circle at 8px 25px, #FBBF24 1.5px, transparent 2px),
    radial-gradient(circle at 28px 28px, #10B981 1.5px, transparent 2px);
  background-size: 14px 14px;
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.6);
  pointer-events: none;
}
.cluster-top { top: -20px; left: 118px; }
.cluster-bottom { bottom: -20px; left: 118px; }
.cluster-left { top: 118px; left: -20px; }
.cluster-right { top: 118px; right: -20px; }

/* 扫描中心中央交互入口 */
.cloud-center-action {
  position: relative;
  z-index: 10;
  background: rgba(0, 0, 0, 0.9);
  border: 1px solid var(--pc-point-cyan);
  padding: 22px 30px;
  border-radius: 16px;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 0 24px rgba(0, 240, 255, 0.35);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.cloud-center-action:hover {
  transform: scale(1.05);
  box-shadow: 0 0 40px rgba(0, 240, 255, 0.6);
}

.cloud-center-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--pc-point-cyan);
  margin-bottom: 6px;
}
.cloud-center-title {
  font-size: 20px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 4px;
}
.cloud-center-desc {
  font-size: 13px;
  color: var(--ink-secondary);
}

/* ==========================================================================
   能力区：细分割线。标题居中 38px，说明居中且最宽 720px。
   下面 6 张卡，桌面 3 列，间距 28px。
   每张卡 1px 点阵边、圆角 12px、内边距 28px、48px 图标块同一套线性图标。
   悬停上移 4px 边框变品牌色。标题 18px，说明 14px 灰色。
   窄于 968px 改为 2 列，窄于 640px 改为 1 列。
   ========================================================================== */
.abilities-section {
  background: #000000;
  border-top: 1px dotted rgba(0, 240, 255, 0.2);
  border-bottom: 1px dotted rgba(0, 240, 255, 0.2);
}

.section-header-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 56px;
}

.section-title-center {
  font-size: 38px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--ink-primary);
  margin-bottom: 16px;
}

.section-desc-center {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-secondary);
  max-width: 720px;
}

.ability-grid-6 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.ability-card {
  background: rgba(0, 0, 0, 0.85);
  border: 1px dotted rgba(0, 240, 255, 0.25);
  border-radius: var(--radius-card);
  padding: 28px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.ability-card:hover {
  transform: translateY(-4px);
  border-color: var(--pc-point-cyan);
  border-style: solid;
  box-shadow: 0 12px 30px rgba(0, 240, 255, 0.15);
}

.ability-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(0, 240, 255, 0.06);
  border: 1px dotted rgba(0, 240, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pc-point-cyan);
  margin-bottom: 20px;
}

.ability-card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink-primary);
  margin-bottom: 10px;
  line-height: 1.4;
}

.ability-card-desc {
  font-size: 14px;
  color: var(--ink-secondary);
  line-height: 1.7;
}

/* ==========================================================================
   产品矩阵：4 张卡，桌面 4 列，间距 24px；窄于 1200px 2列，窄于 640px 1列。
   每张卡包含：小角标、名称、一行彩色副题、两行说明、底部分割线下的两个元信息。
   角标只用字重和文案区分角色，颜色不超过品牌色加一个强调色。
   ========================================================================== */
.matrix-section {
  background: #000000;
}

.matrix-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.matrix-card {
  background: rgba(0, 0, 0, 0.85);
  border: 1px dotted rgba(0, 240, 255, 0.25);
  border-radius: var(--radius-card);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: left;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.matrix-card:hover {
  transform: translateY(-4px);
  border-color: var(--pc-point-cyan);
  border-style: solid;
}

.matrix-card-top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.matrix-card-badge {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(0, 240, 255, 0.08);
  color: var(--pc-point-cyan);
  border: 1px dotted rgba(0, 240, 255, 0.3);
  margin-bottom: 14px;
}
.matrix-card-badge.accent-badge {
  background: rgba(251, 191, 36, 0.08);
  color: var(--pc-point-amber);
  border-color: rgba(251, 191, 36, 0.35);
}

.matrix-card-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink-primary);
  margin-bottom: 6px;
}

.matrix-card-sub {
  font-size: 13px;
  color: var(--pc-point-cyan);
  font-weight: 600;
  margin-bottom: 12px;
}
.matrix-card-sub.accent-sub {
  color: var(--pc-point-amber);
}

.matrix-card-desc {
  font-size: 13.5px;
  color: var(--ink-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.matrix-meta-row {
  border-top: 1px dotted rgba(0, 240, 255, 0.2);
  padding-top: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  font-family: var(--font-mono);
  color: var(--ink-muted);
}
.matrix-meta-val {
  color: var(--ink-primary);
  font-weight: 600;
}

/* ==========================================================================
   开发者区：左右 1:1，间距 60px，窄于 1200px 上下堆叠。
   左：34px 标题、说明、4 带勾选项、描边按钮。
   右：深色代码面板，12px 圆角，语法着色。
   ========================================================================== */
.dev-section {
  background: #000000;
  border-top: 1px dotted rgba(0, 240, 255, 0.2);
  border-bottom: 1px dotted rgba(0, 240, 255, 0.2);
}

.dev-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.dev-left-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.dev-title {
  font-size: 34px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.03em;
  color: var(--ink-primary);
  margin-bottom: 16px;
}

.dev-desc {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-secondary);
  margin-bottom: 24px;
}

.dev-checklist {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 30px;
}

.dev-check-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--ink-primary);
}

.dev-code-panel {
  background: #000000;
  border: 1px dotted rgba(0, 240, 255, 0.35);
  border-radius: var(--radius-card);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.9);
  overflow: hidden;
}

.dev-panel-header {
  padding: 12px 18px;
  background: rgba(0, 240, 255, 0.05);
  border-bottom: 1px dotted rgba(0, 240, 255, 0.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dev-code-body {
  padding: 22px;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.65;
  color: #E2E8F0;
  overflow-x: auto;
}

.token-comment { color: #64748B; font-style: italic; }
.token-keyword { color: #F43F5E; font-weight: 600; }
.token-string { color: var(--pc-point-cyan); }
.token-func { color: #38BDF8; }
.token-var { color: #FBBF24; }

/* ==========================================================================
   动态区：两端对齐标题，通栏列表。小标签、标题、日期。
   ========================================================================== */
.news-section {
  background: #000000;
}

.news-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 36px;
}

.news-title {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink-primary);
}

.news-view-all {
  font-size: 14px;
  color: var(--pc-point-cyan);
  text-decoration: none;
  font-weight: 600;
}
.news-view-all:hover {
  text-decoration: underline;
}

.news-list-full {
  display: flex;
  flex-direction: column;
  border: 1px dotted rgba(0, 240, 255, 0.25);
  border-radius: var(--radius-card);
  overflow: hidden;
  background: rgba(0, 0, 0, 0.85);
}

.news-list-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px dotted rgba(0, 240, 255, 0.15);
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.news-list-row:last-child {
  border-bottom: none;
}

.news-list-row:hover {
  background: rgba(0, 240, 255, 0.05);
}

.news-left-group {
  display: flex;
  align-items: center;
  gap: 16px;
}

.news-tag {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
}
.news-tag.tag-release {
  background: rgba(0, 240, 255, 0.12);
  color: var(--pc-point-cyan);
  border: 1px dotted rgba(0, 240, 255, 0.3);
}
.news-tag.tag-research {
  background: rgba(251, 191, 36, 0.12);
  color: var(--pc-point-amber);
  border: 1px dotted rgba(251, 191, 36, 0.3);
}

.news-row-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-primary);
}

.news-date {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-secondary);
  flex-shrink: 0;
}

/* ==========================================================================
   下载区：居中。标题、一句平台说明、主按钮 + 描边次按钮。
   ========================================================================== */
.download-section {
  background: #000000;
  border-top: 1px dotted rgba(0, 240, 255, 0.25);
  border-bottom: 1px dotted rgba(0, 240, 255, 0.25);
  text-align: center;
}

.download-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.download-title {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink-primary);
  margin-bottom: 12px;
}

.download-subtext {
  font-size: 16px;
  color: var(--ink-secondary);
  margin-bottom: 32px;
  max-width: 580px;
}

.download-btn-group {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* ==========================================================================
   页脚：四列，约 2:1:1:1。顶部分割线。
   ========================================================================== */
.footer-section {
  background: #000000;
  border-top: 1px dotted rgba(0, 240, 255, 0.2);
  padding: 80px 0 40px 0;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-brand-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.footer-logo-img {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-logo);
  border: 1px dotted rgba(0, 240, 255, 0.3);
}

.footer-brand-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink-primary);
}

.footer-desc-lines {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--ink-secondary);
  max-width: 360px;
}

.footer-col-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-primary);
  margin-bottom: 18px;
  letter-spacing: 0.04em;
}

.footer-link-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link-item a {
  font-size: 13.5px;
  color: var(--ink-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-link-item a:hover {
  color: var(--pc-point-cyan);
}

.footer-bottom-bar {
  border-top: 1px dotted rgba(0, 240, 255, 0.15);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--ink-muted);
}

/* 图文画廊容器 */
.gallery-item {
  border: 1px dotted rgba(0, 240, 255, 0.25);
  border-radius: var(--radius-card);
  overflow: hidden;
  background: #000000;
}
.gallery-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
.gallery-caption {
  padding: 12px 16px;
  font-size: 12.5px;
  color: var(--ink-secondary);
  background: rgba(0, 240, 255, 0.03);
  border-top: 1px dotted rgba(0, 240, 255, 0.15);
  font-family: var(--font-mono);
}

/* ==========================================================================
   响应式断点：1200px / 968px / 640px 严格执行要求
   ========================================================================== */

/* <= 1200px */
@media (max-width: 1200px) {
  .matrix-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .dev-grid-2col {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* <= 968px */
@media (max-width: 968px) {
  :root {
    --padding-x: 32px;
  }
  .nav-links-center {
    display: none;
  }
  .mobile-menu-btn {
    display: inline-flex;
  }
  .hero-grid-2col {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero-demo-card {
    margin-left: 0;
    max-width: 100%;
  }
  .ability-grid-6 {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* <= 640px */
@media (max-width: 640px) {
  :root {
    --padding-x: 16px;
    --padding-y: 64px;
  }
  .hero-product-name {
    font-size: 32px;
  }
  .hero-tagline {
    font-size: 18px;
  }
  .ability-grid-6 {
    grid-template-columns: 1fr;
  }
  .matrix-grid-4 {
    grid-template-columns: 1fr;
  }
  .news-list-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .news-date {
    margin-top: 4px;
    font-size: 12px;
  }
  .download-btn-group {
    flex-direction: column;
    width: auto;
  }
  .download-btn-group .btn-primary-solid,
  .download-btn-group .btn-outline-secondary {
    width: auto;
    min-width: 180px;
  }
  .footer-top-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom-bar {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

/* scroll-perf: keep first screen painted, defer the rest, drop blur on small screens */
main > section:not(:first-of-type) {
  content-visibility: auto;
  contain-intrinsic-size: auto 720px;
}
img {
  max-width: 100%;
}
@media (max-width: 968px) {
  .site-header,
  .nav-drawer,
  header {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}