/* ==========================================================================
   豆包 - 随时可用的个人 AI 工作台
   视觉规范：晨雾青松露珠未晞苍翠欲滴 · 苍松岁寒风
   色彩体系：苍松冷针绿 + 树皮铁灰 + 晨光透白
   骨架特征：坚劲苍劲纵向骨架，文字如松针般挺拔利落，间距疏朗开阔
   ========================================================================== */

:root {
  /* 苍松冷针绿体系 */
  --pine-deep: #143527;
  --pine-dark: #1A4332;
  --pine-primary: #235641;
  --pine-mid: #2D7A56;
  --pine-dew: #10B981;
  --pine-dew-glow: #34D399;
  --pine-dew-light: #EBF7F2;
  --pine-dew-border: #D1EADE;

  /* 树皮铁灰体系 */
  --bark-black: #111613;
  --bark-deep: #1B211E;
  --bark-dark: #262E2A;
  --bark-mid: #414D47;
  --bark-muted: #5C6A63;
  --bark-light: #8E9C94;
  --bark-border: #E2ECE5;

  /* 晨光透白体系 */
  --mist-white: #F7FAF8;
  --mist-card: #FFFFFF;
  --mist-gray: #EFF4F0;
  --mist-border: #E8EFEA;
  --mist-nav-bg: rgba(255, 255, 255, 0.86);

  /* 页脚深色体系 */
  --footer-dark: #0F1220;
  --footer-card: #151A2C;
  --footer-border: #212842;
  --footer-text-muted: #8E9BB5;

  /* 字体排版与动效 */
  --font-family-base: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --transition-smooth: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-card: 0 4px 20px -2px rgba(20, 53, 39, 0.05), 0 2px 6px -1px rgba(20, 53, 39, 0.03);
  --shadow-card-hover: 0 14px 34px -4px rgba(20, 53, 39, 0.12), 0 4px 12px -2px rgba(16, 185, 129, 0.08);
  --shadow-glow: 0 4px 20px rgba(16, 185, 129, 0.36);
  --shadow-glow-hover: 0 6px 28px rgba(16, 185, 129, 0.52);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-family-base);
  background-color: var(--mist-white);
  color: var(--bark-deep);
  line-height: 1.68;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-smooth);
}

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

ul, ol {
  list-style: none;
}

/* 容器通用规范 */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* ==========================================================================
   1. Sticky Nav (高 64–70px)
   Flex 两端对齐，限宽 1200px。半透明白底 rgba(255,255,255,0.86) + 
   backdrop-filter: saturate(1.8) blur(16px)，底部分界 1px #E8EAF2。
   左：圆形色块 Logo + 品牌名；中：5–7 个锚点；右：次级文字链 + 渐变胶囊主按钮。
   ========================================================================== */
.sticky-nav {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: 68px;
  background: var(--mist-nav-bg);
  backdrop-filter: saturate(1.8) blur(16px);
  -webkit-backdrop-filter: saturate(1.8) blur(16px);
  border-bottom: 1px solid #E8EAF2;
  z-index: 1000;
  transition: var(--transition-smooth);
}

.nav-container {
  max-width: 1200px;
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* 左侧 Logo 组 */
.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo-wrap {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #E6F4ED 0%, #D1EADE 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(20, 53, 39, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  flex-shrink: 0;
}

.brand-logo-img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: contain;
}

.brand-text-wrap {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--bark-black);
  line-height: 1.2;
  display: flex;
  align-items: center;
  gap: 6px;
}

.brand-badge {
  font-size: 11px;
  font-weight: 600;
  color: var(--pine-dark);
  background: var(--pine-dew-light);
  border: 1px solid var(--pine-dew-border);
  padding: 1px 7px;
  border-radius: 20px;
  letter-spacing: 0.02em;
}

.brand-desc {
  font-size: 11px;
  color: var(--bark-muted);
  letter-spacing: 0.02em;
}

/* 中间 5–7 个锚点 */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-item {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--bark-mid);
  position: relative;
  padding: 6px 0;
  transition: color 0.2s ease;
}

