/* ==========================================================
   思序 MindPlan · 官网样式
   设计语言与产品一致（src/styles/global.css）：
   主蓝 #2f6beb · 玻璃拟态 · 14px 圆角 · 柔和大阴影 · 亮/暗双主题
   ========================================================== */

/* ---------- 设计 token ---------- */
/* 亮色调色板放在 :root 作无 JS / 引导脚本失败时的兜底（data-theme 由 JS 写入）；
   暗色经 [data-theme='dark'] 覆盖 */
:root {
  --radius: 14px;
  --radius-lg: 20px;
  --font: -apple-system, 'Segoe UI Variable Text', 'Segoe UI', 'PingFang SC',
    'HarmonyOS Sans SC', 'MiSans', 'Microsoft YaHei UI', 'Microsoft YaHei', system-ui, sans-serif;
  --accent-rgb: 47, 107, 235;
  --nav-h: 64px;
  /* 品牌渐变：标题点缀 / 分组徽标 / 步骤序号共用 */
  --grad-accent: linear-gradient(135deg, #4f8df9 0%, #2f6beb 48%, #8a5cf0 100%);
  --bg: #f6f7fb;
  --bg-soft: #eef0f6;
  --accent: #2f6beb;
  --accent-weak: rgba(47, 107, 235, 0.09);
  --text: #171c28;
  --text2: #4e5666;
  --text3: #7d8595;
  --card: #ffffff;
  --card-solid: #ffffff;
  --border: rgba(23, 28, 40, 0.09);
  --hover: rgba(23, 28, 40, 0.045);
  /* 双层阴影：贴地 1px 定边界 + 大范围柔光托起，避免「一块浮影」的单薄感 */
  --shadow: 0 1px 2px rgba(23, 28, 40, 0.06), 0 14px 36px rgba(23, 28, 40, 0.12);
  --shadow-soft: 0 1px 2px rgba(23, 28, 40, 0.04), 0 8px 22px rgba(23, 28, 40, 0.07);
  --nav-bg: rgba(255, 255, 255, 0.78);
  --glass: rgba(255, 255, 255, 0.6);
  --done: #9aa1ad;
}

[data-theme='dark'] {
  --bg: #0f1117;
  --bg-soft: #141721;
  --accent-rgb: 91, 141, 239;
  --accent: #5b8def;
  --accent-weak: rgba(91, 141, 239, 0.14);
  --text: #e8ebf1;
  --text2: #a6adbb;
  --text3: #7a8291;
  --card: rgba(31, 35, 45, 0.88);
  --card-solid: #1e222c;
  --border: rgba(255, 255, 255, 0.085);
  --hover: rgba(255, 255, 255, 0.06);
  /* 首层 inset 高光替代亮色主题的「白卡边界」，暗色下靠顶部发丝线分层 */
  --shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045), 0 18px 44px rgba(0, 0, 0, 0.52);
  --shadow-soft: inset 0 1px 0 rgba(255, 255, 255, 0.03), 0 10px 26px rgba(0, 0, 0, 0.36);
  --nav-bg: rgba(15, 17, 23, 0.75);
  --glass: rgba(24, 27, 35, 0.6);
  --done: #7c8494;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background 0.25s ease, color 0.25s ease;
  /* 首屏规划态挂件允许向右溢出容器，防止出现横向滚动条 */
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }

/* 中英文标题换行更均衡，长段落避孤行 */
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }

::selection { background: rgba(var(--accent-rgb), 0.22); }

:focus-visible {
  outline: 2px solid rgba(var(--accent-rgb), 0.55);
  outline-offset: 2px;
  border-radius: 4px;
}

code {
  font-family: Consolas, 'Courier New', monospace;
  font-size: 0.88em;
  background: var(--hover);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1px 6px;
  word-break: break-all;
}

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

