/* ==========================================================================
   DeepSeek | 深度求索 - 让推理走向更远
   设计风格：等距微缩 — 45 度小屋、柔和阴影、玩具比例。
   网页版入口是一扇可推开的微缩门，API 服务是不同楼层，DeepSeek 字在屋顶。
   ========================================================================== */

:root {
  /* 等距微缩小屋与沙盘柔和调色板 */
  --iso-clay-roof: #1a4971;          /* 45度斜坡屋顶深靛蓝 */
  --iso-facade-warm: #fcfbf9;        /* 玩具小屋暖白外立面 */
  --iso-timber-trim: #4a6572;        /* 窗框与屋檐深色线条 */
  --iso-grass-plane: #edf2f4;        /* 等距沙盘微缩地台 */
  
  /* 品牌核心色与唯一强调色 */
  --brand-primary: #1060ea;          /* 屋顶信标天蓝 */
  --brand-primary-hover: #0b4bc2;    /* 交互悬停深蓝 */
  --brand-accent-amber: #d97706;     /* 微缩暖灯琥珀色 (唯一强调色) */

  /* 中性背景与模块平涂色 */
  --iso-white: #ffffff;
  --iso-gray-50: #f6f9fc;
  --iso-gray-100: #eef3f8;
  --iso-gray-200: #dce5ee;
  --iso-gray-400: #9cb1c4;
  --iso-gray-600: #556c80;
  --iso-gray-700: #334a5e;
  --iso-gray-900: #0f1c28;

  /* 文字颜色 */
  --text-main: #132435;
  --text-muted: #5a7288;
  --text-light: #8ea4b8;
  --border-light: #dce7f0;

  /* 硬性约束统一圆角规范 */
  --radius-card: 12px;
  --radius-button: 12px;
  --radius-brand-box: 8px;
  --radius-pill: 9999px;

  /* 等距微缩柔和阴影 (Soft toy-scale ambient occlusion shadows) */
  --iso-shadow-soft-sm: 0 2px 4px rgba(19, 36, 53, 0.04), 
                        0 1px 2px rgba(19, 36, 53, 0.02);
  --iso-shadow-floor: 0 10px 24px -4px rgba(19, 36, 53, 0.07), 
                      0 4px 8px -2px rgba(19, 36, 53, 0.03);
  --iso-shadow-card: 0 12px 28px -6px rgba(19, 36, 53, 0.08), 
                     0 6px 12px -3px rgba(19, 36, 53, 0.04);
  --iso-shadow-card-hover: 0 18px 36px -8px rgba(16, 96, 234, 0.12), 
                           0 8px 16px -4px rgba(19, 36, 53, 0.06);
  --iso-shadow-modal: 0 24px 48px -12px rgba(15, 28, 40, 0.22),
                      0 12px 24px -6px rgba(15, 28, 40, 0.10);

  /* 45 度等距微缩网格底纹 */
  --iso-grid-pattern: radial-gradient(rgba(85, 108, 128, 0.15) 1.2px, transparent 1.2px);
}

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

html {
  scroll-behavior: smooth;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--text-main);
  background-color: #ffffff;
  -webkit-font-smoothing: antialiased;
}

body {
  line-height: 1.7;
  overflow-x: hidden;
  background-color: #ffffff;
}

/* 等距微缩沙盘地台微底纹 */
.iso-diorama-bg {
  background-image: var(--iso-grid-pattern);
  background-size: 26px 26px;
}

/* 容器与响应式间距规范 */
.container {
  max-width: 1240px;
  margin: 0 auto;
  width: 100%;
}

.section-spacing {
  padding-top: 100px;
  padding-bottom: 100px;
  padding-left: 64px;
  padding-right: 64px;
}

@media (max-width: 968px) {
  .section-spacing {
    padding-top: 80px;
    padding-bottom: 80px;
    padding-left: 32px;
    padding-right: 32px;
  }
}

@media (max-width: 640px) {
  .section-spacing {
    padding-top: 60px;
    padding-bottom: 60px;
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* 统一按钮层级 (全页仅导航和下载区有实心主按钮，其余全为描边或文字按钮) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-button);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  line-height: 1.2;
}

