/* ==========================================================================
   图匠 ImageArtisan — 产品官网样式
   纯原生 CSS，无第三方依赖。设计系统变量集中在 :root。
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. 设计令牌
   -------------------------------------------------------------------------- */
:root {
  /* 品牌主色 */
  --c-violet-700: #7c3aed;
  --c-violet-500: #8b5cf6;
  --c-cyan-400: #22d3ee;

  /* 背景层级 */
  --bg-base: #0b0b12;
  --bg-elev-1: #10111a;
  --bg-elev-2: #161826;

  /* 文本 */
  --tx-strong: #f5f6fa;
  --tx-base: #a6a9be;
  --tx-mute: #6e7191;

  /* 功能色 */
  --c-green: #34d399;
  --c-blue: #60a5fa;
  --c-amber: #f59e0b;
  --c-red: #f87171;

  /* 面/边框 */
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.055);
  --surface-3: rgba(255, 255, 255, 0.085);
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);

  /* 软件窗口（mockup）专用 */
  --win-bg: #14151f;
  --win-chrome: #1b1c29;
  --win-panel: #181925;
  --win-canvas: #0f1017;
  --win-line: rgba(255, 255, 255, 0.075);
  --win-tx: #d7d9e6;
  --win-tx-dim: #8a8da6;
  --checker-a: #262735;
  --checker-b: #1d1e2a;

  /* 渐变 */
  --grad-brand: linear-gradient(120deg, #7c3aed 0%, #8b5cf6 42%, #22d3ee 100%);
  --grad-brand-soft: linear-gradient(120deg, rgba(124, 58, 237, 0.9), rgba(34, 211, 238, 0.85));

  /* 尺寸 */
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-xl: 30px;
  --container: 1180px;
  --nav-h: 68px;

  /* 阴影 */
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.35);
  --shadow: 0 18px 44px -18px rgba(0, 0, 0, 0.75);
  --shadow-lg: 0 40px 90px -30px rgba(0, 0, 0, 0.85);
  --shadow-brand: 0 16px 46px -16px rgba(124, 58, 237, 0.65);

  /* 字体 */
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "HarmonyOS Sans SC",
    "Microsoft YaHei", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: "SFMono-Regular", "JetBrains Mono", Consolas, "Courier New", monospace;

  /* 动效 */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* --------------------------------------------------------------------------
   2. 重置与基础
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 18px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.68;
  color: var(--tx-base);
  background: var(--bg-base);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.is-locked {
  overflow: hidden;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

button {
  font: inherit;
  color: inherit;
  border: 0;
  background: none;
  cursor: pointer;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

::selection {
  background: rgba(139, 92, 246, 0.4);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--c-cyan-400);
  outline-offset: 3px;
  border-radius: 6px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.grad-text {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* --------------------------------------------------------------------------
   3. 背景装饰
   -------------------------------------------------------------------------- */
.bg-decor {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.5;
}

.bg-glow--violet {
  width: 46vw;
  height: 46vw;
  top: -12vw;
  left: -8vw;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.75), transparent 68%);
  animation: drift-a 22s var(--ease) infinite alternate;
}

.bg-glow--cyan {
  width: 38vw;
  height: 38vw;
  top: 24vh;
  right: -10vw;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.5), transparent 68%);
  animation: drift-b 26s var(--ease) infinite alternate;
}

.bg-glow--indigo {
  width: 52vw;
  height: 52vw;
  bottom: -22vw;
  left: 26vw;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.5), transparent 70%);
  animation: drift-a 30s var(--ease) infinite alternate-reverse;
}

.bg-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 20%, transparent 78%);
}

@keyframes drift-a {
  to {
    transform: translate3d(6vw, 5vh, 0) scale(1.12);
  }
}

@keyframes drift-b {
  to {
    transform: translate3d(-7vw, -4vh, 0) scale(1.08);
  }
}

