/* ================================================================
   HMind Landing — 视觉系统 v3
   方向：中文科技产品的「光感」气质
   · 中文标题一律粗黑体（PingFang SC），不用宋体 —— 宋体在产品页显旧
   · 居中构图，超大字号，关键短语走品牌紫渐变
   · 暖白底 + 紫/珊瑚双色光晕，替代平铺纸色
   · 药丸按钮、渐变数字、柔和大圆角
   品牌色取自应用 Docs/DESIGN.md：#6A50CE / #9B84EE
   ================================================================ */

:root {
  --bg: #FCFBFF;
  --bg-warm: #FFF8F4;
  --panel: #FFFFFF;
  --subtle: #F4F2FA;

  --ink: #1E1B2E;
  --ink2: #52506B;
  --ink3: #7C7A93;

  --brand: #6A50CE;
  --brand-lt: #9B84EE;
  --brand-dk: #533FA8;
  --brand-tint: #EFEBFC;

  --coral: #F0876B;
  --pink: #E27BB0;
  --green: #22A06B;

  --border: #EAE7F5;
  --hairline: #F0EEF8;
  --night: #16131F;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --pop: cubic-bezier(0.34, 1.4, 0.5, 1);

  /* 中文用粗黑体；拉丁用 Outfit（几何、现代、有性格） */
  --display: 'Outfit', 'PingFang SC', 'PingFang TC', 'Hiragino Sans GB',
             'Source Han Sans SC', 'Microsoft YaHei', sans-serif;
  --body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'PingFang SC',
          'PingFang TC', 'Hiragino Sans', 'Microsoft YaHei', sans-serif;
}

* { -webkit-font-smoothing: antialiased; }

html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 5.5rem; }

body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
}

::selection { background: rgba(106, 80, 206, 0.16); }

.font-display { font-family: var(--display); }

/* ================================================================
   全局光晕背景：暖白底上浮动的紫 / 珊瑚色光团
   ================================================================ */

.aurora {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(58rem 40rem at 82% -8%, rgba(155, 132, 238, 0.30), transparent 62%),
    radial-gradient(46rem 34rem at 8% 2%, rgba(240, 135, 107, 0.16), transparent 60%),
    radial-gradient(50rem 36rem at 50% 42%, rgba(226, 123, 176, 0.10), transparent 62%),
    linear-gradient(180deg, var(--bg-warm) 0%, var(--bg) 38%, var(--bg) 100%);
}
/* 颗粒噪点：消除渐变的塑料感 */
.aurora::after {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
}

/* 星尘粒子（呼应参考站的点缀，但更克制） */
.stardust {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.stardust i {
  position: absolute;
  width: var(--s, 4px); height: var(--s, 4px);
  border-radius: 999px;
  background: var(--c, var(--brand-lt));
  opacity: 0;
  animation: twinkle var(--dur, 5s) ease-in-out infinite var(--dl, 0s);
}
@keyframes twinkle {
  0%, 100% { opacity: 0; transform: translateY(0) scale(0.6); }
  50% { opacity: var(--o, 0.55); transform: translateY(-10px) scale(1); }
}

/* ================================================================
   图标
   ================================================================ */

.ico {
  width: 1.15rem; height: 1.15rem;
  fill: none; stroke: currentColor;
  stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round;
  flex: none;
}
.ico-sm { width: 0.95rem; height: 0.95rem; }

/* ================================================================
   可访问性
   ================================================================ */

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--brand); color: #fff;
  padding: 0.65rem 1.15rem; border-radius: 999px;
  font-size: 0.9rem; font-weight: 600;
  transition: top 0.2s;
}
.skip-link:focus { top: 1rem; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }

/* ================================================================
   Logo
   ================================================================ */

.logo-mark {
  display: inline-block;
  width: 2rem; height: 2rem;
  border-radius: 0.65rem;
  background:
    /* HMind = Human Mind：左竖是人，横梁是把念头抛出的动作，右竖是生长；
       头部琥珀渐变是一闪而过的灵光。
       此处刻意省略背景的「思考的痕迹」—— 本标记只有 2rem，痕迹在 48px 以下本就不可见，
       编码进来只增体积。完整图形见 assets/favicon.svg（几何唯一权威来源）。
       渐变底板由下面的 linear-gradient 承担。 */
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1024 1024'%3E%3Cdefs%3E%3CradialGradient id='s' cx='38%25' cy='34%25' r='72%25'%3E%3Cstop offset='0' stop-color='%23FFE7B0'/%3E%3Cstop offset='1' stop-color='%23F5A44E'/%3E%3C/radialGradient%3E%3C/defs%3E%3Cg stroke='%23fff' stroke-width='74' stroke-linecap='round' fill='none'%3E%3Cpath d='M390 720 C 376 636, 378 486, 392 408'/%3E%3Cpath d='M634 720 C 650 636, 648 480, 636 396 C 630 348, 642 316, 670 298'/%3E%3Cpath d='M392 532 C 478 550, 556 540, 632 500'/%3E%3C/g%3E%3Ccircle cx='398' cy='308' r='56' fill='url(%23s)'/%3E%3C/svg%3E") center / contain no-repeat,
    linear-gradient(135deg, var(--brand-lt), var(--brand));
  box-shadow: 0 6px 16px -6px rgba(106, 80, 206, 0.6);
  transition: transform 0.45s var(--pop);
}
.logo-mark.sm { width: 1.65rem; height: 1.65rem; border-radius: 0.5rem; }
a:hover > .logo-mark { transform: rotate(-8deg) scale(1.08); }

