:root {
  --bg: #08090d;
  --bg-card: rgba(20, 22, 30, 0.62);
  --bg-card-hover: rgba(28, 31, 42, 0.78);
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.18);
  --text: #f5f7fa;
  --text-secondary: #9aa3b2;
  --text-muted: #656e7e;
  --accent: #ddfd09;
  --glow-blue: #4f7cff;
  --glow-purple: #8b5cf6;
  --glow-cyan: #22d3ee;
  --radius-md: 20px;
  --radius-lg: 30px;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", Menlo, Monaco, Consolas, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

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

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

button,
input {
  font: inherit;
  color: inherit;
}

/* ==================== 背景：Spline 风格深空弥散光 + 3D 星轨球体 ==================== */
.ambient-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.ambient-aurora {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(640px 520px at 50% 6%, rgba(79, 124, 255, 0.22), transparent 68%),
    radial-gradient(560px 440px at 22% 18%, rgba(139, 92, 246, 0.16), transparent 70%),
    radial-gradient(520px 420px at 80% 16%, rgba(34, 211, 238, 0.12), transparent 70%),
    radial-gradient(700px 400px at 50% 92%, rgba(221, 253, 9, 0.06), transparent 72%);
}

.page-shell {
  position: relative;
  z-index: 1;
}

.container {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
}

/* ==================== 顶部浮岛胶囊导航 ==================== */
.site-header {
  position: sticky;
  top: 18px;
  z-index: 40;
  padding: 0 24px;
  pointer-events: none;
}