/* --------------------------------------------------------------------------
   4. 通用组件：chip / btn
   -------------------------------------------------------------------------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 15px;
  font-size: 13px;
  font-weight: 500;
  color: var(--tx-base);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  backdrop-filter: blur(10px);
}

.chip__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--c-green);
  box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.16);
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
  50% {
    box-shadow: 0 0 0 7px rgba(52, 211, 153, 0.06);
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease),
    background 0.28s var(--ease), border-color 0.28s var(--ease);
  will-change: transform;
  white-space: nowrap;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
}

.btn--sm {
  padding: 9px 18px;
  font-size: 14px;
}

.btn--lg {
  padding: 15px 32px;
  font-size: 16px;
}

.btn--primary {
  color: #fff;
  background: var(--grad-brand);
  background-size: 180% 180%;
  box-shadow: var(--shadow-brand);
}

.btn--primary:hover {
  transform: translateY(-2px);
  background-position: 100% 50%;
  box-shadow: 0 22px 54px -16px rgba(124, 58, 237, 0.85);
}

.btn--primary:active {
  transform: translateY(0);
}

.btn--ghost {
  color: var(--tx-strong);
  background: var(--surface);
  border-color: var(--line-strong);
  backdrop-filter: blur(10px);
}

.btn--ghost:hover {
  transform: translateY(-2px);
  background: var(--surface-3);
  border-color: rgba(139, 92, 246, 0.6);
}

.btn.is-disabled,
.btn:disabled {
  cursor: not-allowed;
  opacity: 0.72;
  filter: saturate(0.7);
}

.btn.is-disabled:hover,
.btn:disabled:hover {
  transform: none;
}

/* --------------------------------------------------------------------------
   5. 顶部导航
   -------------------------------------------------------------------------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease),
    backdrop-filter 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}

.nav.is-stuck {
  background: rgba(11, 11, 18, 0.72);
  border-bottom-color: var(--line);
  backdrop-filter: blur(18px) saturate(1.3);
}

.nav__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: var(--nav-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: none;
}

.brand__logo {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  box-shadow: 0 8px 20px -8px rgba(124, 58, 237, 0.9);
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand__text strong {
  font-size: 17px;
  font-weight: 700;
  color: var(--tx-strong);
  letter-spacing: 0.04em;
}

.brand__text em {
  font-size: 10.5px;
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--tx-mute);
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav__menu a {
  position: relative;
  padding: 9px 15px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--tx-base);
  border-radius: 999px;
  transition: color 0.25s var(--ease), background 0.25s var(--ease);
}

.nav__menu a:hover {
  color: var(--tx-strong);
  background: var(--surface-2);
}

.nav__menu a.is-active {
  color: var(--tx-strong);
}

.nav__menu a.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-brand);
  transform: translateX(-50%);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0 10px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.nav__toggle span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--tx-strong);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.nav__toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav__toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* --------------------------------------------------------------------------
   6. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding-top: calc(var(--nav-h) + 76px);
}

.hero__inner {
  text-align: center;
  max-width: 860px;
}

.hero__title {
  margin-top: 26px;
  font-size: clamp(44px, 8vw, 84px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--tx-strong);
}

.hero__slogan {
  margin-top: 18px;
  font-size: clamp(16px, 2.2vw, 21px);
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--tx-strong);
  opacity: 0.92;
}

.hero__desc {
  margin: 20px auto 0;
  max-width: 680px;
  font-size: 16px;
  color: var(--tx-base);
}

.hero__cta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero__stats {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px 52px;
  margin-top: 52px;
}

.hero__stats li {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__stats strong {
  font-size: 30px;
  font-weight: 700;
  line-height: 1.1;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__stats span {
  margin-top: 4px;
  font-size: 13px;
  color: var(--tx-mute);
}

.hero__stage {
  position: relative;
  margin-top: 66px;
  padding-bottom: 40px;
}

.stage-glow {
  position: absolute;
  left: 50%;
  top: 6%;
  width: 76%;
  height: 74%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(124, 58, 237, 0.5), transparent 66%);
  filter: blur(70px);
  z-index: 0;
}

.hero__stage .win {
  position: relative;
  z-index: 1;
}

/* --------------------------------------------------------------------------
   7. 软件窗口示意图（mockup）
   -------------------------------------------------------------------------- */
.win {
  --fs: 11px;
  font-family: var(--font);
  font-size: var(--fs);
  line-height: 1.5;
  color: var(--win-tx);
  background: var(--win-bg);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 13px;
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  overflow: hidden;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease),
    border-color 0.5s var(--ease);
}

.win:hover {
  transform: translateY(-6px);
  border-color: rgba(139, 92, 246, 0.55);
  box-shadow: 0 52px 110px -34px rgba(0, 0, 0, 0.9),
    0 0 0 1px rgba(139, 92, 246, 0.28);
}

.win--hero {
  --fs: 11.5px;
  max-width: 1000px;
  margin: 0 auto;
}

.win--sm {
  --fs: 10px;
  width: 100%;
}

/* 标题栏 */
.win__bar {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 30px;
  padding: 0 12px;
  background: var(--win-chrome);
  border-bottom: 1px solid var(--win-line);
}

.win--hero .win__bar {
  height: 36px;
}

.win__dots {
  display: inline-flex;
  gap: 6px;
}

.win__dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #3a3b4b;
}

.win__dots i:nth-child(1) {
  background: #ff5f57;
}

.win__dots i:nth-child(2) {
  background: #febc2e;
}

.win__dots i:nth-child(3) {
  background: #28c840;
}

