/* =============================================================
   曼塔 AI · 代码绘制插图（替代生成图，比例自适应、含轻动画）
   统一 Hermes 气质：浅蓝白、Hermes 蓝、绿色完成态。
   动效均以「最终状态」为静止态，prefers-reduced-motion 下安全。
   ============================================================= */

/* 通用 mock 主体（放在 .window 内，替代 <img>） */
.mock {
  position: relative;
  background:
    radial-gradient(120% 80% at 80% -10%, #ffffff 0%, rgba(255,255,255,0) 55%),
    linear-gradient(160deg, #f3f7ff 0%, #eaf0ff 100%);
  overflow: hidden;
}
.mock-wave {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.6;
}
.mock-wave::before, .mock-wave::after {
  content: ""; position: absolute; border-radius: 50%;
  background: radial-gradient(circle, rgba(184,201,255,0.55), transparent 70%);
}
.mock-wave::before { width: 60%; height: 120%; right: -10%; top: -20%; }
.mock-wave::after  { width: 40%; height: 90%; right: 18%; bottom: -30%; opacity: 0.5; }

/* ---------- Hero 工作台 ---------- */
.mock--hero { display: grid; grid-template-columns: 132px 1fr; aspect-ratio: 16 / 10; }
.mk-side {
  border-right: 1px solid var(--line-soft);
  background: rgba(255,255,255,0.5);
  padding: 16px 12px;
  display: flex; flex-direction: column; gap: 14px;
}
.mk-logo {
  font-family: var(--font-display); font-weight: 600; font-size: 12px;
  letter-spacing: 0.14em; color: var(--blue-600);
  display: flex; align-items: center; gap: 6px;
}
.mk-logo b { width: 20px; height: 20px; background: url("../mantai-mark.png") center/contain no-repeat; border-radius: 0; }
.mk-nav { display: grid; gap: 7px; margin-top: 4px; }
.mk-nav span {
  height: 32px; border-radius: 9px; background: transparent;
  display: flex; align-items: center; gap: 9px; padding: 0 10px;
}
.mk-nav span::before {
  content: ""; flex: 0 0 auto; width: 15px; height: 15px; border-radius: 5px;
  background: rgba(184,201,255,0.6);
}
.mk-nav span::after {
  content: ""; height: 7px; border-radius: 4px;
  background: rgba(184,201,255,0.5);
}
.mk-nav span:nth-child(1)::after { width: 54px; }
.mk-nav span:nth-child(2)::after { width: 68px; }
.mk-nav span:nth-child(3)::after { width: 46px; }
.mk-nav span:nth-child(4)::after { width: 60px; }
.mk-nav span.on { background: var(--blue-050); }
.mk-nav span.on::before { background: var(--blue-500); }
.mk-nav span.on::after { background: var(--blue-200); }
.mk-side-foot { margin-top: auto; height: 1px; background: var(--line-soft); }

.mk-main {
  position: relative; padding: 26px 30px;
  display: flex; flex-direction: column;
}
.mk-hero-title {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(22px, 3.4vw, 40px); line-height: 1;
  letter-spacing: -0.01em; color: var(--blue-600);
  text-align: center; margin-top: 6px;
  white-space: nowrap;
}
.mk-divider {
  width: 90px; height: 1px; margin: 14px auto 4px;
  background: linear-gradient(90deg, transparent, var(--blue-200), transparent);
  position: relative;
}
.mk-divider::after { content: "✦"; position: absolute; left: 50%; top: -9px; transform: translateX(-50%); color: var(--blue-500); font-size: 11px; }
.mk-tagline { text-align: center; font-size: 12.5px; color: var(--ink-400); }

.mk-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin: auto 0 14px; }
.mk-c {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 14px 12px; box-shadow: var(--shadow-sm);
  display: flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 600; color: var(--ink-900);
  white-space: nowrap;
}
.mk-c .ic { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; font-size: 15px; }
.ic-blue { background: var(--blue-050); color: var(--blue-600); }
.ic-green { background: var(--green-100); color: var(--green-600); }
.mk-c:nth-child(2) { animation: floaty 5.5s ease-in-out infinite 0.4s; }

.mk-done {
  align-self: center; margin-bottom: 16px;
  display: inline-flex; align-items: center; gap: 9px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 9px 16px; font-size: 13px; font-weight: 600; color: var(--ink-900);
  box-shadow: var(--shadow-md);
  animation: pop 0.6s 0.3s both;
}
.mk-done .chk { width: 22px; height: 22px; border-radius: 50%; background: var(--green-500); color: #fff; display: grid; place-items: center; font-size: 12px; }

.mk-input {
  display: flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 11px 12px; box-shadow: var(--shadow-sm);
}
.mk-input .plus { color: var(--ink-300); font-size: 16px; }
.mk-input .ph { font-size: 13px; color: var(--ink-400); }
.mk-input .caret { width: 2px; height: 15px; background: var(--blue-600); animation: blink 1.1s steps(1) infinite; }
.mk-input .send { margin-left: auto; width: 28px; height: 28px; border-radius: 50%; background: var(--blue-600); color: #fff; display: grid; place-items: center; font-size: 14px; }

/* ---------- 体验课成果卡 ---------- */
.mock--first { aspect-ratio: 16 / 9; display: grid; place-items: center; padding: 26px 34px; }
.first {
  width: 100%; max-width: 350px;
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  box-shadow: var(--shadow-md); padding: 16px;
  display: flex; flex-direction: column; gap: 13px;
  animation: rise 0.6s both;
}
.first__head { display: flex; align-items: center; justify-content: space-between; }
.first__title { font-size: 14px; font-weight: 700; color: var(--ink-900); display: flex; align-items: center; gap: 7px; }
.first__title .sp { color: var(--blue-500); }

.first__preview { border: 1px solid var(--line-soft); border-radius: 13px; overflow: hidden; background: var(--surface-2); padding-bottom: 13px; }
.fp-cover {
  height: 76px; position: relative;
  background:
    radial-gradient(120% 130% at 82% -20%, rgba(255,255,255,0.5) 0, rgba(255,255,255,0) 55%),
    linear-gradient(135deg, var(--blue-500), var(--blue-700));
}
.fp-cover .fp-tag {
  position: absolute; left: 12px; bottom: 12px;
  background: rgba(255,255,255,0.92); color: var(--blue-700);
  font-size: 11px; font-weight: 700; border-radius: 999px; padding: 4px 10px;
}
.fp-meta { display: grid; gap: 7px; padding: 13px 14px 0; }
.fp-meta .fp-ln { height: 8px; border-radius: 5px; background: var(--line); }
.fp-meta .fp-ln:first-child { width: 82%; background: var(--blue-100); }
.fp-meta .fp-ln:last-child { width: 56%; }
.fp-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; padding: 12px 14px 0; }
.fp-stats span { height: 30px; border-radius: 9px; background: var(--blue-050); animation: rise 0.6s both; }
.fp-stats span:nth-child(2) { background: var(--green-100); animation-delay: 0.12s; }
.fp-stats span:nth-child(3) { background: var(--gold-100); animation-delay: 0.24s; }

.first__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.token-chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--gold-100); border: 1px solid #ecd9a8;
  color: var(--gold-600); border-radius: 999px; padding: 6px 11px;
  font-size: 12px; font-weight: 600;
}
.token-chip .coin {
  width: 17px; height: 17px; border-radius: 50%;
  background: var(--gold-500); color: #fff; display: grid; place-items: center;
  font-size: 11px; font-weight: 700;
}
.first__by { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 600; color: var(--ink-500); white-space: nowrap; }
.first__by .av { width: 20px; height: 20px; border-radius: 50%; background: linear-gradient(135deg, var(--blue-500), var(--blue-700)); }

