/* ============================================================
   聚创云首页落地页 · Harness 风格
   与全站共享导航（navbar.css）统一：暗色玻璃 + 品牌紫
   ============================================================ */
:root {
  --bg-page: #0a0a0a;
  --text-primary: #fff;
  --text-secondary: hsla(0, 0%, 100%, .8);
  --text-description: hsla(0, 0%, 100%, .5);
  --brand: #7c3aed;
  --brand-light: #a78bfa;
  --surface-1: hsla(0, 0%, 100%, .06);
  --surface-2: hsla(0, 0%, 100%, .04);
  --surface-3: hsla(0, 0%, 100%, .02);
  --surface-raised: hsla(0, 0%, 100%, .25);
  --bg-overlay: #1a1a1a;
  --border-default: hsla(0, 0%, 100%, .06);
  --border-subtle: hsla(0, 0%, 100%, .08);
  --border-divider: hsla(0, 0%, 100%, .25);
  --border-strong: hsla(0, 0%, 100%, .24);
  --btn-primary-bg: #fff;
  --btn-primary-text: #0a0a0a;
  --btn-secondary-bg: var(--surface-1);
  --btn-secondary-text: #fff;
  --btn-secondary-border: hsla(0, 0%, 100%, .15);
  --radius-pill: 100px;
  --radius-card: 24px;
  --radius-panel: 16px;
  --radius-media: 10px;
  --radius-sm: 8px;
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px;
  --space-5: 24px; --space-6: 32px; --space-7: 40px; --space-8: 56px;
  --space-9: 80px; --space-10: 120px; --space-11: 160px; --space-12: 200px; --space-13: 240px;
  --blur-glass: 12px;
  --font-sans: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
               Roboto, "Helvetica Neue", Arial, "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-display: "Montserrat", var(--font-sans);
  --font-mono: "Fragment Mono", ui-monospace, SFMono-Regular, Menlo, Consolas,
               "Noto Sans SC", "PingFang SC", "Microsoft YaHei", monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg-page);
  color: var(--text-primary);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
button { font-family: inherit; color: inherit; background: none; border: none; cursor: pointer; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 4px; }
::selection { background: rgba(167, 139, 250, .35); }

/* ============ 布局工具类 ============ */
.ds-container { width: min(100% - 48px, 1140px); margin-inline: auto; }
@media (min-width: 768px) { .ds-container { width: min(100% - 144px, 1140px); } }
@media (min-width: 1560px) { .ds-container { width: min(100% - 160px, 1280px); } }

.mt-ds-2 { margin-top: var(--space-2); } .mt-ds-4 { margin-top: var(--space-4); }
.mt-ds-5 { margin-top: var(--space-5); } .mt-ds-6 { margin-top: var(--space-6); }
.mt-ds-8 { margin-top: var(--space-8); } .mt-ds-9 { margin-top: var(--space-9); }
.mb-ds-2 { margin-bottom: var(--space-2); } .mb-ds-3 { margin-bottom: var(--space-3); }
.mb-ds-4 { margin-bottom: var(--space-4); } .mb-ds-9 { margin-bottom: var(--space-9); }
.py-ds-10 { padding-block: var(--space-10); }
.text-ds-primary { color: var(--text-primary); }
.text-ds-secondary { color: var(--text-secondary); }
.text-ds-description { color: var(--text-description); }
.text-ds-brand { color: var(--brand); }

.ds-hero-cta.show-mobile { display: none; }

/* ============ 文字规格 ============ */
.ds-text-hero {
  font-family: var(--font-display); font-size: 36px; font-weight: 500;
  letter-spacing: -.02em; line-height: 150%;
}
@media (min-width: 768px) { .ds-text-hero { font-size: 46px; } }

.ds-text-heading1 {
  font-family: var(--font-display); font-size: 28px; font-weight: 500;
  letter-spacing: -.02em; line-height: 150%;
}
@media (min-width: 768px) { .ds-text-heading1 { font-size: 36px; } }