.container-narrow { max-width: 780px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-family: inherit;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.18s cubic-bezier(0.2, 0.8, 0.3, 1), box-shadow 0.18s ease, background 0.18s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #4f8df9 0%, var(--accent) 55%, #6c56e8 100%);
  color: #fff;
  /* 顶部内高光让渐变按钮有「实体按键」的体积感 */
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 6px 18px rgba(var(--accent-rgb), 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 12px 28px rgba(var(--accent-rgb), 0.45);
}

.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  background: var(--card);
  color: var(--text);
  border-color: var(--border);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover { background: var(--hover); transform: translateY(-2px); }

.btn-lg { padding: 13px 28px; font-size: 17px; border-radius: 14px; }
.btn-sm { padding: 8px 18px; font-size: 14px; }
.btn-block { width: 100%; }

/* ---------- 顶部导航 ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: var(--nav-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.nav.scrolled { border-bottom-color: var(--border); }

.nav-inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 17px;
}

.brand-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(var(--accent-rgb), 0.35);
}

.nav-links {
  display: flex;
  gap: 4px;
  margin-left: auto;
}

.nav-links a {
  padding: 7px 14px;
  border-radius: 9px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text2);
  transition: color 0.15s ease, background 0.15s ease;
}

.nav-links a:hover { color: var(--text); background: var(--hover); }
.nav-links a.active { color: var(--accent); background: var(--accent-weak); }

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

.lang-toggle {
  height: 36px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--card);
  color: var(--text);
  cursor: pointer;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: background 0.15s ease, transform 0.15s ease;
}

.lang-toggle:hover { background: var(--hover); transform: scale(1.06); }

.theme-toggle {
  position: relative;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--card);
  cursor: pointer;
  font-size: 15px;
  line-height: 1;
  transition: background 0.15s ease, transform 0.15s ease;
}

.theme-toggle:hover { background: var(--hover); transform: scale(1.06); }

.theme-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

[data-theme='light'] .theme-icon-sun { opacity: 0; transform: rotate(90deg) scale(0.5); }
[data-theme='light'] .theme-icon-moon { opacity: 1; transform: none; }
[data-theme='dark'] .theme-icon-sun { opacity: 1; transform: none; }
[data-theme='dark'] .theme-icon-moon { opacity: 0; transform: rotate(-90deg) scale(0.5); }

/* ---------- Hero 首屏 ---------- */
.hero {
  position: relative;
  padding: calc(var(--nav-h) + 56px) 0 96px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-bg-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.38;
}

[data-theme='dark'] .hero-bg-blob { opacity: 0.32; }

.hero-bg-blob-1 {
  width: 560px;
  height: 560px;
  top: -180px;
  right: -80px;
  background: radial-gradient(circle, rgba(var(--accent-rgb), 0.5), transparent 70%);
}

.hero-bg-blob-2 {
  width: 420px;
  height: 420px;
  bottom: -160px;
  left: -120px;
  background: radial-gradient(circle, rgba(142, 68, 236, 0.28), transparent 70%);
}

.hero-bg-blob-3 {
  width: 300px;
  height: 300px;
  top: 30%;
  left: 38%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.25), transparent 70%);
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  gap: 56px;
  /* 顶部对齐：文案立刻进入视野，右侧挂件视觉自然向下延展 */
  align-items: start;
}

.hero-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 13px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text2);
  background: var(--card);
  border: 1px solid var(--border);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.badge-accent {
  color: var(--accent);
  background: var(--accent-weak);
  border-color: rgba(var(--accent-rgb), 0.16);
  font-weight: 600;
}

/* 新功能徽章：蓝紫双色微渐变底，比纯色胶囊更有辨识度 */
.badge-accent.badge-new {
  background: linear-gradient(135deg, rgba(79, 141, 249, 0.13), rgba(138, 92, 240, 0.15));
  border-color: rgba(116, 108, 240, 0.28);
  color: #5661d6;
}

[data-theme='dark'] .badge-accent.badge-new { color: #a3b0fa; }

.hero-title {
  font-size: clamp(38px, 4.6vw, 56px);
  line-height: 1.16;
  letter-spacing: -0.5px;
  font-weight: 700;
  margin-bottom: 22px;
}

/* 标题第二行品牌渐变字：蓝→紫两站过渡更顺滑，避免生硬断色 */
.hero-title .grad {
  background: linear-gradient(115deg, #4f8df9 8%, #6d7cf5 46%, #9d6bf0 92%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  font-size: 16px;
  line-height: 1.9;
  color: var(--text2);
  max-width: 32em;
  margin-bottom: 32px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 20px; }

.hero-meta { font-size: 13px; color: var(--text3); letter-spacing: 0.01em; }

/* ---------- Hero 挂件视觉（纯 CSS 复刻产品，结构与 v2.8 实际界面一致） ----------
   构图：规划态大卡为锚点靠右上，专注态瘦身卡左下压其底角；
   两卡统一倾角作为整体，呈对角呼应，右下留白由系统通知气泡补位。 */
.hero-visual {
  position: relative;
}

.hv-stack {
  position: relative;
  display: flex;
  flex-direction: column;
  transform: rotate(-1.2deg);
  transform-origin: 50% 42%;
}

.hero-widget-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* 规划态：宽卡靠右，构成视觉主体 */
.col-plan {
  align-self: flex-end;
  width: min(470px, 100%);
  z-index: 1;
  animation: popIn 0.6s cubic-bezier(0.2, 0.8, 0.3, 1) both;
}

/* 专注态：窄卡左下，浅压规划态底部空档（末排日期格） */
.col-focus {
  align-self: flex-start;
  width: 232px;
  margin-top: -84px;
  z-index: 2;
  animation: popIn 0.6s cubic-bezier(0.2, 0.8, 0.3, 1) 0.16s both;
}

/* 规划态说明胶囊位于卡片上方，与专注态下方的说明错落 */
.caption-top { order: -1; }

/* 说明胶囊做轻处理：弱化边框与字号，只做构图标注不做视觉主角 */
.widget-caption {
  align-self: center;
  font-size: 11.5px;
  color: var(--text3);
  background: var(--hover);
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 3px 12px;
  white-space: nowrap;
}

/* 系统通知气泡：补位右下留白，展示任务提醒能力 */
.hv-toast {
  position: absolute;
  right: 4px;
  bottom: 158px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 10px 16px 10px 11px;
  animation: toastIn 0.6s cubic-bezier(0.2, 0.8, 0.3, 1) 0.34s both;
}

@keyframes toastIn {
  from { opacity: 0; transform: rotate(2deg) translateY(18px) scale(0.92); }
  to { opacity: 1; transform: rotate(2deg) translateY(0) scale(1); }
}

.hv-toast-ico {
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(180deg, #5aa7f7 0%, var(--accent) 100%);
  box-shadow: 0 4px 12px rgba(var(--accent-rgb), 0.4);
}

.hv-toast-body { display: flex; flex-direction: column; line-height: 1.5; }

.hv-toast-body b { font-size: 13px; }

.hv-toast-body i {
  font-style: normal;
  font-size: 11.5px;
  color: var(--text2);
}

.widget {
  /* 定位上下文：.fw-badge（绝对定位的红点）须锚在本卡片上，
     否则会锚到更外层的 .hv-stack 顶到旁边挂件上去 */
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  padding: 12px;
  /* 产品配色（src/styles/global.css 的分类/优先级/逾期色） */
  --cat-work: #2f6beb;
  --cat-work-bg: rgba(47, 107, 235, 0.11);
  --cat-personal: #8e44ec;
  --cat-personal-bg: rgba(142, 68, 236, 0.11);
  --cat-other: #98a1b0;
  --cat-other-bg: rgba(152, 161, 176, 0.16);
  --w-overdue: #e2820f;
  --w-overdue-bg: rgba(226, 130, 15, 0.12);
  --w-danger: #e5484d;
}

[data-theme='dark'] .widget {
  --cat-work: #6d9bf3;
  --cat-work-bg: rgba(109, 155, 243, 0.14);
  --cat-personal: #b07ef5;
  --cat-personal-bg: rgba(176, 126, 245, 0.14);
  --cat-other: #828b9a;
  --cat-other-bg: rgba(130, 139, 154, 0.18);
  --w-overdue: #f0a232;
  --w-overdue-bg: rgba(240, 162, 50, 0.16);
  --w-danger: #ff6b6e;
}

@keyframes popIn {
  from { opacity: 0; transform: translateY(26px) scale(0.94); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.widget-plan { max-width: 100%; }

/* ---- 悬浮标题栏（产品样式：应用名 + 半透明操作图标） ---- */
.fw-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.fw-app {
  font-size: 12px;
  font-weight: 600;
  color: var(--text2);
}

.fw-tb-ico {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--text2);
  opacity: 0.8;
}

/* 提醒待处理红点（呼吸） */
.fw-badge {
  position: absolute;
  top: 34px;
  right: 16px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--w-danger);
  animation: fwPulse 1.6s ease-in-out infinite;
}

@keyframes fwPulse {
  50% { transform: scale(1.3); opacity: 0.75; }
}

/* ---- 通用小组件 ---- */
.fw-card {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 7px 7px 5px;
  margin-bottom: 7px;
}

.fw-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11.5px;
  font-weight: 600;
  padding: 0 2px 4px;
}

.fw-chip {
  font-size: 10px;
  font-weight: 500;
  color: var(--text2);
  background: var(--hover);
  border-radius: 999px;
  padding: 1px 7px;
}

.fw-nav {
  color: var(--text2);
  font-size: 12px;
  line-height: 1;
  padding: 0 4px;
}

/* ---- 专注态：迷你月历 ---- */
.fw-mini-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 3px;
}

.fw-mini-title { font-size: 11.5px; font-weight: 600; }

.fw-week {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-size: 9px;
  color: var(--text2);
  padding-bottom: 2px;
}

.fw-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1px;
  text-align: center;
}