.nav-item::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--pine-primary), var(--pine-dew));
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  transform: translateX(-50%);
  border-radius: 2px;
}

.nav-item:hover {
  color: var(--pine-dark);
}

.nav-item:hover::after,
.nav-item.active::after {
  width: 100%;
}

/* 右侧次级文字链 + 渐变胶囊主按钮 */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-sub-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--bark-muted);
  transition: color 0.2s;
}

.nav-sub-link:hover {
  color: var(--pine-dark);
}

.btn-pill-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 22px;
  font-size: 14px;
  font-weight: 600;
  color: #FFFFFF;
  background: linear-gradient(135deg, var(--pine-dark) 0%, var(--pine-primary) 50%, var(--pine-dew) 100%);
  border-radius: 9999px;
  box-shadow: var(--shadow-glow);
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition-smooth);
}

.btn-pill-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-hover);
  color: #FFFFFF;
}

.btn-pill-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 22px;
  font-size: 14px;
  font-weight: 600;
  color: var(--pine-dark);
  background: #FFFFFF;
  border: 1px solid var(--bark-border);
  border-radius: 9999px;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition-smooth);
}

.btn-pill-ghost:hover {
  background: var(--pine-dew-light);
  border-color: var(--pine-dew-border);
  color: var(--pine-dark);
  transform: translateY(-2px);
}

/* ==========================================================================
   2. Hero（居中单列漏斗，限宽 880px）
   背景为顶部中央与右上角两层蓝紫径向光晕，落到浅白。
   自上而下：呼吸点胶囊徽章 → H1 62px/字重 800/字距收紧，标题墨黑到品牌蓝再到紫色的文字裁切渐变
   → 副标题 18–19px、中性灰、两行 → 搜索条 → 双 CTA → 一行信任注。
   Hero 下方放拟态对话预览卡（最大宽 920px，圆角 26px，红黄绿窗点 + 用户/AI 气泡 + 打字态）
   ========================================================================== */
.hero-section {
  position: relative;
  padding-top: 56px;
  padding-bottom: 72px;
  background: 
    radial-gradient(circle at 50% -15%, rgba(16, 185, 129, 0.16), transparent 55%),
    radial-gradient(circle at 88% 8%, rgba(99, 102, 241, 0.12), transparent 48%),
    var(--mist-white);
  overflow: hidden;
}

.hero-funnel {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* 呼吸点胶囊徽章 */
.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--pine-dew-border);
  padding: 6px 16px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--pine-dark);
  box-shadow: 0 2px 10px rgba(16, 185, 129, 0.1);
  margin-bottom: 24px;
}

.badge-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--pine-dew);
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6);
  animation: pulse-ring 2s infinite cubic-bezier(0.45, 0, 0.55, 1);
}

@keyframes pulse-ring {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

/* H1 62px/字重 800/字距收紧，文字裁切渐变 */
.hero-h1 {
  font-size: 62px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #111613 0%, #1A4332 38%, #2B4E8F 72%, #6366F1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* 副标题 18–19px、中性灰、两行讲清「你是谁 + 能替用户做什么」 */
.hero-sub {
  font-size: 18.5px;
  line-height: 1.62;
  color: var(--bark-muted);
  max-width: 720px;
  margin-bottom: 32px;
  font-weight: 400;
}

/* 搜索条（全圆角输入框 + 内嵌主按钮） */
.hero-searchbar {
  width: 100%;
  max-width: 680px;
  background: #FFFFFF;
  border: 1px solid var(--bark-border);
  border-radius: 9999px;
  padding: 6px 8px 6px 20px;
  display: flex;
  align-items: center;
  box-shadow: 0 8px 24px -4px rgba(20, 53, 39, 0.08);
  margin-bottom: 24px;
  transition: var(--transition-smooth);
}

.hero-searchbar:focus-within {
  border-color: var(--pine-dew);
  box-shadow: 0 10px 30px -4px rgba(16, 185, 129, 0.22);
}

.searchbar-icon {
  width: 20px;
  height: 20px;
  color: var(--bark-light);
  margin-right: 12px;
  flex-shrink: 0;
}

.searchbar-input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 15px;
  color: var(--bark-deep);
}

.searchbar-input::placeholder {
  color: var(--bark-light);
}

.searchbar-btn {
  padding: 10px 24px;
  font-size: 14.5px;
  font-weight: 600;
  color: #FFFFFF;
  background: linear-gradient(135deg, var(--pine-dark) 0%, var(--pine-primary) 50%, var(--pine-dew) 100%);
  border: none;
  border-radius: 9999px;
  cursor: pointer;
  box-shadow: 0 3px 12px rgba(16, 185, 129, 0.3);
  transition: var(--transition-smooth);
  flex-shrink: 0;
}

.searchbar-btn:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 18px rgba(16, 185, 129, 0.45);
}