.win__bar-title {
  font-size: 1em;
  font-weight: 600;
  color: var(--win-tx);
  letter-spacing: 0.02em;
}

.win__bar-ver {
  color: var(--win-tx-dim);
  font-size: 0.9em;
}

.win__bar-state {
  margin-left: 6px;
  padding: 1px 8px;
  font-size: 0.85em;
  color: var(--win-tx-dim);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 999px;
}

.win__bar-actions {
  display: inline-flex;
  gap: 6px;
  margin-left: auto;
}

.win__bar-actions i {
  width: 11px;
  height: 11px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.14);
}

/* 工具栏 */
.win__tools {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 7px 12px;
  background: var(--win-chrome);
  border-bottom: 1px solid var(--win-line);
  overflow: hidden;
}

.wtool {
  padding: 3px 9px;
  font-size: 0.95em;
  color: var(--win-tx);
  background: rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  white-space: nowrap;
}

.wtool--solid {
  color: #fff;
  background: var(--grad-brand);
}

.wtool--accent {
  color: #fff;
  background: linear-gradient(120deg, #8b5cf6, #22d3ee);
}

.wtool--muted {
  color: var(--win-tx-dim);
  background: transparent;
}

.wtool-icon {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
}

.wtool-sep {
  width: 1px;
  height: 15px;
  margin: 0 4px;
  background: var(--win-line);
}

.wtool-spacer {
  flex: 1;
}

.win__tools--sm {
  padding: 6px 10px;
}

/* 主体三栏 */
.win__body {
  display: flex;
  align-items: stretch;
  background: var(--win-panel);
  min-height: 210px;
}

.win--hero .win__body {
  min-height: 340px;
}

.win__body--plain {
  display: block;
  background: var(--win-bg);
  padding: 14px;
  min-height: 0;
}

.win__side {
  flex: none;
  width: 132px;
  padding: 10px;
  background: var(--win-panel);
  border-right: 1px solid var(--win-line);
}

.win--hero .win__side {
  width: 168px;
  padding: 12px;
}

.win__side--right {
  border-right: 0;
  border-left: 1px solid var(--win-line);
}

.win__side--wide {
  width: 168px;
}

.win__side--thin {
  width: 108px;
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1em;
  font-weight: 600;
  color: var(--win-tx);
  padding-bottom: 8px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--win-line);
}

.panel-head em {
  font-style: normal;
  font-size: 0.9em;
  color: var(--win-tx-dim);
}

.panel-actions {
  display: flex;
  gap: 6px;
  margin-bottom: 8px;
}

.pact {
  flex: 1;
  text-align: center;
  padding: 4px 0;
  font-size: 0.9em;
  color: #fff;
  background: var(--grad-brand);
  border-radius: 5px;
}

.pact--muted {
  color: var(--win-tx);
  background: rgba(255, 255, 255, 0.09);
}

.layer-empty {
  padding: 16px 6px;
  text-align: center;
  font-size: 0.95em;
  color: var(--win-tx-dim);
  line-height: 1.7;
}

.layer-empty span {
  font-size: 0.86em;
  opacity: 0.75;
}

.panel-hint {
  padding: 10px 2px;
  font-size: 0.95em;
  color: var(--win-tx-dim);
  line-height: 1.7;
}

.tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 8px;
}

.tab {
  flex: 1;
  text-align: center;
  padding: 4px 0;
  font-size: 0.9em;
  color: var(--win-tx-dim);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 5px;
}

.tab--active {
  color: #fff;
  background: rgba(139, 92, 246, 0.32);
  box-shadow: inset 0 0 0 1px rgba(139, 92, 246, 0.6);
}

/* 画布区 */
.win__canvas {
  position: relative;
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--win-canvas);
  overflow: hidden;
}

.win__canvas::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(45deg, var(--checker-a) 25%, transparent 25%),
    linear-gradient(-45deg, var(--checker-a) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, var(--checker-a) 75%),
    linear-gradient(-45deg, transparent 75%, var(--checker-a) 75%);
  background-size: 18px 18px;
  background-position: 0 0, 0 9px, 9px -9px, -9px 0;
  background-color: var(--checker-b);
  opacity: 0.5;
}

.win__canvas--start::before {
  display: none;
}

/* 起始界面内容 */
.start {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 26px 18px;
  max-width: 460px;
}

.start__logo {
  display: inline-block;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: var(--grad-brand);
  box-shadow: 0 14px 30px -10px rgba(124, 58, 237, 0.85);
  position: relative;
}