/* 实心品牌主按钮（仅导航与下载区可用） */
.btn-primary-solid {
  background-color: var(--brand-primary);
  color: #ffffff;
  border: 1px solid var(--brand-primary);
  box-shadow: 0 4px 12px rgba(16, 96, 234, 0.22);
}

.btn-primary-solid:hover {
  background-color: var(--brand-primary-hover);
  border-color: var(--brand-primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(16, 96, 234, 0.32);
}

/* 次入口描边按钮 (白底描边) */
.btn-outline {
  background-color: #ffffff;
  color: var(--text-main);
  border: 1px solid var(--border-light);
  box-shadow: var(--iso-shadow-soft-sm);
}

.btn-outline:hover {
  border-color: var(--brand-primary);
  color: var(--brand-primary);
  transform: translateY(-1px);
}

/* 幽灵文字按钮 */
.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid transparent;
}

.btn-ghost:hover {
  color: var(--text-main);
}

/* 45 度微缩楼层标签 */
.iso-floor-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 3px 8px;
  background: var(--iso-gray-100);
  border: 1px solid var(--border-light);
  border-radius: 4px;
  color: var(--iso-gray-700);
}

.iso-floor-tag.blue {
  background: rgba(16, 96, 234, 0.08);
  border-color: rgba(16, 96, 234, 0.22);
  color: var(--brand-primary);
}

.iso-floor-tag.amber {
  background: rgba(217, 119, 6, 0.08);
  border-color: rgba(217, 119, 6, 0.22);
  color: var(--brand-accent-amber);
}

/* ==========================================================================
   1. 导航栏 (Navigation)
   固定在顶部，高 64px。白底约 80% 透明，背后模糊，底边一条极浅分割线。
   左：圆角方标(8px) + 字标。中：4 条 14px 灰色文字链接，间距约 36px。
   右：幽灵按钮「登录」+ 品牌色实心主按钮。
   窄于 968px 时收起中间链接，并提供可打开的菜单。
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 64px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(220, 231, 240, 0.85);
  z-index: 1000;
  box-shadow: 0 1px 3px rgba(19, 36, 53, 0.03);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding-left: 64px;
  padding-right: 64px;
  max-width: 1240px;
  margin: 0 auto;
}

@media (max-width: 968px) {
  .header-container {
    padding-left: 32px;
    padding-right: 32px;
  }
}

@media (max-width: 640px) {
  .header-container {
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* 左侧：圆角方标 (8px) + 字标 */
.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-icon-box {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-brand-box);
  background: var(--iso-clay-roof);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(26, 73, 113, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.brand-icon-box img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.brand-wordmark {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 6px;
}

.brand-wordmark span {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  border-left: 1px solid var(--border-light);
  padding-left: 8px;
}

/* 中间：4 条 14px 灰色文字链接，间距约 36px */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-link {
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s ease;
}

.nav-link:hover, .nav-link.active {
  color: var(--brand-primary);
}

/* 右侧：幽灵按钮「登录」+ 品牌色实心主按钮 */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* 窄于 968px 汉堡按钮与移动抽屉菜单 */
.nav-toggle-btn {
  display: none;
  background: transparent;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-brand-box);
  width: 36px;
  height: 36px;
  cursor: pointer;
  padding: 6px;
  color: var(--text-main);
}

.mobile-menu-drawer {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  width: 100%;
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
  padding: 20px 24px;
  box-shadow: 0 8px 24px rgba(19, 36, 53, 0.08);
  z-index: 999;
}

.mobile-menu-drawer.active {
  display: block;
}

.mobile-menu-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-menu-link {
  font-size: 15px;
  color: var(--text-main);
  text-decoration: none;
  font-weight: 500;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--iso-gray-100);
  display: flex;
  justify-content: space-between;
}