/* 双 CTA（渐变主按钮 + 白底线框幽灵按钮） */
.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 20px;
}

.hero-cta-group .btn-pill-primary {
  padding: 13px 34px;
  font-size: 15.5px;
}

.hero-cta-group .btn-pill-ghost {
  padding: 13px 32px;
  font-size: 15.5px;
}

/* 一行信任注 */
.hero-trust-note {
  font-size: 13px;
  color: var(--bark-muted);
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 48px;
}

.hero-trust-note span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.hero-trust-note svg {
  width: 14px;
  height: 14px;
  color: var(--pine-dew);
}

/* 拟态对话预览卡（最大宽 920px，圆角 26px，红黄绿窗点 + 用户/AI 气泡 + 打字态） */
.hero-preview-window {
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  background: #FFFFFF;
  border-radius: 26px;
  border: 1px solid #DFE8E2;
  box-shadow: 0 24px 60px -12px rgba(20, 53, 39, 0.12), 0 8px 24px -6px rgba(16, 185, 129, 0.06);
  overflow: hidden;
  text-align: left;
}

.window-titlebar {
  height: 44px;
  background: #F8FBF9;
  border-bottom: 1px solid #E8EFEA;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
}

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

.dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.dot-red { background: #FF5F56; }
.dot-yellow { background: #FFBD2E; }
.dot-green { background: #27C93F; }

.window-header-title {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--bark-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.window-actions {
  display: flex;
  gap: 8px;
}

.window-tag {
  font-size: 11px;
  background: var(--pine-dew-light);
  color: var(--pine-dark);
  padding: 2px 8px;
  border-radius: 6px;
  font-weight: 500;
}

.window-chat-body {
  padding: 28px 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  background: linear-gradient(180deg, #FFFFFF 0%, #FAFCFB 100%);
}

.chat-bubble-user {
  align-self: flex-end;
  max-width: 80%;
  display: flex;
  gap: 12px;
  flex-direction: row-reverse;
}

.chat-avatar-user {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #E2E8F0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  color: #475569;
  flex-shrink: 0;
}

.chat-msg-user {
  background: #F1F5F3;
  color: var(--bark-black);
  padding: 13px 18px;
  border-radius: 18px 18px 4px 18px;
  font-size: 14.5px;
  line-height: 1.55;
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
  border: 1px solid #E2EAE4;
}

.chat-bubble-ai {
  align-self: flex-start;
  max-width: 88%;
  display: flex;
  gap: 14px;
}

.chat-avatar-ai {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pine-dark), var(--pine-dew));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 4px;
}

.chat-avatar-ai img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: contain;
}

.chat-msg-ai {
  background: #FFFFFF;
  border: 1px solid #D8E5DC;
  border-radius: 18px 18px 18px 4px;
  padding: 18px 22px;
  box-shadow: 0 4px 14px rgba(20, 53, 39, 0.04);
}

.chat-ai-header {
  font-size: 13px;
  font-weight: 600;
  color: var(--pine-dark);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chat-ai-content {
  font-size: 14px;
  line-height: 1.7;
  color: var(--bark-deep);
}

.chat-ai-content p {
  margin-bottom: 8px;
}

.chat-ai-highlight {
  background: #F3F8F5;
  border-left: 3px solid var(--pine-dew);
  padding: 10px 14px;
  border-radius: 0 8px 8px 0;
  margin: 10px 0;
  font-size: 13.5px;
}

/* 打字态光标 */
.typing-cursor {
  display: inline-block;
  width: 7px;
  height: 15px;
  background-color: var(--pine-dew);
  vertical-align: middle;
  margin-left: 3px;
  animation: blink 0.9s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.preview-media-row {
  margin-top: 14px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #E2EAE4;
}

.preview-media-img {
  width: 100%;
  height: auto;
  display: block;
}

/* ==========================================================================
   3. 信任细条
   4 列短句横排，无大图标堆砌，一句一个背书。
   ========================================================================== */
.trust-bar-section {
  background: #FFFFFF;
  border-top: 1px solid var(--mist-border);
  border-bottom: 1px solid var(--mist-border);
  padding: 24px 0;
}

.trust-bar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 12px;
  border-right: 1px solid #EDF2EE;
}

.trust-item:last-child {
  border-right: none;
}

.trust-bullet {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pine-dew);
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.4);
  flex-shrink: 0;
}

.trust-item-text {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--bark-deep);
  line-height: 1.45;
}