.start__logo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 32% 30%, #fff 3px, transparent 4px),
    conic-gradient(from 180deg at 50% 88%, transparent 0 12%, #fff 12% 44%, transparent 44%);
  border-radius: inherit;
  mask: radial-gradient(circle at 50% 60%, #000 60%, transparent 62%);
  -webkit-mask: radial-gradient(circle at 50% 60%, #000 60%, transparent 62%);
  opacity: 0;
}

.start__title {
  margin-top: 12px;
  font-size: 1.7em;
  font-weight: 700;
  color: var(--win-tx);
  letter-spacing: 0.06em;
}

.start__sub {
  margin-top: 6px;
  font-size: 0.98em;
  color: var(--win-tx-dim);
}

.start__btns {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 16px 0;
}

.sbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 14px;
  font-size: 0.95em;
  font-weight: 500;
  color: var(--win-tx);
  background: rgba(255, 255, 255, 0.09);
  border-radius: 7px;
  border: 1px solid transparent;
  white-space: nowrap;
}

.sbtn--primary {
  color: #fff;
  background: var(--grad-brand);
}

.sbtn--xs {
  padding: 4px 10px;
  font-size: 0.9em;
}

.sbtn--block {
  display: flex;
  width: 100%;
  margin-top: 10px;
  padding: 6px 0;
}

.start__cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  text-align: left;
}

.scard {
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--win-line);
  border-radius: 8px;
}

.scard b {
  display: block;
  font-size: 0.98em;
  font-weight: 600;
  color: var(--win-tx);
}

.scard i {
  font-style: normal;
  font-size: 0.86em;
  color: var(--win-tx-dim);
}

.start__tip {
  margin-top: 14px;
  font-size: 0.88em;
  color: var(--win-tx-dim);
  opacity: 0.8;
}

/* 状态栏 */
.win__status {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 26px;
  padding: 0 12px;
  font-size: 0.9em;
  color: var(--win-tx-dim);
  background: var(--win-chrome);
  border-top: 1px solid var(--win-line);
  overflow: hidden;
  white-space: nowrap;
}

.win--hero .win__status {
  height: 30px;
}

.win__status .dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.5;
}

.stat-grow {
  flex: 1;
}

.zoom {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.zoom i {
  font-style: normal;
  opacity: 0.8;
}

.zoom__track {
  position: relative;
  width: 62px;
  height: 3px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.14);
}

.zoom__thumb {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 9px;
  height: 9px;
  margin: -4.5px 0 0 -4.5px;
  border-radius: 50%;
  background: var(--c-violet-500);
}

.zoom em {
  font-style: normal;
}

.stat-pill {
  padding: 1px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
}

/* ---- mockup：图层列表 ---- */
.layer-row {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 5px 6px;
  border-radius: 6px;
}

.layer-row--active {
  background: rgba(139, 92, 246, 0.2);
  box-shadow: inset 0 0 0 1px rgba(139, 92, 246, 0.5);
}

.layer-thumb {
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 4px;
  background: linear-gradient(135deg, #6d5bd0, #3b82f6);
}

.layer-thumb--mask {
  background: linear-gradient(135deg, #e5e7eb 0 50%, #1f2937 50% 100%);
}

.layer-thumb--text {
  background: #f8fafc;
}

.layer-thumb--bg {
  background: linear-gradient(135deg, #22d3ee, #0ea5e9);
}

.layer-name {
  flex: 1;
  min-width: 0;
  font-size: 0.95em;
  color: var(--win-tx);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.layer-tag {
  flex: none;
  padding: 0 5px;
  font-size: 0.82em;
  color: var(--win-tx-dim);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
}

.layer-tag--on {
  color: #c4b5fd;
  background: rgba(139, 92, 246, 0.24);
}

.blend {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
  padding: 5px 7px;
  font-size: 0.9em;
  color: var(--win-tx-dim);
  background: rgba(255, 255, 255, 0.06);
  border-radius: 6px;
}

.blend__val {
  color: var(--win-tx);
}

/* ---- mockup：滑块 ---- */
.slider {
  position: relative;
  height: 4px;
  margin: 10px 0 4px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.12);
}

.slider__fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  border-radius: 4px;
  background: var(--grad-brand);
}

.slider__knob {
  position: absolute;
  top: 50%;
  width: 12px;
  height: 12px;
  margin: -6px 0 0 -6px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.slider--sm {
  height: 3px;
  margin: 7px 0;
}

.slider--sm .slider__knob {
  width: 10px;
  height: 10px;
  margin: -5px 0 0 -5px;
}

/* ---- mockup：导出弹窗 ---- */
.export {
  max-width: 420px;
  margin: 0 auto;
  padding: 14px;
  background: var(--win-panel);
  border: 1px solid var(--win-line);
  border-radius: 11px;
}

.export__formats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
}

.fmt {
  padding: 8px 0;
  text-align: center;
  font-size: 0.98em;
  font-weight: 500;
  color: var(--win-tx-dim);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--win-line);
  border-radius: 8px;
}

.fmt--active {
  color: #fff;
  background: rgba(139, 92, 246, 0.26);
  border-color: rgba(139, 92, 246, 0.72);
}

.export__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 15px;
}