.fw-grid span {
  position: relative;
  height: 22px;
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
}

.fw-grid span.dim { opacity: 0.4; }

.fw-grid span.today { background: var(--accent-weak); }

.fw-grid span.today::before {
  content: '';
  position: absolute;
  inset: 0;
  margin: auto;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.14;
}

.fw-grid .has-dot::after {
  content: '';
  position: absolute;
  bottom: 1.5px;
  left: 50%;
  transform: translateX(-50%);
  width: 3.5px;
  height: 3.5px;
  border-radius: 50%;
  background: var(--accent);
}

/* 休 / 班 角标（配色与产品一致：休=红、班=灰） */
.fw-hol {
  position: absolute;
  top: 1px;
  right: 1px;
  font-style: normal;
  font-size: 7px;
  line-height: 1;
  font-weight: 600;
  padding: 1.5px 2.5px;
  border-radius: 3px;
}

.fw-hol.rest-hol { color: var(--w-danger); background: rgba(229, 72, 77, 0.12); }
.fw-hol.duty-hol { color: var(--text2); background: var(--hover); }

/* ---- 专注态：今日任务 ---- */
.fw-overdue {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
  color: var(--w-overdue);
  background: var(--w-overdue-bg);
  border-radius: 7px;
  padding: 3px 8px;
  margin-bottom: 2px;
}

.fw-row {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11.5px;
  padding: 4px 4px;
  border-radius: 7px;
}

