/* ==========================================================================
   图乖乖 · 企业官网  —  设计语言对齐 workbuddy.cn
   白底 + 墨色文字 + 品牌绿点缀 + 黑色胶囊按钮 + 深色页脚
   ========================================================================== */

:root {
  --bg: #ffffff;
  --ink: #0a0a0a;
  --ink-2: #55555e;
  --ink-3: #9b9ba4;
  --line: #ececef;
  --line-2: #e2e2e6;
  --green: #009273;
  --green-dark: #007a60;
  --mint: #f3f9f6;
  --mint-2: #f2fcfa;
  --dark: #0a0a0a;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-card: 0 2px 8px rgba(10, 10, 10, 0.04);
  --shadow-lift: 0 18px 50px -20px rgba(10, 10, 10, 0.18);
  --shadow-panel: 0 16px 48px -12px rgba(10, 10, 10, 0.14);
  --font: "PingFang SC", "Microsoft YaHei", -apple-system, "system-ui",
    "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --maxw: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; background: none; border: 0; color: inherit; }
[hidden] { display: none !important; }
::selection { background: rgba(0, 146, 115, 0.16); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }

/* ---------- 标题体系 ---------- */
.h1 { font-size: clamp(42px, 6.4vw, 76px); line-height: 1.12; font-weight: 800; letter-spacing: -0.03em; }
.h2 { font-size: clamp(30px, 4vw, 48px); line-height: 1.22; font-weight: 800; letter-spacing: -0.02em; }
.h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }
.lead { color: var(--ink-2); font-size: 17px; }

/* 眉标胶囊：绿色文字 + 薄荷底 */
.chip-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--mint); color: var(--green);
  font-size: 13px; font-weight: 600; letter-spacing: 0.08em;
  padding: 6px 16px; border-radius: 999px;
  margin-bottom: 22px;
}
.chip-eyebrow .en { color: rgba(0, 146, 115, 0.55); letter-spacing: 0.14em; font-weight: 500; }