/* ================================================================
   排版元件
   ================================================================ */

/* 胶囊式 eyebrow —— 居中构图下比横线式更稳 */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.82rem; font-weight: 600;
  color: var(--brand);
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--border);
  padding: 0.45rem 1rem 0.45rem 0.75rem;
  border-radius: 999px;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 14px -8px rgba(106, 80, 206, 0.4);
}
.eyebrow .dot {
  width: 0.45rem; height: 0.45rem; border-radius: 999px;
  background: var(--brand);
  box-shadow: 0 0 0 3px rgba(106, 80, 206, 0.15);
}

/* 大标题：中文走粗黑体，字重 700 */
.h-hero {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.14;
  font-size: clamp(2.5rem, 6.4vw, 5rem);
  text-wrap: balance;
}
.section-title {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.018em;
  line-height: 1.2;
  font-size: clamp(1.9rem, 4vw, 3.1rem);
  text-wrap: balance;
}

/* 关键短语：品牌紫渐变 */
.grad {
  background: linear-gradient(100deg, #7B5CF0 0%, var(--brand) 42%, var(--pink) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: 0.04em;
}

.lead {
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  line-height: 1.78;
  color: var(--ink2);
}

.inline-link {
  color: var(--brand); font-weight: 600;
  text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px;
  transition: opacity 0.2s;
}
.inline-link:hover { opacity: 0.7; }

kbd {
  display: inline-block;
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 0.82em; line-height: 1;
  padding: 0.32em 0.55em;
  background: #fff;
  border: 1px solid var(--border);
  border-bottom-width: 2px;
  border-radius: 0.4rem;
  color: var(--ink);
}

/* ================================================================
   按钮：药丸形
   ================================================================ */

.btn-primary, .btn-ghost, .btn-light {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  font-family: var(--body);
  font-weight: 600; font-size: 1rem;
  border-radius: 999px;
  padding: 0.9rem 1.85rem;
  transition: transform 0.28s var(--ease), box-shadow 0.28s, background 0.28s, color 0.28s, border-color 0.28s;
}
.btn-lg { padding: 1.05rem 2.3rem; font-size: 1.06rem; }
.btn-sm { padding: 0.58rem 1.25rem; font-size: 0.9rem; }

.btn-primary {
  color: #fff;
  background: linear-gradient(120deg, #8E72F5 0%, var(--brand) 55%, var(--brand-dk) 100%);
  box-shadow: 0 10px 26px -10px rgba(106, 80, 206, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px -12px rgba(106, 80, 206, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--border);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover {
  border-color: rgba(106, 80, 206, 0.45);
  color: var(--brand);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px -14px rgba(106, 80, 206, 0.5);
}

.btn-light {
  color: var(--night);
  background: #fff;
  box-shadow: 0 14px 34px -14px rgba(0, 0, 0, 0.55);
}
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 20px 44px -16px rgba(0, 0, 0, 0.6); }

.arrow { transition: transform 0.28s var(--ease); }
.btn-ghost:hover .arrow, .txt-link:hover .arrow { transform: translateX(4px); }

.txt-link {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-weight: 600; font-size: 0.96rem; color: var(--brand);
  transition: gap 0.2s;
}
.txt-link:hover { gap: 0.6rem; }

/* ================================================================
   导航
   ================================================================ */

#site-nav { transition: background 0.35s, box-shadow 0.35s, border-color 0.35s; border-bottom: 1px solid transparent; }
#site-nav.scrolled {
  background: rgba(252, 251, 255, 0.8);
  -webkit-backdrop-filter: blur(18px) saturate(1.6);
  backdrop-filter: blur(18px) saturate(1.6);
  border-bottom-color: var(--hairline);
}

.nav-link { position: relative; padding: 0.3rem 0; font-weight: 500; transition: color 0.2s; }
.nav-link::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--brand), var(--pink));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.32s var(--ease);
}
.nav-link:hover { color: var(--ink); }
.nav-link:hover::after { transform: scaleX(1); }

.lang-btn {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.86rem; font-weight: 500; color: var(--ink2);
  padding: 0.5rem 0.85rem; border-radius: 999px;
  border: 1px solid transparent;
  transition: all 0.2s;
}
.lang-btn:hover { color: var(--ink); border-color: var(--border); background: rgba(255, 255, 255, 0.8); }