.export__label {
  font-size: 0.95em;
  color: var(--win-tx-dim);
}

.export__value {
  font-size: 0.95em;
  color: var(--win-tx);
}

.export__hint {
  margin-top: 8px;
  padding: 6px 8px;
  font-size: 0.88em;
  color: var(--win-tx-dim);
  background: rgba(255, 255, 255, 0.045);
  border-radius: 6px;
}

.export__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
}

.efield {
  font-size: 0.9em;
  color: var(--win-tx-dim);
}

/* ---- mockup：抠图 ---- */
.cutout {
  position: relative;
  z-index: 1;
  width: 62%;
  height: 74%;
  min-height: 120px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.cutout__subject {
  width: 58%;
  height: 92%;
  border-radius: 46% 46% 12% 12% / 58% 58% 8% 8%;
  background: linear-gradient(160deg, #8b5cf6, #22d3ee 70%);
  box-shadow: 0 10px 30px -10px rgba(34, 211, 238, 0.7);
}

.marching {
  position: absolute;
  inset: 4% 12% 0;
  border: 2px dashed #fff;
  border-radius: 44% 44% 10% 10% / 56% 56% 6% 6%;
  background: rgba(139, 92, 246, 0.16);
  animation: marching 4s linear infinite;
}

@keyframes marching {
  to {
    background-position: 24px 0, -24px 0, 0 -24px, 0 24px;
  }
}

.canvas-tip {
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  z-index: 2;
  padding: 3px 12px;
  font-size: 0.9em;
  color: var(--win-tx);
  background: rgba(11, 11, 18, 0.78);
  border: 1px solid var(--win-line);
  border-radius: 999px;
  white-space: nowrap;
}

.chips {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  margin-bottom: 10px;
}

.chip2 {
  padding: 4px 8px;
  text-align: center;
  font-size: 0.9em;
  color: var(--win-tx-dim);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--win-line);
  border-radius: 6px;
  white-space: nowrap;
}

.chip2--active {
  color: #fff;
  background: rgba(139, 92, 246, 0.26);
  border-color: rgba(139, 92, 246, 0.7);
}

.mini-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.92em;
  color: var(--win-tx-dim);
}

.mini-val {
  color: var(--win-tx);
}

.mini-actions {
  display: flex;
  gap: 6px;
  margin-top: 12px;
}

.mini-actions .sbtn {
  flex: 1;
}

/* ---- mockup：图层合成 ---- */
.compose {
  position: relative;
  z-index: 1;
  width: 70%;
  height: 76%;
}

.compose__bg {
  position: absolute;
  inset: 0;
  border-radius: 8px;
  background: linear-gradient(140deg, #1e293b, #0f172a);
  border: 1px solid var(--win-line);
}

.compose__shape {
  position: absolute;
  left: 14%;
  top: 20%;
  width: 46%;
  height: 46%;
  border-radius: 12px;
  background: linear-gradient(150deg, #8b5cf6, #22d3ee);
  mix-blend-mode: screen;
  box-shadow: 0 10px 26px -12px rgba(139, 92, 246, 0.9);
}

.compose__text {
  position: absolute;
  right: 10%;
  bottom: 16%;
  font-size: 1.9em;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #fff;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.6);
}

.guide {
  position: absolute;
  z-index: 2;
  background: var(--c-cyan-400);
  opacity: 0.75;
}

.guide--v {
  top: 0;
  bottom: 0;
  left: 37%;
  width: 1px;
}

.guide--h {
  left: 0;
  right: 0;
  top: 43%;
  height: 1px;
}

/* ---- mockup：图层效果列表 ---- */
.fx {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 5px 7px;
  margin-bottom: 5px;
  font-size: 0.93em;
  color: var(--win-tx-dim);
  background: rgba(255, 255, 255, 0.045);
  border-radius: 6px;
}

.fx em {
  margin-left: auto;
  font-style: normal;
  opacity: 0.8;
}

.fx__dot {
  width: 9px;
  height: 9px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.18);
}

.fx--on {
  color: var(--win-tx);
  background: rgba(139, 92, 246, 0.16);
  box-shadow: inset 0 0 0 1px rgba(139, 92, 246, 0.4);
}

.fx--on .fx__dot {
  background: var(--grad-brand);
}

/* ---- mockup：标注与渐变 ---- */
.annot {
  position: relative;
  z-index: 1;
  width: 82%;
  height: 82%;
}

.annot__gradient {
  position: absolute;
  inset: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, #8b5cf6, #22d3ee 58%, #f59e0b);
  opacity: 0.9;
}

.annot__text {
  position: absolute;
  left: 12%;
  top: 18%;
  font-size: 1.7em;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.06em;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.45);
}