@media (max-width: 968px) {
  .nav-menu {
    display: none;
  }
  .nav-toggle-btn {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* ==========================================================================
   2. 首屏 (Hero Section)
   两列 1:1，间距 60px，上内边距约 140px，最小高度约一屏。整段左对齐。
   窄于 968px 改为单列，演示卡放在文案下面，不要盖住标题。
   ========================================================================== */
.hero-section {
  padding-top: 140px;
  padding-bottom: 90px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #f6f9fc 100%);
}

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

/* 左栏从上到下 7 项 (整段左对齐) */
.hero-content {
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* 1. 胶囊公告（小圆点 + 一句发布信息） */
.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  background: var(--iso-gray-100);
  border: 1px solid var(--border-light);
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 20px;
  box-shadow: var(--iso-shadow-soft-sm);
  text-decoration: none;
}

.pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-primary);
  box-shadow: 0 0 0 2px rgba(16, 96, 234, 0.2);
}

/* 2. 品牌色产品名，约 42px，字距略紧 */
.hero-product-name {
  font-size: 42px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--brand-primary);
  margin-bottom: 8px;
}

/* 3. 主张，约 24px，字距略宽 */
.hero-tagline {
  font-size: 24px;
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text-main);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.iso-roof-cube {
  display: inline-block;
  width: 12px;
  height: 12px;
  background: var(--iso-clay-roof);
  transform: rotate(45deg);
  border-radius: 2px;
  box-shadow: 0 2px 4px rgba(26, 73, 113, 0.3);
}

/* 4. 灰色介绍，最宽约 600px */
.hero-description {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 28px;
}

/* 5. 两个入口。主入口用品牌色实心按钮，次入口用白底描边，不要做成两张等重的白卡片 */
.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 26px;
  flex-wrap: wrap;
}

.hero-actions .btn {
  padding: 12px 28px;
  font-size: 15px;
}

/* 6. 一条品牌色信息条（招聘、活动或公告，三行以内） */
.hero-info-strip {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-left: 4px solid var(--brand-primary);
  border-radius: var(--radius-brand-box);
  padding: 10px 16px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--iso-gray-700);
  max-width: 580px;
  margin-bottom: 24px;
  box-shadow: var(--iso-shadow-soft-sm);
}

.hero-info-strip strong {
  color: var(--brand-primary);
  font-weight: 700;
  margin-right: 6px;
}

/* 7. 三条短信任点，带小勾 */
.hero-trust-list {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
  flex-wrap: wrap;
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

.hero-trust-item svg {
  width: 15px;
  height: 15px;
  stroke: var(--brand-primary);
  stroke-width: 2.5;
  flex-shrink: 0;
}

/* 右栏：最宽约 460px 的演示卡片，圆角约 20px。
   顶栏仿窗口（三个圆点 + 右侧小标题），里面是两轮对话：用户浅灰气泡，
   回复区左侧一条品牌色边，并嵌一块深色等宽代码。底部可用三个点表示正在输入。 */
.hero-demo-wrapper {
  display: flex;
  justify-content: flex-end;
}

.iso-window-card {
  width: 100%;
  max-width: 460px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 20px;
  box-shadow: var(--iso-shadow-card);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.iso-window-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--iso-shadow-card-hover);
}

.window-header {
  height: 44px;
  background: var(--iso-gray-50);
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
}

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

.window-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15);
}

.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.window-title {
  font-size: 11px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  color: var(--text-muted);
  font-weight: 600;
}

.window-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* 用户浅灰气泡 */
.chat-bubble-user {
  align-self: flex-end;
  background: var(--iso-gray-100);
  border: 1px solid var(--border-light);
  padding: 10px 14px;
  border-radius: 12px 12px 2px 12px;
  font-size: 13px;
  color: var(--text-main);
  max-width: 85%;
  line-height: 1.5;
  box-shadow: var(--iso-shadow-soft-sm);
}

/* AI 回复区：左侧一条品牌色边，嵌一块深色等宽代码 */
.chat-response-ai {
  align-self: flex-start;
  width: 100%;
  border-left: 3px solid var(--brand-primary);
  padding-left: 12px;
  font-size: 13px;
  color: var(--text-main);
  line-height: 1.6;
}