.nav-pill {
  pointer-events: auto;
  width: min(920px, 100%);
  height: 60px;
  margin: 0 auto;
  padding: 0 10px 0 18px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: rgba(15, 17, 24, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.42);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.brand img {
  width: 28px;
  height: 28px;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  font-size: 14px;
  color: var(--text-secondary);
  padding: 8px 14px;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

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

/* ==================== 按钮 ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.22s ease, background 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: #ffffff;
  color: #090b10;
  box-shadow: 0 10px 34px rgba(255, 255, 255, 0.16);
}

.btn-primary:hover {
  background: #f0f4ff;
  transform: translateY(-2px);
  box-shadow: 0 14px 44px rgba(139, 92, 246, 0.28);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
  color: var(--text);
  backdrop-filter: blur(12px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.26);
  transform: translateY(-2px);
}

.btn-sm {
  height: 40px;
  padding: 0 18px;
  font-size: 13.5px;
}

.kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1;
  padding: 4px 7px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--text-secondary);
}

/* ==================== Hero 巨幕首屏 ==================== */
.hero {
  padding: 156px 0 116px;
  text-align: center;
}

.hero-title {
  margin: 0 auto 22px;
  max-width: 920px;
  font-size: clamp(46px, 7.6vw, 86px);
  line-height: 1.04;
  font-weight: 700;
  letter-spacing: -0.04em;
  background: linear-gradient(180deg, #ffffff 15%, #c7d2e8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  margin: 0 auto 38px;
  max-width: 580px;
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-secondary);
  font-weight: 400;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

/* ==================== 区块通用间距 ==================== */
.section {
  padding: 112px 0;
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 60px;
}

.section-title {
  margin: 0 0 14px;
  font-size: clamp(32px, 4.6vw, 54px);
  line-height: 1.1;
  letter-spacing: -0.035em;
  font-weight: 700;
}

.section-desc {
  margin: 0;
  font-size: 17px;
  color: var(--text-secondary);
}

/* ==================== 核心功能：100% 复刻 Spline 居中无限循环轮播 ==================== */
.carousel-section {
  overflow-x: clip;
}

.section-kicker {
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.carousel-tabs-viewport {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin: 0 auto 44px;
  padding: 6px 0;
  mask-image: linear-gradient(90deg, transparent 0%, #000 18%, #000 82%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 18%, #000 82%, transparent 100%);
}

.carousel-tabs-track {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  will-change: transform;
  transition: transform 0.52s cubic-bezier(0.22, 1, 0.36, 1);
}

.carousel-tabs-track.is-instant {
  transition: none;
}

.carousel-tab {
  flex: 0 0 auto;
  height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.carousel-tab:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.1);
}

.carousel-tab.is-active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.3);
}

.carousel-stage {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
}

.carousel-slide {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(820px, calc(100vw - 40px));
  border-radius: 26px;
  background: rgba(16, 18, 26, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 36px 96px rgba(0, 0, 0, 0.72);
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.5);
  transition:
    transform 0.58s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.5s ease,
    filter 0.5s ease,
    border-color 0.3s ease;
}

.carousel-slide.is-active {
  z-index: 3;
  opacity: 1;
  pointer-events: auto;
  filter: none;
  transform: translate(-50%, -50%) scale(1);
  border-color: rgba(255, 255, 255, 0.2);
}

.carousel-slide.is-prev {
  z-index: 2;
  opacity: 0.42;
  pointer-events: auto;
  cursor: pointer;
  filter: grayscale(65%) brightness(0.72);
  transform: translate(calc(-50% - min(680px, 56vw)), -50%) scale(0.56);
}

.carousel-slide.is-next {
  z-index: 2;
  opacity: 0.42;
  pointer-events: auto;
  cursor: pointer;
  filter: grayscale(65%) brightness(0.72);
  transform: translate(calc(-50% + min(680px, 56vw)), -50%) scale(0.56);
}

.carousel-slide.is-prev:hover,
.carousel-slide.is-next:hover {
  opacity: 0.68;
  filter: grayscale(25%) brightness(0.92);
}

.carousel-slide.is-hidden-left {
  z-index: 1;
  opacity: 0;
  transform: translate(calc(-50% - 1100px), -50%) scale(0.45);
}

.carousel-slide.is-hidden-right {
  z-index: 1;
  opacity: 0;
  transform: translate(calc(-50% + 1100px), -50%) scale(0.45);
}

/* 滑块内部视觉画布 */
.slide-visual {
  height: 360px;
  padding: 26px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.slide-visual--projects {
  background: radial-gradient(circle at 20% 10%, rgba(79, 124, 255, 0.24), transparent 55%), #0c0e16;
}

.slide-visual--palette {
  background: radial-gradient(circle at 75% 20%, rgba(139, 92, 246, 0.24), transparent 55%), #0d0e16;
}

.slide-visual--toolbox {
  background: radial-gradient(circle at 80% 15%, rgba(34, 211, 238, 0.2), transparent 55%), #0b0f16;
}

.slide-visual--tasks {
  background: radial-gradient(circle at 25% 80%, rgba(221, 253, 9, 0.14), transparent 55%), #0c0e13;
}

.slide-visual--bookmarks {
  background: radial-gradient(circle at 50% 0%, rgba(99, 102, 241, 0.24), transparent 60%), #0c0e16;
}

.slide-caption {
  padding: 22px 30px 26px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  background: rgba(12, 14, 20, 0.9);
}

.slide-caption h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  white-space: nowrap;
}

.slide-caption p {
  margin: 0;
  font-size: 14.5px;
  color: var(--text-secondary);
  text-align: right;
}

/* 微缩产品界面组件 */
.mock-topbar {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 22px;
}

.mock-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.mock-path {
  margin-left: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
}

.mock-project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.mock-project-card {
  padding: 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mock-project-card.is-focus {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(221, 253, 9, 0.34);
}

.mock-project-card h4 {
  margin: 0;
  font-size: 15.5px;
}

.mock-project-card p {
  margin: 0;
  font-size: 12.5px;
  color: var(--text-secondary);
}

.mock-chip {
  align-self: flex-start;
  font-size: 11px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
}

.mock-chip.is-lime {
  background: rgba(221, 253, 9, 0.16);
  color: var(--accent);
}

.mock-bar-row {
  margin-top: auto;
  padding-top: 8px;
  display: flex;
  gap: 8px;
  font-size: 11.5px;
  color: var(--text-muted);
}

.mock-bar-row span {
  padding: 4px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.mock-palette-box {
  width: min(560px, 100%);
  margin: 0 auto;
  border-radius: 18px;
  background: rgba(18, 21, 30, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}

.mock-palette-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 15px;
}

.mock-palette-head .kbd {
  margin-left: auto;
}

.mock-prompt {
  font-family: var(--font-mono);
  color: var(--accent);
}

.mock-palette-rows {
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mock-palette-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 14px;
}

.mock-palette-row.is-hi {
  background: rgba(255, 255, 255, 0.09);
}

.mock-meta {
  font-size: 12px;
  color: var(--text-muted);
}

.mock-toolbox-layout {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 16px;
}

.mock-actions-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mock-action-pill {
  padding: 13px 15px;
  border-radius: 12px;
  font-size: 13.5px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.mock-action-pill.is-lime {
  background: rgba(221, 253, 9, 0.14);
  border-color: rgba(221, 253, 9, 0.34);
  color: var(--accent);
}

.mock-snapshot-card {
  padding: 18px 20px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mock-snap-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13.5px;
  margin-bottom: 4px;
}

.mock-snap-head span {
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}

.mock-snap-line {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--text-secondary);
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.mock-task-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 620px;
  width: 100%;
  margin: 0 auto;
}

.mock-task-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 14.5px;
}

.mock-task-item.is-done {
  opacity: 0.55;
}

.mock-check {
  width: 18px;
  height: 18px;
  border-radius: 6px;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  flex-shrink: 0;
}

.mock-check.is-checked {
  background: var(--accent);
  border-color: var(--accent);
}

.mock-at-tag {
  margin-left: auto;
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 999px;
  color: #a5c4ff;
  background: rgba(79, 124, 255, 0.16);
}

.mock-bm-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.mock-bm-tile {
  padding: 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mock-bm-tile strong {
  font-size: 14.5px;
}

.mock-bm-tile span {
  font-size: 12px;
  color: var(--text-secondary);
}

.mock-bm-tile.is-wide-tile {
  grid-column: span 4;
  background: rgba(255, 255, 255, 0.07);
}

/* ==================== 100% 复刻 Spline 左画布右特性列表 ==================== */
.editor-showcase {
  padding: 108px 0;
  overflow-x: clip;
}

.editor-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(36px, 5vw, 84px);
  align-items: center;
  max-width: 1380px;
  margin: 0 auto;
  padding-right: clamp(24px, 5vw, 64px);
}

.editor-window {
  border-radius: 0 24px 24px 0;
  background: #141518;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-left: none;
  box-shadow: 0 36px 96px rgba(0, 0, 0, 0.72);
  overflow: hidden;
}

.editor-toolbar {
  height: 54px;
  padding: 0 18px 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #1a1b1f;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.editor-tool-label {
  font-size: 13px;
  color: var(--text-muted);
}

.editor-toolbar-center {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.editor-icon-btn {
  height: 30px;
  min-width: 30px;
  padding: 0 9px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
  font-size: 12px;
  font-family: var(--font-mono);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.editor-icon-btn:hover,
.editor-icon-btn.is-active {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.24);
  color: #ffffff;
}

.editor-toolbar-right {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.editor-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  margin-left: -6px;
  border: 2px solid #1a1b1f;
}

.editor-avatar:first-child {
  margin-left: 0;
}

.editor-pill-btn {
  height: 30px;
  padding: 0 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text);
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  transition: background 0.2s ease;
}

.editor-pill-btn:hover {
  background: rgba(255, 255, 255, 0.16);
}

.editor-pill-btn.is-solid {
  background: rgba(255, 255, 255, 0.18);
}

.editor-canvas-area {
  position: relative;
  height: 490px;
  background: #0d0e11;
  overflow: hidden;
}

.editor-view {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.editor-view.is-active {
  opacity: 1;
  pointer-events: auto;
}

.editor-3d-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.editor-demo-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.editor-demo-video.is-ready {
  opacity: 1;
  pointer-events: auto;
}

/* 复刻图 3 的工业风选中框与尺寸角标 */
.editor-select-box {
  position: absolute;
  width: min(62%, 410px);
  height: min(68%, 320px);
  border: 1px solid rgba(255, 255, 255, 0.36);
  pointer-events: none;
}

.editor-select-tag {
  position: absolute;
  top: -28px;
  left: 0;
  padding: 3px 10px;
  border-radius: 5px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  color: #11131a;
  background: #c7d2fe;
  white-space: nowrap;
}

.editor-select-box .handle {
  position: absolute;
  width: 7px;
  height: 7px;
  background: #0d0e11;
  border: 1.5px solid rgba(255, 255, 255, 0.78);
}

.handle.tl { top: -4px; left: -4px; }
.handle.tm { top: -4px; left: 50%; transform: translateX(-50%); }
.handle.tr { top: -4px; right: -4px; }
.handle.ml { top: 50%; left: -4px; transform: translateY(-50%); }
.handle.mr { top: 50%; right: -4px; transform: translateY(-50%); }
.handle.bl { bottom: -4px; left: -4px; }
.handle.bm { bottom: -4px; left: 50%; transform: translateX(-50%); }
.handle.br { bottom: -4px; right: -4px; }

.editor-tree {
  margin: 0;
  padding: 28px 34px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 2;
  color: #dbe4f3;
}

.editor-skins-wrap {
  width: min(540px, calc(100% - 48px));
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* 右侧极简大标题 + 特性列表 */
.editor-copy {
  max-width: 460px;
}

.editor-kicker {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.editor-title {
  margin: 0 0 18px;
  font-size: clamp(36px, 4.4vw, 56px);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.035em;
  color: #ffffff;
}

.editor-lead {
  margin: 0 0 34px;
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.65;
}

.editor-feature-list {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.editor-feature-item {
  cursor: pointer;
  padding: 6px 12px;
  margin: -6px -12px;
  border-radius: 12px;
  transition: background 0.2s ease;
}

.editor-feature-item:hover,
.editor-feature-item.is-active {
  background: rgba(255, 255, 255, 0.04);
}

.editor-feature-head {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 4px;
  color: #ffffff;
  font-size: 15.5px;
}

.editor-feature-head svg {
  color: var(--text-secondary);
  flex-shrink: 0;
}

.editor-feature-item.is-active .editor-feature-head svg {
  color: #ffffff;
}

.editor-feature-item p {
  margin: 0;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.55;
}

.editor-footnote {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==================== 本地同步 + 皮肤辅助样式 ==================== */
.terminal-box {
  border-radius: 18px;
  background: rgba(8, 9, 13, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 22px 24px;
  font-family: var(--font-mono);
  font-size: 13.5px;
  line-height: 1.85;
  color: #cbd5e1;
  overflow-x: auto;
}

.t-accent {
  color: var(--accent);
}

.t-cyan {
  color: var(--glow-cyan);
}

.t-muted {
  color: var(--text-muted);
}

.skin-switcher {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.skin-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
}

.skin-chip:hover {
  color: var(--text);
  border-color: var(--border-hover);
}

.skin-chip.is-active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.28);
}

.skin-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.skin-preview {
  border-radius: 20px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  min-height: 206px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: background 0.35s ease, color 0.35s ease, border-color 0.35s ease;
}

.skin-preview[data-skin="black-lime"] {
  background: radial-gradient(circle at 82% 18%, rgba(221, 253, 9, 0.18), transparent 55%), #090a09;
  color: #f4f6f0;
  border-color: rgba(221, 253, 9, 0.28);
}

.skin-preview[data-skin="glass"] {
  background: linear-gradient(135deg, rgba(79, 124, 255, 0.28), rgba(139, 92, 246, 0.28)), #121726;
  color: #f8fafc;
}

.skin-preview[data-skin="warm"] {
  background: radial-gradient(circle at 75% 25%, rgba(213, 167, 122, 0.24), transparent 55%), #242321;
  color: #f4efe8;
  border-color: rgba(213, 167, 122, 0.32);
}

.skin-preview[data-skin="native"] {
  background: linear-gradient(135deg, #e8eef5, #dbe4f0);
  color: #172030;
  border-color: rgba(23, 32, 48, 0.14);
}

.skin-preview[data-skin="paper"] {
  background: linear-gradient(180deg, #faf8f4, #f1eee7);
  color: #18181b;
  border-color: rgba(24, 24, 27, 0.14);
}

.skin-preview-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 16px;
  border-radius: 12px;
  background: rgba(128, 128, 128, 0.15);
  backdrop-filter: blur(12px);
  font-size: 13px;
}

.skin-preview-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 16px;
}

.skin-mini-card {
  padding: 14px;
  border-radius: 12px;
  background: rgba(128, 128, 128, 0.13);
  border: 1px solid rgba(128, 128, 128, 0.18);
  font-size: 12.5px;
}

.skin-mini-card strong {
  display: block;
  margin-bottom: 3px;
}

/* ==================== 隐私三栏 ==================== */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.trust-card {
  padding: 34px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border);
  text-align: center;
}

.trust-value {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
  background: linear-gradient(135deg, #ffffff 20%, #a5b4fc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.trust-card h3 {
  margin: 0 0 6px;
  font-size: 17px;
}

.trust-card p {
  margin: 0;
  font-size: 14px;
  color: var(--text-secondary);
}

/* ==================== 底部巨幕 CTA ==================== */
.cta-section {
  padding: 96px 0 120px;
  text-align: center;
}

.cta-card {
  position: relative;
  padding: 84px 32px;
  border-radius: 36px;
  background:
    radial-gradient(ellipse 65% 80% at 50% 0%, rgba(79, 124, 255, 0.24), transparent 68%),
    radial-gradient(ellipse 45% 60% at 80% 100%, rgba(139, 92, 246, 0.16), transparent 70%),
    rgba(16, 18, 26, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.cta-card h2 {
  margin: 0 0 14px;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.cta-card p {
  margin: 0 auto 34px;
  max-width: 480px;
  font-size: 17px;
  color: var(--text-secondary);
}

/* ==================== Footer ==================== */
.site-footer {
  padding: 36px 0 56px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 13.5px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

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

/* ==================== Alt+K 命令浮层 Demo ==================== */
.palette-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(4, 5, 10, 0.72);
  backdrop-filter: blur(14px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 14vh 16px 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.palette-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.palette-dialog {
  width: min(560px, 100%);
  border-radius: 22px;
  background: rgba(16, 18, 26, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.72);
  overflow: hidden;
  transform: translateY(-10px) scale(0.98);
  transition: transform 0.2s ease;
}

.palette-backdrop.is-open .palette-dialog {
  transform: translateY(0) scale(1);
}

.palette-input-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}

.palette-input-row input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-size: 15px;
}

.palette-list {
  list-style: none;
  margin: 0;
  padding: 8px;
  max-height: 320px;
  overflow-y: auto;
}

.palette-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.palette-item:hover,
.palette-item.is-selected {
  background: rgba(255, 255, 255, 0.08);
}

.palette-item-title {
  font-size: 14.5px;
  font-weight: 500;
}

.palette-item-sub {
  font-size: 12.5px;
  color: var(--text-muted);
}

.palette-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 18px;
  font-size: 12px;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
}

/* ==================== 滚动入场 ==================== */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1), transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==================== 使用教程页 (guide.html) ==================== */
.guide-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 40px;
  padding: 64px 0 96px;
  align-items: start;
}

.guide-sidebar {
  position: sticky;
  top: 96px;
  padding: 18px;
  border-radius: 22px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  backdrop-filter: blur(20px);
}

.guide-search {
  width: 100%;
  height: 38px;
  padding: 0 13px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  font-size: 13px;
  outline: none;
  margin-bottom: 14px;
}

.guide-search:focus {
  border-color: rgba(255, 255, 255, 0.28);
}

.guide-toc {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.guide-toc a {
  display: block;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 13.5px;
  color: var(--text-secondary);
  transition: background 0.18s ease, color 0.18s ease;
}

.guide-toc a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.guide-toc a.is-active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.11);
  font-weight: 500;
}

.guide-content {
  min-width: 0;
}

.guide-hero {
  margin-bottom: 36px;
}

.guide-hero h1 {
  margin: 0 0 10px;
  font-size: clamp(32px, 4.5vw, 48px);
  letter-spacing: -0.03em;
}

.guide-hero p {
  margin: 0;
  font-size: 16px;
  color: var(--text-secondary);
}

.doc-section {
  scroll-margin-top: 96px;
  padding: 32px;
  margin-bottom: 20px;
  border-radius: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  backdrop-filter: blur(18px);
}

.doc-section.is-hidden {
  display: none;
}

.doc-section h2 {
  margin: 0 0 12px;
  font-size: 21px;
  letter-spacing: -0.015em;
}

.doc-section p {
  margin: 0 0 12px;
  color: var(--text-secondary);
  font-size: 15px;
}

.doc-list {
  margin: 0 0 12px;
  padding-left: 20px;
  color: var(--text-secondary);
  font-size: 15px;
}

.doc-list li {
  margin-bottom: 7px;
}

.doc-list strong {
  color: var(--text);
}

.callout {
  padding: 14px 18px;
  border-radius: 14px;
  background: rgba(79, 124, 255, 0.1);
  border: 1px solid rgba(79, 124, 255, 0.25);
  color: #dce7ff;
  font-size: 13.5px;
  margin-top: 14px;
}

.doc-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin-top: 10px;
}

.doc-table th,
.doc-table td {
  text-align: left;
  padding: 12px;
  border-bottom: 1px solid var(--border);
}

.doc-table th {
  color: var(--text);
  font-weight: 600;
}

.doc-table td {
  color: var(--text-secondary);
}

.code-inline {
  font-family: var(--font-mono);
  font-size: 12.5px;
  padding: 2px 7px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.card-title {
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.card-desc {
  margin: 0;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ==================== 响应式 ==================== */
@media (max-width: 960px) {
  .trust-strip,
  .guide-layout {
    grid-template-columns: 1fr;
  }

  .guide-sidebar {
    position: static;
  }

  .editor-grid {
    grid-template-columns: 1fr;
    padding: 0 24px;
  }

  .editor-window {
    border-radius: 22px;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
  }

  .editor-copy {
    max-width: 100%;
  }

  .carousel-stage {
    height: 490px;
  }
}

@media (max-width: 680px) {
  .container {
    width: calc(100% - 28px);
  }

  .site-header {
    padding: 0 14px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    padding: 92px 0 68px;
  }

  .section,
  .editor-showcase {
    padding: 72px 0;
  }

  .carousel-stage {
    height: 470px;
  }

  .slide-visual {
    height: 300px;
    padding: 18px;
  }

  .slide-caption {
    flex-direction: column;
    gap: 6px;
    padding: 18px 20px 22px;
  }

  .slide-caption p {
    text-align: left;
  }

  .mock-project-grid,
  .mock-toolbox-layout {
    grid-template-columns: 1fr;
  }

  .mock-project-card:nth-child(n + 2) {
    display: none;
  }

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

  .mock-bm-tile.is-wide-tile {
    grid-column: span 2;
  }

  .editor-canvas-area {
    height: 360px;
  }

  .editor-avatar {
    display: none;
  }

  .skin-preview-cards {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