.annot__circle {
  position: absolute;
  right: 16%;
  top: 22%;
  width: 34%;
  height: 34%;
  border: 2px solid #fde047;
  border-radius: 50%;
}

.annot__mosaic {
  position: absolute;
  left: 14%;
  bottom: 16%;
  width: 46%;
  height: 24%;
  background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.22) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(255, 255, 255, 0.22) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(255, 255, 255, 0.22) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(255, 255, 255, 0.22) 75%);
  background-size: 10px 10px;
  background-position: 0 0, 0 5px, 5px -5px, -5px 0;
  background-color: rgba(0, 0, 0, 0.35);
  border-radius: 4px;
}

.grad-type {
  display: flex;
  gap: 6px;
  margin-bottom: 10px;
}

.grad-type .chip2 {
  flex: 1;
}

.grad-bar {
  height: 20px;
  border-radius: 6px;
  background: linear-gradient(90deg, #8b5cf6, #22d3ee, #f59e0b);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.stops {
  position: relative;
  height: 14px;
  margin: 6px 0 12px;
}

.stop {
  position: absolute;
  top: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

.stop:nth-child(1) {
  left: 0;
}

.stop:nth-child(2) {
  left: calc(50% - 6px);
}

.stop:nth-child(3) {
  right: 0;
}

/* --------------------------------------------------------------------------
   8. 区块与标题
   -------------------------------------------------------------------------- */
.section {
  padding: 108px 0;
}

.section--alt {
  position: relative;
}

.section--alt::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(124, 58, 237, 0.06) 40%, transparent);
  pointer-events: none;
}

.sec-head {
  text-align: center;
  max-width: 660px;
  margin: 0 auto 60px;
}

.sec-eyebrow {
  display: inline-block;
  padding: 5px 14px;
  margin-bottom: 18px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #c4b5fd;
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(139, 92, 246, 0.32);
  border-radius: 999px;
}

.sec-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--tx-strong);
}

.sec-sub {
  margin-top: 14px;
  font-size: 16px;
  color: var(--tx-base);
}

/* --------------------------------------------------------------------------
   9. 核心能力卡片
   -------------------------------------------------------------------------- */
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.card {
  position: relative;
  padding: 26px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
  overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease),
    background 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(360px circle at 50% -20%, rgba(139, 92, 246, 0.16), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(139, 92, 246, 0.55);
  background: var(--surface-2);
  box-shadow: var(--shadow);
}

.card:hover::before {
  opacity: 1;
}

.card__icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 16px;
  border-radius: 13px;
  color: #e9d5ff;
  background: rgba(139, 92, 246, 0.14);
  border: 1px solid rgba(139, 92, 246, 0.3);
}

.card__icon svg {
  width: 23px;
  height: 23px;
}

.card h3 {
  position: relative;
  font-size: 18px;
  font-weight: 600;
  color: var(--tx-strong);
  margin-bottom: 8px;
}

.card p {
  position: relative;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--tx-base);
}

/* --------------------------------------------------------------------------
   10. 亮点展示
   -------------------------------------------------------------------------- */
.hl {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.06fr);
  align-items: center;
  gap: 60px;
  padding: 46px 0;
}

.hl + .hl {
  border-top: 1px solid var(--line);
}

.hl--reverse .hl__text {
  order: 2;
}

.hl--reverse .hl__visual {
  order: 1;
}

.hl__index {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: transparent;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  margin-bottom: 12px;
}

.hl__text h3 {
  font-size: clamp(22px, 2.6vw, 28px);
  font-weight: 700;
  line-height: 1.3;
  color: var(--tx-strong);
  letter-spacing: -0.01em;
}

.hl__text > p {
  margin-top: 14px;
  font-size: 15.5px;
  line-height: 1.78;
  color: var(--tx-base);
}

.hl__list {
  margin-top: 20px;
  display: grid;
  gap: 11px;
}

.hl__list li {
  position: relative;
  padding-left: 26px;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--tx-base);
}

.hl__list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 3px;
  background: var(--grad-brand);
  box-shadow: 0 0 12px rgba(139, 92, 246, 0.8);
}

.hl__visual {
  position: relative;
}

.hl__visual::before {
  content: "";
  position: absolute;
  inset: 8% 6%;
  background: radial-gradient(ellipse at center, rgba(124, 58, 237, 0.4), transparent 68%);
  filter: blur(52px);
  z-index: 0;
}

.hl__visual .win {
  position: relative;
  z-index: 1;
}

/* --------------------------------------------------------------------------
   11. 下载区
   -------------------------------------------------------------------------- */
