/* ==========================================================================
   AI快站 — 首页（产品介绍页）
   ========================================================================== */

:root {
  /* 底色从 #f8fafc 加深到 #f3f6fa：原值和白卡片几乎无差别，
     区块之间的「分区感」全靠想象。加深一档后，白色卡片带自然浮出来，
     留白被组织成「灰蓝底 → 白色卡带 → 灰蓝底」的节奏。 */
  --bg: #f3f6fa;
  --panel: #ffffff;
  --panel-soft: #fbfcfe;
  --line: #e2e8f0;
  --line-strong: #cbd5e1;
  --text: #1e293b;
  --text-2: #64748b;
  --muted: #94a3b8;
  --accent: #3b82f6;
  --accent-ink: #2563eb;
  --accent-soft: #eff4ff;
  --accent-2: #2563eb;       /* AI 语义深蓝（原来的紫色已去掉） */
  --ok: #059669;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
          "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", sans-serif;
  --mono: "SFMono-Regular", ui-monospace, "JetBrains Mono", Consolas, monospace;
  --shadow-sm: 0 1px 2px rgba(20, 22, 28, .05);
  --shadow: 0 10px 30px -12px rgba(20, 22, 28, .16), 0 1px 2px rgba(20, 22, 28, .04);
  --shadow-lg: 0 40px 90px -32px rgba(23, 20, 80, .3), 0 4px 12px rgba(20, 22, 28, .05);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { margin: 0; line-height: 1.22; letter-spacing: -.02em; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
code {
  font-family: var(--mono); font-size: .92em;
  background: var(--accent-soft); color: var(--accent-ink);
  padding: 1px 5px; border-radius: 5px;
}

/* 内容区放宽到 1400：1200 的时候两侧各留 120px 空白，内容整体显得又窄又散；
   放宽后卡片组、步骤条能铺开，留白变成「页边距」而不是「中间的空洞」。 */
.wrap { width: min(1400px, 100% - 48px); margin: 0 auto; }
.wrap.narrow { width: min(860px, 100% - 48px); }

/* ---------------------------- 按钮 ---------------------------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-family: inherit;
  font-size: 14.5px; font-weight: 600;
  padding: 13px 24px;
  cursor: pointer;
  transition: transform .18s, box-shadow .22s, background .18s, border-color .18s, color .18s;
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; flex: none; }
.btn.sm { padding: 10px 18px; font-size: 13.5px; border-radius: 10px; }
.btn.lg { padding: 16px 32px; font-size: 16px; border-radius: 14px; }

.btn.primary {
  /* 实心主蓝：从背景里跳出来、又不至于刺眼；紫渐变会让它和背景糊成一片 */
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 12px -3px rgba(59, 130, 246, .45);
}
.btn.primary:hover {
  background: var(--accent-ink);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -10px rgba(59, 130, 246, .55);
}

.btn.ghost {
  background: #fff;
  border-color: var(--line-strong);
  color: var(--text-2);
  box-shadow: var(--shadow-sm);
}
.btn.ghost:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }

/* ---------------------------- 顶栏 ---------------------------- */