/* ==========================================================================
   4. 能力矩阵 (Bento Box Grid)
   4×2 网格，gap 20px。白卡、1px 浅描边、顶部 46–50px 浅色图标底托、标题 + 2 行描述 +「了解更多」。
   ========================================================================== */
.section-common {
  padding: 84px 0;
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 52px;
}

.section-sub-badge {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--pine-dark);
  background: var(--pine-dew-light);
  border: 1px solid var(--pine-dew-border);
  padding: 3px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
  letter-spacing: 0.04em;
}

.section-h2 {
  font-size: 34px;
  font-weight: 750;
  letter-spacing: -0.02em;
  color: var(--bark-black);
  margin-bottom: 14px;
}

.section-desc {
  font-size: 16px;
  color: var(--bark-muted);
  line-height: 1.6;
}

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

.capability-card {
  background: #FFFFFF;
  border: 1px solid var(--bark-border);
  border-radius: 18px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-card);
}

.capability-card:hover {
  transform: translateY(-5px);
  border-color: var(--pine-dew-border);
  box-shadow: var(--shadow-card-hover);
}

.capability-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, #EFF8F3 0%, #D8EDE1 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--pine-dark);
  border: 1px solid rgba(16, 185, 129, 0.2);
  flex-shrink: 0;
}

.capability-icon-wrap svg {
  width: 24px;
  height: 24px;
}

.capability-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--bark-black);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.capability-desc {
  font-size: 13.5px;
  line-height: 1.62;
  color: var(--bark-muted);
  margin-bottom: 20px;
  flex-grow: 1;
}

.capability-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--pine-primary);
  margin-top: auto;
  transition: gap 0.2s;
}

.capability-link:hover {
  color: var(--pine-dew);
  gap: 10px;
}

/* ==========================================================================
   5. 场景方案（浅灰底）
   3×2 网格。每卡：中文标题 + 英文小标 + 3 条可照抄提问。
   ========================================================================== */
.section-gray-bg {
  background-color: var(--mist-gray);
  border-top: 1px solid var(--bark-border);
  border-bottom: 1px solid var(--bark-border);
}

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

.scenario-card {
  background: #FFFFFF;
  border: 1px solid var(--bark-border);
  border-radius: 18px;
  padding: 30px 26px;
  box-shadow: var(--shadow-card);
  transition: var(--transition-smooth);
}

.scenario-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--pine-dew-border);
}

.scenario-header {
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid #EDF2EE;
}

.scenario-en-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pine-mid);
  margin-bottom: 4px;
}

.scenario-cn-title {
  font-size: 19px;
  font-weight: 700;
  color: var(--bark-black);
}

