/* PipNow 官网全局样式 —— 暗色玻璃 + 暖橙 accent（呼应应用图标） */

:root {
  --bg: #0b0d12;
  --bg-soft: #10131a;
  --panel: rgba(255, 255, 255, 0.04);
  --panel-strong: rgba(255, 255, 255, 0.07);
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #eef1f6;
  --text-dim: #a7afbd;
  --text-faint: #6d7686;
  --accent: #ff9d4d;
  --accent-strong: #ffb066;
  --accent-deep: #e8842e;
  --accent-soft: rgba(255, 157, 77, 0.14);
  --accent-line: rgba(255, 157, 77, 0.35);
  --radius: 14px;
  --radius-lg: 22px;
  --nav-h: 64px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC",
    "Hiragino Sans", "Noto Sans CJK SC", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: rgba(255, 157, 77, 0.35); }

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ---------- 导航 ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  background: rgba(11, 13, 18, 0.72);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; gap: 28px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; letter-spacing: 0.2px; }
.nav-logo svg { width: 26px; height: 26px; }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { color: var(--text-dim); font-size: 14.5px; transition: color 0.18s; }
.nav-links a:hover { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.lang-select {
  appearance: none; -webkit-appearance: none;
  background: var(--panel-strong) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23a7afbd' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 10px center;
  border: 1px solid var(--line); border-radius: 8px;
  color: var(--text-dim); font-size: 13px; padding: 6px 28px 6px 12px;
  cursor: pointer; transition: border-color 0.18s, color 0.18s;
}
.lang-select:hover { border-color: var(--line-strong); color: var(--text); }
.lang-select option { background: #14171f; color: var(--text); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 26px; border-radius: 999px;
  font-weight: 600; font-size: 15.5px; line-height: 1;
  color: #1c1207; background: linear-gradient(180deg, var(--accent-strong), var(--accent-deep));
  box-shadow: 0 8px 24px rgba(255, 157, 77, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition: transform 0.16s ease, box-shadow 0.16s ease, filter 0.16s;
  border: none; cursor: pointer;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.05); box-shadow: 0 12px 30px rgba(255, 157, 77, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.35); }
.btn:active { transform: translateY(0); }
.btn-sm { padding: 9px 18px; font-size: 13.5px; }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 24px; border-radius: 999px;
  border: 1px solid var(--line-strong); color: var(--text);
  font-weight: 500; font-size: 15px; transition: border-color 0.18s, background 0.18s;
}
.btn-ghost:hover { border-color: var(--accent-line); background: var(--accent-soft); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: calc(var(--nav-h) + 88px) 0 40px;
  text-align: center;
  overflow: hidden;
}
.hero-glow {
  position: absolute; left: 50%; top: -260px; transform: translateX(-50%);
  width: 900px; height: 560px; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255, 157, 77, 0.16), rgba(255, 157, 77, 0.05) 55%, transparent 75%);
  filter: blur(10px);
}
.hero h1 {
  margin: 26px auto 18px;
  font-size: clamp(34px, 6vw, 62px);
  font-weight: 800; letter-spacing: -0.02em; line-height: 1.15;
  max-width: 18em;
}
.hero .sub {
  margin: 0 auto; max-width: 620px;
  color: var(--text-dim); font-size: clamp(16px, 2.2vw, 19px);
}
.hero .cta { margin-top: 36px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* 宣传片（hero 内）：16:9 圆角卡片，暗色玻璃风 */
.promo { margin: 44px auto 0; max-width: 860px; }
.promo video {
  display: block; width: 100%; aspect-ratio: 16 / 9;
  background: var(--bg-soft);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.promo video::cue { background: rgba(11, 13, 18, 0.72); color: #eef1f6; }
@media (max-width: 720px) { .promo { margin-top: 32px; } }

/* ---------- Section 通用 ---------- */
.section { padding: 60px 0; }
.section-head { text-align: center; margin-bottom: 28px; }
.eyebrow {
  display: inline-block; color: var(--accent); font-size: 13px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 14px;
}
.section-head h1, .section-head h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; letter-spacing: -0.015em; }
.section-head .lead { margin: 14px auto 0; max-width: 560px; color: var(--text-dim); font-size: 17px; }

/* ---------- Pricing 三档买断 ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 960px; margin: 0 auto; align-items: stretch; }
.price-card {
  position: relative; display: flex; flex-direction: column;
  padding: 36px 28px 30px; border-radius: var(--radius-lg);
  border: 1px solid var(--line); background: var(--panel); text-align: center;
}
.price-card.featured {
  border-color: var(--accent-line);
  border-width: 1.5px;
  background: linear-gradient(180deg, rgba(255, 157, 77, 0.10), rgba(255, 157, 77, 0.03));
  box-shadow: var(--shadow);
}
.price-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  padding: 4px 14px; border-radius: 999px;
  background: var(--accent); color: #1a1206; font-size: 12px; font-weight: 700; letter-spacing: 0.3px;
}
.price-card h3 { font-size: 19px; font-weight: 700; }
.price-line { margin: 20px 0 6px; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.price-now { color: var(--accent-strong); font-size: 46px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
.price-was { color: var(--text-faint); font-size: 14px; text-decoration: line-through; }
.price-seats { color: var(--text-dim); font-size: 14px; }
.price-feats { list-style: none; margin: 22px 0 26px; padding: 18px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; text-align: left; font-size: 14.5px; color: var(--text-dim); }
.price-feats li::before { content: "✓"; color: var(--accent); margin-right: 8px; font-weight: 700; }
.price-feats li.seat { color: var(--text); font-weight: 600; }
.price-cta { margin-top: auto; }
.price-note { margin-top: 26px; text-align: center; color: var(--text-faint); font-size: 13.5px; }
@media (max-width: 860px) { .price-grid { grid-template-columns: 1fr; max-width: 420px; } }

/* ---------- 功能区（居中大屏演示） ---------- */
.feature { padding: 72px 0; }
.feature + .feature { border-top: 1px solid var(--line); }
.feature-head { text-align: center; max-width: 780px; margin: 0 auto 44px; }
.feature-head .step-no { display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 11px; margin-bottom: 16px;
  background: var(--accent-soft); border: 1px solid var(--accent-line);
  color: var(--accent-strong); font-weight: 800; font-size: 16px; }
.feature-head h3 { font-size: clamp(24px, 3.2vw, 36px); font-weight: 800; letter-spacing: -0.01em; margin-bottom: 12px; }
.feature-head p { color: var(--text-dim); font-size: 17px; }

/* ---------- 动画 demo 舞台：固定 1120×700 设计坐标 + 整体等比缩放（内部 px 永不漂移） ---------- */
.demo-card {
  position: relative; aspect-ratio: 1120 / 700; border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    radial-gradient(95% 75% at 80% 12%, rgba(255, 140, 60, 0.13), transparent 62%),
    radial-gradient(85% 85% at 12% 88%, rgba(92, 112, 224, 0.17), transparent 62%),
    radial-gradient(65% 55% at 42% 42%, rgba(44, 64, 118, 0.26), transparent 72%),
    linear-gradient(152deg, #2b3554 0%, #1d2539 52%, #141b2c 100%);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: hidden;
}
.stage { position: absolute; top: 0; left: 0; width: 1120px; height: 700px; transform-origin: top left; }
.demo-card.no-anim *, .demo-card.no-anim { transition: none !important; animation: none !important; }

/* 菜单栏 */
.dmb { position: absolute; top: 0; left: 0; right: 0; height: 44px;
  background: rgba(16, 19, 28, 0.62); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  display: flex; align-items: center; gap: 15px; padding: 0 20px;
  z-index: 9; font-size: 14px; color: rgba(255, 255, 255, 0.9); }
.mb-apple { width: 15px; height: 18px; flex: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 17'%3E%3Cpath d='M11.3 9c0-2 1.6-3 1.7-3.1-.9-1.4-2.4-1.6-2.9-1.6-1.2-.1-2.4.7-3 .7-.6 0-1.6-.7-2.6-.7C3.2 4.3 1.9 5 1.2 6.2c-1.4 2.4-.4 6 1 8 .7 1 1.5 2.1 2.5 2 1 0 1.4-.6 2.6-.6s1.6.6 2.6.6c1.1 0 1.8-1 2.4-2 .8-1.1 1.1-2.2 1.1-2.3 0 0-2.1-.8-2.1-3.1z' fill='%23fff'/%3E%3Cpath d='M9.4 3c.5-.7.9-1.6.8-2.6-.8 0-1.7.5-2.3 1.2-.5.6-.9 1.6-.8 2.5.9.1 1.8-.4 2.3-1.1z' fill='%23fff'/%3E%3C/svg%3E") center / contain no-repeat; }
.mb-app { font-weight: 700; }
.dnotch { position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 157px; height: 30px; background: #06070b; border-radius: 0 0 11px 11px; }
.mb-right { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.mb-ic { width: 18px; height: 15px; flex: none; background: center / contain no-repeat; }
.ic-wifi { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 12'%3E%3Cpath d='M2 4.6 a8.5 8.5 0 0 1 12 0' stroke='%23fff' fill='none' stroke-width='1.6' stroke-linecap='round'/%3E%3Cpath d='M4.3 7.2 a5.4 5.4 0 0 1 7.4 0' stroke='%23fff' fill='none' stroke-width='1.6' stroke-linecap='round'/%3E%3Ccircle cx='8' cy='10' r='1.4' fill='%23fff'/%3E%3C/svg%3E"); }
.ic-batt { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 25 12'%3E%3Crect x='0.5' y='0.5' width='21' height='11' rx='3.5' stroke='%23fff' stroke-opacity='0.5' fill='none'/%3E%3Crect x='2' y='2' width='14.5' height='8' rx='2' fill='%23fff'/%3E%3Cpath d='M23 4 v4 a2.2 2.2 0 0 0 0 -4' fill='%23fff' fill-opacity='0.5'/%3E%3C/svg%3E"); }
.mb-time { font-variant-numeric: tabular-nums; }

/* 程序坞 */
.ddock { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%);
  width: 620px; height: 84px; border-radius: 20px;
  background: rgba(255, 255, 255, 0.15); border: 1px solid rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center; gap: 22px;
  z-index: 9; }
.dk { position: relative; width: 54px; height: 54px; border-radius: 13px;
  background: center / contain no-repeat;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25); }
.dk::after { content: ""; position: absolute; bottom: -11px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 4px; border-radius: 50%; background: rgba(255, 255, 255, 0.9); opacity: 0; }
.dk.run::after { opacity: 1; }
.dk-finder { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Crect x='2' y='2' width='36' height='36' rx='9' fill='%233a92e8'/%3E%3Cpath d='M20 2 h9 a9 9 0 0 1 9 9 v18 a9 9 0 0 1 -9 9 h-9 Z' fill='%23cfe0f2'/%3E%3Crect x='12' y='11' width='4' height='10' rx='2' fill='%23253850'/%3E%3Crect x='24' y='11' width='4' height='10' rx='2' fill='%23253850'/%3E%3Cpath d='M12 27 q8 5 16 0' stroke='%23253850' stroke-width='2.4' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); }
.dk-cal { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Crect x='2' y='2' width='36' height='36' rx='9' fill='%23f4f4f6'/%3E%3Cpath d='M2 11 a9 9 0 0 1 9 -9 h18 a9 9 0 0 1 9 9 v3 H2 Z' fill='%23ff5147'/%3E%3Crect x='10' y='19' width='20' height='13' rx='2.5' fill='%23262628'/%3E%3C/svg%3E"); }
.dk-safari { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Ccircle cx='20' cy='20' r='18' fill='%2338a0f0'/%3E%3Ccircle cx='20' cy='20' r='14.5' fill='none' stroke='%23e9f3fb' stroke-width='1.6'/%3E%3Cpath d='M28 12 L17.5 17.5 L12 28 L22.5 22.5 Z' fill='%23fff'/%3E%3Cpath d='M28 12 L22.5 22.5 L17.5 17.5 Z' fill='%23ff4b4b'/%3E%3C/svg%3E"); }
.dk-mail { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Crect x='2' y='2' width='36' height='36' rx='9' fill='%233f8ef0'/%3E%3Cpath d='M8 13 L20 23 L32 13' stroke='%23fff' stroke-width='2.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.dk-music { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Crect x='2' y='2' width='36' height='36' rx='9' fill='%23f4508c'/%3E%3Cpath d='M27 9 v13.5 a4.6 4.6 0 1 1 -2.8 -4.2 V13 l-9.5 2.6 v12 a4.6 4.6 0 1 1 -2.8 -4.2 V12 Z' fill='%23fff'/%3E%3C/svg%3E"); }
.dk-photos { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Crect x='2' y='2' width='36' height='36' rx='9' fill='%23f7f7f9'/%3E%3Ccircle cx='20' cy='20' r='11' fill='%23ffd60a'/%3E%3Cpath d='M20 20 L20 9 A11 11 0 0 1 31 20 Z' fill='%23ff9500'/%3E%3Cpath d='M20 20 L31 20 A11 11 0 0 1 20 31 Z' fill='%2334c759'/%3E%3Cpath d='M20 20 L20 31 A11 11 0 0 1 9 20 Z' fill='%23007aff'/%3E%3Cpath d='M20 20 L9 20 A11 11 0 0 1 20 9 Z' fill='%23ff3b30'/%3E%3Ccircle cx='20' cy='20' r='3.2' fill='%23f7f7f9'/%3E%3C/svg%3E"); }
.dk-msg { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Crect x='2' y='2' width='36' height='36' rx='9' fill='%2334c759'/%3E%3Cpath d='M11 11 h18 a3 3 0 0 1 3 3 v9 a3 3 0 0 1 -3 3 h-11 l-6.5 5.5 v-5.5 h-0.5 a3 3 0 0 1 -3 -3 v-9 a3 3 0 0 1 3 -3 Z' fill='%23fff'/%3E%3C/svg%3E"); }
.dk-term { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Crect x='2' y='2' width='36' height='36' rx='9' fill='%231c1c1e'/%3E%3Cpath d='M10 13.5 l6.5 5.5 -6.5 5.5' stroke='%23fff' stroke-width='2.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M20 25.5 h10' stroke='%23fff' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E"); }

/* 光标 */
.cursor {
  position: absolute; width: 30px; height: 30px; z-index: 40; left: 560px; top: 385px;
  opacity: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 22 22'%3E%3Cpath d='M4 1.5 L4 17.5 L8.6 13.6 L11.4 19.8 L14.2 18.5 L11.5 12.5 L17 12 Z' fill='%23fff' stroke='%23000' stroke-width='1.4' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
  transition: left 1.05s cubic-bezier(0.45, 0, 0.25, 1), top 1.05s cubic-bezier(0.45, 0, 0.25, 1), opacity 0.4s;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.5));
}
.demo-card[data-step]:not([data-step="0"]) .cursor { opacity: 1; }
.demo-card.no-anim *, .demo-card.no-anim { transition: none !important; animation: none !important; }
@keyframes curClick { 0% { transform: scale(1); } 35% { transform: scale(1.9); } 100% { transform: scale(1); } }

/* 高亮环 */
.ring { position: absolute; border: 3px solid rgba(255, 255, 255, 0.95); border-radius: 16px;
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.35);
  opacity: 0; transition: opacity 0.4s; pointer-events: none; z-index: 15; }

/* 原应用窗口 */
.dwin { position: absolute; border-radius: 12px; overflow: hidden;
  background: #f4f4f6; border: 1px solid rgba(0, 0, 0, 0.28);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.38);
  transition: opacity 0.55s; z-index: 5; }
.dwin-bar { position: absolute; top: 0; left: 0; right: 0; height: 49px;
  background: #eaeaec; border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  display: flex; align-items: center; gap: 7px; padding: 0 14px;
  color: #9a9aa0; font-size: 14px; font-weight: 600; }
.dwin-bar .dot { width: 11px; height: 11px; border-radius: 50%; flex: none; }
.dwin-bar .wt { position: absolute; left: 0; right: 0; text-align: center; pointer-events: none; }
.dwin-body { position: absolute; inset: 49px 0 0 0; }
.dot-r { background: #ff5f57; } .dot-y { background: #febc2e; } .dot-g { background: #28c840; }

/* 内容一：文字文档 */
.textdoc { display: grid; gap: 26px; align-content: start; height: 100%; padding: 30px 36px; }
.textdoc .tl { height: 12px; border-radius: 6px; background: #cdd1d7; }
.textdoc .tl.warm { height: 13px; background: #f6b26b; }
.textdoc .tl.short { width: 55%; }

/* 内容零：大模型持续输出（文字在上方滚动、光标固定底部行，互不重叠） */
.llm { position: relative; height: 100%; padding: 34px 40px 0; display: flex; flex-direction: column; }
.llm-scroll { flex: 1; overflow: hidden; }
.llm-foot { flex: none; height: 58px; display: flex; align-items: center; }
/* 预览内：内容放大 1.2 倍（像放大镜看原窗口），文字条与光标连贯无空隙 */
.dpv .pbody-wrap .llm { transform: scale(1.2); transform-origin: top left; width: 83.33%; height: 83.33%; }
.dpv .pbody-wrap .llm-foot { height: 34px; }
.dpv .pbody-wrap .inputapp { transform: scale(1.7); transform-origin: top left; width: 58.8%; height: 58.8%; }
/* 小窗内整体缩放原窗口内容（同一元素 → 与原窗口完全同源同步）
   输入应用在小窗里额外放大输入区：否则 0.31 缩放后文字只剩 5px，"同步"肉眼看不出来。
   但也不能撑满——放大后必须留出四周余量，否则边框和圆角会顶出小窗的圆角。
   取 0.55：内容 174 高 vs 布局 212.7，上下各余 ~10px；输入框左右各余 ~19px；字号 36*0.55 ≈ 20px。 */
.dpip .pbody-wrap .llm { transform: scale(0.334); transform-origin: top left; width: 300%; height: 300%; }
.dpip .pbody-wrap .inputapp { transform: scale(0.55); transform-origin: top left; width: 181.82%; height: 181.82%;
  padding: 20px 34px; gap: 16px; align-content: center; }
.dpip .pbody-wrap .inputapp .tl { height: 16px; border-radius: 8px; }
.dpip .pbody-wrap .inputapp .dfield { height: 76px; margin-top: 14px; border-radius: 22px;
  border-width: 4px; padding: 0 30px; font-size: 36px; letter-spacing: 8px; }
.llm-track { display: grid; gap: 16px; animation: llmScroll 9s linear infinite; }
.llm .ln { height: 13px; border-radius: 7px; background: #ccd0d6; }
.llm .ln:nth-child(9n+1) { width: 58%; }
.llm .ln:nth-child(9n+2) { width: 86%; }
.llm .ln:nth-child(9n+3) { width: 72%; }
.llm .ln:nth-child(9n+4) { width: 80%; }
.llm .ln:nth-child(9n+5) { width: 46%; }
.llm .ln:nth-child(9n+6) { width: 90%; }
.llm .ln:nth-child(9n+7) { width: 64%; }
.llm .ln:nth-child(9n+8) { width: 78%; }
.llm .ln:nth-child(9n+9) { width: 52%; }
.llm .caret-blk { width: 13px; height: 15px;
  border-radius: 3px; background: #5a6070; animation: caretBlk 0.8s steps(1) infinite; }
@keyframes llmScroll { to { transform: translateY(-261px); } }
@keyframes caretBlk { 0%, 100% { opacity: 0.9; } 50% { opacity: 0; } }

/* 内容二：鹈鹕公路（引导1 SVG 1:1 复刻） */
.road { position: relative; height: 100%; overflow: hidden;
  background: linear-gradient(180deg, #8cc7f5 0%, #cbe0fa 68%); }
.roadsvg { display: block; width: 100%; height: 100%; }
.roadsvg .wheel { transform-box: fill-box; transform-origin: center;
  animation: svgSpin 0.7s linear infinite; }
.roadsvg .crank { transform-box: view-box; transform-origin: 202px 166px;
  animation: svgSpin 0.7s linear infinite; }
.roadsvg .pedal { transform-box: fill-box; transform-origin: center;
  animation: svgSpinRev 0.7s linear infinite; }
.roadsvg .wing { transform-box: fill-box; transform-origin: 82% 82%;
  animation: wingFlap 0.55s ease-in-out infinite; }
.roadsvg .bike-g { animation: bikeBob 0.9s ease-in-out infinite; }
.roadsvg .rc1 { animation: rc1 8s ease-in-out infinite alternate; }
.roadsvg .rc2 { animation: rc2 11s ease-in-out infinite alternate; }
.roadsvg .dashes { animation: dashMove 0.9s linear infinite; }
@keyframes svgSpin { to { transform: rotate(360deg); } }
@keyframes svgSpinRev { to { transform: rotate(-360deg); } }
@keyframes wingFlap { 0%, 100% { transform: rotate(-13deg); } 50% { transform: rotate(15deg); } }
@keyframes bikeBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes rc1 { from { transform: translateX(0); } to { transform: translateX(-30px); } }
@keyframes rc2 { from { transform: translateX(0); } to { transform: translateX(30px); } }
@keyframes dashMove { to { transform: translateX(-84px); } }

/* 内容三：输入应用 */
.inputapp { display: grid; gap: 24px; align-content: start; height: 100%; padding: 26px 34px; }
.inputapp .tl { height: 12px; border-radius: 6px; background: #cdd1d7; }
.inputapp .tl.short { width: 52%; }
.dfield { margin-top: 12px; height: 48px; border-radius: 10px;
  border: 2px solid #c9ccd2; background: #fff;
  display: flex; align-items: center; padding: 0 18px;
  font-size: 16px; font-weight: 600; color: #26262a; letter-spacing: 3px;
  transition: border-color 0.25s, box-shadow 0.25s; }
.dfield.focus { border-color: #2f6bff; box-shadow: 0 0 0 4px rgba(47, 107, 255, 0.18); }
.dtext { line-height: 1; }
.dcaret { display: inline-block; width: 2px; height: 62%; margin-left: 4px; background: #2f6bff;
  visibility: hidden; }
.dcaret.on { visibility: visible; animation: blink 0.8s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* 触发块（84×56 比例，162×108） */
.tblock { position: absolute; width: 84px; height: 56px; border-radius: 10px; z-index: 20;
  background: linear-gradient(180deg, #7573ff, #b352fa);
  border: 2.5px solid rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35), 0 0 30px rgba(148, 116, 255, 0.4);
  opacity: 0; transform: scale(0.4);
  transition: opacity 0.5s, transform 0.5s; }
.tblock::after { content: ""; position: absolute; left: 64%; top: 18%; width: 26%; height: 30%;
  border-radius: 3px; background: rgba(255, 255, 255, 0.95); }

/* PiP 小窗 */
.dpip { position: absolute; border-radius: 14px; overflow: hidden;
  background: #f5f5f7; border: 2px solid rgba(58, 122, 255, 0.9);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.42);
  transition: opacity 0.55s, transform 0.6s cubic-bezier(0.3, 1.25, 0.45, 1);
  z-index: 10; }
.dpip .tools { position: absolute; top: 0; left: 0; right: 0; height: 32px; z-index: 4;
  background: rgba(8, 8, 12, 0.55);
  display: flex; align-items: center; gap: 22px; padding: 0 16px; }
.dpicon { width: 15px; height: 15px; flex: none; background: center / contain no-repeat; }
.ic-x { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 2.5 L9.5 9.5 M2.5 9.5 L9.5 2.5' stroke='%23fff' stroke-width='1.7' stroke-linecap='round'/%3E%3C/svg%3E"); }
.ic-open { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 10 V4.5 H7.5 V10 Z M6.8 5.2 L10 2 M7.2 2 H10 V4.8' stroke='%23fff' stroke-width='1.4' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.ic-def { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Ccircle cx='6' cy='6' r='4.1' stroke='%23fff' stroke-width='1.4' fill='none'/%3E%3Ccircle cx='6' cy='6' r='1.5' fill='%23fff'/%3E%3C/svg%3E"); }
.dpip .pbody-wrap { position: absolute; inset: 0; }

/* 预览面板 */
.dpv { position: absolute; border-radius: 14px; border: 3px solid rgba(58, 122, 255, 0.95);
  background: #f5f5f7; overflow: hidden;
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.45);
  transform: translate(var(--pop-dx, 120px), var(--pop-dy, 40px)) scale(var(--pop-sc, 0.45));
  opacity: 0; z-index: 12;
  transition: transform 0.9s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.6s; }
.dpv .pbody-wrap { position: absolute; inset: 0; }

/* 演示键盘：已移除（会挡住最大化窗口里的画面），样式一并删除 */

/* 注释气泡（漫画云 + 对白框） */
/* 字幕条：底部居中说明（引导动画 captionPill 的网页形式） */
.note { position: absolute; z-index: 25; left: 50%; margin-left: -380px; bottom: 134px; width: 760px;
  padding: 18px 32px; text-align: center;
  background: rgba(18, 20, 26, 0.88); border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  opacity: 0; transition: opacity 0.45s 0.15s;
  pointer-events: none; }
.note-body { padding: 0; }
.note-t { font-weight: 700; font-size: 17px; color: #ffffff; margin-bottom: 3px; }
.note-d { font-size: 14px; line-height: 1.5; color: rgba(255, 255, 255, 0.72); }

/* 手绘箭头（绿色，固定像素尺寸） */
.arrow { position: absolute; z-index: 24;
  opacity: 0; transition: opacity 0.35s; pointer-events: none;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.45)); }
.arrow path { fill: none; stroke: #2ecc71; stroke-width: 3;
  stroke-linecap: round; stroke-linejoin: round; }
.arrow .loop { fill: none; stroke: #2ecc71; stroke-width: 2.6; }

/* 步骤圆点 */
.steps { position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 12px; z-index: 26; }
.sdot { width: 9px; height: 9px; border-radius: 50%; padding: 0; border: none;
  background: rgba(255, 255, 255, 0.32); transition: 0.25s; cursor: pointer; }
.sdot:hover { background: rgba(255, 255, 255, 0.6); }
.sdot.on { background: #fff; box-shadow: 0 0 10px rgba(255, 255, 255, 0.65); transform: scale(1.2); }

/* 通用动画 */
@keyframes fadeIn { to { opacity: 1; } }
@keyframes growIn { to { opacity: 1; transform: scale(1); } }

/* ---------- demo1：一键画中画 ---------- */
.demo1 .winA { left: 67px; top: 88px; width: 560px; height: 350px; }
.demo1 .winB { left: 152px; top: 120px; width: 560px; height: 350px; opacity: 0; }
.demo1[data-step="3"] .winB { animation: fadeInW 0.5s 1.9s forwards; }
@keyframes fadeInW { to { opacity: 1; } }
.demo1 .tblock { left: 531px; top: 102px; }
.demo1[data-step="1"] .tblock { animation: tblockIn 0.45s 1.9s forwards; }
.demo1[data-step="3"] .tblock { left: 616px; top: 134px; animation: d1t3 1.1s 3.65s forwards; }
@keyframes tblockIn { to { opacity: 1; transform: scale(1); } }
@keyframes d1t3 { 0% { opacity: 0; transform: scale(0.4); } 30% { opacity: 1; transform: scale(1); } 70% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(0.4); } }
.demo1 .pipA { right: 39px; top: 56px; width: 187px; height: 117px; opacity: 0; transform: scale(0.3); }
.demo1 .pipB { right: 39px; top: 193px; width: 187px; height: 117px; opacity: 0; transform: scale(0.3); }
.demo1[data-step="2"] .pipA, .demo1[data-step="3"] .pipA { animation: growIn 0.6s 0.1s forwards; }
.demo1[data-step="3"] .pipA { animation: none; opacity: 1; transform: scale(1); }
.demo1[data-step="3"] .pipB { animation: growIn 0.6s 4.85s forwards; }
.demo1[data-step="1"] .cursor { animation: d1c1 1.75s cubic-bezier(0.4, 0, 0.2, 1) forwards; }
@keyframes d1c1 { 0% { left: 134px; top: 420px; opacity: 0; } 30% { opacity: 1; } 100% { left: 573px; top: 130px; opacity: 1; } }
.demo1[data-step="2"] .cursor { left: 573px; top: 130px; animation: curClick 0.4s ease-out; }
.demo1[data-step="3"] .cursor { animation: d1c3 3.65s cubic-bezier(0.4, 0, 0.2, 1) forwards, curClick 0.4s 1.75s ease-out, curClick 0.4s 4.1s ease-out; }
@keyframes d1c3 {
  0% { left: 573px; top: 130px; }
  48% { left: 446px; top: 640px; }
  52% { left: 446px; top: 640px; }
  100% { left: 658px; top: 162px; }
}
.demo1[data-step="3"] .dk.dock-lit { animation: dockPop 0.5s 1.75s ease-out; }
@keyframes dockPop { 0% { transform: none; } 40% { transform: scale(1.35); } 100% { transform: none; } }
.demo1 .arrow-a { left: 596px; top: 94px; }
.demo1 .arrow-b { left: 655px; top: 128px; }

/* 悬停预览通用动画（从小窗位置弹出到中央 / 缩回小窗） */
@keyframes dpvPop { from { transform: translate(var(--pop-dx, 120px), var(--pop-dy, 40px)) scale(var(--pop-sc, 0.45)); opacity: 0; } to { transform: translate(0, 0) scale(1); opacity: 1; } }
@keyframes dpvBack { from { transform: translate(0, 0) scale(1); opacity: 1; } to { transform: translate(var(--pop-dx, 120px), var(--pop-dy, 40px)) scale(var(--pop-sc, 0.45)); opacity: 0; } }
@keyframes d2c1 { 0% { left: 560px; top: 55px; opacity: 0; } 30% { opacity: 1; } 100% { left: 988px; top: 115px; opacity: 1; } }

/* ---------- demo2：悬停即预览（4 步：悬停应用1→中央预览 / 移开消失 / 悬停应用2→中央预览 / 移开消失） ---------- */
.demo2 .pipA { right: 39px; top: 56px; width: 187px; height: 117px; }
.demo2 .pipB { right: 39px; top: 193px; width: 187px; height: 117px; }
/* 预览固定在屏幕正中央（与小窗位置区分开，避免误认为打开原应用） */
.demo2 .dpv { left: 260px; top: 105px; width: 600px; height: 377px; }
.demo2 .dpv-1 { --pop-dx: 428px; --pop-dy: -179px; --pop-sc: 0.312; }
.demo2 .dpv-2 { --pop-dx: 428px; --pop-dy: -42px; --pop-sc: 0.312; }
/* 悬停高亮环 */
.demo2 .ring { right: 33px; width: 199px; height: 129px; }
/* 光标：一条连续路径贯穿 4 个动作（周期 9600ms 与步骤循环一致，JS 在开始时对齐重播） */
.demo2 .cursor { animation: d2path 8s infinite; }
@keyframes d2path {
  0% { left: 560px; top: 55px; animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1); }
  12.5% { left: 988px; top: 115px; animation-timing-function: linear; }
  32.5% { left: 988px; top: 115px; animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1); }
  45% { left: 560px; top: 55px; animation-timing-function: linear; }
  50% { left: 560px; top: 55px; animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1); }
  62.5% { left: 988px; top: 252px; animation-timing-function: linear; }
  82.5% { left: 988px; top: 252px; animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1); }
  95% { left: 560px; top: 55px; animation-timing-function: linear; }
  100% { left: 560px; top: 55px; }
}
.demo2[data-step="1"] .ring { top: 50px; animation: fadeIn 0.27s 1s forwards; }
.demo2[data-step="3"] .ring { top: 187px; animation: fadeIn 0.27s 1s forwards; }
/* S1：悬停应用1 → 预览从小窗位置弹出到中央 */
.demo2[data-step="1"] .dpv-1 { animation: dpvPop 0.6s 1s cubic-bezier(0.4, 0, 0.2, 1) forwards; }
/* S2：移开 → 应用1预览缩回消失 */
.demo2[data-step="2"] .dpv-1 { animation: dpvBack 0.47s ease forwards; }
/* S3：悬停应用2 → 预览弹出 */
.demo2[data-step="3"] .dpv-2 { animation: dpvPop 0.6s 1s cubic-bezier(0.4, 0, 0.2, 1) forwards; }
/* S4：移开 → 应用2预览缩回消失 */
.demo2[data-step="4"] .dpv-2 { animation: dpvBack 0.47s ease forwards; }
/* 单条字幕：S1 淡入后保持到播放结束 */
.demo2[data-step="1"] .note-a { opacity: 1; transition-delay: 0.6s; }
.demo2[data-step="2"] .note-a, .demo2[data-step="3"] .note-a, .demo2[data-step="4"] .note-a { opacity: 1; }

/* ---------- demo3 舞台：应用 2 最大化占满桌面，小窗 1 浮在右上角 ---------- */
.demo3 .winmax { left: 40px; top: 76px; width: 1040px; height: 510px; }
/* 小窗上移到「跨过最大化窗口上沿」：顶部 50 落在菜单栏(44)与窗口顶(76)之间的桌面上，
   跨过窗口上沿 26px —— 这样它读起来是浮在桌面上的一层，而不是被装进窗口里的子窗口。
   若整块落在窗口范围内（原来 top:96），就会被看成「窗口里的窗口」。
   右移：right 39 → 16（917~1104），比最大化窗口右边(1080)多探出 24px，
   避免和窗口右边线对齐（对齐了又会读成"贴在窗口里"）。 */
.demo3 .pipA { right: 16px; top: 50px; width: 187px; height: 117px; }
/* 预览固定在屏幕正中 —— 但这里的「正中」必须比之前小一圈：
   最大化窗口内容区只有 125~586，预览占满中央的话，窗口上下只剩 7px / 76px 可见，
   居中放置的鹈鹕会被整块盖掉。缩成 420×262（仍是 16:10、仍严格居中、仍与小窗同宽高比，
   弹出动画不变形），窗口上下各让出 65px / 134px，鹈鹕的脑袋才能探出预览上沿。
   居中锚点：水平 (1120-420)/2 = 350；垂直 桌面区中心 321 - 131 = 190
   弹出起点 = 小窗中心：dx 1010.5-560 = 450.5、dy 108.5-321 = -212.5 */
.demo3 .dpv { left: 350px; top: 190px; width: 420px; height: 262px;
  --pop-dx: 450.5px; --pop-dy: -212.5px; --pop-sc: 0.4452; }
/* 预览内内容同倍率缩放（420/1.5 = 280 宽、262/1.5 = 175 高，inputapp 内容 146 高，留 29px 余量） */
.demo3 .dpv .pbody-wrap .inputapp { transform: scale(1.5); transform-origin: top left;
  width: 66.67%; height: 66.67%; }
/* 字幕条下移到「预览底 452 ~ 程序坞顶 598」之间的空档，既不压预览也不压程序坞 */
.demo3 .note { bottom: 111px; width: 700px; margin-left: -350px; padding: 13px 28px; }

/* ---------- demo3：单击固定预览 → 在预览中直接操作（同一场景两步） ---------- */
/* 光标：一条连续路径贯穿两步（周期 10100ms = 3500+6600，与步骤循环同拍，JS 在开始时对齐重播） */
.demo3 .cursor { animation: d3path 10.1s infinite, curClick 0.525s 3.5s ease-out; }
@keyframes d3path {
  0% { left: 300px; top: 430px; animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1); }
  30.3% { left: 1010px; top: 108px; animation-timing-function: linear; }   /* 3060ms 到达小窗 */
  34.7% { left: 1010px; top: 108px; animation-timing-function: linear; }   /* 3500ms 单击 */
  58.8% { left: 1010px; top: 108px; animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1); } /* 5940ms 之前一直停在小窗上（字幕①展示期间，指示这是要学的操作） */
  65.9% { left: 556px; top: 391px; }                                        /* 6660ms 进入预览输入框 */
  100% { left: 556px; top: 391px; }
}
/* S2：单击 → 预览从小窗位置弹出到屏幕中央并固定 */
.demo3[data-step="2"] .dpv { animation: dpvPop 1.06s 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards; }
/* 字幕①与「单击固定」同步：预览落位同时浮出，光标停在小窗上读完再淡出 */
.demo3[data-step="2"] .note-a { animation: capPin 2.8s 0.4s forwards; }
@keyframes capPin { 0% { opacity: 0; } 15% { opacity: 1; } 70% { opacity: 1; } 88% { opacity: 0; } 100% { opacity: 0; } }
/* 字幕②提示「预览可交互」：光标落进预览输入框时淡入 */
.demo3[data-step="2"] .note-b { opacity: 1; transition-delay: 3.1s; }
/* 输入框聚焦 + 光标闪烁：预览与小窗是同一个 .dfield/.dcaret 元素，天然同步；聚焦时刻跟随光标落进预览 */
.demo3[data-step="2"] .dpv .dfield { animation: focusIn 0.375s 3.2s forwards; }
@keyframes focusIn { to { border-color: #2f6bff; box-shadow: 0 0 0 4px rgba(47, 107, 255, 0.18); } }
.demo3[data-step="2"] .dpv .dcaret { visibility: visible; animation: blink 1s steps(1) 3.2s infinite; }
.demo3[data-step="2"] .pipA .dfield { animation: focusIn 0.375s 3.2s forwards; }
.demo3[data-step="2"] .pipA .dcaret { visibility: visible; animation: blink 1s steps(1) 3.2s infinite; }

/* 字幕显隐（transition-delay 编舞） */
.demo1[data-step="1"] .note-a { opacity: 1; transition-delay: 1.9s; }
.demo1[data-step="2"] .note-b { animation: capS2 2.85s 0.6s forwards; }
@keyframes capS2 { 0% { opacity: 0; } 16% { opacity: 1; } 67% { opacity: 1; } 82% { opacity: 0; } 100% { opacity: 0; } }
.demo1[data-step="2"] .arrow-b { opacity: 1; transition-delay: 0.6s; }
/* S3：单条字幕，1.2s 出现并持续到播放结束 */
.demo1[data-step="3"] .note-c { opacity: 1; transition-delay: 1.2s; }
.demo2[data-step="1"] .note-a, .demo2[data-step="1"] .arrow-a { opacity: 1; transition-delay: 1.15s; }
.demo2[data-step="2"] .note-b { opacity: 1; transition-delay: 0.67s; }
.demo2[data-step="3"] .note-c { opacity: 1; transition-delay: 0.4s; }

/* 描线进入动画（默认完整显示，步骤匹配时重画一遍） */
.demo1[data-step="1"] .arrow-a path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: drawA 0.55s 2.6s forwards; }
.demo1[data-step="2"] .arrow-b path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: drawA 0.55s 0.8s forwards; }
.demo2[data-step="1"] .arrow-a path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: drawA 0.55s 1.7s forwards; }
.demo2[data-step="2"] .arrow-b path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: drawA 0.55s 0.7s forwards; }
@keyframes drawA { to { stroke-dashoffset: 0; } }
/* 减少动态偏好：跳过描线动画 */
@media (prefers-reduced-motion: reduce) {
  .arrow path { animation: none !important; stroke-dashoffset: 0 !important; }
}
/* ---------- 案例 ---------- */
.cases-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.case-card {
  padding: 28px; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--panel);
  transition: transform 0.25s, border-color 0.25s, background 0.25s;
}
.case-card:hover { transform: translateY(-4px); border-color: var(--accent-line); background: var(--panel-strong); }
.case-card .role {
  display: inline-block; padding: 4px 12px; border-radius: 999px; margin-bottom: 18px;
  background: var(--accent-soft); border: 1px solid var(--accent-line);
  color: var(--accent-strong); font-size: 12.5px; font-weight: 600;
}
.case-card blockquote { color: var(--text); font-size: 15.5px; line-height: 1.75; }
.case-card .who { margin-top: 18px; color: var(--text-faint); font-size: 13.5px; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 760px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--panel); overflow: hidden; transition: border-color 0.2s;
}
.faq-item[open] { border-color: var(--accent-line); background: var(--panel-strong); }
.faq-item summary {
  list-style: none; cursor: pointer; user-select: none;
  padding: 18px 54px 18px 22px; position: relative;
  font-weight: 600; font-size: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; position: absolute; right: 22px; top: 50%;
  width: 9px; height: 9px; margin-top: -6px;
  border-right: 2px solid var(--text-faint); border-bottom: 2px solid var(--text-faint);
  transform: rotate(45deg); transition: transform 0.25s;
}
.faq-item[open] summary::after { transform: rotate(-135deg); border-color: var(--accent); }
.faq-item .answer { padding: 0 22px 20px; color: var(--text-dim); font-size: 15px; }

/* ---------- 作者 / 支持 ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 900px; margin: 0 auto; }
.about-card {
  padding: 32px; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--panel);
}
.about-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 16px; }
.avatar {
  width: 64px; height: 64px; border-radius: 50%;
  display: grid; place-items: center; margin-bottom: 16px;
  background: linear-gradient(135deg, var(--accent-strong), var(--accent-deep));
  color: #241403; font-weight: 800; font-size: 26px;
  box-shadow: 0 8px 22px rgba(255,157,77,0.3);
}
.about-card .name { font-weight: 700; font-size: 17px; }
.about-card .role-line { color: var(--accent-strong); font-size: 13.5px; margin: 3px 0 14px; }
.about-card p { color: var(--text-dim); font-size: 15px; }
.support-line { display: flex; align-items: center; gap: 10px; margin-top: 14px; color: var(--text-dim); font-size: 15px; flex-wrap: wrap; }
.support-line a { color: var(--accent-strong); border-bottom: 1px solid transparent; transition: border-color 0.2s; }
.support-line a:hover { border-color: var(--accent-strong); }
.support-line .sep { color: var(--text-faint); }

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid var(--line);
  padding: 40px 0; margin-top: 40px;
}
.footer-inner { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer-inner .logo { display: flex; align-items: center; gap: 8px; font-weight: 700; }
.footer-inner .logo svg { width: 20px; height: 20px; }
.footer-links { margin-left: auto; display: flex; gap: 22px; align-items: center; }
.footer-links a { color: var(--text-faint); font-size: 13.5px; transition: color 0.18s; }
.footer-links a:hover { color: var(--text); }
.footer-inner .rights { width: 100%; color: var(--text-faint); font-size: 13px; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 34px; transform: translate(-50%, 20px);
  z-index: 200; padding: 12px 22px; border-radius: 12px;
  background: #1c202b; border: 1px solid var(--accent-line);
  color: var(--text); font-size: 14px; box-shadow: var(--shadow);
  opacity: 0; pointer-events: none; transition: opacity 0.3s, transform 0.3s;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- 博客 ---------- */
.page-head { padding: calc(var(--nav-h) + 72px) 0 40px; text-align: center; }
.page-head h1 { font-size: clamp(30px, 4.5vw, 44px); font-weight: 800; letter-spacing: -0.015em; }
.page-head .lead { margin-top: 12px; color: var(--text-dim); }
.blog-list { display: grid; gap: 18px; max-width: 760px; margin: 0 auto; padding-bottom: 40px; }
.blog-item {
  display: block; padding: 26px 30px; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--panel);
  transition: transform 0.22s, border-color 0.22s, background 0.22s;
}
.blog-item:hover { transform: translateY(-3px); border-color: var(--accent-line); background: var(--panel-strong); }
.blog-item h2 { font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.blog-item .desc { color: var(--text-dim); font-size: 14.5px; }
.blog-item .meta { margin-top: 12px; color: var(--text-faint); font-size: 12.5px; }
.back-link { display: inline-block; margin: 8px 0 18px; color: var(--text-dim); font-size: 14px; }
.back-link:hover { color: var(--accent-strong); }

/* 文章页 */
.prose {
  max-width: 720px; margin: 0 auto; padding-bottom: 80px;
  font-size: 16.5px; line-height: 1.9;
}
.prose h1 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; letter-spacing: -0.015em; line-height: 1.3; margin-bottom: 10px; }
.prose .meta { color: var(--text-faint); font-size: 13.5px; margin-bottom: 36px; }
.prose h2 { font-size: 22px; font-weight: 700; margin: 36px 0 14px; }
.prose p { color: var(--text-dim); margin-bottom: 16px; }
.prose p strong { color: var(--text); }
.prose ul { margin: 0 0 16px 22px; color: var(--text-dim); }
.prose li { margin-bottom: 6px; }
.prose blockquote {
  margin: 20px 0; padding: 14px 20px; border-left: 3px solid var(--accent-line);
  background: var(--panel); border-radius: 0 10px 10px 0; color: var(--text);
}

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .feature { padding: 48px 0; }
  .feature-head { margin-bottom: 30px; }
  .demo-card { height: 320px; }
  .cases-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .hero { padding-top: calc(var(--nav-h) + 56px); }
  .section { padding: 64px 0; }
  .demo-card { height: 270px; }
  .dpip .tools { gap: 8%; }
}

/* ============ 文章底部 CTA ============ */
.post-cta {
  margin-top: 48px;
  padding: 22px 26px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.post-cta p { font-weight: 600; margin: 0; }

/* ============ 文章面包屑 + 上下篇导航 ============ */
.crumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--text);
  opacity: 0.65;
  margin-bottom: 20px;
}
.crumbs a { color: inherit; }
.crumbs a:hover { color: var(--accent, #f2a94f); }
.crumbs .sep { opacity: 0.5; }
.crumbs .here { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 60vw; }
.post-nav { display: flex; gap: 16px; margin-top: 36px; }
.post-nav .pn {
  flex: 1;
  display: flex;
  align-items: baseline;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 18px;
  color: var(--text);
}
.post-nav .pn:hover { border-color: var(--line-strong, rgba(255,255,255,0.2)); }
.post-nav .pn.next { justify-content: flex-end; text-align: right; }
.post-nav .pn-label { opacity: 0.5; flex: none; }
.post-nav .pn-t { font-weight: 600; font-size: 15px; }