.fw-check {
  flex: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1.4px solid var(--text2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-style: normal;
  color: #fff;
}

.fw-row.done .fw-check {
  background: var(--accent);
  border-color: var(--accent);
}

.fw-row.done .fw-text {
  color: var(--done);
  text-decoration: line-through;
}

.fw-cat {
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.fw-cat.cat-work { background: var(--cat-work); }
.fw-cat.cat-personal { background: var(--cat-personal); }
.fw-cat.cat-other { background: var(--cat-other); }

.fw-text {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fw-time {
  font-style: normal;
  font-size: 10px;
  color: var(--text2);
  font-variant-numeric: tabular-nums;
}

.fw-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1px 3px;
}

.fw-foot > span:first-child { font-size: 10.5px; color: var(--text2); }

.fw-fab {
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(47, 107, 235, 0.4);
}

/* ---- 规划态：导航栏 + 大月历 + 详情面板 ---- */
.pw-body {
  display: flex;
  gap: 8px;
}

.pw-rail {
  flex: none;
  width: 50px;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 6px 5px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pw-collapse {
  color: var(--text2);
  font-size: 11px;
  line-height: 1;
  padding: 0 2px 3px;
}

.pw-rail-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 10.5px;
  color: var(--text2);
  border-radius: 7px;
  padding: 5px 6px;
  white-space: nowrap;
}

.pw-rail-item.active {
  color: var(--accent);
  background: var(--accent-weak);
  font-weight: 600;
}

.pw-cal {
  flex: 1.7;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.pw-cal-head {
  display: flex;
  align-items: center;
  gap: 2px;
}

.pw-cal-title { font-size: 12px; font-weight: 700; }

.pw-flex { flex: 1; }

.pw-btn {
  font-size: 9.5px;
  color: var(--text2);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 2px 7px;
  white-space: nowrap;
}

.pw-week {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px;
  text-align: center;
  font-size: 9px;
  color: var(--text2);
}

.pw-week .wend { color: var(--w-danger); }

.pw-grid {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

/* 周行：7 列格子；has-span 时格子下移，跨天色条绝对定位覆盖（与产品一致） */
.pw-weekrow {
  position: relative;
  flex: 1;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px;
  min-height: 42px;
}

.pw-weekrow.has-span .pw-cell { margin-top: 17px; }

.pw-cell {
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 2px 3px;
  font-size: 9.5px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.pw-cell b {
  font-weight: 600;
  font-size: 9.5px;
  color: var(--text);
}

.pw-cell b.wend { color: var(--w-danger); }

.pw-cell.dim { opacity: 0.42; }

.pw-cell.today {
  background: var(--accent-weak);
  border-color: rgba(47, 107, 235, 0.4);
}

.pw-cell.today b {
  background: var(--accent);
  color: #fff;
  border-radius: 4px;
  padding: 0 3px;
}

.pw-cell .fw-hol { position: static; align-self: flex-start; font-size: 8px; }

.pw-chip {
  font-size: 8px;
  line-height: 1.4;
  border-left: 2px solid var(--cat-other);
  background: var(--cat-other-bg);
  border-radius: 4px;
  padding: 0 3px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pw-chip i {
  font-style: normal;
  opacity: 0.62;
  margin-right: 2px;
  font-variant-numeric: tabular-nums;
}

.pw-chip.cat-work { border-left-color: var(--cat-work); background: var(--cat-work-bg); }
.pw-chip.cat-personal { border-left-color: var(--cat-personal); background: var(--cat-personal-bg); }

.pw-more { font-size: 8.5px; color: var(--text2); }

.pw-span {
  position: absolute;
  top: 1px;
  height: 14px;
  line-height: 14px;
  font-size: 8.5px;
  border-left: 2px solid var(--cat-other);
  background: var(--cat-other-bg);
  border-radius: 4px;
  padding: 0 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pw-span.cat-work { border-left-color: var(--cat-work); background: var(--cat-work-bg); }
.pw-span.cat-personal { border-left-color: var(--cat-personal); background: var(--cat-personal-bg); }

.pw-detail {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 7px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.pw-detail-head {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 10.5px;
  font-weight: 600;
}

.pw-detail-head .fw-chip { font-weight: 500; }

.pw-link { color: var(--accent); font-size: 9.5px; font-weight: 500; white-space: nowrap; }

.pw-rows { flex: 1; }

.pw-quick {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 4px 5px 4px 8px;
  font-size: 9.5px;
  color: var(--text2);
  white-space: nowrap;
  overflow: hidden;
}

.pw-quick span:first-child { overflow: hidden; text-overflow: ellipsis; }

.pw-add {
  flex: none;
  width: 16px;
  height: 16px;
  border-radius: 4px;
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- 灵感素材（v2.8 亮点） ---------- */
.section-inspiration {
  position: relative;
  overflow: hidden;
}

.insp-blob-1 { top: -140px; left: -150px; }
.insp-blob-2 { top: auto; left: auto; bottom: -160px; right: -110px; }

.insp-container { position: relative; }

.insp-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-bottom: 60px;
}

.insp-head .section-sub { margin-bottom: 0; }

.insp-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}

/* 两列紧凑亮点网格：8 点按 2×4 排布，密度与右侧双窗口视觉平衡 */
.insp-copy {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

/* 安静卡片：默认无卡片框，与右侧信息量大的双窗口视觉形成疏密对比；
   悬停时浮现极浅底色，视线逐条聚焦（不做位移，保持队列稳定） */
.insp-point {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  background: transparent;
  border-radius: 12px;
  padding: 14px 14px;
  transition: background 0.2s ease;
}

.insp-point:hover { background: var(--hover); }

.insp-point-icon {
  flex: none;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: var(--accent);
  background: var(--accent-weak);
  border: 1px solid rgba(var(--accent-rgb), 0.1);
}

.insp-point h3 { font-size: 14.5px; font-weight: 600; margin-bottom: 3px; letter-spacing: -0.1px; }

.insp-point p { font-size: 12.5px; color: var(--text2); line-height: 1.7; }

/* ---- 灵感双窗口视觉复刻：后层灵感画布窗口（素材侧边栏 + 白板），前层灵感库窗口 ---- */
.insp-visual {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.iv-stack {
  position: relative;
  display: flex;
  flex-direction: column;
  transform: rotate(-1.2deg);
  transform-origin: 50% 40%;
}

.iv-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* 画布窗口：宽卡靠右为视觉主体 */
.iv-col-canvas {
  align-self: flex-end;
  width: min(470px, 100%);
  z-index: 1;
  animation: popIn 0.6s cubic-bezier(0.2, 0.8, 0.3, 1) both;
}

/* 灵感库窗口：窄卡左下，压住画布窗口底角 */
.iv-col-lib {
  align-self: flex-start;
  width: 296px;
  margin-top: -84px;
  z-index: 2;
  animation: popIn 0.6s cubic-bezier(0.2, 0.8, 0.3, 1) 0.16s both;
}

.widget-canvas { width: 100%; }

.cw-body {
  display: flex;
  gap: 8px;
  height: 316px;
}

/* 素材侧边栏（与灵感库同一池子，卡片可拖入白板） */
.cw-side {
  flex: none;
  width: 126px;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.cw-side-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  padding: 2px 2px 0;
}

.cw-side-add {
  flex: none;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--accent);
  background: var(--accent-weak);
  border-radius: 6px;
}

.cw-side-hint {
  margin-top: 2px;
  font-size: 9.5px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-weak);
  border-radius: 7px;
  padding: 5px 6px;
  text-align: center;
  white-space: nowrap;
}

/* 灵感库窗口（完整视图） */
.widget-lib {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.lw-tools {
  display: flex;
  align-items: center;
  gap: 5px;
}

.lw-tool {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 10px;
  color: var(--text2);
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 2.5px 7px;
  white-space: nowrap;
}

.lw-tool.active {
  color: var(--accent);
  border-color: rgba(var(--accent-rgb), 0.45);
  background: var(--accent-weak);
}

.lw-flex { flex: 1; }

.lw-add {
  font-size: 10px;
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  border-radius: 7px;
  padding: 3px 9px;
  white-space: nowrap;
}

.lw-group {
  font-size: 9px;
  font-weight: 700;
  color: var(--text2);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 2px 0;
}

.lw-canvas-card {
  display: flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--card-solid);
  padding: 8px 9px;
}

.lw-canvas-ico {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--accent);
  background: var(--accent-weak);
}

.lw-canvas-name {
  flex: 1;
  min-width: 0;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lw-foot {
  margin-top: 2px;
  font-size: 9.5px;
  color: var(--text2);
  padding: 2px;
  white-space: nowrap;
}

.iw-search {
  font-size: 10.5px;
  color: var(--text2);
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 4px 8px;
  white-space: nowrap;
  overflow: hidden;
}

.iw-idea {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--card-solid);
  padding: 7px 9px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.iw-idea.active {
  border-color: rgba(var(--accent-rgb), 0.55);
  box-shadow: 0 0 0 3px var(--accent-weak);
}

.iw-idea-text {
  font-size: 11px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.iw-idea-time { font-size: 9px; color: var(--text2); }

/* 文件碎片卡（系统右键「添加到灵感池」入池）：缩略图在左，文字 + 「文件」角标 */
.iw-idea.has-file { flex-direction: row; align-items: center; gap: 7px; }
.iw-idea.has-file .iw-idea-text { flex: 1; min-width: 0; }
.iw-idea-thumb {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.16), rgba(var(--accent-rgb), 0.05));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}
.iw-idea-file {
  flex: none;
  font-size: 8.5px;
  font-weight: 600;
  color: var(--text2);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 1.5px 6px;
  white-space: nowrap;
}

.iw-canvas {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}

.iw-canvas-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 9px;
  border-bottom: 1px solid var(--border);
  font-size: 10.5px;
}

.iw-canvas-name {
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.iw-saved {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  color: var(--text2);
  white-space: nowrap;
}

.iw-saved i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34b26b;
}

.iw-bg {
  font-size: 10px;
  color: var(--text2);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 2px 8px;
  white-space: nowrap;
}

.iw-export {
  font-size: 10px;
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  border-radius: 6px;
  padding: 2.5px 9px;
  white-space: nowrap;
}

/* 点阵草稿纸画布 */
.iw-board {
  position: relative;
  flex: 1;
  background-image: radial-gradient(rgba(15, 23, 42, 0.16) 1px, transparent 1.1px);
  background-size: 16px 16px;
  background-position: 7px 7px;
}

[data-theme='dark'] .iw-board {
  background-image: radial-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1.1px);
}

/* 手绘图形：不规则圆角模拟手绘抖动 */
.iw-shape {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
}

.iw-rect {
  left: 8%;
  top: 13%;
  width: 37%;
  height: 28%;
  border: 2px solid var(--accent);
  color: var(--accent);
  background: var(--accent-weak);
  border-radius: 255px 15px 225px 15px / 15px 225px 15px 255px;
  transform: rotate(-1.4deg);
}

.iw-handle {
  position: absolute;
  width: 7px;
  height: 7px;
  background: var(--card-solid);
  border: 1.5px solid var(--accent);
  border-radius: 2px;
}

.iw-handle.h-tl { top: -5px; left: -5px; }
.iw-handle.h-tr { top: -5px; right: -5px; }
.iw-handle.h-bl { bottom: -5px; left: -5px; }
.iw-handle.h-br { bottom: -5px; right: -5px; }

.iw-arrow {
  position: absolute;
  left: 45%;
  top: 15%;
  width: 17%;
  color: var(--accent);
  transform: rotate(10deg);
}

.iw-ellipse {
  left: 61%;
  top: 22%;
  width: 27%;
  height: 24%;
  border: 2px solid #8e44ec;
  color: #8e44ec;
  background: rgba(142, 68, 236, 0.1);
  border-radius: 50% 46% 52% 48% / 48% 52% 46% 54%;
  transform: rotate(2.2deg);
}

/* 黄色便签（配胶带 + 折角） */
.iw-sticky {
  position: absolute;
  left: 11%;
  bottom: 15%;
  width: 27%;
  padding: 14px 11px 10px;
  background: linear-gradient(180deg, #ffeb8f 0%, #ffd66b 100%);
  color: #6b4e00;
  font-size: 11px;
  line-height: 1.65;
  border-radius: 3px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
  transform: rotate(-3deg);
}

.iw-sticky::before {
  content: '';
  position: absolute;
  top: -7px;
  left: 50%;
  width: 36px;
  height: 13px;
  background: rgba(255, 255, 255, 0.55);
  transform: translateX(-50%) rotate(-2deg);
}

.iw-sticky::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: 0;
  border-style: solid;
  border-width: 0 0 12px 12px;
  border-color: transparent transparent rgba(0, 0, 0, 0.12) transparent;
}

/* 图片卡片 */
.iw-image {
  position: absolute;
  right: 6%;
  bottom: 26%;
  width: 24%;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: var(--card-solid);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.14);
  transform: rotate(1.6deg);
  font-size: 9.5px;
  color: var(--text2);
}

.iw-image-thumb {
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  background: linear-gradient(135deg, #7cb8e6 0%, #b5d9bf 55%, #f0d294 100%);
}

.iw-image span { display: block; padding: 4px 7px; }

/* 文件卡片 */
.iw-file {
  position: absolute;
  left: 45%;
  bottom: 11%;
  font-size: 10px;
  padding: 5px 10px;
  background: var(--card-solid);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  transform: rotate(-1.2deg);
  white-space: nowrap;
}

/* 灵感引用卡片（素材池拖入画布生成的藤紫虚线便签） */
.iw-idea-ref {
  position: absolute;
  left: 43%;
  bottom: 37%;
  width: 24%;
  border: 1.6px dashed #8464d9;
  background: #f1ebff;
  border-radius: 10px;
  padding: 7px 9px 8px;
  transform: rotate(-2deg);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.iw-idea-ref b {
  display: inline-block;
  font-size: 8px;
  font-weight: 700;
  color: #fff;
  background: #8464d9;
  border-radius: 4px;
  padding: 1px 5px;
  margin-bottom: 4px;
}

.iw-idea-ref span {
  display: block;
  font-size: 10px;
  line-height: 1.45;
  color: #4a3e74;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

[data-theme='dark'] .iw-idea-ref { background: #2c2545; }
[data-theme='dark'] .iw-idea-ref span { color: #cfc3f2; }

/* 灵感窗口标题栏胶囊按钮：画布「素材面板」/ 灵感库「迷你便签」 */
.iw-tb-extra {
  margin-left: auto;
  margin-right: 10px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--text2);
}

.iw-pill {
  font-size: 9px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-weak);
  border-radius: 6px;
  padding: 2.5px 8px;
  white-space: nowrap;
}

/* 浮动工具条 */
.iw-toolbar {
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  display: flex;
  gap: 2px;
  background: var(--card-solid);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 4px;
  box-shadow: var(--shadow);
}

.iw-toolbar i {
  font-style: normal;
  width: 24px;
  height: 24px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: var(--text2);
}

.iw-toolbar i.on { background: var(--accent); color: #fff; }

/* ---------- 通用区块 ---------- */
.section { padding: 108px 0; }

/* 交替区块：上下柔化渐隐，避免生硬色块拼接 */
.section-alt {
  background:
    radial-gradient(60% 40% at 50% 0%, rgba(var(--accent-rgb), 0.045), transparent 70%),
    var(--bg-soft);
}

.section-title {
  font-size: clamp(28px, 3.4vw, 38px);
  font-weight: 700;
  text-align: center;
  letter-spacing: -0.4px;
  margin-bottom: 14px;
}

/* 标题下的品牌渐变短线 */
.section-title::after {
  content: '';
  display: block;
  width: 36px;
  height: 3px;
  border-radius: 2px;
  background: var(--grad-accent);
  margin: 18px auto 0;
}

.section-sub {
  text-align: center;
  color: var(--text2);
  font-size: 15.5px;
  line-height: 1.9;
  max-width: 38em;
  margin: 0 auto 56px;
}

/* ---------- 功能卡片 ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.feature-card {
  position: relative;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 28px 26px;
  transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.3, 1), box-shadow 0.2s ease, border-color 0.2s ease;
}

/* 顶部渐变发丝线：常驻极淡，悬停点亮 */
.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--grad-accent);
  opacity: 0.14;
  transition: opacity 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: rgba(var(--accent-rgb), 0.3);
}

.feature-card:hover::before { opacity: 1; }

/* 统一风格的 SVG 线性图标放进同尺寸圆角芯片：加边框收住视觉重量 */
.feature-icon {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: var(--accent);
  background: var(--accent-weak);
  border: 1px solid rgba(var(--accent-rgb), 0.1);
  margin-bottom: 18px;
}

/* 六卡各配一个色相的图标芯片，打破等重复制的单调感（半透明底双主题通用） */
.feature-card:nth-child(2) .feature-icon { color: #8e44ec; background: rgba(142, 68, 236, 0.12); border-color: rgba(142, 68, 236, 0.12); }
.feature-card:nth-child(3) .feature-icon { color: #0e9ec2; background: rgba(14, 165, 190, 0.12); border-color: rgba(14, 165, 190, 0.12); }
.feature-card:nth-child(4) .feature-icon { color: #16a374; background: rgba(22, 163, 116, 0.13); border-color: rgba(22, 163, 116, 0.13); }
.feature-card:nth-child(5) .feature-icon { color: #dd7a0d; background: rgba(226, 130, 15, 0.13); border-color: rgba(226, 130, 15, 0.13); }
.feature-card:nth-child(6) .feature-icon { color: #dc4f74; background: rgba(225, 87, 120, 0.12); border-color: rgba(225, 87, 120, 0.12); }

.feature-card h3 { font-size: 16.5px; font-weight: 600; letter-spacing: -0.1px; margin-bottom: 8px; }

.feature-card p { font-size: 13.5px; color: var(--text2); line-height: 1.75; }

/* ---------- 皮肤展示 ---------- */
.skin-group { margin-bottom: 56px; }

/* 分组眉题：居中小字 + 两侧细线，替代胶囊徽标，更安静也更有杂志感 */
.skin-group-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 0 auto 26px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--text3);
}

.skin-group-title::before,
.skin-group-title::after {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--border);
}

/* 按组内卡片数量定列数：每组都整行满排，不出现尾部空缺 */
.skin-grid {
  display: grid;
  gap: 20px;
}

.skin-grid-3 { grid-template-columns: repeat(3, 1fr); }

.skin-grid-4 { grid-template-columns: repeat(4, 1fr); }

.skin-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.3, 1), box-shadow 0.2s ease;
}

.skin-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

/* 色卡比例随列数取形：3 列用 3:2，4 列用 16:10，色彩张力优先于「色票条」 */
.skin-grid-3 .skin-preview { aspect-ratio: 3 / 2; }
.skin-grid-4 .skin-preview { aspect-ratio: 16 / 10; }

.skin-preview {
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.3, 1);
}

.skin-card:hover .skin-preview { transform: scale(1.05); }

.skin-card figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 11px 14px;
  font-size: 13.5px;
}

.skin-card figcaption strong { font-weight: 600; letter-spacing: -0.05px; }

.skin-card figcaption span {
  flex: none;
  font-size: 11px;
  font-weight: 500;
  color: var(--text3);
  background: var(--hover);
  border-radius: 999px;
  padding: 2px 9px;
}

.skin-card figcaption span:first-of-type {
  color: var(--accent);
  background: var(--accent-weak);
}

.skin-note {
  text-align: center;
  font-size: 13px;
  color: var(--text3);
}

/* ---------- 下载区 ---------- */
.download-panel {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  padding: 56px;
  overflow: hidden;
}

/* 面板右上品牌渐变柔光，给下载区一点仪式感 */
.download-panel::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -80px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--accent-rgb), 0.14), transparent 70%);
  pointer-events: none;
}