.scenario-prompts-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.prompt-copy-item {
  background: #F8FAF9;
  border: 1px solid #E5EBE7;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 13px;
  color: var(--bark-deep);
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.prompt-copy-item:hover {
  background: var(--pine-dew-light);
  border-color: var(--pine-dew-border);
  color: var(--pine-dark);
}

.prompt-copy-icon {
  color: var(--pine-mid);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ==========================================================================
   6. 对话示例
   3 列问答卡。上句用户输入，下句系统交付，角上场景标签。
   ========================================================================== */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.case-card {
  background: #FFFFFF;
  border: 1px solid var(--bark-border);
  border-radius: 20px;
  padding: 26px;
  position: relative;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: var(--transition-smooth);
}

.case-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--pine-dew-border);
}

.case-tag {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #F0F6F2;
  border: 1px solid var(--pine-dew-border);
  color: var(--pine-dark);
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
}

.case-query-box {
  background: #F5F7F6;
  border-radius: 12px;
  padding: 14px;
  margin-top: 14px;
  border: 1px solid #E5ECE7;
}

.case-user-label {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--bark-muted);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.case-query-text {
  font-size: 13.5px;
  color: var(--bark-black);
  line-height: 1.5;
}

.case-delivery-box {
  background: #FFFFFF;
  border: 1px solid var(--pine-dew-border);
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.05);
  flex-grow: 1;
}

.case-ai-label {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--pine-primary);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.case-delivery-text {
  font-size: 13.5px;
  line-height: 1.62;
  color: var(--bark-deep);
}

/* ==========================================================================
   7. 多端下载（浅灰底）
   非对称双栏 320px : 800px。左二维码面板，右 3 列平台下载卡
   （网页 / iOS / Android / Windows / macOS / 插件）。
   ========================================================================== */
.download-layout {
  display: flex;
  gap: 28px;
  align-items: stretch;
}

.download-qr-panel {
  width: 320px;
  background: #FFFFFF;
  border: 1px solid var(--bark-border);
  border-radius: 20px;
  padding: 32px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-card);
  flex-shrink: 0;
}

.qr-code-box {
  width: 180px;
  height: 180px;
  background: #FFFFFF;
  border: 1px solid #D8E4DC;
  border-radius: 16px;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 6px 18px rgba(20, 53, 39, 0.06);
}

.qr-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.qr-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--bark-black);
  margin-bottom: 6px;
}

.qr-desc {
  font-size: 13px;
  color: var(--bark-muted);
  line-height: 1.5;
}

.download-cards-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.download-platforms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.platform-card {
  background: #FFFFFF;
  border: 1px solid var(--bark-border);
  border-radius: 16px;
  padding: 22px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-card);
  transition: var(--transition-smooth);
}

.platform-card:hover {
  transform: translateY(-3px);
  border-color: var(--pine-dew-border);
  box-shadow: var(--shadow-card-hover);
}

.platform-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #EFF6F2;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pine-dark);
  flex-shrink: 0;
}

.platform-info {
  flex: 1;
}

.platform-name {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--bark-black);
  margin-bottom: 2px;
}

.platform-ver {
  font-size: 12px;
  color: var(--bark-muted);
}

.platform-btn-pill {
  font-size: 12px;
  font-weight: 600;
  color: var(--pine-dark);
  background: #EFF6F2;
  padding: 5px 12px;
  border-radius: 20px;
  white-space: nowrap;
  transition: all 0.2s;
}

.platform-card:hover .platform-btn-pill {
  background: var(--pine-dew);
  color: #FFFFFF;
}

.download-banner-feature {
  background: #FFFFFF;
  border: 1px solid var(--bark-border);
  border-radius: 16px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
}

.banner-img-wrap {
  max-width: 280px;
  border-radius: 10px;
  overflow: hidden;
}

/* ==========================================================================
   8. 技术底座
   4 列单行，大号序号 01–04 + 短描述，比能力卡更克制。
   ========================================================================== */
.architecture-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.arch-card {
  background: #FFFFFF;
  border: 1px solid var(--bark-border);
  border-radius: 18px;
  padding: 32px 24px;
  box-shadow: var(--shadow-card);
  transition: var(--transition-smooth);
}

.arch-card:hover {
  transform: translateY(-4px);
  border-color: var(--pine-dew);
  box-shadow: var(--shadow-card-hover);
}