/* ---------- 直播课系统图 ---------- */
.mock--system { aspect-ratio: 16 / 10; }
.sys { position: absolute; inset: 0; }
.sys svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.sys .link { fill: none; stroke: var(--blue-200); stroke-width: 1.6; stroke-dasharray: 5 7; animation: flow 2.4s linear infinite; }
.sys-node {
  position: absolute; transform: translate(-50%,-50%);
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 9px 13px 9px 11px; box-shadow: var(--shadow-sm);
  display: flex; align-items: center; gap: 8px; white-space: nowrap;
  font-size: 12.5px; font-weight: 600; color: var(--ink-900);
}
.sys-node i { font-size: 15px; }
.sys-node .live { width: 7px; height: 7px; border-radius: 50%; background: var(--green-500); box-shadow: 0 0 0 0 rgba(31,170,89,0.5); animation: pulse 2s infinite; }
.sys-core {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  width: 116px; height: 116px; border-radius: 28px;
  background: linear-gradient(135deg,var(--blue-500),var(--blue-700)); color: #fff;
  display: grid; place-items: center; text-align: center; gap: 2px;
  box-shadow: var(--shadow-blue);
}
.sys-core b { font-family: var(--font-display); font-size: 22px; font-weight: 600; line-height: 1; }
.sys-core small { font-size: 11px; opacity: 0.9; }
.sys-core::after { content: ""; position: absolute; inset: -10px; border-radius: 34px; border: 1.5px solid rgba(75, 80, 230,0.18); animation: ring 3s ease-in-out infinite; }
.sn1 { left: 17%; top: 20%; } .sn2 { left: 83%; top: 20%; }
.sn3 { left: 11%; top: 60%; } .sn4 { left: 89%; top: 60%; }
.sn5 { left: 50%; top: 90%; }