.chat-response-text {
  margin-bottom: 10px;
  color: var(--iso-gray-700);
}

.window-code-block {
  background: #0d1e30;
  border-radius: 8px;
  padding: 12px 14px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
  line-height: 1.5;
  color: #e3ecf5;
  overflow-x: auto;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.code-keyword { color: #93c5fd; font-weight: 600; }
.code-fn { color: #fde047; }
.code-string { color: #86efac; }
.code-comment { color: #7f97ab; font-style: italic; }

/* 底部三个点表示正在输入 */
.typing-indicator {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 0 2px;
}

.typing-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand-primary);
  opacity: 0.6;
  animation: typingPulse 1.4s infinite ease-in-out;
}

.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingPulse {
  0%, 80%, 100% { transform: scale(0.8); opacity: 0.3; }
  40% { transform: scale(1.3); opacity: 1; }
}

@media (max-width: 968px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-demo-wrapper {
    justify-content: center;
  }
  .iso-window-card {
    max-width: 100%;
  }
}

/* ==========================================================================
   3. 能力区 (Capabilities)
   浅色底，上下细分割线。标题居中，约 38px，说明居中且最宽约 720px。
   下面 6 张卡，桌面 3 列，间距 28px。
   每张卡白底、1px 浅灰边、圆角 12px、内边距 28px；
   上方 48px 圆角图标块用同一套线性图标，不要用表情符号。
   悬停上移约 4px，边框变为品牌色。标题 18px，说明 14px 灰色。
   窄于 968px 改为 2 列，窄于 640px 改为 1 列。
   ========================================================================== */
.capabilities-section {
  background: var(--iso-gray-50);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.section-header-center {
  text-align: center;
  margin-bottom: 56px;
}

.section-header-center h2 {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-main);
  margin-bottom: 14px;
  line-height: 1.2;
}

.section-header-center p {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.7;
}

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

.capability-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-card);
  padding: 28px;
  box-shadow: var(--iso-shadow-soft-sm);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  text-align: left;
}

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

.capability-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-card);
  background: var(--iso-gray-100);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--brand-primary);
  box-shadow: inset 0 1px 0 #ffffff;
}

.capability-icon-box svg {
  width: 24px;
  height: 24px;
  stroke: var(--brand-primary);
  stroke-width: 2;
}

.capability-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 10px;
  line-height: 1.35;
}

.capability-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

@media (max-width: 968px) {
  .capabilities-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 640px) {
  .capabilities-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ==========================================================================
   4. 产品矩阵 (Products)
   白底。标题样式与能力区相同（居中 38px + 最宽 720px 说明）。
   4 张卡，桌面 4 列，间距 24px；窄于 1200px 改为 2 列，窄于 640px 改为 1 列。
   每张卡包含：小角标、名称、一行彩色副题、两行说明、底部分割线下的两个元信息。
   角标只用字重和文案区分角色，颜色不要超过品牌色加一个强调色。
   ========================================================================== */
.products-section {
  background: #ffffff;
}

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

.product-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-card);
  padding: 24px;
  box-shadow: var(--iso-shadow-soft-sm);
  display: flex;
  flex-direction: column;
  position: relative;
  text-align: left;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

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

.product-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

/* 角标只用字重和文案区分角色，颜色不超过品牌色加一个强调色 */
.product-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  letter-spacing: 0.04em;
}

.product-badge.brand-blue {
  background: rgba(16, 96, 234, 0.08);
  color: var(--brand-primary);
  border: 1px solid rgba(16, 96, 234, 0.2);
}

.product-badge.brand-amber {
  background: rgba(217, 119, 6, 0.08);
  color: var(--brand-accent-amber);
  border: 1px solid rgba(217, 119, 6, 0.2);
}

.product-thumb {
  width: 100%;
  height: 106px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid var(--border-light);
  margin-bottom: 12px;
  background: var(--iso-gray-50);
}

.product-name {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 6px;
  line-height: 1.25;
}

.product-subtitle-colored {
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-primary);
  margin-bottom: 10px;
  line-height: 1.4;
}