.download-panel .section-title { text-align: left; margin-bottom: 8px; }

.download-panel .section-title::after { margin-left: 0; }

.download-sub { text-align: left; margin-bottom: 32px; }

/* CTA 是全页转化点：加大一圈、渐变加光 */
.download-panel .btn-lg {
  padding: 16px 32px;
  font-size: 17.5px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 8px 24px rgba(var(--accent-rgb), 0.42);
}

.download-panel .btn-primary:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 12px 30px rgba(var(--accent-rgb), 0.55); }

/* 元数据改为「小标签在上、值在下」的定义式排版，扫读时先抓值再核对标签 */
.download-meta {
  list-style: none;
  margin-top: 34px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 32px;
}

.download-meta li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-left: 2px solid rgba(var(--accent-rgb), 0.22);
  padding-left: 13px;
}

.download-meta li span:first-child {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text3);
}

.download-meta li span:last-child { font-size: 14px; font-weight: 500; color: var(--text); }

.download-hash { margin-top: 22px; font-size: 13px; }

.download-hash summary {
  cursor: pointer;
  color: var(--text3);
  user-select: none;
  transition: color 0.15s ease;
}

.download-hash summary:hover { color: var(--accent); }

.download-hash code {
  display: block;
  margin-top: 8px;
  padding: 9px 12px;
  font-size: 12px;
}