.dl {
  position: relative;
  text-align: center;
  padding: 68px 40px;
  background: linear-gradient(180deg, var(--bg-elev-2), var(--bg-elev-1));
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.dl::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: var(--grad-brand);
  opacity: 0.5;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  pointer-events: none;
}

.dl__glow {
  position: absolute;
  left: 50%;
  top: -30%;
  width: 60%;
  height: 70%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(139, 92, 246, 0.5), transparent 68%);
  filter: blur(64px);
  pointer-events: none;
}

.dl__title {
  position: relative;
  margin-top: 22px;
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 700;
  color: var(--tx-strong);
  letter-spacing: -0.01em;
}

.dl__desc {
  position: relative;
  max-width: 620px;
  margin: 16px auto 0;
  font-size: 15.5px;
  color: var(--tx-base);
}

.dl__cta {
  position: relative;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.dl__meta {
  position: relative;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px 40px;
  margin-top: 42px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.dl__meta li {
  font-size: 13.5px;
  color: var(--tx-mute);
}

.dl__meta b {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--tx-base);
  opacity: 0.75;
  margin-bottom: 3px;
}

/* --------------------------------------------------------------------------
   12. 页脚
   -------------------------------------------------------------------------- */
.footer {
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.015);
}

.footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.6fr);
  gap: 48px;
  padding-top: 62px;
  padding-bottom: 42px;
}

.footer__slogan {
  margin-top: 16px;
  font-size: 14px;
  color: var(--tx-mute);
  max-width: 300px;
}

.footer__links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.footer__links h4 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--tx-strong);
  margin-bottom: 14px;
}

.footer__links a,
.footer__author {
  display: block;
  font-size: 14px;
  color: var(--tx-base);
  margin-bottom: 10px;
  transition: color 0.25s var(--ease);
}

.footer__links a:hover {
  color: var(--c-cyan-400);
}

.footer__author {
  color: var(--tx-mute);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 22px;
  padding-bottom: 30px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--tx-mute);
}

/* --------------------------------------------------------------------------
   13. 返回顶部
   -------------------------------------------------------------------------- */
.to-top {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 50;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  color: #fff;
  background: rgba(22, 24, 38, 0.86);
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  backdrop-filter: blur(12px);
  opacity: 0;
  transform: translateY(16px) scale(0.9);
  pointer-events: none;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease),
    border-color 0.35s var(--ease), background 0.35s var(--ease);
}

.to-top svg {
  width: 22px;
  height: 22px;
}

.to-top.is-visible {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.to-top:hover {
  border-color: rgba(139, 92, 246, 0.7);
  background: rgba(124, 58, 237, 0.35);
}

/* --------------------------------------------------------------------------
   14. 滚动入场动画
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* --------------------------------------------------------------------------
   15. 响应式
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .hl {
    gap: 40px;
  }
}

@media (max-width: 900px) {
  .nav__menu {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    margin: 0;
    padding: 12px 24px 22px;
    background: rgba(11, 11, 18, 0.97);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(20px);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  }

  .nav__menu.is-open {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .nav__menu a {
    padding: 13px 14px;
    font-size: 16px;
    border-radius: 12px;
  }

  .nav__menu a.is-active::after {
    display: none;
  }

  .nav__toggle {
    display: flex;
  }

  .nav__actions .btn {
    display: none;
  }

  .hl,
  .hl--reverse {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 34px 0;
  }

  .hl--reverse .hl__text,
  .hl--reverse .hl__visual {
    order: initial;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 34px;
  }
}

@media (max-width: 760px) {
  .section {
    padding: 76px 0;
  }

  .hero {
    padding-top: calc(var(--nav-h) + 48px);
  }

  .hero__stats {
    gap: 18px 34px;
  }

  .hero__stats strong {
    font-size: 24px;
  }

  .hero__stage {
    margin-top: 46px;
  }

  .cards {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .dl {
    padding: 48px 22px;
  }

  .footer__links {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px 18px;
  }

  /* 示意图在窄屏收起两侧面板，保持主画面清晰 */
  .win__side {
    display: none;
  }

  .win__side--right {
    display: none;
  }

  .win__body {
    min-height: 190px;
  }

  .win--hero .win__body {
    min-height: 250px;
  }

  .win__tools {
    flex-wrap: wrap;
    row-gap: 5px;
  }

  .start__cards {
    grid-template-columns: 1fr;
  }

  .win__status .stat-grow,
  .win__status > span:not(.zoom) {
    display: none;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 18px;
  }

  .hero__cta .btn {
    flex: 1 1 100%;
  }

  .brand__text em {
    display: none;
  }

  .export__formats {
    grid-template-columns: repeat(2, 1fr);
  }

  .to-top {
    right: 16px;
    bottom: 16px;
  }
}