/* ---------- 案例 mini 屏 ---------- */
.case__art {
  position: relative; height: 304px; overflow: hidden;
  background:
    radial-gradient(120% 80% at 85% -10%, #ffffff 0%, rgba(255,255,255,0) 55%),
    linear-gradient(160deg, #f3f7ff, #e9efff);
  border-bottom: 1px solid var(--line-soft);
}
.case--wide .case__art { height: 320px; }
.case__art--shot {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 48px 18px 18px;
  background:
    radial-gradient(110% 90% at 15% 0%, rgba(255,255,255,0.95), rgba(255,255,255,0) 56%),
    linear-gradient(145deg, #f8fafc 0%, #eef4ff 52%, #f5f0e7 100%);
}
/* 完整展示截图：以原始比例 contain，不再裁切顶部/底部 */
.case--wide .case__art--shot { height: auto; padding-inline: 22px; padding-bottom: 22px; }
/* 截图背后的柔和光晕，缓慢漂浮，画面不再呆板 */
.case__art--shot::before,
.case__art--shot::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.case__art--shot::before {
  width: 240px; height: 240px;
  top: -70px; left: -50px;
  background: radial-gradient(circle, rgba(91, 124, 255, 0.20), transparent 70%);
}
.case__art--shot::after {
  width: 210px; height: 210px;
  bottom: -60px; right: -40px;
  background: radial-gradient(circle, rgba(231, 180, 78, 0.18), transparent 70%);
}
.case__art--shot img {
  display: block;
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  border-radius: 14px;
  border: 1px solid rgba(111, 125, 154, 0.22);
  box-shadow: 0 18px 42px rgba(32, 44, 76, 0.16);
  background: #fff;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.5s ease;
}
.case:hover .case__art--shot img {
  transform: translateY(-6px) scale(1.015);
  box-shadow: 0 30px 60px rgba(32, 44, 76, 0.24);
}
.case__kicker { z-index: 2; }
/* ---------- 案例文案区：描述 + 流程管线 + 标签 ---------- */
.case--shot-feature .case__body,
.case--phone .case__body {
  gap: 16px;
  background:
    radial-gradient(130% 90% at 100% 0%, #f4f8ff 0%, rgba(244,248,255,0) 58%),
    #fff;
}
.case__head h3 { margin-bottom: 8px; }
.case__desc {
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-600);
  margin: 0;
}

/* 流程管线卡：输入 → Agent → 产出，做成有结构的小面板 */
.case__flow {
  position: relative;
  display: grid;
  gap: 4px;
  padding: 6px 16px;
  border-radius: 14px;
  background: linear-gradient(180deg, #f8faff 0%, #f4f7ff 100%);
  border: 1px solid var(--line-soft);
  overflow: hidden;
  transition: box-shadow 0.35s ease, border-color 0.35s ease, transform 0.35s ease;
}
.case:hover .case__flow {
  border-color: var(--blue-100);
  box-shadow: 0 12px 26px rgba(60, 90, 200, 0.10);
}
.case__flow .flow-line {
  display: grid;
  grid-template-columns: 62px 1fr;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 9px 0;
  position: relative;
}
.case__flow .flow-line + .flow-line { border-top: 1px dashed var(--line); }
.case__flow .flow-line .lab {
  width: auto;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 0;
  min-width: 58px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ink-500);
  background: #eef1f8;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.case:hover .case__flow .flow-line .lab { transform: translateX(3px); }
.case__flow .flow-line:nth-child(1) .lab { background: var(--blue-050); color: var(--blue-700); }
.case__flow .flow-line:nth-child(2) .lab { background: #ede9fe; color: #7c3aed; }
.case__flow .flow-line.out .lab {
  background: var(--green-100); color: var(--green-600);
  gap: 6px; padding-inline: 9px;
}
/* 产出行：淡绿高亮 + 呼吸圆点，视觉落点更活 */
.case__flow .flow-line.out {
  margin: 0 -16px;
  padding-left: 16px; padding-right: 16px;
  background: linear-gradient(90deg, rgba(31, 170, 89, 0.09), rgba(31, 170, 89, 0));
}
.case__flow .flow-line.out .lab::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green-500);
}
.case__flow .flow-line .val { font-size: 13.5px; color: var(--ink-700); line-height: 1.45; }
.case__flow .flow-line.out .val { color: var(--ink-900); font-weight: 600; }

@media (prefers-reduced-motion: no-preference) {
  .case__art--shot::before,
  .case__art--wechat::before { animation: caseOrbA 9s ease-in-out infinite; }
  .case__art--shot::after,
  .case__art--wechat::after { animation: caseOrbB 12s ease-in-out infinite; }
  .case__flow .flow-line.out .lab::before {
    animation: pulse 2s ease-in-out infinite;
  }
}
@keyframes caseOrbA {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(16px, 12px); }
}
@keyframes caseOrbB {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-14px, -10px); }
}