.arch-num {
  font-size: 44px;
  font-weight: 850;
  color: var(--pine-dew-border);
  line-height: 1;
  margin-bottom: 14px;
  letter-spacing: -0.04em;
  transition: color 0.25s;
}

.arch-card:hover .arch-num {
  color: var(--pine-dew);
}

.arch-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--bark-black);
  margin-bottom: 8px;
}

.arch-desc {
  font-size: 13px;
  color: var(--bark-muted);
  line-height: 1.6;
}

/* ==========================================================================
   9. 评价
   3 列引用卡：引言 + 头像姓氏 + 身份。
   ========================================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: #FFFFFF;
  border: 1px solid var(--bark-border);
  border-radius: 18px;
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-card);
  transition: var(--transition-smooth);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--pine-dew-border);
}

.testimonial-quote {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--bark-deep);
  margin-bottom: 24px;
  position: relative;
}

.testimonial-user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pine-primary), var(--pine-dew));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  color: #FFFFFF;
  flex-shrink: 0;
}

.testimonial-meta h4 {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--bark-black);
}

.testimonial-meta p {
  font-size: 12px;
  color: var(--bark-muted);
}

/* ==========================================================================
   10. 安全合规
   3×2 图标说明卡，把合规做成产品模块，不做法律墙。
   ========================================================================== */
.compliance-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.compliance-card {
  background: #FFFFFF;
  border: 1px solid var(--bark-border);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  box-shadow: var(--shadow-card);
  transition: var(--transition-smooth);
}

.compliance-card:hover {
  transform: translateY(-3px);
  border-color: var(--pine-dew-border);
  box-shadow: var(--shadow-card-hover);
}

.compliance-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #F0F7F3;
  color: var(--pine-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

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

.compliance-title {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--bark-black);
  margin-bottom: 4px;
}

.compliance-desc {
  font-size: 12.5px;
  color: var(--bark-muted);
  line-height: 1.55;
}

/* ==========================================================================
   11. FAQ
   单列限宽 800–900px 居中。原生手风琴，默认展开第一条；
   每条回答拆成 1–4 个带圆底托的编号步骤。
   ========================================================================== */
.faq-wrap {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: #FFFFFF;
  border: 1px solid var(--bark-border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: var(--transition-smooth);
}

.faq-item[open] {
  border-color: var(--pine-dew-border);
  box-shadow: 0 8px 24px rgba(20, 53, 39, 0.08);
}

.faq-summary {
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 700;
  color: var(--bark-black);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  user-select: none;
}

.faq-summary::-webkit-details-marker {
  display: none;
}

.faq-icon-indicator {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #EFF6F2;
  color: var(--pine-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  transition: transform 0.25s;
  flex-shrink: 0;
}

.faq-item[open] .faq-icon-indicator {
  transform: rotate(45deg);
  background: var(--pine-dew);
  color: #FFFFFF;
}

.faq-answer-body {
  padding: 0 24px 24px 24px;
  border-top: 1px solid #F0F4F2;
  margin-top: 4px;
  padding-top: 18px;
}

.faq-steps-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-step {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.step-num-bubble {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--pine-dew-light);
  color: var(--pine-dark);
  font-size: 12.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--pine-dew-border);
  flex-shrink: 0;
  margin-top: 2px;
}

.step-content {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--bark-deep);
}

/* ==========================================================================
   12. 终局 CTA
   深色满宽居中，限宽 760px。一句行动标题 + 主/次双按钮。
   ========================================================================== */
.final-cta-section {
  background: linear-gradient(135deg, #0F1412 0%, #172C22 50%, #0F1220 100%);
  padding: 88px 0;
  color: #FFFFFF;
  text-align: center;
  border-top: 1px solid #23352C;
}

.final-cta-inner {
  max-width: 760px;
  margin: 0 auto;
}

.final-cta-title {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #FFFFFF 0%, #E2F3EB 60%, #34D399 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.final-cta-desc {
  font-size: 16.5px;
  color: #A0B5AA;
  margin-bottom: 36px;
}

.final-cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.final-cta-actions .btn-pill-primary {
  padding: 13px 36px;
  font-size: 15.5px;
}

.final-cta-actions .btn-pill-ghost {
  padding: 13px 34px;
  font-size: 15.5px;
  background: transparent;
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.25);
}