.lang-menu {
  position: absolute; right: 0; top: calc(100% + 0.55rem);
  min-width: 10.5rem;
  background: rgba(255, 255, 255, 0.96);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 1rem;
  box-shadow: 0 24px 50px -20px rgba(30, 27, 46, 0.28);
  padding: 0.4rem; z-index: 60;
}
.lang-menu li {
  padding: 0.55rem 0.85rem; border-radius: 0.6rem;
  font-size: 0.88rem; color: var(--ink2); cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  transition: background 0.15s, color 0.15s;
}
.lang-menu li:hover { background: var(--brand-tint); color: var(--ink); }
.lang-menu li[aria-selected="true"] { color: var(--brand); font-weight: 600; }
.lang-menu li[aria-selected="true"]::after { content: "✓"; font-size: 0.8rem; }

/* ================================================================
   Hero
   ================================================================ */

.hero { position: relative; padding: 8.5rem 0 4rem; text-align: center; }
@media (min-width: 768px) { .hero { padding: 10.5rem 0 5rem; } }

.hero-inner { position: relative; z-index: 2; }

.hero-actions {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 0.9rem; margin-top: 2.5rem;
}
.hero-micro {
  margin-top: 1.5rem;
  font-size: 0.9rem; color: var(--ink3);
}

/* 数据支柱：呼应参考站的奖项行位置，但用真实产品数字 */
.pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem 0;
  margin-top: 4rem;
  position: relative; z-index: 2;
}
@media (min-width: 768px) { .pillars { grid-template-columns: repeat(4, 1fr); } }