.ds-text-subtitle { font-family: var(--font-sans); font-size: 20px; font-weight: 500; letter-spacing: -.01em; line-height: 150%; }
.ds-text-title { font-family: var(--font-sans); font-size: 18px; font-weight: 400; letter-spacing: -.01em; line-height: 150%; }
.ds-text-body { font-family: var(--font-sans); font-size: 16px; font-weight: 400; line-height: 160%; text-wrap: pretty; }
.ds-text-caption { font-family: var(--font-sans); font-size: 14px; font-weight: 400; line-height: 150%; }

.ds-harness-word {
  font-family: var(--font-display);
  font-size: 34px; letter-spacing: .05em;
  color: var(--brand); -webkit-text-stroke: .04em var(--bg-page);
  display: inline-block; vertical-align: middle; transform: translateY(-.08em);
}
@media (min-width: 768px) { .ds-harness-word { font-size: 50px; } }

/* ============ 区块徽标（渐变描边 pill） ============ */
.ds-badge {
  display: inline-flex; align-items: center; border-radius: var(--radius-sm); padding: 1px;
  background: linear-gradient(135deg, rgba(255, 255, 255, .42) 0%, rgba(255, 255, 255, .08) 35%,
    rgba(255, 255, 255, .04) 65%, rgba(255, 255, 255, .28) 100%);
  box-shadow: 0 0 16px rgba(255, 255, 255, .08), 0 0 32px rgba(255, 255, 255, .04);
}
.ds-badge span {
  display: block; padding: 6px 9px 5px; border-radius: 7px; background: rgba(0, 0, 0, .25);
  font-family: var(--font-mono); font-size: 12px; font-weight: 500;
  color: rgba(255, 255, 255, .95); letter-spacing: .1em; text-transform: uppercase; line-height: 1;
  white-space: nowrap;
}

/* ============ 按钮 ============ */
.ds-btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  gap: 6px; border-radius: var(--radius-pill); box-sizing: border-box;
  font-family: var(--font-sans); font-weight: 500; line-height: 120%;
  text-decoration: none; cursor: pointer; overflow: hidden; isolation: isolate;
  border: 1px solid transparent; transition: background-color .35s ease, border-color .35s ease, color .35s ease;
}
.ds-btn svg { width: 15px; height: 15px; flex-shrink: 0; }
.ds-btn-m { font-size: 15px; padding: 11px 18px; }
.ds-btn-s { font-size: 14px; padding: 8px 12px; }
.ds-btn-primary { background: var(--btn-primary-bg); color: var(--btn-primary-text); }
.ds-btn-primary:hover { background: rgba(0, 0, 0, .18); }
.ds-btn-secondary { background: var(--btn-secondary-bg); color: var(--btn-secondary-text); border-color: var(--btn-secondary-border); }
.ds-btn-secondary:hover { background: hsla(0, 0%, 100%, .2); border-color: hsla(0, 0%, 100%, .6); }
.ds-btn::after {
  content: ""; position: absolute; top: 50%; left: 50%; width: 150%; aspect-ratio: 1;
  border-radius: 50%; opacity: 0; z-index: -1;
  transform: translate(-50%, -50%) scale(0);
  background: radial-gradient(circle, rgba(255, 255, 255, .28) 0%, transparent 70%);
}
.ds-btn:active::after { opacity: 1; transform: translate(-50%, -50%) scale(1); transition: transform .4s ease, opacity .3s ease; }

/* ============ Hero ============ */
.ds-hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; }
@media (min-width: 768px) { .ds-hero { height: 100vh; max-height: 1000px; } }