.final-cta-actions .btn-pill-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #FFFFFF;
}

/* ==========================================================================
   13. Footer
   深色 #0F1220。上层非对称多列（左侧品牌 1.5 份 + 右侧 3–4 个链接列），
   下层细线隔开版权与合规链接。
   ========================================================================== */
.site-footer {
  background-color: var(--footer-dark);
  color: var(--footer-text-muted);
  padding: 72px 0 32px;
  border-top: 1px solid var(--footer-border);
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}

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

.footer-brand-title {
  font-size: 20px;
  font-weight: 700;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-brand-desc {
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--footer-text-muted);
  max-width: 320px;
}

.footer-col-title {
  font-size: 14.5px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}

.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link {
  font-size: 13.5px;
  color: var(--footer-text-muted);
  transition: color 0.2s;
}

.footer-link:hover {
  color: #34D399;
}

.footer-bottom-divider {
  border: none;
  border-top: 1px solid var(--footer-border);
  margin-bottom: 28px;
}

.footer-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  color: #6C7A9C;
}

.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-legal-links a:hover {
  color: #34D399;
}

/* ==========================================================================
   移动端底部固定双按钮条（≤640px 出现）
   ========================================================================== */
.mobile-fixed-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--bark-border);
  padding: 10px 16px;
  z-index: 999;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.08);
}

.mobile-bar-actions {
  display: flex;
  gap: 10px;
  width: 100%;
}

.mobile-bar-actions .btn-pill-primary,
.mobile-bar-actions .btn-pill-ghost {
  flex: 1;
  padding: 10px 12px;
  font-size: 13.5px;
}

/* ==========================================================================
   响应式断点控制
   1080px 起 4 列改 2 列；
   900px 下载区改单列；
   640px 导航收起、卡片全宽堆叠，底部固定双按钮条。
   ========================================================================== */
@media (max-width: 1080px) {
  .capabilities-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .trust-item:nth-child(2) {
    border-right: none;
  }

  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 900px) {
  .download-layout {
    flex-direction: column;
  }

  .download-qr-panel {
    width: 100%;
  }

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

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

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

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

  .hero-h1 {
    font-size: 46px;
    letter-spacing: -1px;
  }

  .hero-sub {
    font-size: 17px;
  }
}

@media (max-width: 640px) {
  .sticky-nav {
    height: 60px;
  }

  .nav-menu {
    display: none;
  }

  .nav-actions .nav-sub-link {
    display: none;
  }

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

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

  .trust-bar-grid {
    grid-template-columns: 1fr;
  }

  .trust-item {
    border-right: none;
    border-bottom: 1px solid #EDF2EE;
    padding-bottom: 10px;
  }

  .trust-item:last-child {
    border-bottom: none;
  }

  .download-platforms-grid {
    grid-template-columns: 1fr;
  }

  .footer-top-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom-bar {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .hero-h1 {
    font-size: 34px;
    letter-spacing: -0.5px;
  }

  .hero-sub {
    font-size: 15.5px;
  }

  .hero-searchbar {
    flex-direction: column;
    border-radius: 18px;
    padding: 12px;
    gap: 10px;
  }

  .searchbar-btn {
    width: 100%;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }

  .hero-cta-group a {
    width: 100%;
  }

  .hero-trust-note {
    flex-direction: column;
    gap: 8px;
  }

  .window-chat-body {
    padding: 18px 16px;
  }

  .chat-bubble-user,
  .chat-bubble-ai {
    max-width: 100%;
  }

  .final-cta-title {
    font-size: 28px;
  }

  .final-cta-actions {
    flex-direction: column;
    width: 100%;
  }

  .final-cta-actions a {
    width: 100%;
  }

  .mobile-fixed-bottom-bar {
    display: block;
  }

  body {
    padding-bottom: 64px;
  }
}