.pillar { position: relative; padding: 0 1rem; }
@media (min-width: 768px) {
  .pillar + .pillar::before {
    content: ""; position: absolute; left: 0; top: 12%; bottom: 12%;
    width: 1px; background: linear-gradient(180deg, transparent, var(--border) 30%, var(--border) 70%, transparent);
  }
}
.pillar-num {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  line-height: 1;
  letter-spacing: -0.02em;
  background: linear-gradient(120deg, #8E72F5, var(--brand) 55%, var(--pink));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.pillar-unit { font-size: 0.5em; }
.pillar-label { margin-top: 0.65rem; font-size: 0.88rem; color: var(--ink3); }

/* ================================================================
   产品窗口预览
   ================================================================ */

.window-wrap { position: relative; margin-top: 4.5rem; }
/* 窗口下方的托举光晕 */
.window-wrap::before {
  content: "";
  position: absolute;
  left: 6%; right: 6%; top: 12%; bottom: -6%;
  background: radial-gradient(closest-side, rgba(106, 80, 206, 0.34), transparent 72%);
  filter: blur(46px);
  z-index: 0;
}

.app-window {
  position: relative; z-index: 1;
  border-radius: 1.4rem;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow:
    0 2px 6px rgba(30, 27, 46, 0.05),
    0 18px 40px -18px rgba(30, 27, 46, 0.22),
    0 50px 90px -40px rgba(83, 63, 168, 0.4);
}

.win-chrome {
  display: flex; align-items: center; gap: 1rem;
  height: 2.9rem; padding: 0 1.05rem;
  background: linear-gradient(180deg, #FBFAFD, #F5F3FA);
  border-bottom: 1px solid var(--hairline);
}
.dots { display: inline-flex; gap: 0.45rem; flex: none; }
.dots i { width: 0.72rem; height: 0.72rem; border-radius: 999px; background: #E3E0EE; }
.dots i:nth-child(1) { background: #F0685C; }
.dots i:nth-child(2) { background: #F5BE4F; }
.dots i:nth-child(3) { background: #5FC756; }
.dots.sm i { width: 0.55rem; height: 0.55rem; }

.win-title {
  flex: 1; text-align: center;
  font-size: 0.84rem; font-weight: 600; color: var(--ink2);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.win-sync {
  display: inline-flex; align-items: center; gap: 0.35rem;
  font-size: 0.77rem; font-weight: 600; color: var(--green); flex: none;
}
@media (max-width: 640px) { .win-sync span { display: none; } }

.win-body { position: relative; background: #FAFAFB; }
.win-canvas { display: block; width: 100%; height: auto; }

.leaf { fill: #FFFFFF; stroke-width: 1.7; }
.lbl {
  font-family: var(--body);
  font-size: 17px; font-weight: 600; fill: var(--ink);
  text-anchor: middle;
}
.lbl-root {
  font-family: var(--display);
  font-size: 22px; font-weight: 700; fill: #fff;
  text-anchor: middle;
}

.br {
  fill: none; stroke-width: 2.4; stroke-linecap: round;
  stroke-dasharray: 430; stroke-dashoffset: 430;
  animation: draw 1.15s cubic-bezier(0.5, 0, 0.2, 1) forwards var(--d, 0s);
  opacity: 0.92;
}
@keyframes draw { to { stroke-dashoffset: 0; } }

.rel {
  fill: none; stroke: var(--brand-lt); stroke-width: 1.7;
  stroke-dasharray: 5 5; opacity: 0;
  animation: fade-in 0.8s ease forwards var(--d, 0s);
}
@keyframes fade-in { to { opacity: 0.6; } }

.nd {
  opacity: 0; transform-origin: center; transform-box: fill-box;
  animation: pop 0.62s var(--pop) forwards var(--d, 0s);
}
@keyframes pop {
  from { opacity: 0; transform: scale(0.64); }
  to { opacity: 1; transform: scale(1); }
}

/* 浮动样式面板 */
.inspector {
  position: absolute; top: 1.1rem; right: 1.1rem;
  width: 10.5rem;
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 0.9rem;
  box-shadow: 0 16px 34px -16px rgba(30, 27, 46, 0.32);
  opacity: 0;
  animation: slide-in 0.75s var(--ease) 1.5s forwards;
  text-align: left;
}
@keyframes slide-in {
  from { opacity: 0; transform: translateX(16px); }
  to { opacity: 1; transform: translateX(0); }
}
.ins-title { font-size: 0.8rem; font-weight: 700; color: var(--ink); margin-bottom: 0.75rem; }
.ins-label {
  font-size: 0.66rem; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--ink3); margin-bottom: 0.45rem;
}
.ins-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.32rem; }
.ins-cell {
  display: flex; align-items: center; justify-content: center;
  aspect-ratio: 4 / 3; border-radius: 0.45rem;
  border: 1px solid var(--border); background: #fff; color: var(--ink3);
  transition: all 0.2s;
}
.ins-cell svg { width: 70%; fill: none; stroke: currentColor; stroke-width: 1.3; }
.ins-cell.is-on { border-color: var(--brand); background: var(--brand-tint); color: var(--brand); }

.ins-swatches { display: flex; gap: 0.35rem; }
.sw {
  width: 1.15rem; height: 1.15rem; border-radius: 999px;
  background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.07);
}
.sw.is-on { box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px var(--c); }

.canvas-hud {
  position: absolute; left: 1.1rem; bottom: 1.1rem;
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.45rem 0.95rem;
  font-size: 0.77rem; font-weight: 600; color: var(--ink2);
  box-shadow: 0 10px 24px -14px rgba(30, 27, 46, 0.34);
  opacity: 0;
  animation: slide-up 0.7s var(--ease) 1.65s forwards;
}
@keyframes slide-up {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.hud-sep { width: 1px; height: 0.85rem; background: var(--border); }
.hud-zoom { color: var(--ink3); font-variant-numeric: tabular-nums; }

@media (max-width: 900px) {
  .inspector { display: none; }
  .canvas-hud { left: 0.7rem; bottom: 0.7rem; padding: 0.38rem 0.75rem; font-size: 0.7rem; }
}

/* ================================================================
   通用段落
   ================================================================ */

.section { padding: 5.5rem 0; }
@media (min-width: 768px) { .section { padding: 7.5rem 0; } }

.section-head { text-align: center; max-width: 42rem; margin: 0 auto 3.5rem; }
.section-head .lead { margin-top: 1.15rem; }
.section-head .eyebrow { margin-bottom: 1.35rem; }

/* ================================================================
   问题 / 方案
   ================================================================ */

.ps-grid { display: grid; gap: 1rem; }
@media (min-width: 900px) { .ps-grid { grid-template-columns: repeat(3, 1fr); } }

.ps-card {
  background: rgba(255, 255, 255, 0.75);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 1.35rem;
  padding: 1.9rem 1.7rem;
  transition: transform 0.35s var(--ease), box-shadow 0.35s, border-color 0.35s;
}
.ps-card:hover {
  transform: translateY(-4px);
  border-color: rgba(106, 80, 206, 0.3);
  box-shadow: 0 26px 50px -26px rgba(106, 80, 206, 0.4);
}
.ps-pain {
  display: flex; align-items: flex-start; gap: 0.6rem;
  font-size: 0.92rem; color: var(--ink3);
}
.ps-pain .x {
  flex: none; width: 1.25rem; height: 1.25rem; border-radius: 999px;
  background: #F3F1F8 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237C7A93' stroke-width='2.8' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E") center / 0.7rem no-repeat;
  margin-top: 0.1rem;
}
.ps-divider { height: 1px; background: var(--hairline); margin: 1.15rem 0; }
.ps-gain { font-size: 1.02rem; font-weight: 500; line-height: 1.72; color: var(--ink); }
.ps-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.5rem; height: 2.5rem; border-radius: 0.85rem;
  background: linear-gradient(135deg, var(--brand-lt), var(--brand));
  color: #fff;
  margin-bottom: 1.15rem;
  box-shadow: 0 10px 22px -10px rgba(106, 80, 206, 0.7);
}

/* ================================================================
   交替式利益行
   ================================================================ */

.ben-row {
  display: grid; grid-template-columns: 1fr; gap: 2.5rem;
  align-items: center; padding: 3rem 0;
}
@media (min-width: 900px) {
  .ben-row { grid-template-columns: 1fr 1.08fr; gap: 4.5rem; padding: 4rem 0; }
  .ben-row.is-reverse .ben-copy { order: 2; }
  .ben-row.is-reverse .ben-visual { order: 1; }
}

.ben-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.4rem; height: 2.4rem; border-radius: 0.8rem;
  font-family: var(--display); font-weight: 700; font-size: 0.95rem;
  color: var(--brand);
  background: var(--brand-tint);
  margin-bottom: 1.15rem;
}
.ben-title {
  font-family: var(--display);
  font-size: clamp(1.5rem, 2.7vw, 2.05rem);
  font-weight: 700; line-height: 1.28; letter-spacing: -0.015em;
}
.ben-desc { margin-top: 1rem; color: var(--ink2); font-size: 1.02rem; line-height: 1.78; }

.ben-points { margin-top: 1.4rem; display: grid; gap: 0.7rem; }
.ben-points li {
  position: relative; padding-left: 1.75rem;
  font-size: 0.95rem; color: var(--ink2);
}
.ben-points li::before {
  content: ""; position: absolute; left: 0; top: 0.15em;
  width: 1.15rem; height: 1.15rem; border-radius: 999px;
  background: var(--brand-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236A50CE' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5l5.5 5.5L20 7'/%3E%3C/svg%3E") center / 0.68rem no-repeat;
}
.ben-copy .txt-link { margin-top: 1.7rem; }

/* 视觉卡外壳 */
.vcard {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 1.35rem;
  box-shadow: 0 2px 5px rgba(30, 27, 46, 0.04), 0 24px 50px -28px rgba(83, 63, 168, 0.35);
  overflow: hidden;
}

/* 结构切换网格 */
.mini-card { padding: 1.45rem; }
.mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.7rem; }
.mini-cell {
  display: flex; flex-direction: column; align-items: center; gap: 0.6rem;
  padding: 1.05rem 0.5rem;
  border-radius: 0.85rem;
  border: 1px solid var(--border); background: #fff; color: var(--ink3);
  transition: all 0.3s var(--ease);
}
.mini-cell svg { width: 2rem; fill: none; stroke: currentColor; stroke-width: 1.4; }
.mini-cell em { font-style: normal; font-size: 0.72rem; font-weight: 600; text-align: center; line-height: 1.3; }
.mini-cell:hover { transform: translateY(-3px); border-color: rgba(106, 80, 206, 0.42); color: var(--brand); }
.mini-cell.is-on {
  border-color: transparent; color: #fff;
  background: linear-gradient(135deg, var(--brand-lt), var(--brand));
  box-shadow: 0 12px 26px -12px rgba(106, 80, 206, 0.7);
}

/* 访达式文件列表 */
.fd-bar {
  display: flex; align-items: center; gap: 0.8rem;
  padding: 0.75rem 1rem;
  background: linear-gradient(180deg, #FBFAFD, #F5F3FA);
  border-bottom: 1px solid var(--hairline);
}
.fd-path { font-size: 0.79rem; font-weight: 600; color: var(--ink2); }
.fd-list { padding: 0.45rem; }
.fd-list li {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.72rem 0.8rem; border-radius: 0.65rem;
  transition: background 0.2s;
}
.fd-list li:hover { background: var(--subtle); }
.fd-ico {
  flex: none; width: 1.35rem; height: 1.7rem;
  border-radius: 0.2rem 0.35rem 0.2rem 0.2rem;
  background: color-mix(in srgb, var(--c) 15%, white);
  border: 1px solid color-mix(in srgb, var(--c) 40%, white);
  position: relative;
}
.fd-ico::after {
  content: ""; position: absolute; inset: 0.42rem 0.28rem auto; height: 2px;
  border-radius: 2px; background: var(--c); opacity: 0.5;
  box-shadow: 0 5px 0 var(--c);
}
.fd-name {
  flex: 1; font-size: 0.88rem; font-weight: 500; color: var(--ink);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.fd-meta { font-size: 0.76rem; color: var(--ink3); font-variant-numeric: tabular-nums; flex: none; }

/* 同步卡 */
.sync-card { padding: 1.6rem; }
.sync-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.sync-dev { display: inline-flex; align-items: center; gap: 0.6rem; font-size: 0.93rem; font-weight: 600; color: var(--ink); }
.sync-dev .ico { color: var(--ink3); }
.sync-state {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.77rem; font-weight: 600; color: var(--green);
  background: rgba(34, 160, 107, 0.1);
  padding: 0.3rem 0.7rem; border-radius: 999px;
}
.sync-state::before { content: ""; width: 0.4rem; height: 0.4rem; border-radius: 999px; background: currentColor; }
.sync-line {
  position: relative; height: 2.7rem;
  margin: 0.55rem 0 0.55rem 0.6rem;
  border-left: 2px dashed var(--border);
}
.sync-pulse {
  position: absolute; left: -0.3rem;
  width: 0.55rem; height: 0.55rem; border-radius: 999px;
  background: var(--brand);
  box-shadow: 0 0 0 4px rgba(106, 80, 206, 0.15);
  animation: travel 2.6s ease-in-out infinite;
}
@keyframes travel {
  0%, 100% { top: 0; opacity: 0; }
  15%, 85% { opacity: 1; }
  100% { top: 100%; }
}
.sync-note {
  margin-top: 1.15rem; padding-top: 1.15rem;
  border-top: 1px solid var(--hairline);
  font-size: 0.84rem; color: var(--ink3); text-align: center;
}

/* ================================================================
   Bento 网格
   ================================================================ */

.bento { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) {
  .bento { grid-template-columns: repeat(3, 1fr); }
  .bcard-wide { grid-column: span 2; }
}

.bcard {
  position: relative;
  background: rgba(255, 255, 255, 0.78);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 1.35rem;
  padding: 1.85rem 1.7rem;
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s, border-color 0.35s;
}
/* hover 时从卡片左上角泛起的品牌光 */
.bcard::after {
  content: "";
  position: absolute; left: -30%; top: -60%;
  width: 80%; height: 160%;
  background: radial-gradient(closest-side, rgba(155, 132, 238, 0.28), transparent 70%);
  opacity: 0; transition: opacity 0.45s;
  pointer-events: none;
}
.bcard:hover {
  transform: translateY(-5px);
  border-color: rgba(106, 80, 206, 0.32);
  box-shadow: 0 28px 54px -26px rgba(106, 80, 206, 0.4);
}
.bcard:hover::after { opacity: 1; }

.bico {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.75rem; height: 2.75rem; border-radius: 0.9rem;
  background: var(--brand-tint); color: var(--brand);
  transition: all 0.38s var(--pop);
}
.bico .ico { width: 1.32rem; height: 1.32rem; }
.bcard:hover .bico {
  background: linear-gradient(135deg, var(--brand-lt), var(--brand));
  color: #fff;
  transform: scale(1.08) rotate(-5deg);
  box-shadow: 0 12px 24px -10px rgba(106, 80, 206, 0.7);
}
.bt { position: relative; z-index: 1; margin-top: 1.2rem; font-family: var(--display); font-size: 1.1rem; font-weight: 700; letter-spacing: -0.01em; }
.bd { position: relative; z-index: 1; margin-top: 0.6rem; font-size: 0.93rem; line-height: 1.72; color: var(--ink2); }

/* ================================================================
   三步上手
   ================================================================ */

.steps-panel {
  background: rgba(255, 255, 255, 0.7);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  border-radius: 1.75rem;
  padding: clamp(2rem, 5vw, 3.75rem);
  box-shadow: 0 2px 6px rgba(30, 27, 46, 0.04), 0 30px 60px -34px rgba(83, 63, 168, 0.32);
}
.steps { display: grid; grid-template-columns: 1fr; gap: 2.5rem; margin-top: 3rem; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; } }

.step { position: relative; text-align: center; }
.step-n {
  display: inline-flex; align-items: center; justify-content: center;
  width: 3rem; height: 3rem; border-radius: 999px;
  font-family: var(--display); font-weight: 700; font-size: 1.2rem;
  color: #fff;
  background: linear-gradient(135deg, var(--brand-lt), var(--brand));
  box-shadow: 0 12px 26px -12px rgba(106, 80, 206, 0.75);
  margin-bottom: 1.25rem;
}
.step-t { font-family: var(--display); font-size: 1.1rem; font-weight: 700; }
.step-d { margin-top: 0.7rem; font-size: 0.95rem; line-height: 1.75; color: var(--ink2); }

/* ================================================================
   证言
   ================================================================ */

.quotes { display: grid; gap: 1rem; }
@media (min-width: 900px) { .quotes { grid-template-columns: repeat(3, 1fr); } }

.quote-card {
  position: relative;
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 1.35rem;
  padding: 2rem 1.75rem 1.7rem;
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}
.quote-card::before {
  content: "\201C";
  position: absolute; top: 0.7rem; left: 1.3rem;
  font-family: var(--display); font-size: 3.4rem; font-weight: 700; line-height: 1;
  background: linear-gradient(135deg, var(--brand-lt), var(--pink));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  opacity: 0.35; pointer-events: none;
}
.quote-card:hover { transform: translateY(-4px); box-shadow: 0 26px 52px -28px rgba(83, 63, 168, 0.38); }

.quote-text { position: relative; font-size: 0.98rem; line-height: 1.82; color: var(--ink); }
.quote-author {
  display: flex; align-items: center; gap: 0.8rem;
  margin-top: 1.6rem; padding-top: 1.3rem;
  border-top: 1px solid var(--hairline);
}
.quote-author strong { display: block; font-size: 0.92rem; font-weight: 600; }
.quote-author em { display: block; font-style: normal; font-size: 0.8rem; color: var(--ink3); margin-top: 0.1rem; }

.avatar {
  flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.5rem; height: 2.5rem; border-radius: 999px;
  font-weight: 700; font-size: 0.95rem; color: #fff;
  background: linear-gradient(135deg, hsl(var(--hue, 258), 62%, 66%), hsl(var(--hue, 258), 58%, 48%));
  box-shadow: 0 8px 18px -8px hsla(var(--hue, 258), 58%, 48%, 0.7);
}

/* ================================================================
   FAQ
   ================================================================ */

.faq-list {
  max-width: 48rem; margin: 0 auto;
  background: rgba(255, 255, 255, 0.7);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 1.35rem;
  padding: 0.5rem 1.6rem;
  box-shadow: 0 2px 6px rgba(30, 27, 46, 0.04), 0 24px 50px -32px rgba(83, 63, 168, 0.3);
}
.faq-item + .faq-item { border-top: 1px solid var(--hairline); }
.faq-item summary {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1.35rem 0; cursor: pointer;
  font-weight: 600; font-size: 1.01rem; line-height: 1.55; color: var(--ink);
  list-style: none; transition: color 0.2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; flex: none; margin-left: auto; margin-top: 0.15rem;
  width: 1.45rem; height: 1.45rem; border-radius: 999px;
  background: var(--brand-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236A50CE' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 0.8rem no-repeat;
  transition: transform 0.35s var(--ease), background-color 0.3s;
}
.faq-item[open] summary::after { transform: rotate(135deg); }
.faq-item summary:hover { color: var(--brand); }

.faq-a {
  padding: 0 2.5rem 1.5rem 0;
  color: var(--ink2); font-size: 0.96rem; line-height: 1.82;
  animation: faq-open 0.4s var(--ease);
}
@keyframes faq-open {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ================================================================
   终章 CTA
   ================================================================ */

.cta-panel {
  position: relative;
  text-align: center;
  background: linear-gradient(150deg, #2A2140 0%, var(--night) 55%, #241C38 100%);
  border-radius: 2rem;
  padding: clamp(3.5rem, 8vw, 6rem) 1.5rem;
  overflow: hidden;
  box-shadow: 0 44px 90px -38px rgba(22, 19, 31, 0.7);
}
.cta-panel::after {
  content: ""; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.055'/%3E%3C/svg%3E");
  pointer-events: none;
}
.cta-glow {
  position: absolute; inset: -50% -20%;
  background:
    radial-gradient(closest-side at 26% 16%, rgba(155, 132, 238, 0.5), transparent 60%),
    radial-gradient(closest-side at 78% 86%, rgba(226, 123, 176, 0.32), transparent 58%),
    radial-gradient(closest-side at 62% 40%, rgba(240, 135, 107, 0.16), transparent 62%);
  pointer-events: none;
}
.cta-title {
  position: relative; z-index: 1;
  font-family: var(--display);
  font-weight: 700; color: #fff;
  letter-spacing: -0.02em; line-height: 1.16;
  font-size: clamp(2rem, 4.6vw, 3.3rem);
  max-width: 46rem; margin: 0 auto;
}

/* ================================================================
   页脚
   ================================================================ */

.site-footer { border-top: 1px solid var(--hairline); background: rgba(255, 255, 255, 0.55); }
.foot-h {
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--ink3); margin-bottom: 0.95rem;
}
.foot-list { display: grid; gap: 0.65rem; }
.foot-list a { font-size: 0.91rem; color: var(--ink2); transition: color 0.2s; }
.foot-list a:hover { color: var(--brand); }
.foot-bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 0.75rem; margin-top: 3rem; padding-top: 1.85rem;
  border-top: 1px solid var(--hairline);
}

/* ================================================================
   移动端常驻 CTA
   ================================================================ */

.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
  padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom));
  background: rgba(252, 251, 255, 0.94);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border-top: 1px solid var(--hairline);
  transform: translateY(115%);
  transition: transform 0.42s var(--ease);
}
.mobile-cta.is-visible { transform: translateY(0); }
@media (min-width: 768px) { .mobile-cta { display: none; } }

/* ================================================================
   动画
   ================================================================ */

.enter {
  opacity: 0; transform: translateY(22px);
  animation: enter-up 0.9s var(--ease) forwards var(--d, 0ms);
}
@keyframes enter-up { to { opacity: 1; transform: translateY(0); } }

.reveal {
  opacity: 0; transform: translateY(26px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--d, 0ms);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .enter, .reveal { opacity: 1; transform: none; animation: none; transition: none; }
  .br { stroke-dashoffset: 0; animation: none; }
  .nd, .rel, .inspector, .canvas-hud { opacity: 1; animation: none; }
  .sync-pulse, .stardust i { animation: none; }
  .sync-pulse { opacity: 0; }
  .faq-a { animation: none; }
  * { transition-duration: 0.01ms !important; }
}

/* ================================================================
   文档页（服务条款 / 隐私政策 / 帮助中心）
   ================================================================ */

.doc-hero { padding: 8.5rem 0 3rem; border-bottom: 1px solid var(--hairline); }
.doc-title {
  font-family: var(--display);
  font-weight: 700; letter-spacing: -0.02em; line-height: 1.14;
  font-size: clamp(2rem, 4.6vw, 3.1rem);
}
.doc-lead { margin-top: 1.15rem; font-size: 1.08rem; line-height: 1.75; color: var(--ink2); max-width: 44rem; }
.doc-updated {
  display: inline-flex; align-items: center; gap: 0.5rem;
  margin-top: 1.5rem; font-size: 0.83rem; color: var(--ink3);
  background: var(--subtle); padding: 0.42rem 0.9rem; border-radius: 999px;
}
.doc-back {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.89rem; font-weight: 600; color: var(--ink3);
  margin-bottom: 1.75rem; transition: color 0.2s, gap 0.2s;
}
.doc-back:hover { color: var(--brand); gap: 0.6rem; }
.doc-back svg { transform: rotate(180deg); }

.doc-layout { display: grid; grid-template-columns: 1fr; gap: 3rem; padding: 3.5rem 0 6rem; }
@media (min-width: 1000px) { .doc-layout { grid-template-columns: 15rem 1fr; gap: 4.5rem; } }

.doc-toc { display: none; }
@media (min-width: 1000px) { .doc-toc { display: block; position: sticky; top: 6.5rem; align-self: start; } }
.doc-toc-h {
  font-size: 0.73rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--ink3); margin-bottom: 1rem;
}
.doc-toc ol { display: grid; gap: 0.15rem; }
.doc-toc a {
  display: block; padding: 0.48rem 0.75rem; border-radius: 0.6rem;
  font-size: 0.88rem; line-height: 1.45; color: var(--ink2);
  border-left: 2px solid transparent; transition: all 0.2s;
}
.doc-toc a:hover { background: var(--subtle); color: var(--ink); }
.doc-toc a.is-active { color: var(--brand); border-left-color: var(--brand); background: var(--brand-tint); font-weight: 600; }

.doc-body { max-width: 46rem; }
.doc-section + .doc-section { margin-top: 3rem; }
.doc-section h2 {
  font-family: var(--display);
  font-size: 1.42rem; font-weight: 700; letter-spacing: -0.015em; line-height: 1.3;
  padding-bottom: 0.85rem; border-bottom: 1px solid var(--hairline);
}
.doc-section h3 { font-size: 1.03rem; font-weight: 600; margin-top: 1.75rem; }
.doc-section p { margin-top: 1rem; font-size: 0.98rem; line-height: 1.85; color: var(--ink2); }
.doc-section p strong { color: var(--ink); font-weight: 600; }
.doc-section a { color: var(--brand); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }

.doc-section ul { margin-top: 1rem; display: grid; gap: 0.65rem; }
.doc-section ul li { position: relative; padding-left: 1.5rem; font-size: 0.98rem; line-height: 1.78; color: var(--ink2); }
.doc-section ul li::before {
  content: ""; position: absolute; left: 0.2rem; top: 0.7em;
  width: 0.4rem; height: 0.4rem; border-radius: 999px; background: var(--brand); opacity: 0.6;
}

.doc-note {
  margin-top: 1.5rem; padding: 1.25rem 1.45rem;
  background: linear-gradient(120deg, var(--brand-tint), rgba(226, 123, 176, 0.09));
  border-radius: 1.1rem;
  border-left: 3px solid var(--brand);
}
.doc-note p { margin-top: 0; color: var(--ink); font-size: 0.95rem; }
.doc-note p + p { margin-top: 0.65rem; }

.kbd-table {
  margin-top: 1.25rem; width: 100%;
  border: 1px solid var(--border); border-radius: 1rem;
  overflow: hidden; background: var(--panel);
}
.kbd-table tr + tr { border-top: 1px solid var(--hairline); }
.kbd-table td { padding: 0.82rem 1.15rem; font-size: 0.94rem; vertical-align: middle; }
.kbd-table td:first-child { width: 10rem; white-space: nowrap; }
.kbd-table td:last-child { color: var(--ink2); }

/* ================================================================
   节奏与氛围修正（v3.1）
   ================================================================ */

/* 收紧纵向节奏：原先「利益行尾 → 下一段标题」有 240px 空洞 */
@media (min-width: 768px) { .section { padding: 6rem 0; } }
.ben-row:last-child { padding-bottom: 0; }
#benefits { padding-bottom: 3rem; }
.section-head { margin-bottom: 3rem; }

/* 段落级氛围光：随内容滚动，避免中下部一片死白 */
.section { position: relative; }
.section > * { position: relative; z-index: 1; }
.section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.tint-purple::before {
  background:
    radial-gradient(38rem 26rem at 88% 12%, rgba(155, 132, 238, 0.20), transparent 66%),
    radial-gradient(32rem 24rem at 4% 78%, rgba(106, 80, 206, 0.11), transparent 64%);
}
.tint-warm::before {
  background:
    radial-gradient(36rem 26rem at 6% 10%, rgba(240, 135, 107, 0.13), transparent 64%),
    radial-gradient(34rem 26rem at 92% 74%, rgba(226, 123, 176, 0.15), transparent 64%);
}
.tint-mixed::before {
  background:
    radial-gradient(40rem 28rem at 50% 0%, rgba(155, 132, 238, 0.18), transparent 62%),
    radial-gradient(30rem 22rem at 12% 88%, rgba(240, 135, 107, 0.10), transparent 62%);
}

/* Hero 光晕在窗口区域收束，避免与下方段落叠加过亮 */
.aurora {
  background:
    radial-gradient(58rem 40rem at 82% -6%, rgba(155, 132, 238, 0.32), transparent 60%),
    radial-gradient(46rem 32rem at 6% 0%, rgba(240, 135, 107, 0.18), transparent 58%),
    linear-gradient(180deg, var(--bg-warm) 0%, var(--bg) 44%, var(--bg) 100%);
}

/* 中文 Hero 标题只在标点后断行（keep-all 禁止词中断开；短句无溢出风险） */
html[lang^="zh"] .h-hero { word-break: keep-all; }