.nav {
  position: sticky; top: 0; z-index: 40;
  background: rgba(243, 246, 250, .88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.nav.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 6px 24px -18px rgba(20, 22, 28, .4);
}
.nav-in { display: flex; align-items: center; gap: 26px; height: 70px; }

.brand { display: flex; align-items: center; gap: 11px; flex: none; }
.brand-logo { height: 32px; width: auto; display: block; }
.brand-mark {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 11px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
}
.brand-mark svg { width: 20px; height: 20px; }
.brand-text { display: flex; flex-direction: column; }
.brand-text strong { font-size: 14.5px; font-weight: 700; letter-spacing: -.01em; }
.brand-text em {
  /* 和 logo 里的「AI快站」保持同一套观感：重体、收紧一点的字距、藏青主色 */
  font-size: 17px; font-style: normal; font-weight: 900;
  letter-spacing: .02em; line-height: 1.2;
  display: inline-flex; align-items: center; gap: 10px;
  white-space: nowrap;
}
.brand-text .bt-main { color: #1e3a8a; }          /* logo 的藏青，不用死黑 */
.brand-text .bt-line { width: 1px; height: 14px; background: #c7d2fe; flex: 0 0 auto; }
.brand-text em b {
  color: #2563eb;                                   /* 同一家族里更跳一档的蓝，不做渐变 */
  font-weight: 900; letter-spacing: .02em;
}

.nav-links { display: flex; gap: 24px; margin-left: auto; }
.nav-links a { font-size: 14px; color: var(--text-2); transition: color .16s; }
.nav-links a:hover { color: var(--accent); }

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

/* ---------------------------- 首屏 ---------------------------- */

/* 首屏：底色做一层极淡的蓝灰渐变（顶部 #f0f6ff → 白），
   让 Hero 和下面的模块有自然分界，而不是和整页糊成一片白。 */
.hero {
  position: relative; overflow: hidden;
  padding: 34px 0 76px;
  background: linear-gradient(180deg, #f0f6ff 0%, #f6f9fe 46%, var(--bg) 100%);
}
.hero-glow {
  /* 一团极淡的蓝光，只起层次作用，视觉重心交给内容和右侧预览 */
  position: absolute; inset: -260px 0 auto 0; height: 560px;
  background: radial-gradient(46% 60% at 62% 30%, rgba(37, 99, 235, .08), transparent 72%);
  pointer-events: none;
}

/* 左 45% / 右 55%：右侧「预览 + 对话」是页面的核心视觉锚点，
   给它更多宽度，整页的松散感立刻收住。 */
.hero-in {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 45fr) minmax(0, 55fr);
  gap: 44px;
  /* 两栏顶部对齐：左栏内容比右侧示意窗矮，居中会在 pill 上面留一大块空白，
     看起来像「排版没收完」。顶部对齐后标语紧贴首屏上沿。 */
  align-items: start;
}

.pill {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 10px 18px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 99px;
  font-size: 15.5px; font-weight: 600; color: #334155;
  letter-spacing: .015em;
  box-shadow: 0 6px 18px -12px rgba(15, 23, 42, .35), var(--shadow-sm);
  margin-bottom: 20px;
}
.pill .dot-live { width: 8px; height: 8px; }
.dot-live {
  width: 7px; height: 7px; border-radius: 99px;
  background: var(--ok);
  box-shadow: 0 0 0 3px rgba(15, 157, 99, .16);
}

.hero h1 { font-size: 52px; font-weight: 750; letter-spacing: -.035em; }
.grad {
  /* 关键词高亮：只保留蓝色一档渐变，不再走紫。
     标题里夹一段不同颜色是真的为了「抓关键词」，不是装饰。 */
  background: linear-gradient(120deg, var(--accent-ink) 10%, var(--accent) 90%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

.lead { margin-top: 22px; font-size: 16.5px; color: var(--text-2); max-width: 520px; }
.lead b { color: var(--text); }

.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* 三个卖点收进一张白卡里：以前是三段字直接飘在背景上、只靠一条细线分隔，
   看着就有「排版没收完」的感觉。装进卡片后，留白变成了卡片内边距，
   三列均分，数字用主蓝加粗做小锚点。 */
.hero-stats {
  list-style: none; margin: 20px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 10px 30px -20px rgba(15, 23, 42, .28), var(--shadow-sm);
  overflow: hidden;
}
.hero-stats li {
  display: flex; flex-direction: column; gap: 3px;
  padding: 18px 16px 17px;
  position: relative;
}
/* 列之间的分隔线用极淡的竖线，不要边框堆叠 */
.hero-stats li + li::before {
  content: ""; position: absolute; left: 0; top: 16px; bottom: 16px; width: 1px;
  background: var(--line);
}
.hero-stats b {
  font-size: 22px; font-weight: 780; letter-spacing: -.03em;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.hero-stats span { font-size: 12.5px; color: var(--text-2); line-height: 1.5; }

/* ----- 实时计数：带蓝色左边条的信息卡 ----- */

.live-counter {
  display: flex; align-items: center; gap: 13px;
  margin-top: 22px;
  padding: 15px 18px 15px 22px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 12px 30px -22px rgba(15, 23, 42, .3), var(--shadow-sm);
  position: relative;
  overflow: hidden;
}
/* 左侧浅蓝边：给这条统计一个明确的「这是信息块」的身份 */
.live-counter::after {
  content: ""; position: absolute; inset: 0 auto 0 0; width: 4px;
  background: linear-gradient(180deg, var(--accent) 0%, #93c5fd 100%);
}
/* 图标底座，顶上数据的分量 */
.lc-ico {
  flex: none;
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 11px;
  background: var(--accent-soft);
  color: var(--accent-ink);
}
.lc-ico svg { width: 19px; height: 19px; }
.lc-pulse {
  flex: none;
  width: 9px; height: 9px; border-radius: 99px;
  background: var(--ok);
  box-shadow: 0 0 0 0 rgba(15, 157, 99, .55);
  animation: lcPulse 2.1s ease-out infinite;
}
@keyframes lcPulse {
  0% { box-shadow: 0 0 0 0 rgba(15, 157, 99, .5); }
  70% { box-shadow: 0 0 0 11px rgba(15, 157, 99, 0); }
  100% { box-shadow: 0 0 0 0 rgba(15, 157, 99, 0); }
}
.lc-main { min-width: 0; }
.lc-line { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.lc-label { font-size: 14px; color: var(--text-2); }
.lc-num {
  font-size: 33px; font-weight: 800; letter-spacing: -.045em; line-height: 1.05;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(115deg, var(--accent-ink) 8%, var(--accent) 92%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.lc-unit { font-size: 14px; color: var(--text-2); }
.lc-sub { margin-top: 3px; font-size: 12px; color: var(--muted); }

.final-count { margin: -12px auto 24px !important; font-size: 14px !important; color: var(--text-2) !important; }
.final-count b { color: var(--accent); font-size: 17px; font-weight: 750; letter-spacing: -.02em; }

/* ----- 首屏示意：对话 → 网站 ----- */

/* 「示意演示」标注 —— 定位：一眼看得见，但不像按钮、也不抢戏。
   办法是「去掉容器」：不做填充块、不做描边框、不做圆角，改成
   小圆点 + 文字这种图注（caption）写法。
   没有任何可点的外观（无边框/无底/无阴影/无胶囊），就不会被当成按钮；
   14px 半粗 + 蓝灰，又比纯灰的说明文字更容易被扫到。 */
.demo-flag {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 15.5px; font-weight: 600; letter-spacing: .06em;
  color: #31507f;
  white-space: nowrap;
}
/* 两侧各一个小圆点：像「· 图注 ·」的排法，既圈出范围，又完全没有按钮的边界感 */
.demo-flag::before,
.demo-flag::after {
  content: "";
  width: 5px; height: 5px; border-radius: 99px;
  background: currentColor; opacity: .5;
  flex: 0 0 auto;
}

/* 预览窗右下角的说明：防止有人把示意图当成自己的网站 */
.demo-time-note { color: var(--muted); }

/* 生成过程：先跑三步，再把网站「长」出来 —— 让人看清这是 AI 在做，不是摆拍 */
.dp-building {
  position: absolute; inset: 0; z-index: 3;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; padding: 18px;
  background: linear-gradient(175deg, #f8fafc 0%, #eef2f7 100%);
  transition: opacity .4s ease, visibility .4s;
}
.dp-building-2 { background: linear-gradient(175deg, #f7fbff 0%, #eaf2fd 100%); }
.dpb-ring-2 { border-color: #dbeafe; border-top-color: #2563eb; }
.dpb-code-2 span:nth-child(1) { color: #15803d; }
.dpb-code-2 span:nth-child(2) { color: #15803d; }

.dpb-ring {
  width: 26px; height: 26px; border-radius: 50%;
  border: 2.5px solid #dbeafe; border-top-color: var(--accent);
  animation: dpbSpin .8s linear infinite;
}
@keyframes dpbSpin { to { transform: rotate(360deg); } }
.dpb-title { margin: 0; font-size: 12px; font-weight: 700; color: var(--text); }
.dpb-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.dpb-steps li {
  font-size: 11px; color: var(--muted);
  display: flex; align-items: center; gap: 6px;
  opacity: .45; transition: opacity .3s, color .3s;
}
.dpb-steps li::before {
  content: ""; width: 6px; height: 6px; border-radius: 99px;
  background: var(--line-strong); flex: 0 0 auto;
  transition: background .3s;
}
.dpb-steps li.is-on { opacity: 1; color: var(--text-2); }
.dpb-steps li.is-on::before { background: var(--accent); }
.dpb-steps li.is-done::before { background: var(--ok); }
.dpb-steps li.is-done { color: var(--text-2); }

/* 生成中的「代码闪动」：让过程看起来真的在写代码，而不是单纯转圈 */
.dpb-code {
  margin-top: 4px;
  width: min(320px, 88%);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 8px 10px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 9.5px; line-height: 1.55;
  color: #94a3b8;
  text-align: left;
  overflow: hidden;
  position: relative;
  box-shadow: 0 8px 20px -18px rgba(15, 23, 42, .5);
  animation: dpbGlow 2.6s ease-in-out infinite;
}
.dpb-code span {
  display: block;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(3px);
  animation: dpbLine 3.2s linear infinite;
}
.dpb-code span:nth-child(1) { animation-delay: .15s; color: #64748b; }
.dpb-code span:nth-child(2) { animation-delay: .55s; }
.dpb-code span:nth-child(3) { animation-delay: .95s; color: #b45309; }
.dpb-code span:nth-child(4) { animation-delay: 1.35s; }
.dpb-code span:nth-child(5) { animation-delay: 1.75s; color: #64748b; }
/* 右侧光标：一闪一闪，明确「正在写」 */
.dpb-code::after {
  content: "";
  position: absolute; right: 9px; bottom: 8px;
  width: 5px; height: 11px; border-radius: 1px;
  background: var(--accent);
  animation: dpbCaret 1s steps(1) infinite;
}
@keyframes dpbLine {
  0%   { opacity: 0; transform: translateY(3px); }
  12%  { opacity: 1; transform: translateY(0); }
  78%  { opacity: 1; }
  92%  { opacity: .25; }
  100% { opacity: 0; }
}
@keyframes dpbCaret { 0%, 50% { opacity: 1; } 50.01%, 100% { opacity: 0; } }
@keyframes dpbGlow {
  0%, 100% { box-shadow: 0 8px 20px -18px rgba(15, 23, 42, .5); }
  50% { box-shadow: 0 10px 24px -16px rgba(37, 99, 235, .35); }
}

/* 两块遮罩都是浮层，必须盖在预览上，不参与布局（否则会撑高预览窗）。
   默认都藏起来，由 .is-building（首轮生成）/ .is-changing（改稿轮）分别点亮，
   这样两轮的过程能复用同一套视觉，又不会同时出现。 */
.demo-preview > .dp-building { position: absolute; opacity: 0; visibility: hidden; }

/* 生成中 / 改稿中：站点内容先藏起来（不占视觉），生成完再淡入 */
.demo-preview > *:not(.dp-building) {
  transition: opacity .5s ease, transform .5s ease;
}
.demo-preview.is-building > *:not(.dp-building),
.demo-preview.is-changing > *:not(.dp-building) {
  opacity: 0; transform: translateY(8px);
}
.demo-preview.is-building > #demoBuilding { opacity: 1; visibility: visible; }
.demo-preview.is-changing > #demoBuilding2 { opacity: 1; visibility: visible; }


.hero-demo {
  position: relative;
  /* 顶部对齐：原来垂直居中会在示意窗上方留一大块空白 */
  align-self: start;
  margin-top: 2px;
}

.demo-window {
  /* 高度交给内容自己决定：拉高会裁掉示意图下半截，反而露怯 */
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  /* 两层阴影：近处一圈薄影定边界，远处一大片柔影把窗口从页面里「托起来」，
     它是首屏唯一的视觉重心，影子要够软够大 */
  box-shadow:
    0 2px 6px rgba(15, 23, 42, .05),
    0 40px 80px -40px rgba(15, 23, 42, .45),
    0 18px 40px -28px rgba(37, 99, 235, .28);
  overflow: hidden;
}
/* 顶栏拆成两个贴着各自窗口的标签条：
   左「实时预览」（绿点 + 设备切换 + 画布尺寸），右「对话生成」（AI 角标 + 轮次）。
   两栏宽度和下面的 demo-body 完全对齐，看起来就是并排的两个窗口，
   而不是一条横贯整块的装饰性地址栏。 */
.demo-bar {
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(0, 1fr);
  background: var(--panel-soft);
  border-bottom: 1px solid var(--line);
}
.demo-tab {
  display: flex; align-items: center; gap: 9px;
  padding: 8px 12px;
  min-width: 0;
}
.demo-tab-pv { border-right: 1px solid var(--line); }
.demo-tab-chat { background: #fff; }

/* 「实时预览」是 AI 出图的状态标记 —— 用深一档的蓝，同色系但不抢，
   全站不再使用紫色（AI 语义也用蓝）。 */
.demo-live {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12.5px; font-weight: 650; color: var(--accent-2);
  flex: none;
}
.demo-dot {
  width: 7px; height: 7px; border-radius: 99px;
  background: #22c55e; box-shadow: 0 0 0 3px rgba(34, 197, 94, .16);
  animation: liveBlink 2.4s ease-in-out infinite;
}
@keyframes liveBlink { 50% { box-shadow: 0 0 0 5px rgba(34, 197, 94, .08); } }

.demo-devices { display: flex; gap: 1px; flex: none; }
.demo-devices i {
  width: 24px; height: 22px;
  display: grid; place-items: center;
  border-radius: 6px; color: #b3bccb;
}
.demo-devices i svg { width: 13px; height: 13px; }
.demo-devices i.is-on { background: var(--accent-soft); color: var(--accent); }

.demo-ai {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; font-weight: 650; color: var(--text);
}
.demo-ai svg { width: 14px; height: 14px; color: var(--accent-2); flex: none; }

.demo-body { display: grid; grid-template-columns: minmax(0, 1.42fr) minmax(0, 1fr); }

/* ---------- 示意站：暖咖啡调 + 真实产品图 ----------
   深蓝灰那版的问题是「预览窗口像贴上去的黑块」，和品类也对不上。
   现在按真实精品咖啡品牌站的常见做法来：深咖导航 + 奶油底 + 棕色文字，
   配 AI 生成的实拍感产品图 —— 只保留导航 / 首屏 / 信任区 / 两张商品卡，
   小窗口里结构清楚了，反而更像一个完整的品牌站。 */
.demo-preview {
  --dp-bg: #f4ecdf;
  --dp-ink: #3d2b1c;
  --dp-ink-2: #8a745d;
  --dp-line: rgba(61, 43, 28, .1);
  --dp-brown: #4a3526;
  --dp-brown-2: #6b4f35;

  position: relative;
  padding: 0 0 12px;
  display: flex; flex-direction: column;
  background: linear-gradient(175deg, #f6efe2 0%, var(--dp-bg) 70%, #efe4d2 100%);
  border-right: 1px solid var(--line);
  overflow: hidden;
}
.demo-preview > * { position: relative; }

/* --- 导航：深咖色条，和奶油底形成品牌感对比 --- */
.dp-nav {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 14px;
  background: var(--dp-brown);
  color: #f4ecdf;
}
.dp-logo {
  font-size: 10.5px; font-weight: 800; letter-spacing: .12em;
  color: #f6efe2;
}
.dp-logo span { color: #d9b98a; margin: 0 1px; }
.dp-links { display: flex; gap: 11px; margin-left: 8px; }
.dp-links i { font-style: normal; font-size: 9px; color: rgba(244, 236, 223, .75); }
.dp-cart {
  margin-left: auto;
  font-style: normal;
  display: inline-flex; align-items: center; gap: 3px;
  color: #f4ecdf;
}
.dp-cart svg { width: 12px; height: 12px; }
.dp-cart em {
  font-style: normal;
  background: #d9b98a; color: var(--dp-brown);
  min-width: 11px; height: 11px; border-radius: 99px;
  display: grid; place-items: center; font-size: 7.5px; font-weight: 800;
  padding: 0 2px;
}

/* --- 首屏：左文案 / 右实拍图 --- */
.dp-hero {
  display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: 10px; align-items: center;
  padding: 14px 14px 4px;
}
.dp-copy { min-width: 0; }
.dp-hero h4 {
  font-size: 14.5px; line-height: 1.4; font-weight: 800;
  letter-spacing: -.01em; color: var(--dp-ink);
}
.dp-hero p { margin-top: 6px; font-size: 8.5px; letter-spacing: .02em; color: var(--dp-ink-2); }
.dp-btns { display: flex; gap: 6px; margin-top: 10px; }
.dp-btns i {
  font-style: normal; font-size: 8.5px; font-weight: 700;
  padding: 6px 12px; border-radius: 8px;
}
.dp-btns .a { background: var(--dp-brown); color: #f6efe2; box-shadow: 0 5px 12px -5px rgba(74, 53, 38, .55); }
.dp-btns .b { border: 1px solid rgba(61, 43, 28, .28); color: var(--dp-brown); background: rgba(255, 255, 255, .5); }
.dp-visual { min-width: 0; }
.dp-visual img {
  display: block;
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 14px 28px -16px rgba(61, 43, 28, .5);
}

/* --- 信任区：奶油白横带，三个大数字 + 竖线分隔 --- */
/* 两版必须一样高（高度跳变最伤「这是演示」的可信度），
   所以购物车和信任条都常驻布局、只切透明度：
   第一版看不见但位置留着，第二版原地淡入，窗口高度全程不动。 */
.demo-preview .dp-cart {
  opacity: 0; visibility: hidden;
  transform: scale(.7);
  transition: opacity .4s ease, transform .4s ease;
}
.demo-preview.is-v2 .dp-cart { opacity: 1; visibility: visible; transform: none; }

.demo-preview .dp-trust {
  opacity: 0;
  transition: opacity .45s ease;
}
.demo-preview.is-v2 .dp-trust {
  opacity: 1;
  animation: dpTrustIn .9s ease-out .15s 1;
}
@keyframes dpTrustIn {
  0% { box-shadow: 0 0 0 0 rgba(59, 130, 246, .35); }
  100% { box-shadow: 0 0 0 10px rgba(59, 130, 246, 0); }
}

.dp-trust {
  display: flex; justify-content: space-between; align-items: center;
  margin: 12px 14px 0;
  padding: 10px 8px;
  background: rgba(255, 255, 255, .75);
  border: 1px solid var(--dp-line);
  border-radius: 10px;
}
.dp-trust span {
  flex: 1;
  display: flex; align-items: baseline; justify-content: center; gap: 3px;
  font-size: 8px; color: var(--dp-ink-2);
  position: relative;
}
.dp-trust span + span::before {
  content: ""; position: absolute; left: 0; top: 2px; bottom: 2px;
  width: 1px; background: var(--dp-line);
}
.dp-trust i { font-style: normal; font-size: 8px; color: #a87f4f; }
.dp-trust b { font-size: 13px; font-weight: 800; color: var(--dp-ink); }

/* --- 商品卡：真实图 + 名 + 价 + 加购 --- */
.dp-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px;
  margin: 10px 14px 0;
}
.dp-grid > span {
  display: flex; flex-direction: column; gap: 2px;
  padding: 6px 6px 7px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .85);
  border: 1px solid var(--dp-line);
  box-shadow: 0 4px 12px -8px rgba(61, 43, 28, .35);
}
.dp-thumb {
  display: block;
  height: 52px; border-radius: 7px;
  margin-bottom: 3px;
  background-size: cover; background-position: center;
}
.dp-grid b {
  font-size: 8px; font-weight: 700; color: var(--dp-ink);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.dp-grid em {
  font-style: normal; font-size: 8px; color: var(--dp-ink-2);
  display: flex; align-items: center; gap: 4px;
}
.dp-grid em u { text-decoration: none; font-weight: 800; font-size: 9.5px; color: var(--dp-brown); }
.dp-add {
  margin-left: auto;
  font-style: normal; font-size: 7px; font-weight: 700;
  color: var(--dp-brown);
  border: 1px solid rgba(61, 43, 28, .3);
  border-radius: 5px;
  padding: 2px 5px;
}

/* 对话区 */
.demo-side {
  padding: 18px 16px 16px;
  background: #fff;
  display: flex; flex-direction: column; gap: 9px;
  border-left: 1px solid var(--line);
}
.ds-line {
  font-size: 12.5px; line-height: 1.6;
  padding: 8px 11px; border-radius: 10px;
  max-width: 96%;
  opacity: 0; transform: translateY(6px);
  transition: opacity .4s, transform .4s;
}
.ds-line.is-on { opacity: 1; transform: none; }
/* 用户的修改指令和真实工具里一致：蓝字 + 浅蓝气泡，
   示意和实际对得上，不会让人以为换了个产品 */
.ds-line.user {
  align-self: flex-end;
  background: var(--accent-soft); color: var(--accent-ink);
  border-radius: 10px 10px 3px 10px;
}
.ds-line.ai { background: var(--panel-soft); border: 1px solid var(--line); color: var(--text-2); }
.ds-line .done { display: none; }
.ds-line.is-done .typing { display: none; }
.ds-line.is-done .done { display: inline; }
/* 完成提示和 AI 回复正文同色（深色），只留一个 ✓ 表示改完了 */
.ds-line.ai .done { color: var(--text-2); font-weight: 500; }

.ds-composer {
  margin-top: auto;
  display: flex; align-items: center; gap: 8px;
  padding: 8px 8px 8px 12px;
  background: var(--panel-soft);
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  font-size: 12.5px; color: #a4a9b7;
}
.ds-composer > span { flex: 1; }
.ds-send {
  flex: none; width: 26px; height: 26px;
  display: grid; place-items: center;
  border-radius: 8px;
  /* 对话发送钮：主色实心蓝 */
  background: var(--accent);
  color: #fff;
}
.ds-send svg { width: 13px; height: 13px; }

.typing { display: inline-flex; gap: 3.5px; vertical-align: middle; }
.typing i { width: 5px; height: 5px; border-radius: 99px; background: var(--muted); animation: blink 1.3s infinite; }
.typing i:nth-child(2) { animation-delay: .18s; }
.typing i:nth-child(3) { animation-delay: .36s; }
@keyframes blink { 0%, 60%, 100% { opacity: .25; } 30% { opacity: 1; } }

/* 关键：第 2、4 条 AI 消息先转圈，稍后切到完成态（见 index.html 的脚本） */

.demo-time {
  /* 标签一行、说明一行，居中收在示意窗下方 */
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 8px;
  margin-top: 18px;
  /* 和左侧「用大白话…」那段正文同一个灰，整屏语气统一 */
  line-height: 1.45; color: var(--text-2);
  text-align: center;
}
.demo-time-text {
  font-size: 14.5px; letter-spacing: .01em; color: var(--text-2);
}
.demo-time b { color: var(--text); }

/* ---------------------------- 通用区块头 ---------------------------- */

.sec-head { margin-bottom: 32px; }
.sec-head.center { text-align: center; }
.sec-head h2 { font-size: 34px; font-weight: 720; letter-spacing: -.03em; }
.sec-head p { margin-top: 12px; font-size: 15.5px; color: var(--text-2); }
.sec-head.center p { max-width: 620px; margin-left: auto; margin-right: auto; }

/* 眉标：区块上方的小标签。给大标题一个「从哪开始看」的抓手，
   同时充当弱引导线的一部分 —— 视线扫过时先撞到它再落到标题。 */
.eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12.5px; font-weight: 650;
  letter-spacing: .08em; color: var(--accent-ink);
  background: var(--accent-soft);
  padding: 5px 13px; border-radius: 99px;
  margin-bottom: 16px;
}
.eyebrow::before {
  content: ""; width: 5px; height: 5px; border-radius: 99px;
  background: var(--accent);
}

/* ---------------------------- 你只需要说三件事 ---------------------------- */

/* 底色按模块交替：白 / 极浅灰蓝。差异刻意压得很弱（#fff ↔ #f6f9fc），
   只做「这段结束了、下一段开始」的提示，不抢内容。 */
.can-say { padding: 56px 0; background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* 三件事：不用卡片。白色模块里再放三张白卡，是全页「卡片海」的主要来源。
   改成开放式三栏：大幽灵数字做锚点，列间一道竖细线分区，
   引导语本身就是浅蓝胶囊，天然带颜色，不需要容器。 */
.say-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.say-card {
  position: relative;
  padding: 6px 28px 10px;
}
.say-card + .say-card::before {
  content: ""; position: absolute; left: 0; top: 8px; bottom: 8px;
  width: 1px; background: var(--line);
}
.say-n {
  position: absolute; top: 0; right: 20px;
  font-size: 44px; font-weight: 800; letter-spacing: -.04em;
  /* 上一版 #e8edf5 太浅，用户反馈看不清；压深两档保持「幽灵感」但可读 */
  color: #d3dcec;
}
.say-card h3 { font-size: 19px; font-weight: 700; }
.say-card > p { margin-top: 6px; font-size: 13.5px; color: var(--muted); }
.quotes { display: flex; flex-direction: column; gap: 6px; margin-top: 14px; }
.quotes span {
  font-size: 13px; color: var(--text-2);
  padding: 6px 10px;
  background: var(--accent-soft); border-radius: 9px;
}

/* 三栏各配一种视觉：缩略图 / 配色 / 清单。
   同样是三列，但眼睛扫过去每列都有不同的「形状」，不再是三份一样的文字。 */
.say-visual { margin-top: 16px; display: flex; flex-direction: column; gap: 7px; }
.sv-type { flex-direction: row; gap: 8px; align-items: stretch; }
.th { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.th b { font-size: 10px; font-weight: 500; color: var(--muted); text-align: center; }

/* 三个缩略图直接用真实页面截图（首页里存的 demo/case-*.jpg），
   比手画的色块可信得多：一眼就能看出这是什么类型的站。 */
.thumb {
  position: relative;
  height: 88px;
  border: 1px solid var(--line);
  border-radius: 9px;
  overflow: hidden;
  background: #f7f9fd;
  box-shadow: 0 10px 20px -16px rgba(15, 23, 42, .6);
}
.thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  /* 截图顶部是浏览器标签栏，对齐上沿才不会被裁掉 */
  object-position: top center;
  display: block;
  transition: transform .45s cubic-bezier(.3, 0, .2, 1);
}
.th:hover .thumb img { transform: scale(1.06); }
/* 底部压一层极淡的渐变，和下面的文字标签衔接 */
.thumb::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 26%;
  background: linear-gradient(transparent, rgba(15, 23, 42, .08));
  pointer-events: none;
}

.sv-style .sw, .say-visual .chk {
  display: flex; align-items: center; gap: 6px;
  padding: 6px 9px;
  background: #f7f9fd; border: 1px solid var(--line);
  border-radius: 9px;
}
.sv-style .sw i { width: 13px; height: 13px; border-radius: 4px; flex: none; }
.sv-style .sw b { margin-left: auto; font-size: 10.5px; font-weight: 500; color: var(--muted); }
.sv-style .sw:nth-child(1) .c1 { background: #f4ecdf; } .sv-style .sw:nth-child(1) .c2 { background: #4a3526; } .sv-style .sw:nth-child(1) .c3 { background: #d9b98a; }
.sv-style .sw:nth-child(2) .c1 { background: #ffffff; border: 1px solid #e2e8f0; } .sv-style .sw:nth-child(2) .c2 { background: #111827; } .sv-style .sw:nth-child(2) .c3 { background: #e5e7eb; }
.sv-style .sw:nth-child(3) .c1 { background: #ff7a59; } .sv-style .sw:nth-child(3) .c2 { background: #22c55e; } .sv-style .sw:nth-child(3) .c3 { background: #3b82f6; }

.sv-func .chk {
  font-size: 12.5px; color: var(--text-2);
  background: #f7fbf9; border-color: #e4f1ea;
}
.sv-func .chk i {
  flex: none; width: 15px; height: 15px; border-radius: 99px;
  background: #dcfce7; color: #059669;
  font-size: 9px; font-style: normal;
  display: grid; place-items: center;
}

.say-note {
  margin-top: 30px; text-align: center;
  font-size: 14px; color: var(--text-2);
}
.say-note b { color: var(--text); }

/* ---------------------------- 四个步骤 ---------------------------- */

/* 步骤区：深一档的灰蓝底，和上下两个白模块区分开 */
.how { padding: 60px 0; background: #f6f9fc; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
/* 四步改成 2×2、每格「左文右图」：
   四张一模一样的竖卡（文字堆在上、图缩在下）读起来很闷，横向排开后
   文字行数变少、示意图变大，整段高度也降下来。 */
.steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.step {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 212px;
  gap: 16px;
  align-items: center;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  transition: transform .24s, border-color .24s;
}
.step:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.step-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.step-n {
  width: 30px; height: 30px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: var(--accent);
  color: #fff; font-size: 14px; font-weight: 700;
}

.step-time {
  /* 耗时/状态只是辅助信息：去掉彩色胶囊，改成一行浅灰小字，
     不跟标题和示意图抢注意力 */
  font-size: 11.5px; font-weight: 500; color: #94a0b2;
  background: transparent;
  padding: 0; border-radius: 0;
}
.step h3 { font-size: 16.5px; font-weight: 700; }
.step > p { margin-top: 8px; font-size: 13.5px; color: var(--text-2); }

.step-art {
  margin-top: 0; height: 126px;
  /* grid 子项默认 min-width:auto 会被 nowrap 内容顶宽，撑破右侧轨道 */
  min-width: 0;
  border-radius: 12px;
  background: var(--panel-soft);
  border: 1px solid var(--line);
  padding: 12px;
  overflow: hidden;
  position: relative;
}

/* 步骤1 示意：输入框 */
.art-1 { display: flex; align-items: center; gap: 7px; }
.art-input {
  flex: 1; min-width: 0;
  font-size: 10.5px; line-height: 1.5; color: var(--text-2);
  background: #fff; border: 1px solid var(--line-strong);
  border-radius: 9px; padding: 8px 9px;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
  overflow: hidden;
}
.art-send {
  flex: none; width: 26px; height: 26px; border-radius: 8px;
  /* 和首屏 AI 对话一致：发送钮统一实心蓝 */
  background: var(--accent);
  position: relative;
}
.art-send::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 10px; height: 10px;
  border-left: 2px solid #fff; border-top: 2px solid #fff;
  transform: translate(-50%, -30%) rotate(45deg);
  border-radius: 1px;
}

/* 步骤2 示意：直接用工作台真实截图（左边实时预览、右边对话）。
   比手画的骨架可信：一看就知道「生成完是这幅样子」。 */
.art-2 { display: flex; align-items: center; justify-content: center; padding: 8px; }
.mini-win {
  display: block;
  width: 100%; height: 100%;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: #fff;
  box-shadow: 0 10px 22px -16px rgba(15, 23, 42, .55);
}
.mini-win img {
  display: block;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* 步骤3 示意：气泡 */
.art-3 { display: flex; flex-direction: column; gap: 6px; justify-content: center; }
.bub {
  max-width: 100%;
  font-size: 11.5px; padding: 6px 10px; border-radius: 9px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  background: #fff; border: 1px solid var(--line);
  color: var(--text-2);
  align-self: flex-start;
}
.bub.r { align-self: flex-end; }
.bub.on {
  background: var(--accent-soft);
  border-color: var(--line-strong);
  color: var(--accent-ink);
  font-weight: 600;
}

/* 步骤4 示意：也换成真实上线后的页面截图（地址栏是自己域名、顶部「已上线」）。 */
.art-4 { display: flex; align-items: center; justify-content: center; padding: 8px; }

.how-cta { text-align: center; margin-top: 40px; }

/* ---------------------------- 核心能力 ---------------------------- */

/* 核心能力：8 张同款白卡是第二片卡片海。
   改成表格化网格 —— 去掉每格的框和影子，用 1px 细线在格间分隔（外缘无线），
   图标底色八色轮换，整块像一张信息表而不是八张小卡片。 */
.features { padding: 60px 0; background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
/* 八项能力不再是一张 4×2 的表格（每格长得一模一样，读起来像价目表）。
   改成 bento：两个大格 + 若干小格 + 两个横条格，重音落在最该被记住的两项上。 */
.feat-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.feat {
  padding: 22px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  transition: background .2s, border-color .2s, transform .2s;
}
/* 每格给一层极淡的同色底（3% 上下）+ 深一点的描边：
   八张卡不再是一模一样的白，扫读时眼睛有落点，但整体仍是同一套冷调。 */
.feat:nth-child(1) { background: #f6f9ff; border-color: #dfe9fb; }   /* 蓝 */
.feat:nth-child(2) { background: #fef8fb; border-color: #f9e2ee; }   /* 玫 */
.feat:nth-child(3) { background: #f6f7f9; border-color: #e5e9ef; }   /* 石板 */
.feat:nth-child(4) { background: #f5fbf7; border-color: #dcf0e5; }   /* 绿 */
.feat:nth-child(5) { background: #fffaf2; border-color: #fbe9ce; }   /* 橙 */
.feat:nth-child(6) { background: #f4fbfd; border-color: #d8eef6; }   /* 青 */
.feat:nth-child(7) { background: #f6f7ff; border-color: #e1e4fd; }   /* 靛 */
.feat:nth-child(8) { background: #fefcf2; border-color: #f6edc9; }   /* 琥珀 */
.feat:hover { filter: saturate(1.15); border-color: var(--line-strong); }
.feat-lg:nth-child(1) { background: linear-gradient(180deg, #f8fbff 0%, #eef5ff 100%); }
.feat-lg:nth-child(2) { background: linear-gradient(180deg, #f8fdfb 0%, #eefaf6 100%); }

/* 大格：占两列，多一句「示意」小样，视觉上成为这一区的锚点 */
.feat-lg {
  grid-column: span 2;
  display: flex; flex-direction: column;
  background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
  border-color: #dbe7fb;
}
/* 小样贴到格子底部：两张并排的大格高度一致时，下面不会空出一截 */
.feat-lg .feat-mock { margin-top: auto; padding-top: 16px; }
.feat-lg .feat-ico { width: 44px; height: 44px; margin-bottom: 14px; }
.feat-lg h3 { font-size: 17px; }

/* 横条格：图标在左、文字在右，占两列但只有一行高，用来收尾不显空 */
.feat-wide {
  grid-column: span 2;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 14px;
  align-items: start;
}
.feat-wide .feat-ico { margin-bottom: 0; }
.feat-wide h3 { grid-column: 2; }
.feat-wide p { grid-column: 2; margin-top: 4px; }
/* 八个图标八种淡彩：蓝/玫红/石板/绿/橙/青/天蓝/琥珀（底色与图标同色系） */
.feat:nth-child(1) .feat-ico { background: #eff4ff; color: #2563eb; }
.feat:nth-child(2) .feat-ico { background: #effaf7; color: #0f766e; }
.feat:nth-child(3) .feat-ico { background: #f1f4f8; color: #475569; }
.feat:nth-child(4) .feat-ico { background: #fff4e8; color: #d97706; }
.feat:nth-child(5) .feat-ico { background: #ecfeff; color: #0891b2; }
.feat:nth-child(6) .feat-ico { background: #fdf2f8; color: #db2777; }
.feat:nth-child(7) .feat-ico { background: #eff6ff; color: #0284c7; }
.feat:nth-child(8) .feat-ico { background: #fefce8; color: #a16207; }
.feat-ico {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 12px;
  margin-bottom: 16px;
}
.feat-ico svg { width: 20px; height: 20px; }
.feat h3 { font-size: 16px; font-weight: 700; }
.feat p { margin-top: 8px; font-size: 13.5px; color: var(--text-2); }

/* 大格里的「示意小样」：让人不用读完整段话也懂这一项在说什么 */
.feat-mock { margin-top: 14px; display: flex; flex-direction: column; gap: 6px; max-width: 340px; }
.mock-chat .mc-q {
  align-self: flex-end; max-width: 92%;
  font-size: 11px; color: #1e40af;
  background: #e6eeff; border: 1px solid #d3e2ff;
  padding: 5px 9px; border-radius: 9px 9px 3px 9px;
}
.mock-chat .mc-a {
  align-self: flex-start; max-width: 92%;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; color: var(--text-2);
  background: #fff; border: 1px solid var(--line);
  padding: 5px 9px; border-radius: 9px 9px 9px 3px;
}
.mock-chat .mc-a i { width: 6px; height: 6px; border-radius: 99px; background: var(--ok); flex: none; }

.mock-steps .ms { display: flex; align-items: center; gap: 7px; font-size: 11px; color: var(--muted); }
.mock-steps .ms i {
  width: 12px; height: 12px; border-radius: 99px; flex: none;
  border: 1.5px solid var(--line-strong);
}
.mock-steps .ms.done i { background: #dcfce7; border-color: #a7f3d0; }
.mock-steps .ms.now { color: var(--text); }
.mock-steps .ms.now i { border-color: var(--accent); animation: msPulse 1.1s ease-in-out infinite; }
@keyframes msPulse { 50% { background: #dbeafe; } }

/* ---------------------------- 适用场景 ---------------------------- */

.usecase {
  padding: 52px 0;
  /* 纯色底 + 一堆白标签会显得平。铺两层极淡的错位光晕，
     让这一块有「景深」，标签看起来是浮在背景上的。 */
  background:
    radial-gradient(1100px 380px at 18% -6%, rgba(37, 99, 235, .055), transparent 62%),
    radial-gradient(900px 340px at 86% 108%, rgba(45, 148, 120, .05), transparent 62%),
    #f6f9fc;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
/* 12 个场景统一样式：同高、同字号、同圆角，只区分「选中 / 默认」两态。
   之前为了「不单调」做过大小混排 + 错位，实际效果是杂乱、难扫读；
   官网这种页面，整齐的一组标签反而更利落，切换选中时视觉变化也统一。 */
.uc-cloud { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.uc-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; }

.uc-tag {
  display: inline-flex; align-items: center; justify-content: center;
  height: 42px; padding: 0 20px;
  font-family: inherit; font-size: 15px; line-height: 1;
  color: #64748b;
  background: #edf2fa;
  border: 1px solid #e6edf8; border-radius: 12px;
  box-shadow: none;
  cursor: pointer;
  -webkit-appearance: none; appearance: none;
  transition: color .16s, background .16s, border-color .16s, box-shadow .16s;
}
.uc-tag:hover { color: #3b5170; background: #e3ecfa; border-color: #d8e5f7; }
/* 选中态：白底 + 细彩色描边 + 很浅的投影，和站内其它「选中」保持同一套语言 */
.uc-tag.is-on {
  color: #24374f; font-weight: 600;
  background: #fff;
  border-color: #bcd3fb;
  box-shadow: 0 8px 18px -14px rgba(37, 99, 235, .5);
}
.uc-tag:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* 选中之后才引导「用这个开始做」：逛的时候不打扰，定了再走 */
.uc-actions { margin-top: 22px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.uc-actions-tip { font-size: 12.5px; color: var(--muted); }

/* 22 个场景分三行（8 / 7 / 7）：中屏不缩一点就装不下第一行，
   缩字号和内边距让它仍保持三行，而不是掉成 7+1 那种碎片行。 */
@media (max-width: 1200px) {
  .uc-tag { height: 40px; padding: 0 15px; font-size: 14.5px; }
}
/* 窄屏放不下整行：把三行合并成一条流，让 22 个自然换行。 */
@media (max-width: 900px) {
  .uc-cloud { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 9px; }
  .uc-row { display: contents; }
  .uc-tag { height: 38px; padding: 0 15px; font-size: 14px; border-radius: 11px; }
}
@media (max-width: 680px) {
  .uc-cloud { gap: 6px; }
  .uc-tag { height: 34px; padding: 0 10px; font-size: 13px; border-radius: 10px; }
}

/* ---------------------------- 常见问题 ---------------------------- */

.faq {
  padding: 0 0 88px;
  position: relative;
}
/* 弱引导线：两个连续灰底区块之间的一道渐隐细线，
   提示「这里是新一节」，又不至于像实线分隔那样生硬。 */
.faq::before {
  content: "";
  display: block;
  width: min(620px, 100% - 44px);
  margin: 0 auto 84px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong) 28%, var(--line-strong) 72%, transparent);
}
/* FAQ：六张白卡叠出来还是「卡片堆」。改成清单式手风琴：
   无框无底，展开项才给白卡 + 投影，视觉只聚焦当前打开的那一条。 */
details {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  margin-bottom: 0;
  overflow: hidden;
  transition: background .2s;
}
details[open] {
  background: #fff;
  border-radius: 14px;
  border-bottom: 1px solid transparent;
  box-shadow: 0 10px 30px -20px rgba(15, 23, 42, .3), var(--shadow-sm);
}
details[open] + details { border-top: 0; }
summary {
  cursor: pointer;
  list-style: none;
  padding: 17px 50px 17px 20px;
  font-size: 15px; font-weight: 600;
  position: relative;
  transition: color .16s;
}
summary::-webkit-details-marker { display: none; }
summary:hover { color: var(--accent); }
/* 未展开项 hover 时铺一层极淡白，提示可点 */
details:not([open]) summary:hover { background: rgba(255, 255, 255, .6); border-radius: 12px; }
summary::after {
  content: ""; position: absolute; right: 21px; top: 23px;
  width: 8px; height: 8px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: rotate(45deg);
  transition: transform .22s, border-color .22s;
}
details[open] summary::after { transform: rotate(-135deg); border-color: var(--accent); }
details p { padding: 0 20px 19px; font-size: 14px; color: var(--text-2); }
/* 一条问答里的列表：项与项之间统一 10px，和段落的 19px 形成两级节奏，
   不再用负边距硬压 —— 那会让段间距比行间距还小，看起来忽紧忽松。 */
details ul.faq-list {
  margin: 0 20px 6px;
  padding: 0;
  list-style: none;
}
details ul.faq-list li {
  position: relative;
  padding-left: 17px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-2);
}
details ul.faq-list li + li { margin-top: 10px; }
details ul.faq-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .58em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  opacity: .55;
}

/* ---------------------------- 结尾 CTA ---------------------------- */

.final { padding: 0 0 76px; }
.final-in {
  text-align: center;
  padding: 62px 34px;
  border-radius: 24px;
  background:
    radial-gradient(60% 120% at 50% 0%, rgba(59, 130, 246, .09), transparent 70%),
    #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.final h2 { font-size: 33px; font-weight: 730; letter-spacing: -.03em; }
.final p { margin: 14px auto 28px; font-size: 15.5px; color: var(--text-2); max-width: 520px; }
.final-note { display: block; margin-top: 16px; font-size: 12.5px; color: var(--muted); }

/* ---------------------------- 页脚 ---------------------------- */

.foot { border-top: 1px solid var(--line); background: #fff; padding: 26px 0; }
.foot-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.foot-in > span { font-size: 12.5px; color: var(--muted); }
.foot-links { display: flex; gap: 20px; }
.foot-links a { font-size: 12.5px; color: var(--text-2); transition: color .16s; }
.foot-links a:hover { color: var(--accent); }

/* ---------------------------- 响应式 ---------------------------- */

@media (max-width: 1080px) {
  .hero h1 { font-size: 44px; }
  /* 平板：两列，大格/横条格都占满两列 */
  .feat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* 两列时大格退回普通格：否则一张卡占满一行、右边空一大片 */
  .feat-lg { grid-column: span 1; }
  .feat-wide { grid-column: span 2; }
  /* 1024 这类笔电上仍保住两列，只把示意图收窄一点，免得中间空一大片 */
  .step { grid-template-columns: minmax(0, 1fr) 168px; }
}

@media (max-width: 700px) {
  /* 手机：能力区单列，否则每格只剩一百多像素，中文会竖成一条 */
  .feat-grid { grid-template-columns: 1fr; }
  .feat-lg, .feat-wide { grid-column: auto; }
  .feat-mock { max-width: none; }
}

@media (max-width: 900px) {
  /* 手机上「左文右图」挤不下，改成上图下文的单列 */
  .steps { grid-template-columns: 1fr; }
  .step { grid-template-columns: 1fr; gap: 12px; }
  .step-art { height: 126px; }

  .nav-links { display: none; }
  .nav-in { gap: 12px; }
  .brand-text em { display: none; }

  .hero { padding: 26px 0 54px; }
  .hero-in { grid-template-columns: 1fr; gap: 40px; }
  .hero h1 { font-size: 36px; }
  .lead { font-size: 15.5px; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .hero-stats b { font-size: 18px; }

  .demo-body { grid-template-columns: 1fr; }
  .demo-side { border-left: 0; border-top: 1px solid var(--line); }

  .sec-head h2 { font-size: 26px; }
  .say-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step > p { min-height: 0; }
  .can-say, .how, .features { padding: 58px 0; }
  .usecase { padding: 52px 0; }
  .faq { padding-bottom: 58px; }
  .final h2 { font-size: 24px; }
  .final-in { padding: 44px 22px; }
}

@media (max-width: 560px) {
  .wrap, .wrap.narrow { width: min(1180px, 100% - 30px); }
  .hero h1 { font-size: 30px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
  .hero-stats { grid-template-columns: 1fr; gap: 14px; padding-top: 18px; }
  .hero-stats li { flex-direction: row; align-items: baseline; gap: 8px; }
  .live-counter { padding: 14px 16px; gap: 11px; margin-top: 20px; }
  .lc-num { font-size: 27px; }
  .lc-label, .lc-unit { font-size: 13px; }
  .feat-grid { grid-template-columns: 1fr; }
  .btn.sm { padding: 9px 14px; font-size: 13px; }
  .btn.sm svg { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