/* 无障碍：尊重「减少动态效果」偏好 */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ==========================================================================
   16. 更新日志页
   ========================================================================== */
.nav--solid {
  background: rgba(11, 11, 18, 0.72);
  border-bottom-color: var(--line);
  backdrop-filter: blur(18px) saturate(1.3);
}

.cl-hero {
  padding-top: calc(var(--nav-h) + 62px);
  text-align: center;
}

.crumbs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 13.5px;
  color: var(--tx-mute);
}

.crumbs a:hover {
  color: var(--c-cyan-400);
}

.cl-hero__title {
  font-size: clamp(34px, 6vw, 54px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--tx-strong);
}

.cl-hero__desc {
  max-width: 640px;
  margin: 16px auto 0;
  font-size: 15.5px;
  color: var(--tx-base);
}

.cl-stats {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px 42px;
  margin-top: 32px;
}

.cl-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cl-stat strong {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.15;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.cl-stat em {
  margin-top: 2px;
  font-style: normal;
  font-size: 12.5px;
  color: var(--tx-mute);
}

.cl-filter {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 30px;
}

.cl-filter__btn {
  padding: 8px 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--tx-base);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: color 0.25s var(--ease), background 0.25s var(--ease),
    border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.cl-filter__btn:hover {
  color: var(--tx-strong);
  border-color: var(--line-strong);
}

.cl-filter__btn.is-active {
  color: #fff;
  background: var(--grad-brand);
  border-color: transparent;
  box-shadow: var(--shadow-brand);
}

.cl-body {
  padding: 58px 0 96px;
}

/* 时间轴 */
.timeline {
  position: relative;
  padding-left: 40px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: linear-gradient(
    180deg,
    rgba(139, 92, 246, 0.7),
    rgba(34, 211, 238, 0.32) 55%,
    transparent
  );
}

.cl-item {
  position: relative;
  padding-bottom: 30px;
}

.cl-node {
  position: absolute;
  left: -36px;
  top: 12px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--bg-base);
  border: 2px solid rgba(139, 92, 246, 0.85);
  box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.1);
}

.cl-item:first-child .cl-node {
  background: var(--grad-brand);
  border-color: transparent;
  box-shadow: 0 0 0 5px rgba(139, 92, 246, 0.16), 0 0 20px rgba(139, 92, 246, 0.85);
}

.cl-card {
  padding: 22px 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease),
    background 0.35s var(--ease);
}

.cl-card:hover {
  transform: translateY(-3px);
  border-color: rgba(139, 92, 246, 0.45);
  background: var(--surface-2);
}

.cl-card__head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.cl-version {
  font-size: 20px;
  font-weight: 700;
  color: var(--tx-strong);
  letter-spacing: 0.01em;
}

.cl-date {
  padding: 2px 11px;
  font-size: 12.5px;
  font-variant-numeric: tabular-nums;
  color: var(--tx-mute);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.cl-summary {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--tx-base);
}

.cl-groups {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.cl-group {
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line);
  border-left: 3px solid var(--kind-color);
  border-radius: var(--radius);
}

.cl-group--feature {
  --kind-color: #34d399;
  --kind-bg: rgba(52, 211, 153, 0.14);
}

.cl-group--improve {
  --kind-color: #60a5fa;
  --kind-bg: rgba(96, 165, 250, 0.14);
}

.cl-group--fix {
  --kind-color: #f59e0b;
  --kind-bg: rgba(245, 158, 11, 0.14);
}

.cl-group__head {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
}

.cl-badge {
  padding: 2px 11px;
  font-size: 12px;
  font-weight: 600;
  color: var(--kind-color);
  background: var(--kind-bg);
  border-radius: 999px;
}

.cl-group__head em {
  font-style: normal;
  font-size: 12.5px;
  color: var(--tx-mute);
}

.cl-group__list {
  display: grid;
  gap: 9px;
  margin-top: 13px;
}

.cl-group__list li {
  position: relative;
  padding-left: 18px;
  font-size: 14.5px;
  line-height: 1.78;
  color: var(--tx-base);
}

.cl-group__list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--kind-color);
  opacity: 0.8;
}

.cl-empty {
  padding: 48px 0;
  text-align: center;
  color: var(--tx-mute);
}

@media (max-width: 760px) {
  .timeline {
    padding-left: 28px;
  }

  .timeline::before {
    left: 7px;
  }

  .cl-node {
    left: -26px;
    top: 14px;
    width: 12px;
    height: 12px;
  }

  .cl-card {
    padding: 18px 16px;
  }

  .cl-version {
    font-size: 17px;
  }

  .cl-stats {
    gap: 12px 26px;
  }

  .cl-stat strong {
    font-size: 20px;
  }

  .cl-group__list li {
    font-size: 14px;
  }
}