/* ---------- 板块通用 ---------- */
.section { padding: 96px 0; }
.sec-head {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 400px);
  gap: 40px; align-items: end; margin-bottom: 56px;
}
.sec-head.center { display: block; text-align: center; }
.sec-head.center .lead { max-width: 640px; margin: 18px auto 0; }
.sec-head .lead { padding-bottom: 6px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 999px; font-weight: 600; font-size: 15px;
  padding: 13px 30px; transition: all 0.2s ease; white-space: nowrap;
}
.btn-dark { background: var(--dark); color: #fff; }
.btn-dark:hover { background: #26262c; transform: translateY(-1px); }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-dark); transform: translateY(-1px); }
.btn-ghost { border: 1px solid var(--line-2); color: var(--ink); background: #fff; }
.btn-ghost:hover { border-color: var(--ink); }
.btn-link { color: var(--green); font-weight: 600; padding: 10px 6px; }
.btn-link:hover { color: var(--green-dark); }
.btn-lg { padding: 16px 38px; font-size: 16px; }
.btn-sm { padding: 9px 20px; font-size: 14px; }

/* ==========================================================================
   Header 导航
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.nav-content {
  max-width: 1280px; margin: 0 auto; padding: 0 32px;
  height: 64px; display: flex; align-items: center; gap: 28px;
}
.nav-logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; letter-spacing: -0.01em; }
.logo-mark {
  width: 32px; height: 32px; border-radius: 9px; flex: none;
  background: linear-gradient(160deg, #16233a, #0a0e1a);
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
}
.logo-mark .logo-img { width: 86%; height: 86%; object-fit: contain; display: block; }
.nav-menu { display: flex; align-items: center; gap: 6px; margin: 0 auto; }
.nav-link {
  position: relative; display: inline-flex; align-items: center; gap: 5px;
  padding: 8px 14px; font-size: 15px; font-weight: 500; color: var(--ink);
  border-radius: 8px; transition: color 0.15s ease;
}
.nav-link:hover { color: var(--green); }
.nav-link.is-active { color: var(--ink); font-weight: 600; }
.nav-link.is-active::after, .nav-link:hover::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px;
  height: 2px; border-radius: 2px; background: var(--green);
}
.nav-link .caret { transition: transform 0.2s ease; }
.dd.open .nav-link .caret, .dd.open > .dd-trigger .caret { transform: rotate(180deg); }

.nav-actions { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.nav-login { font-size: 15px; font-weight: 500; }
.nav-login:hover { color: var(--green); }

/* ---------- 下拉面板 ---------- */
.dd { position: relative; }
.dd-panel {
  position: absolute; top: calc(100% + 10px); left: 50%;
  transform: translateX(-50%) translateY(6px);
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow-panel); padding: 8px; min-width: 260px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 90;
}
.dd.open .dd-panel { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.dd-item { display: block; padding: 11px 14px; border-radius: 10px; transition: background 0.15s; }
.dd-item:hover { background: var(--mint); }
.dd-item b { display: block; font-size: 14.5px; font-weight: 600; }
.dd-item span { display: block; font-size: 12.5px; color: var(--ink-3); margin-top: 2px; }

/* 下载下拉：端 + 版本（参考 workbuddy） */
.dl-panel { min-width: 380px; padding: 14px; }
.dl-group-title { font-size: 12px; font-weight: 600; color: var(--ink-3); letter-spacing: 0.1em; padding: 8px 8px 6px; }
.dl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.dl-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 10px; transition: background 0.15s;
}
.dl-item:hover { background: var(--mint); }
.dl-item svg { width: 20px; height: 20px; flex: none; }
.dl-item .dl-name { font-size: 14px; font-weight: 600; line-height: 1.3; }
.dl-item .dl-meta { display: block; font-size: 11.5px; color: var(--ink-3); font-weight: 400; }
.dl-item .dl-tag {
  margin-left: auto; font-size: 10.5px; color: var(--green);
  background: var(--mint); border-radius: 999px; padding: 2px 8px; font-weight: 600; flex: none;
}
.dl-divider { height: 1px; background: var(--line); margin: 10px 4px; }

/* ---------- 移动端抽屉 ---------- */
.burger { display: none; width: 40px; height: 40px; border-radius: 10px; position: relative; }
.burger span, .burger span::before, .burger span::after {
  content: ""; position: absolute; left: 10px; width: 20px; height: 2px;
  background: var(--ink); border-radius: 2px; transition: all 0.2s;
}
.burger span { top: 19px; }
.burger span::before { top: -6px; left: 0; }
.burger span::after { top: 6px; left: 0; }
.drawer-mask {
  position: fixed; inset: 0; background: rgba(10, 10, 10, 0.4);
  opacity: 0; visibility: hidden; transition: all 0.25s; z-index: 110;
}
.drawer {
  position: fixed; top: 0; right: -300px; width: 290px; height: 100dvh;
  background: #fff; z-index: 120; padding: 20px 24px;
  transition: right 0.28s ease; display: flex; flex-direction: column; gap: 4px;
  overflow-y: auto;
}
body.drawer-open .drawer-mask { opacity: 1; visibility: visible; }
body.drawer-open .drawer { right: 0; }
.drawer a.dlink { padding: 13px 4px; font-size: 16px; font-weight: 600; border-bottom: 1px solid var(--line); }
.drawer a.dlink.is-active { color: var(--green); }
.drawer-close { align-self: flex-end; font-size: 26px; line-height: 1; padding: 6px 10px; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; padding: 96px 0 40px; text-align: center; overflow: hidden; }
.hero-kicker { font-size: 16px; color: var(--ink-2); margin-bottom: 10px; }
.hero .h1 { margin-bottom: 26px; }
.hero-sub { max-width: 620px; margin: 0 auto 36px; color: var(--ink-2); font-size: 17px; }
.hero-actions { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.hero-hint { font-size: 13px; color: var(--ink-3); margin-top: 6px; }

/* 产品窗口 mockup */
.hero-stage { position: relative; max-width: 1080px; margin: 64px auto 0; padding: 0 32px; }
.hero-blob {
  position: absolute; inset: -8% -12% -16%;
  background:
    radial-gradient(46% 55% at 24% 30%, rgba(0, 146, 115, 0.16), transparent 70%),
    radial-gradient(50% 60% at 78% 68%, rgba(0, 178, 131, 0.14), transparent 70%),
    radial-gradient(38% 46% at 55% 12%, rgba(120, 220, 190, 0.16), transparent 70%);
  filter: blur(6px); pointer-events: none;
}
.app-window {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: 18px; box-shadow: var(--shadow-lift); overflow: hidden;
  display: grid; grid-template-columns: 190px 1fr; text-align: left; min-height: 460px;
}
.win-bar { display: flex; align-items: center; gap: 7px; padding: 13px 16px; border-bottom: 1px solid var(--line); grid-column: 1 / -1; }
.win-bar i { width: 10px; height: 10px; border-radius: 50%; }
.win-bar i:nth-child(1) { background: #ff5f57; } .win-bar i:nth-child(2) { background: #febc2e; } .win-bar i:nth-child(3) { background: #28c840; }
.win-bar em { font-style: normal; margin-left: 10px; font-size: 12px; color: var(--ink-3); }
.win-side { border-right: 1px solid var(--line); padding: 14px 10px; font-size: 13px; color: var(--ink-2); }
.win-side .s-logo { font-weight: 800; color: var(--ink); font-size: 14px; padding: 4px 8px 12px; }
.win-side .s-item { display: flex; align-items: center; gap: 8px; padding: 7px 8px; border-radius: 8px; }
.win-side .s-item.on { background: var(--mint); color: var(--green); font-weight: 600; }
.win-main { padding: 26px 30px; display: flex; flex-direction: column; align-items: center; }
.win-main .m-title { font-size: 22px; font-weight: 800; margin-bottom: 14px; }
.m-chips { display: flex; gap: 8px; margin-bottom: 22px; flex-wrap: wrap; justify-content: center; }
.m-chips span { font-size: 12.5px; border: 1px solid var(--line-2); border-radius: 999px; padding: 5px 14px; color: var(--ink-2); }
.m-chips span.on { background: var(--mint); border-color: transparent; color: var(--green); font-weight: 600; }
.prompt-box {
  width: 100%; max-width: 560px; border: 1px solid var(--line-2); border-radius: 14px;
  padding: 16px 18px; box-shadow: var(--shadow-card);
}
.prompt-box .p-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.prompt-box .p-row span { font-size: 12px; color: var(--ink-3); border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; }
.prompt-text { min-height: 44px; font-size: 14.5px; color: var(--ink-2); }
.caret-blink { display: inline-block; width: 2px; height: 16px; background: var(--green); vertical-align: -3px; margin-left: 2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.prompt-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; }
.prompt-foot .pf-left { display: flex; gap: 10px; font-size: 12px; color: var(--ink-3); }
.send-btn { width: 30px; height: 30px; border-radius: 50%; background: var(--green); color: #fff; display: flex; align-items: center; justify-content: center; }
.poster-preview { display: flex; gap: 18px; align-items: stretch; margin-top: 24px; }
.mini-poster {
  width: 200px; border-radius: 12px; padding: 18px 16px; color: #fff;
  background: linear-gradient(150deg, #ff9a5a, #ff5f8f 70%);
  flex: none;
}
.mini-poster b { font-size: 20px; line-height: 1.3; display: block; letter-spacing: 0.02em; }
.mini-poster small { display: block; font-size: 11px; opacity: 0.9; margin-top: 8px; }
.mini-poster .mp-tag { display: inline-block; font-size: 10.5px; background: rgba(255,255,255,0.25); border-radius: 999px; padding: 2px 10px; margin-bottom: 10px; }
.mini-side { display: flex; flex-direction: column; gap: 10px; justify-content: center; }
.mini-side div { font-size: 12.5px; color: var(--ink-2); background: #fafaf8; border: 1px solid var(--line); border-radius: 10px; padding: 9px 12px; }
.mini-side b { color: var(--green); }

/* ---------- Logo / 生态横条 ---------- */
.eco-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.eco-chip {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid var(--line); border-radius: 14px; background: #fff;
  padding: 16px 26px; font-weight: 600; font-size: 15px; color: var(--ink-2);
  transition: transform 0.2s, box-shadow 0.2s;
}
.eco-chip:hover { transform: translateY(-2px); box-shadow: var(--shadow-card); }
.eco-chip svg { width: 22px; height: 22px; }

/* ---------- 卡片网格 ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: var(--line-2); }
.card-icon {
  width: 44px; height: 44px; border-radius: 12px; background: var(--mint);
  color: var(--green); display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.card-icon svg { width: 22px; height: 22px; }
.card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.card p { font-size: 14px; color: var(--ink-2); }
.card .card-more { display: inline-flex; align-items: center; gap: 5px; color: var(--green); font-size: 13.5px; font-weight: 600; margin-top: 16px; }

/* ---------- 薄荷色带（安全板块） ---------- */
.band-mint {
  background:
    linear-gradient(180deg, rgba(242, 252, 250, 0.4), rgba(242, 252, 250, 1)),
    repeating-linear-gradient(90deg, transparent 0 79px, rgba(0, 146, 115, 0.045) 79px 80px),
    repeating-linear-gradient(0deg, transparent 0 79px, rgba(0, 146, 115, 0.045) 79px 80px),
    #f2fcfa;
}
.band-mint .card { box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset, var(--shadow-card); }

/* ---------- 下载板块 ---------- */
.dl-section .dl-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.dl-cols h4 { font-size: 13px; font-weight: 600; color: var(--ink-3); letter-spacing: 0.12em; margin-bottom: 16px; }
.dl-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.dl-card {
  position: relative; border: 1px solid var(--line); border-radius: 14px;
  background: #fff; padding: 26px 10px 20px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.dl-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }
.dl-card svg { width: 30px; height: 30px; }
.dl-card .dlc-name { font-size: 13.5px; font-weight: 600; }
.dl-card .dlc-ver { font-size: 11.5px; color: var(--ink-3); }
.dl-card.current { background: var(--mint-2); border-color: rgba(0, 146, 115, 0.35); }
.dl-card .tag-current {
  position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
  background: var(--green); color: #fff; font-size: 10.5px; font-weight: 600;
  border-radius: 999px; padding: 2px 10px; white-space: nowrap;
}
.qr-slot {
  width: 74px; height: 74px; border-radius: 10px; background: #fff;
  border: 1px solid var(--line); padding: 6px;
}
.qr-slot img { width: 100%; height: 100%; object-fit: contain; display: block; }
.qr-slot .qr-shop {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%; color: var(--ink-2);
}
.qr-slot .qr-shop:hover { color: var(--green); }
.dl-empty {
  grid-column: 1 / -1; text-align: center;
  color: var(--ink-3); font-size: 13px; padding: 28px 0;
}

/* ---------- CTA ---------- */
.cta { text-align: center; padding: 110px 0 120px; }
.cta .h2 { margin-bottom: 14px; }
.cta p { color: var(--ink-2); margin-bottom: 32px; }

/* ==========================================================================
   案例页
   ========================================================================== */
.page-hero { padding: 72px 0 8px; }
.filter-tabs { display: inline-flex; gap: 4px; background: #f5f5f4; border-radius: 999px; padding: 5px; margin: 34px 0 44px; flex-wrap: wrap; }
.filter-tabs button { border-radius: 999px; padding: 8px 20px; font-size: 14px; color: var(--ink-2); transition: all 0.18s; }
.filter-tabs button.on { background: #fff; color: var(--ink); font-weight: 600; box-shadow: var(--shadow-card); }

.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.case-card {
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  background: #fff; transition: transform 0.25s, box-shadow 0.25s; display: flex; flex-direction: column;
}
.case-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.case-cover { aspect-ratio: 4 / 3; overflow: hidden; background: var(--mint); }
.case-cover svg, .case-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.case-card:hover .case-cover svg { transform: scale(1.03); }
.case-body { padding: 18px 20px 14px; display: flex; flex-direction: column; flex: 1; }
.case-title { font-size: 16px; font-weight: 700; line-height: 1.45; margin-bottom: 12px; }
.case-author { display: flex; align-items: center; gap: 9px; margin-bottom: 14px; }
.avatar { width: 28px; height: 28px; border-radius: 50%; flex: none; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 12px; font-weight: 700; }
.case-author .a-name { font-size: 13px; font-weight: 600; }
.case-author .a-role { font-size: 12px; color: var(--ink-3); }
.case-stats {
  margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line);
  display: flex; align-items: center; gap: 18px; font-size: 12.5px; color: var(--ink-3);
}
.case-stats span { display: inline-flex; align-items: center; gap: 5px; }
.case-stats svg { width: 14px; height: 14px; }
.case-stats .fav { margin-left: auto; }
.case-stats .fav.on { color: var(--green); }

/* ==========================================================================
   产品页
   ========================================================================== */
.product-block { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; padding: 56px 0; }
.product-block.flip { direction: rtl; } .product-block.flip > * { direction: ltr; }
.product-visual {
  border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  background: linear-gradient(160deg, var(--mint-2), #fff); box-shadow: var(--shadow-card);
  aspect-ratio: 16 / 11; display: flex; align-items: center; justify-content: center; padding: 36px;
}
.pv-list { display: flex; flex-direction: column; gap: 14px; margin-top: 26px; }
.pv-list li { display: flex; gap: 11px; font-size: 15px; color: var(--ink-2); }
.pv-list svg { width: 20px; height: 20px; color: var(--green); flex: none; margin-top: 3px; }

/* ==========================================================================
   定价页
   ========================================================================== */
.billing-toggle { display: inline-flex; align-items: center; gap: 12px; background: #f5f5f4; padding: 6px; border-radius: 999px; margin: 30px 0 48px; }
.billing-toggle button { border-radius: 999px; padding: 9px 24px; font-size: 14px; color: var(--ink-2); }
.billing-toggle button.on { background: var(--dark); color: #fff; font-weight: 600; }
.billing-toggle .save { font-size: 11px; color: var(--green); background: var(--mint); padding: 2px 8px; border-radius: 999px; margin-left: 6px; }

.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; margin-top: 24px; }
.plan-card {
  border: 1px solid var(--line); border-radius: 20px; padding: 34px 30px;
  background: #fff; display: flex; flex-direction: column; position: relative;
  transition: transform 0.25s, box-shadow 0.25s;
}
.plan-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.plan-card.popular { border-color: var(--green); box-shadow: 0 0 0 1px var(--green), var(--shadow-card); }
.plan-badge { position: absolute; top: -13px; left: 30px; background: var(--green); color: #fff; font-size: 12px; font-weight: 600; border-radius: 999px; padding: 3px 14px; }
.plan-name { font-size: 17px; font-weight: 700; }
.plan-desc { font-size: 13px; color: var(--ink-3); margin: 4px 0 22px; }
.plan-price { display: flex; align-items: baseline; gap: 4px; margin-bottom: 4px; }
.plan-price b { font-size: 42px; font-weight: 800; letter-spacing: -0.02em; }
.plan-price i { font-style: normal; font-size: 14px; color: var(--ink-3); }
.plan-bill-note { font-size: 12.5px; color: var(--ink-3); margin-bottom: 24px; min-height: 18px; }
.plan-feats { display: flex; flex-direction: column; gap: 11px; margin: 0 0 30px; }
.plan-feats li { display: flex; gap: 9px; font-size: 14px; color: var(--ink-2); }
.plan-feats svg { width: 17px; height: 17px; color: var(--green); flex: none; margin-top: 4px; }
.plan-card .btn { margin-top: auto; }

.compare-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.compare-table th, .compare-table td { padding: 14px 18px; text-align: center; border-bottom: 1px solid var(--line); }
.compare-table th:first-child, .compare-table td:first-child { text-align: left; color: var(--ink-2); font-weight: 500; }
.compare-table thead th { font-weight: 700; font-size: 14.5px; }
.compare-table tbody tr:hover { background: #fafaf9; }
.compare-wrap { border: 1px solid var(--line); border-radius: var(--radius); overflow-x: auto; }

/* ==========================================================================
   文档页
   ========================================================================== */
.docs-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 56px; align-items: start; padding: 56px 0 96px; }
.docs-side { position: sticky; top: 96px; }
.docs-side .side-group { margin-bottom: 26px; }
.docs-side .side-title { font-size: 12.5px; font-weight: 700; color: var(--ink-3); letter-spacing: 0.1em; margin-bottom: 10px; padding-left: 12px; }
.docs-side a { display: block; padding: 8px 12px; border-radius: 8px; font-size: 14px; color: var(--ink-2); border-left: 2px solid transparent; }
.docs-side a:hover { color: var(--ink); background: #f7f7f6; }
.docs-side a.on { color: var(--green); font-weight: 600; background: var(--mint); }
.doc-article { max-width: 760px; }
.doc-article h2 { font-size: 26px; font-weight: 800; margin: 44px 0 16px; letter-spacing: -0.01em; }
.doc-article h2:first-child { margin-top: 0; }
.doc-article h3 { font-size: 18px; font-weight: 700; margin: 30px 0 12px; }
.doc-article p { color: var(--ink-2); font-size: 15px; margin-bottom: 14px; }
.doc-article ul { margin: 0 0 16px; display: flex; flex-direction: column; gap: 8px; }
.doc-article ul li { display: flex; gap: 9px; font-size: 15px; color: var(--ink-2); }
.doc-article ul li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green); flex: none; margin-top: 10px; }
.doc-tip {
  display: flex; gap: 12px; background: var(--mint); border: 1px solid rgba(0, 146, 115, 0.18);
  border-radius: 12px; padding: 16px 18px; font-size: 14px; color: var(--ink-2); margin: 18px 0;
}
.doc-tip b { color: var(--green); }
.code-block {
  background: #0f0f12; color: #d6d6de; border-radius: 12px; padding: 18px 20px;
  font-family: "SF Mono", Menlo, Consolas, monospace; font-size: 13px; line-height: 1.8;
  overflow-x: auto; margin: 16px 0;
}
.code-block .cm { color: #6a9955; } .code-block .kw { color: #82aaff; } .code-block .st { color: #c3e88d; }

/* FAQ 手风琴 */
.faq-item { border: 1px solid var(--line); border-radius: 14px; margin-bottom: 12px; background: #fff; transition: border-color 0.2s; }
.faq-item[open] { border-color: rgba(0, 146, 115, 0.4); }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 18px 22px; font-weight: 600; font-size: 15.5px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .fx { flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--mint); color: var(--green); display: flex; align-items: center; justify-content: center; font-size: 15px; transition: transform 0.25s; }
.faq-item[open] summary .fx { transform: rotate(45deg); }
.faq-item .faq-a { padding: 0 22px 20px; font-size: 14.5px; color: var(--ink-2); }

/* ==========================================================================
   下载页
   ========================================================================== */
.ver-list { display: flex; flex-direction: column; gap: 0; max-width: 860px; }
.ver-row { display: grid; grid-template-columns: 110px 1fr; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.ver-row .v-tag { font-weight: 700; color: var(--green); font-size: 14px; }
.ver-row .v-date { display: block; font-size: 12px; color: var(--ink-3); font-weight: 400; margin-top: 3px; }
.ver-row h4 { font-size: 15.5px; font-weight: 700; margin-bottom: 6px; }
.ver-row p { font-size: 13.5px; color: var(--ink-2); }

/* ==========================================================================
   登录页
   ========================================================================== */
.login-page { min-height: 100dvh; display: flex; flex-direction: column; background: #fff; }
.login-hero-side { flex: 1; display: flex; align-items: center; justify-content: center; padding: 48px 24px; }
.login-card-wrap { width: 100%; max-width: 420px; }
.login-card {
  border: 1px solid var(--line); border-radius: 20px; padding: 40px 38px;
  box-shadow: var(--shadow-lift); background: #fff;
}
.login-brand { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-bottom: 28px; text-align: center; }
.login-brand .logo-mark { width: 44px; height: 44px; border-radius: 12px; font-size: 22px; }
.login-brand h1 { font-size: 20px; font-weight: 800; }
.login-brand p { font-size: 13px; color: var(--ink-3); }
.login-tabs { display: grid; grid-template-columns: 1fr 1fr; background: #f5f5f4; border-radius: 12px; padding: 4px; margin-bottom: 26px; }
.login-tabs button { border-radius: 9px; padding: 9px 0; font-size: 14px; color: var(--ink-2); }
.login-tabs button.on { background: #fff; font-weight: 700; color: var(--ink); box-shadow: var(--shadow-card); }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 7px; }
.field .f-row { display: flex; gap: 10px; }
.input {
  width: 100%; height: 46px; border: 1px solid var(--line-2); border-radius: 11px;
  padding: 0 14px; font-size: 14.5px; font-family: inherit; background: #fafafa;
  transition: border-color 0.15s, background 0.15s; color: var(--ink);
}
.input:focus { outline: none; border-color: var(--green); background: #fff; box-shadow: 0 0 0 3px rgba(0, 146, 115, 0.12); }
.code-btn { flex: none; height: 46px; border-radius: 11px; border: 1px solid var(--green); color: var(--green); font-size: 13.5px; font-weight: 600; padding: 0 16px; background: var(--mint); }
.code-btn:disabled { border-color: var(--line-2); color: var(--ink-3); background: #f7f7f6; cursor: not-allowed; }
.login-extra { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--ink-3); margin: 4px 0 20px; }
.login-extra a:hover { color: var(--green); }
.agree { display: flex; gap: 8px; align-items: flex-start; font-size: 12.5px; color: var(--ink-3); margin-bottom: 20px; }
.agree input { margin-top: 3px; accent-color: var(--green); }
.agree a { color: var(--green); }
.login-foot { text-align: center; font-size: 12.5px; color: var(--ink-3); padding: 20px; }
.login-foot a { color: var(--ink-2); }
.login-switch-row { display: flex; align-items: center; justify-content: space-between; font-size: 13.5px; margin-bottom: 16px; color: var(--ink-2); }
.switch { position: relative; width: 38px; height: 22px; flex: none; }
.switch input { opacity: 0; width: 100%; height: 100%; position: absolute; cursor: pointer; z-index: 2; margin: 0; }
.switch i { position: absolute; inset: 0; background: #dcdce0; border-radius: 999px; transition: background 0.2s; }
.switch i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; background: #fff; border-radius: 50%; transition: transform 0.2s; box-shadow: 0 1px 3px rgba(0,0,0,0.2); }
.switch input:checked + i { background: var(--green); }
.switch input:checked + i::after { transform: translateX(16px); }

/* ==========================================================================
   Footer（深色，对齐 workbuddy）
   ========================================================================== */
.site-footer { background: var(--dark); color: #fff; margin-top: 40px; }
.footer-main { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 40px; padding: 64px 0 48px; }
.footer-brand p { font-size: 13.5px; color: #8a8a92; margin-top: 16px; max-width: 280px; }
.fcol h4 { font-size: 14px; font-weight: 700; margin-bottom: 18px; }
.fcol a { display: block; font-size: 13.5px; color: #8a8a92; padding: 5px 0; transition: color 0.15s; }
.fcol a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); padding: 22px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12.5px; color: #72727a; }

/* ---------- 动效（仅在 JS 可用时启用，防内容丢失） ---------- */
body.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
body.js .reveal.in { opacity: 1; transform: none; }
.d1 { transition-delay: 0.08s; } .d2 { transition-delay: 0.16s; } .d3 { transition-delay: 0.24s; }

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .case-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: 1fr 1fr 1fr; }
}
@media (max-width: 920px) {
  .nav-menu { display: none; }
  .burger { display: block; }
  .nav-actions { gap: 12px; }
  .dl-panel { position: fixed; left: 0; right: 0; top: 64px; transform: none; min-width: 0; border-radius: 0 0 16px 16px; }
  .dd.open .dl-panel { transform: none; }
  .sec-head { grid-template-columns: 1fr; gap: 14px; align-items: start; }
  .grid-3, .plan-grid { grid-template-columns: 1fr; }
  .dl-section .dl-cols { grid-template-columns: 1fr; gap: 36px; }
  .product-block { grid-template-columns: 1fr; gap: 30px; padding: 36px 0; }
  .product-block.flip { direction: ltr; }
  .docs-layout { grid-template-columns: 1fr; gap: 28px; }
  .docs-side { position: static; }
  .app-window { grid-template-columns: 1fr; }
  .win-side { display: none; }
  .poster-preview { flex-direction: column; align-items: center; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 28px; padding: 48px 0 32px; }
  .section { padding: 64px 0; }
}
@media (max-width: 620px) {
  .wrap { padding: 0 20px; }
  .case-grid { grid-template-columns: 1fr; }
  .grid-4, .dl-cards { grid-template-columns: repeat(2, 1fr); }
  .dl-card { padding: 20px 8px 16px; }
  .hero { padding-top: 64px; }
  .ver-row { grid-template-columns: 1fr; gap: 6px; }
  .login-card { padding: 30px 22px; }
  .footer-bottom { flex-direction: column; }
}

/* ==========================================================================
   案例详情页（case.html）
   ========================================================================== */
.crumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-3); padding-top: 96px; }
.crumb a:hover { color: var(--green); }
.crumb .sep { color: var(--line-2); }
.crumb .cur { color: var(--ink-2); }

.cd-head { padding: 16px 0 26px; border-bottom: 1px solid var(--line); }
.cd-head .chip-eyebrow { margin-bottom: 18px; }
.cd-title { font-size: clamp(26px, 3.2vw, 40px); line-height: 1.24; font-weight: 800; letter-spacing: -0.02em; max-width: 22em; }
.cd-sub { font-size: 15.5px; color: var(--ink-2); max-width: 62ch; margin-top: 14px; }
.cd-meta { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 22px; }
.cd-author { display: flex; align-items: center; gap: 11px; }
.cd-author .avatar { width: 40px; height: 40px; font-size: 15px; }
.cd-author .a-name { font-size: 14.5px; font-weight: 700; display: block; }
.cd-author .a-role { font-size: 12.5px; color: var(--ink-3); }
.cd-stats { display: flex; align-items: center; gap: 18px; font-size: 13px; color: var(--ink-3); }
.cd-stats span { display: inline-flex; align-items: center; gap: 6px; }
.cd-stats svg { width: 15px; height: 15px; }
.cd-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.cd-duration { font-size: 13px; color: var(--ink-3); border-left: 1px solid var(--line-2); padding-left: 20px; }

.cd-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.85fr); gap: 26px; align-items: start; padding: 34px 0 10px; }

/* ---------- 画布（设计工作台窗口） ---------- */
.canvas-app { background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-card); }
.ca-bar em { font-style: normal; margin-left: 10px; font-size: 12px; color: var(--ink-3); }
.ca-bar .ca-zoom { margin-left: auto; font-size: 12px; color: var(--ink-3); border: 1px solid var(--line-2); border-radius: 6px; padding: 2px 8px; }
.ca-body { display: grid; grid-template-columns: 44px minmax(0, 1fr) 176px; }
.ca-tools { border-right: 1px solid var(--line); padding: 12px 0; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.ca-tools span {
  width: 30px; height: 30px; border-radius: 8px; display: flex; align-items: center; justify-content: center;
  color: var(--ink-3); font-size: 13px;
}
.ca-tools span.on { background: var(--mint); color: var(--green); }
.ca-tools span:hover { background: #f7f7f6; }
.ca-stage {
  position: relative; background: #f5f5f4; padding: 34px 30px 30px 42px; min-height: 380px;
  display: flex; align-items: center; justify-content: center;
  background-image: repeating-linear-gradient(45deg, rgba(0,0,0,0.02) 0 8px, transparent 8px 16px);
}
.ca-rule-h, .ca-rule-v { position: absolute; background: #fafafa; border-color: var(--line-2); }
.ca-rule-h { left: 0; right: 176px; top: 0; height: 22px; border-bottom: 1px solid var(--line-2);
  background-image: repeating-linear-gradient(90deg, var(--line-2) 0 1px, transparent 1px 34px); }
.ca-rule-v { top: 0; bottom: 0; left: 0; width: 22px; border-right: 1px solid var(--line-2);
  background-image: repeating-linear-gradient(0deg, var(--line-2) 0 1px, transparent 1px 34px); }
.ca-art { position: relative; max-width: 74%; box-shadow: 0 18px 40px -18px rgba(10,10,10,0.4); outline: 1px solid rgba(0,146,115,0.55); }
.ca-art img { width: 100%; display: block; }
.ca-art::before, .ca-art::after {
  content: ''; position: absolute; width: 9px; height: 9px; background: #fff; border: 1.5px solid var(--green); border-radius: 2px;
}
.ca-art::before { left: -5px; top: -5px; }
.ca-art::after { right: -5px; bottom: -5px; }
.ca-badge {
  position: absolute; left: 50%; transform: translateX(-50%); bottom: -26px; white-space: nowrap;
  background: var(--green); color: #fff; font-size: 11.5px; font-weight: 600; padding: 3px 10px; border-radius: 999px;
}
.ca-hint { position: absolute; right: 12px; bottom: 10px; font-size: 11.5px; color: var(--ink-3); }
.ca-layers { border-left: 1px solid var(--line); }
.ca-layers-head { font-size: 12px; font-weight: 700; color: var(--ink-2); padding: 12px 14px 8px; letter-spacing: 0.06em; }
.ca-layers ul { padding: 0 8px 12px; }
.ca-layers li {
  display: flex; align-items: center; gap: 8px; padding: 7px 8px; border-radius: 8px; font-size: 12.5px; color: var(--ink-2);
}
.ca-layers li .t { font-size: 10.5px; color: var(--ink-3); border: 1px solid var(--line-2); border-radius: 4px; padding: 0 4px; flex: none; }
.ca-layers li .n { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ca-layers li .e { margin-left: auto; color: var(--ink-3); }
.ca-layers li.off { color: var(--ink-3); }
.ca-layers li.off .n { text-decoration: line-through; }
.ca-foot {
  display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 16px; border-top: 1px solid var(--line); background: #fcfcfc;
}
.ca-foot span { font-size: 12px; color: var(--ink-2); background: #fff; border: 1px solid var(--line-2); border-radius: 999px; padding: 4px 12px; }
.ca-foot span b { font-weight: 700; color: var(--ink); }

/* ---------- 提示词卡 ---------- */
.prompt-card { border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: var(--shadow-card); overflow: hidden; }
.pc-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.pc-head h3 { font-size: 14px; font-weight: 700; }
.pc-head .pc-kicker { font-size: 11.5px; color: var(--ink-3); letter-spacing: 0.08em; }
.btn-copy {
  border: 1px solid var(--line-2); border-radius: 999px; padding: 6px 14px; font-size: 12.5px;
  color: var(--ink-2); transition: all 0.18s; flex: none;
}
.btn-copy:hover { border-color: var(--ink); color: var(--ink); }
.btn-copy.done { background: var(--mint); border-color: transparent; color: var(--green); font-weight: 600; }
.pc-text {
  margin: 18px 20px; padding: 16px 18px; background: var(--mint); border-left: 3px solid var(--green);
  border-radius: 10px; font-size: 14px; color: var(--ink); line-height: 1.85;
}
.pc-parts { padding: 0 20px 6px; }
.pc-parts .row { display: flex; gap: 14px; padding: 9px 0; border-top: 1px dashed var(--line-2); font-size: 13px; }
.pc-parts .row:first-child { border-top: 0; }
.pc-parts dt { flex: none; width: 74px; color: var(--ink-3); }
.pc-parts dd { color: var(--ink-2); }
.pc-note { font-size: 12.5px; color: var(--ink-3); padding: 8px 20px 20px; }
.pc-iters { padding: 0 20px 20px; }
.pc-iters .it { display: flex; gap: 10px; font-size: 12.5px; padding: 8px 0; border-top: 1px dashed var(--line-2); }
.pc-iters .it b { flex: none; color: var(--green); font-weight: 700; width: 24px; }
.pc-iters .it span { color: var(--ink-2); }
.pc-iters .it em { font-style: normal; color: var(--ink-3); }

/* ---------- 板块小标题（详情页内） ---------- */
.cd-sec { padding: 54px 0 0; }
.cd-sec > h2 { font-size: clamp(22px, 2.6vw, 30px); font-weight: 800; letter-spacing: -0.02em; }
.cd-sec > p.sec-lead { font-size: 14.5px; color: var(--ink-2); margin-top: 10px; max-width: 60ch; }

/* ---------- 制作过程时间轴 ---------- */
.tl { margin-top: 30px; border-left: 1px solid var(--line-2); padding-left: 0; }
.tl-item { position: relative; display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 26px; padding: 0 0 30px 30px; }
.tl-item::before {
  content: ''; position: absolute; left: -6.5px; top: 6px; width: 12px; height: 12px; border-radius: 50%;
  background: #fff; border: 2px solid var(--green);
}
.tl-item:last-child { padding-bottom: 0; }
.tl-step { font-size: 15px; font-weight: 700; }
.tl-step em { font-style: normal; display: block; font-size: 12px; color: var(--ink-3); font-weight: 500; margin-top: 3px; }
.tl-desc { font-size: 14px; color: var(--ink-2); }

/* ---------- 交付物料表 ---------- */
.mat-wrap { margin-top: 26px; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: #fff; box-shadow: var(--shadow-card); }
.mat-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.mat-table th {
  text-align: left; font-size: 12px; font-weight: 600; color: var(--ink-3); letter-spacing: 0.06em;
  padding: 13px 18px; background: #fcfcfc; border-bottom: 1px solid var(--line); white-space: nowrap;
}
.mat-table td { padding: 14px 18px; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.mat-table tr:last-child td { border-bottom: 0; }
.mat-table td:first-child { color: var(--ink); font-weight: 600; }
.mat-table tbody tr:hover { background: #fcfcfc; }

/* ---------- 标签 / 相关案例 ---------- */
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.tag-row span { font-size: 12.5px; color: var(--ink-2); border: 1px solid var(--line-2); border-radius: 999px; padding: 5px 14px; }
.case-grid.related { margin-top: 26px; }
.case-card.is-link { cursor: pointer; }
.case-card .case-cover { position: relative; }
.case-card .cover-more {
  position: absolute; left: 14px; bottom: 14px; z-index: 2;
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.94); color: var(--ink); font-size: 12.5px; font-weight: 600;
  border-radius: 999px; padding: 6px 14px; opacity: 0; transform: translateY(6px); transition: all 0.22s ease;
}
.case-card:hover .cover-more { opacity: 1; transform: none; }
.case-card:hover .case-cover img { transform: scale(1.03); }

/* ---------- 头像配色 / 图片兜底 / 案例元信息（SSR 版） ---------- */
.av-0 { background: linear-gradient(135deg,#ff9a5a,#ff5f8f); }
.av-1 { background: linear-gradient(135deg,#3a3a44,#141419); }
.av-2 { background: linear-gradient(135deg,#f7a8c4,#b57bee); }
.av-3 { background: linear-gradient(135deg,#2f6bff,#22c3c6); }
.av-4 { background: linear-gradient(135deg,#e2c393,#8a5a2b); }
.av-5 { background: linear-gradient(135deg,#7ddb6a,#0fa958); }
.av-6 { background: linear-gradient(135deg,#ff6b8b,#c81e5a); }

.case-meta {
  margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line);
  display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--ink-3);
}
.case-meta .case-cat {
  color: var(--green); background: var(--mint); border-radius: 999px; padding: 2px 10px; font-weight: 600;
}
.case-meta .case-date { margin-left: auto; }

/* 画布使用结果提示 */
.use-toast {
  position: fixed; top: 24px; left: 50%; transform: translateX(-50%);
  z-index: 9999; padding: 10px 22px; border-radius: 999px;
  background: var(--ink-1); color: #fff; font-size: 14px; box-shadow: 0 8px 24px rgba(0,0,0,.16);
  animation: useToastIn .2s ease;
}
.use-toast.is-error { background: #cf1322; }
@keyframes useToastIn { from { opacity: 0; transform: translate(-50%, -8px); } to { opacity: 1; transform: translate(-50%, 0); } }

/* 缩略图加载失败：首字占位 */
.case-cover.is-fallback {
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(160deg, var(--mint-2), #e8f5f0);
}
.case-cover.is-fallback::after {
  content: attr(data-initial); font-size: 44px; font-weight: 800; color: var(--green); opacity: .55;
}
.case-cover.is-fallback .cover-more { display: none; }

/* 详情页大图 */
.cd-cover {
  margin-top: 30px; border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
  background: #fff; aspect-ratio: 16 / 9; display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-card);
}
.cd-cover img { width: 100%; height: 100%; object-fit: contain; }
.cd-cover.is-fallback { background: linear-gradient(160deg, var(--mint-2), #e8f5f0); }
.cd-cover.is-fallback::after {
  content: attr(data-initial); font-size: 96px; font-weight: 800; color: var(--green); opacity: .4;
}
.cd-date { font-size: 13px; color: var(--ink-3); }

/* ---------- 案例详情：作者信息栏 ---------- */
.ab {
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
  padding: 22px 0; border-bottom: 1px solid var(--line);
}
.ab-id { display: flex; align-items: center; gap: 14px; }
.ab-avatar { width: 48px; height: 48px; font-size: 19px; }
.ab-name { font-size: 17px; font-weight: 700; color: var(--ink); }
.ab-bio { font-size: 13px; color: var(--ink-3); margin-top: 3px; }
.ab-stats { display: flex; align-items: center; gap: 20px; font-size: 14px; color: var(--ink-2); }
.ab-stat { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.ab-stat svg { width: 17px; height: 17px; color: var(--ink-3); }
.ab-sep { width: 1px; height: 16px; background: var(--line-2); }
.ab-draft { color: var(--ink-3); white-space: nowrap; }
.ab-btn { margin-left: auto; }

/* ---------- 案例详情：编辑器封面 + 画布介绍 双栏 ---------- */
.studio-grid {
  display: grid; grid-template-columns: minmax(0, 1.32fr) minmax(0, 1fr);
  gap: 24px; margin-top: 26px; align-items: start;
}

/* 左侧：编辑器窗口 */
.studio {
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  overflow: hidden; box-shadow: var(--shadow-card);
}
.st-bar {
  display: flex; align-items: center; gap: 14px;
  height: 52px; padding: 0 18px; border-bottom: 1px solid var(--line);
}
.st-dots { display: inline-flex; gap: 7px; }
.st-dots i { width: 12px; height: 12px; border-radius: 50%; }
.st-dots i:nth-child(1) { background: #ff5f57; }
.st-dots i:nth-child(2) { background: #febc2e; }
.st-dots i:nth-child(3) { background: #28c840; }
.st-file { font-size: 13.5px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-zoom {
  margin-left: auto; font-size: 12.5px; color: var(--ink-3);
  border: 1px solid var(--line); border-radius: 8px; padding: 4px 11px; flex: none;
}

.st-body {
  display: grid; grid-template-columns: 50px minmax(0, 1fr) 218px;
  min-height: 446px;
}
.st-tools {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 12px 0; border-right: 1px solid var(--line);
}
.st-tool {
  width: 36px; height: 36px; border-radius: 8px; display: flex;
  align-items: center; justify-content: center; color: var(--ink-3);
}
.st-tool svg { width: 18px; height: 18px; }
.st-tool.is-active { background: var(--mint-2); color: var(--green); }

.st-stage {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 26px; padding: 28px 24px;
  background-color: #fafafb;
  background-image: repeating-linear-gradient(135deg, #f2f2f4 0, #f2f2f4 1px, transparent 1px, transparent 11px);
}
.st-frame {
  position: relative; max-width: 100%;
  display: flex; align-items: center; justify-content: center;
}
.st-frame img {
  display: block; max-width: 100%; max-height: 312px;
  border: 2px solid var(--green); border-radius: 2px; box-shadow: 0 6px 22px rgba(10, 10, 10, 0.10);
}
.st-frame.is-fallback {
  width: 320px; height: 240px; border-radius: 6px;
  background: linear-gradient(160deg, var(--mint-2), #e8f5f0);
}
.st-frame.is-fallback::after {
  content: attr(data-initial); font-size: 84px; font-weight: 800; color: var(--green); opacity: .35;
}
.st-handle {
  position: absolute; width: 9px; height: 9px; background: #fff;
  border: 2px solid var(--green); border-radius: 2px; z-index: 2;
}
.st-handle.h-nw { top: -6px; left: -6px; }
.st-handle.h-ne { top: -6px; right: -6px; }
.st-handle.h-sw { bottom: -6px; left: -6px; }
.st-handle.h-se { bottom: -6px; right: -6px; }
.st-size {
  position: absolute; left: 50%; bottom: -15px; transform: translateX(-50%);
  background: var(--green); color: #fff; font-size: 12.5px; font-weight: 600;
  padding: 5px 15px; border-radius: 999px; white-space: nowrap; z-index: 3;
}
.st-hint { font-size: 12.5px; color: var(--ink-3); }

.st-layers { border-left: 1px solid var(--line); padding: 16px 14px; }
.st-layers h4 { font-size: 14px; font-weight: 700; margin-bottom: 12px; }
.st-layer {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 8px; border-radius: 8px;
}
.st-layer:hover { background: #f6f6f8; }
.ly-tag {
  flex: none; font-size: 11.5px; font-weight: 600; line-height: 1.7;
  padding: 1px 8px; border-radius: 6px; border: 1px solid var(--line-2);
  background: #fff; color: var(--ink-2);
}
.ly-tag.ly-图像 { background: #eefaf5; border-color: #c9ecdc; color: #0a7a5e; }
.ly-tag.ly-矢量 { background: #eef3ff; border-color: #cfdcff; color: #2850c8; }
.ly-tag.ly-渐变 { background: #f5efff; border-color: #e0d0fb; color: #7443c6; }
.ly-tag.ly-智能对象 { background: #fff4e8; border-color: #f7dcc0; color: #b5601c; }
.ly-name {
  flex: 1; min-width: 0; font-size: 12.5px; color: var(--ink-2);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ly-eye { flex: none; display: inline-flex; color: var(--ink-3); }
.ly-eye svg { width: 17px; height: 17px; }
.ly-eye.is-off { color: #c6c6cd; }

.st-chips {
  display: flex; flex-wrap: wrap; gap: 10px;
  padding: 14px 18px 18px; border-top: 1px solid var(--line);
}
.st-chip {
  font-size: 12.5px; color: var(--ink-2); background: #f6f6f8;
  border: 1px solid var(--line); border-radius: 999px; padding: 5px 14px;
}
.st-chip em { font-style: normal; color: var(--ink-3); }

/* 右侧：画布介绍 / 制作提示词 */
.brief {
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  box-shadow: var(--shadow-card); padding: 24px 26px;
}
.brief-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.brief-head h3 { font-size: 18px; font-weight: 800; letter-spacing: -0.01em; }
.brief-head h3 small {
  display: block; font-size: 11px; font-weight: 500; letter-spacing: .12em;
  color: var(--ink-3); margin-top: 3px;
}
.brief-copy {
  flex: none; font-size: 13px; color: var(--ink-2); background: #fff;
  border: 1px solid var(--line-2); border-radius: 999px; padding: 8px 18px;
  transition: border-color .2s, color .2s;
}
.brief-copy:hover { border-color: var(--ink); color: var(--ink); }

.brief-prompt {
  margin-top: 18px; padding: 18px 20px; background: var(--mint-2);
  border-left: 3px solid var(--green); border-radius: 0 12px 12px 0;
  font-size: 14.5px; line-height: 1.85; color: var(--ink);
}

.brief-specs { margin-top: 20px; }
.bs-row {
  display: flex; gap: 18px; padding: 13px 0;
  border-bottom: 1px dashed var(--line);
}
.bs-row dt { flex: none; width: 76px; font-size: 13.5px; color: var(--ink-3); }
.bs-row dd { font-size: 13.5px; color: var(--ink); line-height: 1.6; }

.brief-revs { margin-top: 14px; }
.brief-revs li { display: flex; gap: 14px; padding: 10px 0; }
.rv-v { flex: none; width: 26px; font-size: 13px; font-weight: 700; color: var(--green); }
.rv-t { font-size: 13px; line-height: 1.7; color: var(--ink-2); }

.brief-note { margin-top: 12px; font-size: 12.5px; line-height: 1.7; color: var(--ink-3); }

@media (max-width: 980px) {
  .studio-grid { grid-template-columns: 1fr; }
  .ab { gap: 16px; }
  .ab-btn { margin-left: 0; width: 100%; }
  .st-body { grid-template-columns: 46px minmax(0, 1fr); }
  .st-layers { grid-column: 1 / -1; border-left: none; border-top: 1px solid var(--line); }
  .st-layer-list {
    display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px;
  }
  .st-layer { flex: none; }
  .ly-name { max-width: 130px; }
}
@media (max-width: 560px) {
  .ab-stats { gap: 14px; flex-wrap: wrap; }
  .ab-sep { display: none; }
  .st-frame img { max-height: 240px; }
  .brief { padding: 20px; }
}

/* 空案例 */
.case-empty {
  text-align: center; padding: 70px 24px; border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: #fff;
}
.case-empty .ce-title { font-size: 20px; font-weight: 800; }
.case-empty .ce-sub { color: var(--ink-3); font-size: 14px; margin: 10px 0 26px; }

/* 404 */
.error-page { text-align: center; padding: 150px 0 160px; }
.error-page .error-code {
  font-size: clamp(72px, 12vw, 130px); font-weight: 800; line-height: 1;
  background: linear-gradient(135deg, var(--green), #7ddb6a);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.error-page .h2 { margin-top: 18px; }
.error-page .lead { margin: 12px 0 34px; color: var(--ink-2); }
.error-actions { display: inline-flex; gap: 12px; }

@media (max-width: 1080px) {
  .cd-grid { grid-template-columns: 1fr; }
  .ca-body { grid-template-columns: 40px minmax(0, 1fr); }
  .ca-layers { display: none; }
  .ca-rule-h { right: 0; }
}
@media (max-width: 620px) {
  .crumb { padding-top: 84px; }
  .cd-actions { margin-left: 0; width: 100%; }
  .cd-duration { border-left: 0; padding-left: 0; }
  .ca-stage { padding: 26px 20px 26px 34px; min-height: 300px; }
  .ca-art { max-width: 86%; }
  .tl-item { grid-template-columns: 1fr; gap: 8px; padding-left: 24px; }
  .mat-table th:nth-child(4), .mat-table td:nth-child(4) { display: none; }
}

/* ---------- 产品页 · 行业模板库视觉 ---------- */
.tpl-visual { aspect-ratio: auto; padding: 26px; }
.tpl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; width: 100%; }
.tpl-card {
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 7px 7px 9px;
  box-shadow: var(--shadow-card); transition: transform 0.2s, box-shadow 0.2s;
}
.tpl-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.tpl-thumb {
  aspect-ratio: 4 / 3; border-radius: 9px; overflow: hidden; color: #fff;
  background: linear-gradient(150deg, var(--g1, #ff9a5a), var(--g2, #ff5f8f));
  padding: 10px 11px; display: flex; flex-direction: column; justify-content: space-between;
}
.tpl-thumb .tpl-cat {
  font-size: 9.5px; font-weight: 600; letter-spacing: 0.04em;
  background: rgba(255,255,255,0.22); border-radius: 999px; padding: 2px 8px; align-self: flex-start;
}
.tpl-thumb b { font-size: 13.5px; line-height: 1.35; letter-spacing: 0.02em; font-weight: 800; }
.tpl-thumb i { font-style: normal; font-size: 9.5px; opacity: 0.85; }
.tpl-name { display: block; font-size: 11.5px; color: var(--ink-2); padding: 7px 3px 0; font-weight: 600; }
@media (max-width: 620px) {
  .tpl-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- 产品页 · AI 工作台视觉 ---------- */
.ws-visual { aspect-ratio: auto; flex-direction: column; align-items: stretch; justify-content: center; gap: 14px; padding: 24px; }
.ws-prompt {
  display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line-2);
  border-radius: 12px; padding: 11px 12px; box-shadow: var(--shadow-card);
}
.ws-prompt svg { width: 17px; height: 17px; color: var(--green); flex: none; }
.ws-prompt span { font-size: 12.5px; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ws-prompt i {
  font-style: normal; flex: none; font-size: 12px; font-weight: 600; color: #fff;
  background: var(--green); border-radius: 8px; padding: 5px 13px;
}
.ws-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.ws-grid .mini-poster {
  width: auto; padding: 12px 11px 13px; border-radius: 10px;
  background: linear-gradient(150deg, var(--g1, #ff9a5a), var(--g2, #ff5f8f) 70%);
}
.ws-grid .mini-poster b { font-size: 13px; }
.ws-grid .mini-poster small { font-size: 9px; margin-top: 6px; }
.ws-grid .mini-poster .mp-tag { font-size: 9px; padding: 1px 8px; margin-bottom: 7px; background: rgba(255,255,255,0.28); }
.ws-grid .mini-poster:first-child { outline: 2px solid var(--green); outline-offset: 2px; }
.ws-foot { display: flex; flex-wrap: wrap; gap: 8px; }
.ws-foot span {
  display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--ink-2);
  background: #fff; border: 1px solid var(--line-2); border-radius: 999px; padding: 5px 12px;
}
.ws-foot svg { width: 12px; height: 12px; color: var(--green); }
@media (max-width: 620px) {
  .ws-grid { grid-template-columns: repeat(2, 1fr); }
  .ws-prompt span { white-space: normal; }
}

/* ---------- 产品页 · 方案选稿器（点击缩略图切换主稿） ---------- */
.vd { display: flex; flex-direction: column; gap: 12px; }
.vd-stage {
  position: relative; display: flex; align-items: center; justify-content: center;
  background: #f0f1ee;
  background-image: repeating-conic-gradient(#e9eae6 0 25%, #f2f3ef 0 50%);
  background-size: 22px 22px;
  border: 1px solid var(--line); border-radius: 14px; padding: 18px; min-height: 300px;
}
.vd-stage img.vd-img {
  height: 330px; width: auto; max-width: 100%; display: block;
  border-radius: 8px; box-shadow: 0 16px 34px -14px rgba(10,10,10,0.35);
}
.vd-stage img.vd-img.is-fading { animation: vdFade 0.32s ease; }
@keyframes vdFade { from { opacity: 0; transform: translateY(6px) scale(0.985); } to { opacity: 1; transform: none; } }
.vd-count {
  position: absolute; top: 12px; right: 12px; font-size: 11.5px; font-weight: 600; color: #fff;
  background: rgba(10,10,10,0.72); border-radius: 999px; padding: 4px 12px;
}
.vd-strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.vd-thumb {
  position: relative; border-radius: 8px; overflow: hidden; padding: 0; line-height: 0;
  border: 2px solid transparent; outline: 1px solid var(--line-2); outline-offset: -1px;
  transition: border-color 0.18s, transform 0.18s;
}
.vd-thumb img { width: 100%; height: auto; display: block; }
.vd-thumb:hover { transform: translateY(-2px); }
.vd-thumb.is-on { border-color: var(--green); outline-color: transparent; box-shadow: 0 6px 14px -6px rgba(0,146,115,0.5); }
.vd-thumb.is-on::after {
  content: '✓'; position: absolute; right: 4px; bottom: 4px; width: 16px; height: 16px;
  background: var(--green); color: #fff; font-size: 10px; font-weight: 700;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
}
.vd-cap { display: flex; align-items: baseline; gap: 10px; }
.vd-cap b { font-size: 13.5px; color: var(--ink); }
.vd-cap span { font-size: 12px; color: var(--ink-3); }
@media (max-width: 620px) {
  .vd-stage img.vd-img { height: 250px; }
  .vd-stage { min-height: 220px; padding: 12px; }
}

/* ---------- 产品页 · 行业模板库 v2（真实模板图，无嵌套卡片） ---------- */
.tpl-visual.tpl-visual { aspect-ratio: auto; }
.tpl-grid .tpl-item { margin: 0; position: relative; }
.tpl-grid .tpl-item img {
  width: 100%; display: block; border-radius: 10px;
  box-shadow: 0 10px 24px -12px rgba(10,10,10,0.35);
  transition: transform 0.2s, box-shadow 0.2s;
}
.tpl-grid .tpl-item:hover img { transform: translateY(-4px); box-shadow: 0 18px 30px -14px rgba(10,10,10,0.45); }
.tpl-grid .tpl-item figcaption {
  position: absolute; left: 10px; bottom: 10px;
  font-size: 11px; font-weight: 600; color: #fff;
  background: rgba(10,10,10,0.62); backdrop-filter: blur(3px);
  border-radius: 999px; padding: 3px 11px; line-height: 1.5;
}

/* ---------- 产品页 · 租户工作台 v2（无外层面板，窗口即主体） ---------- */
.aw {
  width: 100%; background: #fff; border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow-card); overflow: hidden;
}
.aw-bar {
  display: flex; align-items: center; gap: 6px; padding: 13px 18px; border-bottom: 1px solid var(--line);
}
.aw-bar i { width: 10px; height: 10px; border-radius: 50%; }
.aw-bar i:nth-child(1) { background: #ff5f57; }
.aw-bar i:nth-child(2) { background: #febc2e; }
.aw-bar i:nth-child(3) { background: #28c840; }
.aw-bar em { font-style: normal; margin-left: 12px; font-size: 14px; font-weight: 600; color: var(--ink); }
.aw-bar span {
  margin-left: auto; font-size: 11.5px; color: var(--green); background: var(--mint);
  border-radius: 999px; padding: 3px 11px; font-weight: 600;
}
.aw-stats { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
.aw-stats > div { text-align: center; padding: 20px 8px 16px; }
.aw-stats > div + div { border-left: 1px solid var(--line); }
.aw-stats b { font-size: 32px; font-weight: 800; letter-spacing: -0.02em; display: block; }
.aw-stats b.g { color: var(--green); }
.aw-stats span { font-size: 12.5px; color: var(--ink-3); }
.aw-rows { display: flex; flex-direction: column; gap: 10px; padding: 18px 20px 6px; }
.aw-row { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) auto; gap: 14px; align-items: center; }
.aw-row .t { font-size: 14px; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.aw-row .bar { height: 8px; background: #f0f1ee; border-radius: 999px; overflow: hidden; }
.aw-row .bar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #57c9a5, #009273); }
.aw-row b { font-size: 12.5px; font-weight: 700; color: var(--ink-2); white-space: nowrap; }
.aw-row b.g { color: var(--green); }
.aw-foot { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 20px 18px; }
.aw-foot span {
  font-size: 11.5px; color: var(--ink-2); background: #fafaf8; border: 1px solid var(--line);
  border-radius: 999px; padding: 4px 12px;
}
@media (max-width: 620px) {
  .aw-row { grid-template-columns: minmax(0, 1fr) auto; }
  .aw-row .bar { display: none; }
  .aw-stats b { font-size: 24px; }
}