.product-desc-lines {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 18px;
  flex-grow: 1;
}

.product-meta-divider {
  border-top: 1px solid var(--border-light);
  padding-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.product-meta-item {
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
}

.product-meta-item strong {
  color: var(--text-main);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

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

@media (max-width: 640px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   5. 开发者区 (Developers)
   左右 1:1，间距 60px，窄于 1200px 改为上下堆叠。
   左：左对齐标题约 34px、一段说明、4 条带勾选项、一个描边按钮链到文档。
   右：深色代码面板，圆角 12px，等宽字体，含注释、关键字、字符串的基本着色，展示一段最短可运行的调用示例。
   ========================================================================== */
.developers-section {
  background: var(--iso-gray-50);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

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

.developers-left {
  text-align: left;
}

.developers-title {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-main);
  margin-bottom: 16px;
  line-height: 1.25;
}

.developers-desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

.developers-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.developers-check-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-main);
}

.check-icon-circle {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(16, 96, 234, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.check-icon-circle svg {
  width: 12px;
  height: 12px;
  stroke: var(--brand-primary);
  stroke-width: 2.5;
}

/* 右侧：深色代码面板，圆角 12px，等宽字体，含注释、关键字、字符串的基本着色 */
.code-panel-dark {
  background: #0d1e30;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--iso-shadow-modal);
}

.code-panel-topbar {
  height: 40px;
  background: #142a42;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
}

.code-panel-tab {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
  color: #93c5fd;
  display: flex;
  align-items: center;
  gap: 6px;
}

.code-panel-body {
  padding: 22px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 13px;
  line-height: 1.65;
  color: #f1f5f9;
  overflow-x: auto;
}

@media (max-width: 1200px) {
  .developers-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ==========================================================================
   6. 动态区 (News & Updates)
   标题行两端对齐，左侧标题，右侧「查看全部」。
   下面一张通栏列表，不要再拆成卡片网格。
   每行：小标签、标题、日期。标签最多两种。悬停只改变行背景。
   窄于 640px 时日期换到标题下方。
   ========================================================================== */
.updates-section {
  background: #ffffff;
}

.updates-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}

.updates-header h2 {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-main);
}

.updates-list {
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
}

.update-row {
  display: flex;
  align-items: center;
  padding: 18px 16px;
  border-bottom: 1px solid var(--iso-gray-100);
  text-decoration: none;
  color: inherit;
  transition: background-color 0.15s ease;
  gap: 20px;
}

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

.update-row:hover {
  background-color: var(--iso-gray-50);
}

/* 标签最多两种 */
.update-tag {
  font-size: 12px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  flex-shrink: 0;
  width: 72px;
  text-align: center;
}

.update-tag.tag-model {
  background: rgba(16, 96, 234, 0.08);
  color: var(--brand-primary);
  border: 1px solid rgba(16, 96, 234, 0.2);
}

.update-tag.tag-platform {
  background: rgba(217, 119, 6, 0.08);
  color: var(--brand-accent-amber);
  border: 1px solid rgba(217, 119, 6, 0.2);
}

.update-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-main);
  flex-grow: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.update-date {
  font-size: 13px;
  color: var(--text-light);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .update-row {
    flex-wrap: wrap;
    gap: 8px 14px;
    padding: 14px 10px;
  }
  .update-title {
    width: calc(100% - 90px);
  }
  .update-date {
    width: 100%;
    padding-left: 86px;
    font-size: 12px;
  }
}

/* ==========================================================================
   7. 下载区 (Download Area)
   居中。标题、一句平台说明，然后主按钮 + 描边次按钮。
   窄于 640px 时按钮纵向排列并保持居中，不要拉成全宽。
   ========================================================================== */
.download-section {
  background: var(--iso-gray-50);
  border-top: 1px solid var(--border-light);
  text-align: center;
}

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

.download-subtitle {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

.download-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.download-actions .btn {
  padding: 12px 30px;
  font-size: 15px;
}

@media (max-width: 640px) {
  .download-actions {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  .download-actions .btn {
    width: auto; /* 保持居中，不要拉成全宽 */
    min-width: 220px;
  }
}

/* ==========================================================================
   8. 页脚 (Footer)
   白底，顶部分割线。四列，比例约 2:1:1:1。
   第一列是字标和两行品牌说明；其余三列是分组链接（产品、资源、关于）。
   底部一条版权与备案。不要在页脚后再加一排关键词链接。
   窄于 968px 改为 2 列，窄于 640px 改为 1 列。
   ========================================================================== */
.site-footer {
  background: #ffffff;
  border-top: 1px solid var(--border-light);
  padding-top: 70px;
  padding-bottom: 40px;
  padding-left: 64px;
  padding-right: 64px;
}

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

.footer-col-brand {
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: left;
}

.footer-desc-lines {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 320px;
}

.footer-col {
  text-align: left;
}

.footer-col-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 16px;
}

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

.footer-link {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s ease;
}

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

.footer-bottom-bar {
  border-top: 1px solid var(--border-light);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-light);
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 968px) {
  .site-footer {
    padding-left: 32px;
    padding-right: 32px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 640px) {
  .site-footer {
    padding-left: 16px;
    padding-right: 16px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* ==========================================================================
   专属页面：45度微缩推开门与不同楼层工作台 (web.html 专属样式)
   ========================================================================== */
.iso-building-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  min-height: calc(100vh - 64px);
  margin-top: 64px;
  background: #ffffff;
}

/* 微缩楼层导航侧边栏 */
.iso-floors-sidebar {
  background: var(--iso-gray-50);
  border-right: 1px solid var(--border-light);
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* 45 度微缩门交互展示块 */
.iso-door-interactive-block {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-brand-box);
  padding: 16px;
  box-shadow: var(--iso-shadow-floor);
  position: relative;
  overflow: hidden;
}

.iso-door-perspective {
  perspective: 700px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}

.miniature-door-frame {
  width: 50px;
  height: 72px;
  background: #1e3347;
  border-radius: 4px 4px 0 0;
  position: relative;
  border: 2px solid var(--iso-clay-roof);
  transform-style: preserve-3d;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.4);
}

.miniature-door-panel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1060ea, #0a43a8);
  border-radius: 2px 2px 0 0;
  transform-origin: left center;
  transform: rotateY(-40deg);
  box-shadow: 3px 2px 8px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 6px;
  transition: transform 0.4s ease;
}

.miniature-door-knob {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fbbf24;
  box-shadow: 0 1px 2px rgba(0,0,0,0.4);
}

.door-meta-text {
  flex: 1;
}

.door-meta-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.3;
}