.ds-hero-canvas-bg {
  position: absolute; inset: 0; z-index: 0; overflow: hidden;
  mask: linear-gradient(#000000fc 0%, #000000e8 8.98%, transparent 100%);
  -webkit-mask: linear-gradient(#000000fc 0%, #000000e8 8.98%, transparent 100%);
  opacity: 0; filter: blur(20px); transition: opacity 1.6s ease .3s;
}
.ds-hero-canvas-bg.is-visible { opacity: 1; }
.ds-hero-canvas {
  position: absolute; inset: 0; z-index: 1;
  mask: linear-gradient(#000000fc 0%, #000000e8 8.98%, transparent 100%);
  -webkit-mask: linear-gradient(#000000fc 0%, #000000e8 8.98%, transparent 100%);
}
.ds-hero-canvas canvas, .ds-hero-canvas-bg canvas { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

.ds-hero-glow {
  position: absolute; inset: 0; z-index: 2; display: none;
  align-items: center; justify-content: center; pointer-events: none; overflow: hidden;
  mix-blend-mode: screen;
}
@media (min-width: 768px) { .ds-hero-glow { display: flex; } }
.ds-hero-glow-inner {
  width: 800px; height: 800px; margin-left: 100px; flex-shrink: 0;
  background: radial-gradient(circle, rgba(124, 58, 237, .22) 0%, rgba(167, 139, 250, .05) 35%, transparent 70%);
  filter: blur(40px);
  animation: glow-float 9s ease-in-out infinite;
}
@keyframes glow-float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-24px) scale(1.05); }
}

.ds-hero-grid {
  position: relative; z-index: 10;
  display: grid; grid-template-columns: 1fr; gap: var(--space-9); align-items: center;
  padding: 120px 0 96px;
}
@media (min-width: 768px) { .ds-hero-grid { grid-template-columns: 60fr 40fr; } }

.ds-hero-col-left { display: flex; flex-direction: column; gap: var(--space-7); align-items: flex-start; order: 1; }
.ds-hero-col-right { display: flex; flex-direction: column; gap: var(--space-3); order: 2; min-width: 0; }

.ds-hero-preview {
  font-family: var(--font-sans); font-size: 16px; font-weight: 500;
  letter-spacing: -.01em; line-height: 1; color: var(--text-primary);
  padding-left: 3px; white-space: nowrap;
}
@media (min-width: 768px) { .ds-hero-preview { font-size: 18px; } }

.ds-hero-title {
  font-family: var(--font-display); font-size: 36px; font-weight: 500;
  line-height: 1.2; letter-spacing: .2px; color: var(--text-primary);
}
@media (min-width: 768px) { .ds-hero-title { font-size: 46px; } }

.ds-hero-desc { max-width: 580px; display: flex; flex-direction: column; gap: var(--space-2); }
.ds-hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: var(--space-2); }

@keyframes ds-hero-enter {
  0% { opacity: 0; transform: translateY(var(--enter-y, 20px)); filter: blur(var(--enter-blur, 0)); }
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}
.hero-enter { animation: ds-hero-enter .9s ease-out backwards; }

/* ============ Hero 终端面板 ============ */
.ds-term-tabs { display: flex; gap: var(--space-1); padding: 0 var(--space-1) 0 6px; }
.ds-term-tab {
  padding: 8px 16px; font-size: 13px; font-weight: 500;
  border-radius: 8px 8px 0 0; border: 1px solid transparent; border-bottom: 0;
  color: var(--text-description); transition: color .2s, background-color .2s;
}
.ds-term-tab:hover { color: var(--text-primary); }
.ds-term-tab.is-active {
  color: var(--text-primary); background: rgba(0, 0, 0, .2);
  border-color: rgba(255, 255, 255, .08); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.ds-terminal {
  border-radius: var(--radius-media); border: 1px solid rgba(255, 255, 255, .08);
  background: rgba(0, 0, 0, .2); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  overflow: hidden; margin-top: -13px;
}
.ds-terminal-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px; border-bottom: 1px solid var(--border-default);
}
.ds-terminal-dots { display: flex; gap: 7px; }
.ds-terminal-dots i { width: 11px; height: 11px; border-radius: 50%; display: block; }
.ds-terminal-dots i:nth-child(1) { background: #ff5f57; }
.ds-terminal-dots i:nth-child(2) { background: #febc2e; }
.ds-terminal-dots i:nth-child(3) { background: #28c840; }
.ds-terminal-copy {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; color: var(--text-description); transition: color .2s;
}
.ds-terminal-copy:hover { color: var(--text-primary); }
.ds-terminal-body { padding: var(--space-5); display: grid; align-items: center; }
.ds-terminal-pre {
  grid-area: 1 / 1; font-family: var(--font-mono); font-size: 14px;
  color: var(--text-primary); line-height: 1.625; white-space: pre-wrap;
  display: none; min-width: 0;
}
.ds-terminal-pre.is-active { display: block; }
.ds-terminal-pre .dollar { color: var(--brand); user-select: none; }

/* ============ 滚动显现（reveal） ============ */
.reveal {
  opacity: 0; transform: translateY(var(--reveal-y, 24px));
  transition: opacity .7s ease, transform .7s ease;
  transition-delay: var(--reveal-delay, 0s);
}
.reveal.in-view { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-enter { animation: none; }
  .ds-hero-glow-inner { animation: none; }
}

/* ============ 能力卡片（Formula 区块） ============ */
.ds-cards-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-5); }
@media (min-width: 768px) { .ds-cards-grid { grid-template-columns: repeat(3, 1fr); } }

.ds-card {
  position: relative; background: var(--surface-3); border: 1px solid var(--border-default);
  border-radius: 12px; padding: var(--space-6);
  display: flex; flex-direction: column; align-items: center; text-align: center; height: 100%;
}
.ds-card::after {
  content: ""; position: absolute; inset: 0; border-radius: 12px; pointer-events: none;
  opacity: 0; transition: opacity .3s ease;
  background: radial-gradient(140px 80px at 50% 0%, rgba(167, 139, 250, .16), transparent 70%);
}
.ds-card:hover::after { opacity: 1; }
.ds-card-icon { color: var(--text-primary); opacity: .7; margin-bottom: var(--space-4); }
.ds-card-icon svg { width: 72px; height: 72px; }
.ds-card-title { font-family: var(--font-sans); font-size: 18px; color: var(--text-primary); margin-bottom: var(--space-2); line-height: 150%; }
.ds-card-label {
  font-family: var(--font-mono); font-size: 11px; color: var(--text-description);
  letter-spacing: .1em; display: block; margin-bottom: var(--space-3);
}
.ds-card-desc { font-family: var(--font-sans); font-size: 14px; color: var(--text-description); line-height: 1.65; max-width: 320px; }
.ds-card-link {
  color: var(--text-primary); text-decoration: underline; text-decoration-style: dashed;
  text-decoration-color: rgba(255, 255, 255, .3); text-underline-offset: 4px;
  transition: color .25s ease;
}
.ds-card-link:hover { color: var(--brand-light); }

/* ============ 设计思路（滚动双栏） ============ */
.ds-philosophy { display: grid; grid-template-columns: 1fr; gap: var(--space-9); }
@media (min-width: 768px) { .ds-philosophy { grid-template-columns: 42fr 58fr; } }

.ds-phil-item {
  min-height: 35vh; padding: 11vh 0;
  display: flex; flex-direction: column; justify-content: center; gap: var(--space-4);
  opacity: .3; transition: opacity .5s ease; cursor: pointer;
}
.ds-phil-item.is-active { opacity: 1; }
.ds-phil-head { display: flex; align-items: center; gap: var(--space-2); }
.ds-phil-icon { color: var(--text-description); transition: color .5s ease; }
.ds-phil-item.is-active .ds-phil-icon { color: var(--text-primary); }
.ds-phil-icon svg { width: 28px; height: 28px; }
.ds-phil-title { font-size: 22px; font-weight: 400; line-height: 150%; color: var(--text-primary); }
.ds-phil-desc { font-size: 16px; line-height: 1.7; color: var(--text-description); }
.ds-phil-desc a {
  color: var(--text-primary); text-decoration: underline; text-decoration-style: dashed;
  text-decoration-color: rgba(255, 255, 255, .3); text-underline-offset: 4px; transition: color .25s;
}
.ds-phil-desc a:hover { color: var(--brand-light); }

.ds-phil-visual { position: relative; }
.ds-phil-sticky { position: sticky; top: 20vh; }
.ds-phil-stage {
  position: relative; border-radius: var(--radius-media);
  border: 1px solid var(--border-default); background: var(--surface-3);
  overflow: hidden; aspect-ratio: 8 / 5;
}
.ds-phil-panel {
  position: absolute; inset: 0; opacity: 0; pointer-events: none;
  transition: opacity .5s ease; display: flex; align-items: center; justify-content: center;
}
.ds-phil-panel.is-active { opacity: 1; pointer-events: auto; }
.ds-phil-panel img { width: 100%; height: 100%; object-fit: contain; background: #101113; }

/* 截图占位：内部用 CSS 画的模拟 UI */
.mock { position: absolute; inset: 0; padding: 28px 36px; display: flex; flex-direction: column; gap: 14px; overflow: hidden; }
.mock-title { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: #e6e8ea; }
.mock-title .dot { width: 8px; height: 8px; border-radius: 50%; }
.mock-row {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .05);
  border-radius: 8px; padding: 9px 12px;
}
.mock-row .name { display: flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 11.5px; color: #e6e8ea; min-width: 0; }
.mock-row .name .box {
  width: 18px; height: 18px; border-radius: 5px; flex-shrink: 0;
  background: linear-gradient(135deg, rgba(167, 139, 250, .4), rgba(167, 139, 250, .12));
  border: 1px solid rgba(167, 139, 250, .35);
}
.mock-row .tag { font-size: 10.5px; color: rgba(255, 255, 255, .55); font-family: var(--font-mono); white-space: nowrap; }
.mock-row .switch {
  width: 26px; height: 15px; border-radius: 8px; background: rgba(167, 139, 250, .85); position: relative; flex-shrink: 0;
}
.mock-row .switch::after { content: ""; position: absolute; top: 2px; right: 2px; width: 11px; height: 11px; border-radius: 50%; background: #fff; }
.mock-row .switch.off { background: rgba(255, 255, 255, .16); }
.mock-row .switch.off::after { right: auto; left: 2px; }
.mock-event { display: flex; align-items: flex-start; gap: 10px; font-size: 12px; }
.mock-event .src {
  flex-shrink: 0; font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .06em;
  text-transform: uppercase; color: rgba(255, 255, 255, .6);
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 5px; padding: 2px 6px; margin-top: 1px;
}
.mock-event .txt { color: rgba(255, 255, 255, .78); line-height: 1.5; }
.mock-event .txt b { color: #e6e8ea; font-weight: 500; }
.mock-mode-head { display: flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 12px; color: #e6e8ea; }
.mock-mode-head svg { width: 16px; height: 16px; color: rgba(255, 255, 255, .55); }
.mock-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.mock-pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px;
  font-size: 11.5px; color: rgba(255, 255, 255, .55); border: 1px solid rgba(255, 255, 255, .08); white-space: nowrap;
}
.mock-pill.on { color: #fff; background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .16); }
.mock-pill .check { color: var(--brand-light); }
.mock-input {
  margin-top: auto; display: flex; align-items: center; gap: 8px;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 8px; padding: 10px 12px; font-size: 12px; color: rgba(255, 255, 255, .35);
}
.mock-input .prompt { color: var(--brand-light); font-family: var(--font-mono); }

/* ============ 演示视频面板 ============ */
.ds-demo-frame {
  margin-top: var(--space-9); border-radius: var(--radius-panel);
  border: 1px solid var(--border-default); background: var(--surface-3); overflow: hidden;
  aspect-ratio: 16 / 9; position: relative; cursor: pointer;
}
.ds-demo-poster {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
  background:
    radial-gradient(ellipse 60% 55% at 50% 38%, rgba(124, 58, 237, .22), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, .01));
}
.ds-demo-poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ds-demo-play {
  width: 64px; height: 64px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18);
  backdrop-filter: blur(8px); transition: transform .3s ease, background-color .3s ease;
}
.ds-demo-frame:hover .ds-demo-play { transform: scale(1.08); background: rgba(255, 255, 255, .16); }
.ds-demo-poster .hint { font-size: 13px; color: var(--text-description); }

/* ============ 开始使用：命令卡片 ============ */
.ds-command-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-6); align-items: stretch; }
@media (min-width: 1024px) { .ds-command-grid { grid-template-columns: 1fr 1fr; } }
.ds-command-card {
  min-width: 0; display: flex; flex-direction: column; border-radius: var(--radius-media);
  background: var(--surface-3); border: 1px solid var(--border-default);
}
.ds-command-body { min-width: 0; display: flex; flex-direction: column; gap: var(--space-3); padding: var(--space-7); }
.ds-command-cmd {
  margin-top: var(--space-2); display: flex; align-items: center; justify-content: space-between; gap: var(--space-3);
  border-radius: var(--radius-media); border: 1px solid var(--border-default); background: var(--surface-1);
  padding: 14px 16px; font-family: var(--font-mono); font-size: 14px; color: var(--text-primary);
}
.ds-command-cmd code { min-width: 0; white-space: pre-wrap; word-break: break-all; }
.ds-command-cmd .dollar { color: var(--brand); user-select: none; }
.ds-command-copy {
  flex-shrink: 0; font-family: var(--font-sans); font-size: 12px;
  color: var(--text-description); transition: color .2s;
}
.ds-command-copy:hover { color: var(--text-primary); }

/* ============ 结尾 CTA ============ */
.ds-cta { position: relative; overflow: hidden; }
.ds-cta-blob {
  position: absolute; border-radius: 50%; pointer-events: none; z-index: 0;
}
.ds-cta-blob-1 {
  top: 0; left: 4%; width: 480px; height: 480px; opacity: .14;
  background: radial-gradient(circle, #8b5cf6 0%, #7c3aed 30%, transparent 70%);
  filter: blur(60px);
}
.ds-cta-blob-2 {
  bottom: -80px; right: 10%; width: 400px; height: 400px; opacity: .2;
  background: radial-gradient(circle, #8b5cf6 0%, #7c3aed 30%, transparent 70%);
  filter: blur(60px);
}
.ds-cta-inner {
  position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center;
  min-height: min(60vh, 720px); justify-content: flex-start;
  padding: var(--space-11) 0 var(--space-13);
}
.ds-cta-desc { max-width: 652px; margin-top: var(--space-5); }
.ds-cta-btns { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--space-4); margin-top: var(--space-6); }
.cta-enter {
  opacity: 0; filter: blur(10px); transform: translateY(40px);
  transition: opacity .9s ease, filter .9s ease, transform .9s ease;
}
.cta-enter.in-view { opacity: 1; filter: none; transform: none; }

/* ============ 页脚 ============ */
.ds-footer { padding-bottom: var(--space-6); }
.ds-footer-divider { width: 100%; height: 1px; background: var(--border-subtle); }
.ds-footer-grid {
  display: flex; flex-direction: column; align-items: center; gap: var(--space-4);
  padding-top: var(--space-5);
}
@media (min-width: 1280px) { .ds-footer-grid { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; } }

.ds-qr-trigger { position: relative; display: inline-flex; align-items: center; gap: var(--space-2); }
.ds-qr-trigger:hover .ds-qr-menu { opacity: 1; pointer-events: auto; }
.ds-qr-trigger.is-open .ds-qr-menu { opacity: 1; pointer-events: auto; }
.ds-qr-menu {
  position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%); z-index: 50;
  opacity: 0; pointer-events: none; transition: opacity .15s .2s; padding-bottom: var(--space-3);
}
.ds-qr-panel {
  width: 150px; padding: var(--space-3); display: flex; flex-direction: column; align-items: center; gap: var(--space-2);
  background: var(--bg-overlay); border: 1px solid var(--border-default);
  border-radius: var(--radius-media); backdrop-filter: blur(var(--blur-glass));
  box-shadow: 0 12px 32px rgba(0, 0, 0, .4);
}
.ds-qr-panel img { width: 100%; height: auto; display: block; border-radius: var(--radius-media); }
.ds-footer-copyright { font-size: 14px; line-height: 150%; color: var(--text-description); text-align: center; }
.ds-footer-nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--space-3); grid-column: 3; }
.ds-footer-link { font-size: 14px; color: var(--text-primary); transition: opacity .2s; white-space: nowrap; }
.ds-footer-link:hover { opacity: .7; }
.ds-footer-dot { font-size: 14px; color: var(--text-description); }

/* ============ 响应式补丁 ============ */
@media (max-width: 448px) {
  .ds-hero-cta, .ds-cta-btns { flex-direction: column; width: 100%; }
  .ds-hero-cta .ds-btn, .ds-cta-btns .ds-btn { width: 100%; }
  .mock { padding: 20px 22px; gap: 10px; }
}
@media (max-width: 767px) {
  .ds-hero-grid { gap: var(--space-8); padding: 110px 0 80px; }
}

/* ============================================================
   v2 质感层（2026-08-15 上线）：spotlight 光斑 + 玻璃内高光 + 圆角升级
   配套 JS: /js/spotlight.js（--x/--y 驱动）
   ============================================================ */
:root { --v2-radius-card: 20px; }

.ds-card {
  border-radius: var(--v2-radius-card);
  background: linear-gradient(180deg, hsla(0,0%,100%,.05), hsla(0,0%,100%,.015));
  border: 1px solid hsla(0,0%,100%,.08);
  box-shadow: inset 0 1px 0 hsla(0,0%,100%,.08);
  transition: transform .3s cubic-bezier(.2,.8,.2,1), border-color .3s, box-shadow .3s, background .3s;
  overflow: hidden;
}
.ds-card::before {
  content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; pointer-events: none;
  opacity: 0; transition: opacity .35s;
  background: radial-gradient(460px circle at var(--x,50%) var(--y,50%), rgba(167,139,250,.15), transparent 42%);
}
.ds-card::after {
  opacity: 1; transition: opacity .3s;
  background: radial-gradient(200px 90px at 18% 0%, hsla(0,0%,100%,.07), transparent 70%);
}
.ds-card:hover {
  transform: translateY(-3px);
  border-color: hsla(262, 90%, 66%, .42);
  box-shadow: inset 0 1px 0 hsla(0,0%,100%,.12), 0 20px 48px rgba(0,0,0,.5), 0 0 32px rgba(124,58,237,.14);
}
.ds-card:hover::before { opacity: 1; }
.ds-card-icon { opacity: .85; transition: opacity .3s, transform .3s; }
.ds-card:hover .ds-card-icon { opacity: 1; transform: translateY(-2px); }

.ds-command-card {
  border-radius: var(--v2-radius-card);
  background: linear-gradient(180deg, hsla(0,0%,100%,.05), hsla(0,0%,100%,.015));
  border: 1px solid hsla(0,0%,100%,.08);
  box-shadow: inset 0 1px 0 hsla(0,0%,100%,.08);
  overflow: hidden; position: relative;
  transition: transform .3s cubic-bezier(.2,.8,.2,1), border-color .3s, box-shadow .3s;
}
.ds-command-card::before {
  content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; pointer-events: none;
  opacity: 0; transition: opacity .35s;
  background: radial-gradient(520px circle at var(--x,50%) var(--y,50%), rgba(167,139,250,.15), transparent 42%);
}
.ds-command-card:hover { transform: translateY(-3px); border-color: hsla(262,90%,66%,.4); box-shadow: inset 0 1px 0 hsla(0,0%,100%,.12), 0 20px 48px rgba(0,0,0,.5); }
.ds-command-card:hover::before { opacity: 1; }
.ds-command-body { position: relative; z-index: 2; }

.ds-demo-frame {
  border-radius: var(--v2-radius-card);
  border: 1px solid hsla(0,0%,100%,.09);
  box-shadow: inset 0 1px 0 hsla(0,0%,100%,.1), 0 24px 60px rgba(0,0,0,.5);
}
.ds-phil-stage { border-radius: var(--v2-radius-card); box-shadow: inset 0 1px 0 hsla(0,0%,100%,.1), 0 24px 60px rgba(0,0,0,.5); }

@media (max-width: 767px) { .ds-card { border-radius: 16px; } }
@media (prefers-reduced-motion: reduce) { .ds-card, .ds-command-card { transition: none; } }

/* ============ 全屏动态粒子背景（2026-08-15） ============ */
#pageParticles {
  position: fixed; inset: 0; z-index: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  opacity: .6;
}
@media (prefers-reduced-motion: reduce) { #pageParticles { display: none; } }