/* 三步时间线：序号之间以虚线相连，替代整列左描边 */
.download-steps {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 34px;
  padding-left: 4px;
}

.step { position: relative; display: flex; gap: 16px; }

.step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 16px;
  top: 38px;
  bottom: -30px;
  border-left: 2px dashed rgba(var(--accent-rgb), 0.25);
}

.step-num {
  position: relative;
  z-index: 1;
  flex: none;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  background: var(--grad-accent);
  color: #fff;
  font-weight: 700;
  font-size: 14.5px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 4px 12px rgba(var(--accent-rgb), 0.35);
}

.step strong { display: block; font-size: 15.5px; font-weight: 600; margin-bottom: 4px; }

.step p { font-size: 13.5px; color: var(--text2); line-height: 1.75; }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 13px; }

.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 15px;
  box-shadow: var(--shadow-soft);
  padding: 5px 26px;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.faq-item:hover { border-color: rgba(var(--accent-rgb), 0.28); }

.faq-item[open] {
  box-shadow: var(--shadow);
  border-color: rgba(var(--accent-rgb), 0.35);
}

.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 15.5px;
  letter-spacing: -0.05px;
  padding: 16px 0;
  list-style: none;
  position: relative;
  padding-right: 48px;
  user-select: none;
}

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

/* 圆形加号徽标 */
.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 500;
  color: var(--text2);
  background: var(--hover);
  border-radius: 50%;
  transition: transform 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.faq-item[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
  color: #fff;
  background: var(--accent);
}