.door-meta-desc {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* 楼层列表 (API 是不同楼层) */
.building-floors-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.floor-item {
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 13px;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.15s ease;
}

.floor-item.active {
  background: #ffffff;
  color: var(--brand-primary);
  font-weight: 600;
  border: 1px solid var(--border-light);
  box-shadow: var(--iso-shadow-soft-sm);
}

/* 右侧交互工作台 */
.iso-chat-stage {
  display: flex;
  flex-direction: column;
  height: calc(100vh - 64px);
}

.stage-topbar {
  height: 52px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  background: #ffffff;
}

.stage-messages {
  flex-grow: 1;
  overflow-y: auto;
  padding: 32px 48px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.stage-input-container {
  padding: 20px 48px 30px;
  border-top: 1px solid var(--border-light);
  background: #ffffff;
}

.stage-input-box {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-card);
  padding: 14px 18px;
  box-shadow: var(--iso-shadow-soft-sm);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.stage-input-box textarea {
  width: 100%;
  border: none;
  outline: none;
  resize: none;
  font-size: 14px;
  line-height: 1.6;
  font-family: inherit;
  color: var(--text-main);
  background: transparent;
}

.stage-input-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media (max-width: 968px) {
  .iso-building-layout {
    grid-template-columns: 1fr;
  }
  .iso-floors-sidebar {
    display: none;
  }
  .stage-messages {
    padding: 20px 16px;
  }
  .stage-input-container {
    padding: 12px 16px 20px;
  }
}

/* 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;
  }
}