.case--shot-feature .tag-row,
.case--phone .tag-row { margin-top: 0; }

@media (min-width: 860px) {
  /* 宽卡横排：左侧完整截图 + 右侧文案，内容上下撑满，消除大面积留白 */
  .case--shot-feature {
    display: flex;
    flex-direction: row;
    align-items: stretch;
  }
  .case--shot-feature .case__art--shot {
    flex: 0 0 55%;
    height: auto;
    padding: 34px 30px;
    border-bottom: none;
    border-right: none;
  }
  .case--shot-feature .case__art--shot img { max-height: 340px; }
  .case--shot-feature .case__body {
    flex: 1 1 45%;
    justify-content: space-between;
    gap: 16px;
    padding: 34px 40px;
  }
  .case--shot-feature .case__body h3 {
    font-size: 22px;
    line-height: 1.25;
    margin-bottom: 10px;
  }
  /* 图文左右交替，形成节奏感 */
  .case--shot-feature:nth-of-type(even) { flex-direction: row-reverse; }
  .case--shot-feature:nth-of-type(even) .case__body {
    background:
      radial-gradient(130% 90% at 0% 0%, #f4f8ff 0%, rgba(244,248,255,0) 58%),
      #fff;
  }
}
.art-pad { position: absolute; inset: 0; padding: 42px 26px 20px; display: flex; flex-direction: column; gap: 9px; }
.art-head { display: flex; align-items: center; justify-content: space-between; }
.art-title { font-size: 14px; font-weight: 700; color: var(--ink-900); display: flex; align-items: center; gap: 7px; }
.art-title .sp { color: var(--blue-500); }
.badge-done { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 600; color: var(--green-600); background: var(--green-100); border: 1px solid #c8ecd5; padding: 5px 11px; border-radius: 999px; }
.badge-done .d { width: 6px; height: 6px; border-radius: 50%; background: var(--green-500); }

.art-in {
  align-self: flex-start; max-width: 90%;
  background: #fff; border: 1px solid var(--line); border-radius: 12px 12px 12px 4px;
  padding: 8px 13px; font-size: 13px; color: var(--ink-700); box-shadow: var(--shadow-xs);
}
.art-in .lab { font-size: 10.5px; font-weight: 700; letter-spacing: 0.06em; color: var(--ink-400); display: block; margin-bottom: 2px; }
.art-arrow { color: var(--blue-200); font-size: 13px; align-self: center; line-height: 1; }

/* 输出卡片组 */
.art-out { display: grid; gap: 7px; }
.out-card {
  background: #fff; border: 1px solid var(--line); border-radius: 11px;
  padding: 8px 11px; box-shadow: var(--shadow-xs);
  display: flex; align-items: center; gap: 10px; animation: rise 0.6s both;
}
.out-card:nth-child(2) { animation-delay: 0.15s; }
.out-card:nth-child(3) { animation-delay: 0.3s; }
.out-card .ico { width: 26px; height: 26px; border-radius: 8px; background: var(--blue-050); color: var(--blue-600); display: grid; place-items: center; font-size: 13px; flex: 0 0 auto; }
.out-card .ico.g { background: var(--green-100); color: var(--green-600); }
.out-card b { font-size: 12.5px; color: var(--ink-900); }
.out-card .out-txt { flex: 1; min-width: 0; display: flex; align-items: baseline; gap: 7px; }
.out-card .out-txt b { font-size: 12px; color: var(--ink-900); flex: 0 0 auto; }
.out-card .out-txt span { font-size: 11px; color: var(--ink-500); line-height: 1.4; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.out-card .lines { flex: 1; display: grid; gap: 5px; }
.ln { height: 7px; border-radius: 5px; background: var(--line); }
.ln.b { background: var(--blue-100); }

/* 办公：决策 / 待办 + 周报 */
.art-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; flex: 1; }
.art-panel { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px; box-shadow: var(--shadow-xs); }
.art-panel h6 { margin: 0 0 9px; font-size: 11.5px; color: var(--ink-500); display: flex; align-items: center; gap: 6px; }
.chk-row { display: flex; align-items: flex-start; gap: 8px; margin-bottom: 8px; }
.chk-row .mini { width: 15px; height: 15px; border-radius: 50%; background: var(--green-100); color: var(--green-600); display: grid; place-items: center; font-size: 9px; flex: 0 0 auto; margin-top: 1px; }
.chk-row .mini.warn { background: #fdeccf; color: #b8841f; font-weight: 700; }
.chk-row .chk-txt { flex: 1; font-size: 11.5px; color: var(--ink-700); line-height: 1.4; }
.chk-row .chk-txt b { color: var(--ink-900); font-weight: 700; }
.chk-row .ln { flex: 1; }
.doc-line { height: 7px; border-radius: 5px; background: var(--line); margin-bottom: 7px; }
.doc-txt { margin: 0 0 8px; font-size: 11.5px; color: var(--ink-600); line-height: 1.45; }
.doc-txt.strong { color: var(--green-600); font-weight: 600; }

/* 调研：要点项目符号 */
.chk-row .mini.b { background: var(--blue-050); color: var(--blue-600); font-weight: 700; }

/* 调研 → PPT：幻灯片预览 */
.deck { position: relative; display: flex; align-items: center; justify-content: center; padding: 6px 8px; }
.deck-back { position: absolute; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-xs); inset: 14px 6px; }
.deck-back1 { inset: 8px 14px; opacity: 0.8; }
.deck-back2 { inset: 2px 22px; opacity: 0.55; }
.slide { position: relative; width: 100%; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px 12px; box-shadow: var(--shadow-sm); }
.slide-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 4px; }
.slide-title { font-size: 12.5px; font-weight: 700; color: var(--ink-900); }
.slide-unit { font-size: 10px; color: var(--ink-400); }
.chart { margin-top: 18px; }
.plot { position: relative; height: 78px; display: flex; align-items: flex-end; gap: 13px; }
.plot .grid { position: absolute; left: 0; right: 0; height: 1px; background: var(--line-soft); }
.plot .bar { position: relative; flex: 1; height: var(--h); display: flex; align-items: flex-start; justify-content: center; }
.plot .bar > span {
  position: absolute; inset: 0; border-radius: 5px 5px 2px 2px;
  background: linear-gradient(180deg, #9cabff, #5b7cff);
  box-shadow: 0 3px 8px rgba(91,124,255,0.22); animation: grow .7s both;
}
.plot .bar.hi > span { background: linear-gradient(180deg, #5fdcab, #15a04a); box-shadow: 0 3px 9px rgba(22,163,74,0.26); }
.plot .bar:nth-child(5) > span { animation-delay: .1s; } .plot .bar:nth-child(6) > span { animation-delay: .2s; } .plot .bar:nth-child(7) > span { animation-delay: .3s; }
.plot .bar i { position: relative; z-index: 1; font-style: normal; font-size: 9.5px; font-weight: 700; color: var(--ink-500); transform: translateY(-15px); }
.plot .bar.hi i { color: var(--green-600); }
.xaxis { display: flex; gap: 13px; margin-top: 7px; }
.xaxis em { flex: 1; text-align: center; font-style: normal; font-size: 9.5px; color: var(--ink-400); }
.slide-cap { margin-top: 12px; font-size: 10.5px; color: var(--ink-500); }
.slide-cap b { color: var(--green-600); }
@keyframes grow { from { transform: scaleY(0); opacity: 0; } to { transform: scaleY(1); opacity: 1; } }
.plot .bar > span { transform-origin: bottom; }

/* Vibe：代码 + 浏览器（宽卡横排） */
.art-split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 12px; flex: 1; }
.code-box { background: #0e1430; border-radius: 12px; padding: 14px; overflow: hidden; box-shadow: var(--shadow-md); }
.code-box .dots { display: flex; gap: 5px; margin-bottom: 10px; }
.code-box .dots i { width: 8px; height: 8px; border-radius: 50%; background: #38406b; }
.code-line { height: 7px; border-radius: 4px; margin-bottom: 8px; }
.cl-blue { background: #5b7cff; } .cl-green { background: #34d399; } .cl-gold { background: #e7b44e; }
.code-line.cl-gray { background: #39426f; }
.code-box .code { margin: 0; font-family: 'SF Mono', ui-monospace, Menlo, Consolas, monospace; font-size: 11px; line-height: 1.85; color: #c7d0f5; white-space: pre; overflow: hidden; }
.code .c-com { color: #5a6699; }
.code .c-key { color: #8aa0ff; }
.code .c-fn { color: #7ee7c7; }
.code .c-str { color: #e7b44e; }
.code-cursor { display: inline-block; width: 6px; height: 7px; background: #8aa0ff; animation: blink 1.1s steps(1) infinite; vertical-align: middle; }
.browser { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.browser .url { display: flex; align-items: center; gap: 7px; padding: 9px 11px; border-bottom: 1px solid var(--line-soft); font-size: 11px; color: var(--ink-500); }
.browser .url .lock { color: var(--green-600); }
.browser .body { flex: 1; padding: 12px; display: grid; gap: 8px; align-content: start; }
.browser .hero-ln { height: 14px; width: 60%; border-radius: 5px; background: var(--blue-100); }
.site-preview { align-content: center; text-align: center; gap: 7px; padding: 16px 12px; background: linear-gradient(160deg, var(--blue-050), #fff); }
.site-preview .sp-title { font-size: 15px; font-weight: 700; color: var(--ink-900); }
.site-preview .sp-text { font-size: 11px; color: var(--ink-500); line-height: 1.5; }
.site-preview .sp-btn { justify-self: center; margin-top: 4px; font-size: 11px; font-weight: 600; color: #fff; background: var(--blue-500); padding: 6px 14px; border-radius: 999px; }
.deploy-ok { margin-top: auto; padding: 9px 11px; display: flex; align-items: center; gap: 7px; font-size: 11.5px; font-weight: 600; color: var(--green-600); background: var(--green-100); }

/* 微信调用：手机 */
.mock--phone { display: grid; place-items: center; }
.phone {
  width: 178px; height: 290px; border-radius: 26px; background: #fff;
  border: 6px solid #11183a; box-shadow: var(--shadow-lg); overflow: hidden;
  display: flex; flex-direction: column;
}
.phone__bar { background: var(--green-500); color: #fff; font-size: 11px; font-weight: 600; padding: 10px 12px; display: flex; align-items: center; gap: 7px; }
.phone__bar .av { width: 18px; height: 18px; border-radius: 50%; background: rgba(255,255,255,0.4); }
.phone__chat { flex: 1; padding: 12px; background: #ecedf2; display: flex; flex-direction: column; gap: 9px; }
.bub { max-width: 80%; padding: 8px 10px; border-radius: 12px; font-size: 11px; line-height: 1.5; box-shadow: var(--shadow-xs); }
.bub.me { align-self: flex-end; background: #95ec69; color: #1a2b12; border-bottom-right-radius: 4px; }
.bub.ai { align-self: flex-start; background: #fff; color: var(--ink-700); border-bottom-left-radius: 4px; animation: rise 0.6s 0.3s both; }
.bub.ai .ln { margin-top: 5px; }
.typing { align-self: flex-start; background: #fff; border-radius: 12px; padding: 9px 12px; display: flex; gap: 4px; box-shadow: var(--shadow-xs); }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--ink-300); animation: bob 1.2s infinite; }
.typing i:nth-child(2){ animation-delay: 0.2s; } .typing i:nth-child(3){ animation-delay: 0.4s; }
.phone-glow { position: absolute; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(149,236,105,0.25), transparent 70%); }

/* 微信调用宽卡：左图右文 + 手机侧边要点 */
.phone-stage { display: flex; align-items: center; gap: 22px; }
.phone-side { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.phone-side li {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  border-radius: 12px; padding: 10px 14px;
  font-size: 12.5px; font-weight: 600; color: var(--ink-800); white-space: nowrap;
  animation: rise 0.6s both;
}
.phone-side li:nth-child(2) { animation-delay: 0.15s; }
.phone-side li:nth-child(3) { animation-delay: 0.3s; }
.phone-side .fi {
  width: 22px; height: 22px; flex: 0 0 auto; border-radius: 7px;
  display: grid; place-items: center; font-size: 12px;
  background: var(--green-100); color: var(--green-600);
}
/* 图区高度自适应内容，避免侧边要点被固定高度裁切 */
.case--phone .case__art { height: auto; min-height: 320px; }
.case__art--photo {
  display: grid;
  place-items: center;
  box-sizing: border-box;
  overflow: hidden;
}
.case__art--photo img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.case__art--wechat {
  min-height: 440px;
  padding: 36px 24px;
  background:
    radial-gradient(120% 90% at 18% 0%, rgba(255,255,255,0.95), rgba(255,255,255,0) 58%),
    linear-gradient(160deg, #f5f9ff 0%, #eef5ff 54%, #f4f7ef 100%);
}
.case__art--wechat::before,
.case__art--wechat::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.case__art--wechat::before {
  width: 230px; height: 230px;
  top: -60px; left: -50px;
  background: radial-gradient(circle, rgba(31, 170, 89, 0.16), transparent 70%);
}
.case__art--wechat::after {
  width: 200px; height: 200px;
  bottom: -50px; right: -40px;
  background: radial-gradient(circle, rgba(91, 124, 255, 0.16), transparent 70%);
}
.case__art--wechat img {
  position: relative;
  z-index: 1;
  width: auto;
  height: 100%;
  max-height: 380px;
  border-radius: 28px;
  border: 1px solid rgba(178, 190, 214, 0.55);
  box-shadow: 0 18px 45px rgba(35, 48, 76, 0.18);
  background: #fff;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.5s ease;
}
.case:hover .case__art--wechat img {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 30px 60px rgba(35, 48, 76, 0.26);
}
@media (min-width: 860px) {
  .case--phone { flex-direction: row; align-items: stretch; }
  .case--phone:nth-of-type(even) { flex-direction: row-reverse; }
  .case--phone:nth-of-type(even) .case__body {
    background:
      radial-gradient(130% 90% at 0% 0%, #f4f8ff 0%, rgba(244,248,255,0) 58%),
      #fff;
  }
  .case--phone .case__art { flex: 0 0 40%; min-height: 420px; }
  .case--phone .case__art--wechat { min-height: 420px; }
  .case--phone .case__body {
    flex: 1 1 60%;
    justify-content: space-between;
    gap: 16px;
    padding: 40px 44px;
  }
  .case--phone .case__body h3 { font-size: 22px; line-height: 1.25; }
}
@media (max-width: 859px) {
  .phone-stage { flex-direction: column; gap: 18px; padding: 6px 0; }
  .phone-side { grid-auto-flow: row; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
}

/* ---------- 关键帧 ---------- */
@keyframes blink { 0%,50%{opacity:1} 50.01%,100%{opacity:0} }
@keyframes pop { from{transform:scale(0.4);opacity:0} 60%{transform:scale(1.08)} to{transform:scale(1);opacity:1} }
@keyframes rise { from{transform:translateY(10px);opacity:0} to{transform:none;opacity:1} }
@keyframes grow { from{transform:scaleX(0)} to{transform:scaleX(1)} }
@keyframes flow { to{stroke-dashoffset:-24} }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(31,170,89,0.5)} 70%{box-shadow:0 0 0 7px rgba(31,170,89,0)} 100%{box-shadow:0 0 0 0 rgba(31,170,89,0)} }
@keyframes ring { 0%,100%{transform:scale(1);opacity:0.7} 50%{transform:scale(1.08);opacity:0.2} }
@keyframes bob { 0%,100%{transform:translateY(0);opacity:0.5} 50%{transform:translateY(-4px);opacity:1} }

@media (max-width: 520px) {
  /* Hero 工作台：改为竖排自适应高度，避免内容被强制压扁 */
  .mock--hero { grid-template-columns: 84px 1fr; aspect-ratio: auto; min-height: 280px; }
  .mk-side { padding: 12px 8px; gap: 10px; }
  .mk-logo { font-size: 11px; letter-spacing: 0.1em; gap: 4px; }
  .mk-logo b { width: 16px; height: 16px; }
  .mk-nav { gap: 5px; }
  .mk-nav span { height: 26px; padding: 0 8px; gap: 7px; border-radius: 7px; }
  .mk-nav span::before { width: 12px; height: 12px; border-radius: 4px; }
  .mk-nav span::after { height: 6px; }
  .mk-nav span:nth-child(1)::after { width: 34px; }
  .mk-nav span:nth-child(2)::after { width: 42px; }
  .mk-nav span:nth-child(3)::after { width: 28px; }
  .mk-nav span:nth-child(4)::after { width: 36px; }

  .mk-main { padding: 16px 14px; gap: 8px; }
  .mk-hero-title { font-size: 20px; letter-spacing: -0.02em; margin-top: 2px; }
  .mk-divider { width: 60px; margin: 10px auto 4px; }
  .mk-tagline { font-size: 11px; }
  .mk-cards { grid-template-columns: 1fr; gap: 7px; margin: 8px 0 10px; }
  .mk-c { padding: 8px 10px; font-size: 12px; gap: 8px; border-radius: 10px; }
  .mk-c .ic { width: 26px; height: 26px; border-radius: 7px; font-size: 13px; }
  .mk-input { padding: 9px 10px; border-radius: 12px; gap: 7px; }
  .mk-input .plus { font-size: 14px; }
  .mk-input .ph { font-size: 12px; }
  .mk-input .send { width: 24px; height: 24px; font-size: 12px; }

  /* 体验课成果卡 */
  .mock--first { padding: 20px 18px; aspect-ratio: 4/3; }
  .first { padding: 14px; gap: 10px; border-radius: 14px; max-width: 320px; }
  .first__title { font-size: 13px; }
  .fp-cover { height: 60px; }
  .fp-cover .fp-tag { font-size: 10px; padding: 3px 9px; left: 10px; bottom: 10px; }
  .fp-meta { padding: 11px 12px 0; gap: 6px; }
  .fp-stats { padding: 10px 12px 0; gap: 6px; }
  .fp-stats span { height: 26px; }
  .token-chip { font-size: 11px; padding: 5px 10px; gap: 5px; }
  .token-chip .coin { width: 15px; height: 15px; font-size: 10px; }
  .first__by { font-size: 11px; gap: 6px; }
  .first__by .av { width: 18px; height: 18px; }

  /* 直播课系统图：拉高 + 收拢节点，避免两侧节点被裁 */
  .mock--system { aspect-ratio: 5/4; }
  .sys-core { width: 90px; height: 90px; border-radius: 22px; }
  .sys-core b { font-size: 17px; }
  .sys-core small { font-size: 10px; }
  .sys-node { font-size: 11px; padding: 6px 9px 6px 8px; gap: 5px; border-radius: 10px; }
  .sys-node i { font-size: 12px; }
  .sys-node .live { width: 6px; height: 6px; }
  .sn1 { left: 22%; top: 18%; } .sn2 { left: 78%; top: 18%; }
  .sn3 { left: 20%; top: 60%; } .sn4 { left: 80%; top: 60%; }
  .sn5 { left: 50%; top: 90%; }

  /* 案例 mini 屏 */
  .case__art { height: auto; min-height: 240px; }
  .case--docs .case__art { min-height: 330px; }
  .case--wide .case__art { height: auto; min-height: 260px; }
  .case__art--shot { min-height: 0; padding: 40px 12px 14px; }
  .case--wide .case__art--shot { min-height: 0; padding-inline: 12px; padding-bottom: 14px; }
  .art-pad { padding: 34px 16px 16px; gap: 8px; }
  .art-title { font-size: 13px; }
  .badge-done { font-size: 10.5px; padding: 4px 9px; }
  .art-in { font-size: 12px; padding: 7px 12px; }
  .out-card { padding: 7px 10px; gap: 8px; }
  .out-card .ico { width: 24px; height: 24px; font-size: 12px; border-radius: 7px; }
  .out-card .out-txt b { font-size: 11px; }
  .out-card .out-txt span { font-size: 10.5px; }

  /* 资料 / 办公：双栏改单栏 */
  .art-cols { grid-template-columns: 1fr; gap: 8px; }
  .art-panel { padding: 10px; }
  .art-panel h6 { font-size: 11px; margin-bottom: 7px; }
  .chk-row { margin-bottom: 6px; gap: 7px; }
  .chk-row .mini { width: 13px; height: 13px; font-size: 8px; }
  .chk-row .chk-txt { font-size: 11px; line-height: 1.45; }
  .doc-txt { font-size: 11px; margin: 0 0 6px; }
  /* 调研 → PPT */
  .art-split { grid-template-columns: 1fr; gap: 8px; }
  .deck { padding: 4px 4px; }
  .slide { padding: 12px 12px 10px; }
  .slide-title { font-size: 11.5px; }
  .plot { height: 62px; gap: 9px; }
  .plot .bar i { font-size: 9px; transform: translateY(-13px); }
  .xaxis { gap: 9px; margin-top: 5px; }
  .xaxis em { font-size: 9px; }
  .slide-cap { font-size: 10px; margin-top: 8px; }

  /* Vibe：代码 + 浏览器 */
  .code-box { padding: 12px; }
  .code-box .code { font-size: 10.5px; line-height: 1.75; }
  .browser .url { font-size: 10.5px; padding: 8px 10px; }
  .site-preview .sp-title { font-size: 13px; }
  .site-preview .sp-text { font-size: 10.5px; }
  .site-preview .sp-btn { font-size: 10.5px; padding: 5px 12px; }
  .deploy-ok { font-size: 10.5px; padding: 8px 10px; }

  /* 微信调用手机 */
  .phone { width: 158px; height: 260px; }
  .phone-side li { font-size: 12px; padding: 8px 12px; }
  .phone-side .fi { width: 20px; height: 20px; font-size: 11px; }
}