.faq-item p {
  padding: 0 0 18px;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--text2);
}

/* ---------- 页脚 ---------- */
.footer {
  position: relative;
  border-top: 1px solid var(--border);
  background: var(--bg-soft);
  padding: 44px 0;
}

/* 顶部居中的品牌渐变发丝线，收个尾 */
.footer::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: min(560px, 70%);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--accent-rgb), 0.45), transparent);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 32px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 14.5px;
}

.footer-brand .brand-icon { width: 24px; height: 24px; border-radius: 6px; box-shadow: none; }

.footer-links { display: flex; gap: 22px; margin-left: auto; }

.footer-links a { font-size: 13.5px; color: var(--text2); transition: color 0.15s ease; }

.footer-links a:hover { color: var(--accent); }

.footer-copy {
  width: 100%;
  font-size: 12.5px;
  color: var(--text3);
  letter-spacing: 0.01em;
}

/* ---------- 滚动入场动画 ---------- */
body.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.2, 0.8, 0.3, 1);
}

body.js .reveal.in {
  opacity: 1;
  transform: none;
}

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
  .hero { padding-bottom: 72px; }

  .hero-inner { grid-template-columns: minmax(0, 1fr); gap: 28px; }

  /* 单列时收起整体倾角，构图原位居中 */
  .hv-stack {
    width: 100%;
    max-width: 470px;
    margin: 0 auto;
    transform: none;
    padding-top: 24px;
  }

  .col-plan { width: 100%; }

  .col-focus { margin-top: -56px; }

  .hv-toast { display: none; }

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

  .insp-grid { grid-template-columns: 1fr; gap: 40px; }

  /* 单列时灵感双窗口构图原位居中，收起倾角 */
  .iv-stack {
    width: 100%;
    max-width: 470px;
    margin: 0 auto;
    transform: none;
    padding-top: 8px;
  }

  .iv-col-canvas { width: 100%; }

  .iv-col-lib { margin-top: -72px; }

  .skin-grid-3 { grid-template-columns: repeat(3, 1fr); }

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

  .download-panel { grid-template-columns: 1fr; gap: 36px; padding: 36px 28px; }

  .download-steps {
    border-top: 1px solid var(--border);
    padding-top: 32px;
  }
}

@media (max-width: 720px) {
  .nav-links { display: none; }

  .section { padding: 68px 0; }

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

  /* 窄屏亮点列表收成单列，描述不再挤压换行 */
  .insp-copy { grid-template-columns: 1fr; }

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

  /* 窄屏收起详情面板，月历独占宽度 */
  .pw-detail { display: none; }

  .pw-cal { flex: 1; }

  .widget { padding: 10px; }

  /* 灵感素材视觉：窄屏双窗口改为上下排布，画布收起背景切换 */
  .iv-col-lib {
    width: 100%;
    margin-top: 14px;
  }

  .cw-body { height: 300px; }

  .iw-bg { display: none; }

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

  .footer-inner { flex-direction: column; align-items: flex-start; }

  .footer-links { margin-left: 0; }
}

/* ---------- 减弱动效偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .col-plan,
  .col-focus,
  .hv-toast,
  .iv-col-canvas,
  .iv-col-lib,
  .fw-badge { animation: none; }

  body.js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn:hover,
  .feature-card:hover,
  .skin-card:hover,
  .insp-point:hover { transform: none; }
}

/* ======== 定价 ======== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 34px;
  align-items: stretch;
}
.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  background: var(--card);
  box-shadow: var(--shadow-soft);
}
.price-card-featured {
  border-color: rgba(var(--accent-rgb), 0.55);
  box-shadow: var(--shadow);
}
.price-flag {
  position: absolute;
  top: -12px;
  left: 24px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  padding: 3px 12px;
  border-radius: 999px;
  background: var(--grad-accent);
}
.price-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text2);
}
.price-card-featured .price-name { color: var(--accent); }
.price-amount {
  font-size: 26px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
}
.price-from {
  font-size: 20px;
  background: var(--grad-accent);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.price-feats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 13.5px;
  color: var(--text2);
}
.price-feats li { padding-left: 22px; position: relative; }
.price-feats li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent-weak);
  border: 1.5px solid rgba(var(--accent-rgb), 0.5);
}
.price-hint {
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--text3);
  margin: 0;
}
.price-card .btn { margin-top: auto; }
.pricing-note {
  margin-top: 22px;
  font-size: 12.5px;
  color: var(--text3);
  text-align: center;
}
@media (max-width: 900px) {
  .pricing-grid { grid-template-columns: 1fr; }
}

/* 下载区：未签名安装包的保留指引 */
.download-warn {
  margin-top: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(240, 169, 45, 0.35);
  border-radius: 10px;
  background: rgba(240, 169, 45, 0.08);
  font-size: 12.5px;
  line-height: 1.9;
  color: var(--text2);
}
