:root {
  --bg: #f6f5f8;
  --surface: #ffffff;
  --surface-2: #faf9fc;
  --ink: #1c1a22;
  --muted: #6b6876;
  --dim: #a8a5b2;
  --line: rgba(28, 22, 48, 0.08);
  --accent: #8c52ff;
  --accent-ink: #ffffff;
  --coral: #fc7b5c;
  --pink: #ed4794;
  --violet: #8c54f5;
  --glow-a: rgba(255, 150, 160, 0.34);
  --glow-b: rgba(140, 130, 255, 0.32);
  --shadow: 0 1px 2px rgba(20, 16, 40, 0.04), 0 12px 36px rgba(40, 28, 90, 0.08);
  --shot-shadow: 0 30px 80px rgba(48, 32, 110, 0.18), 0 6px 18px rgba(20, 16, 40, 0.08);
  --radius: 28px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141317;
    --surface: #1d1c21;
    --surface-2: #19181d;
    --ink: #f2f0f6;
    --muted: #a19dab;
    --dim: #6c6975;
    --line: rgba(255, 255, 255, 0.08);
    --glow-a: rgba(255, 120, 140, 0.16);
    --glow-b: rgba(130, 110, 255, 0.2);
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 12px 36px rgba(0, 0, 0, 0.35);
    --shot-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), 0 6px 18px rgba(0, 0, 0, 0.3);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
/* 中文标题优先在标点处换行，放不下时才在字间断开。 */
h1, h2, h3, h4 { margin: 0; letter-spacing: -0.02em; line-height: 1.2; text-wrap: balance; word-break: keep-all; overflow-wrap: anywhere; }
p { margin: 0; text-wrap: pretty; }
.dim { color: var(--dim); }

/* 与应用一致：左上暖粉、右下紫蓝两团柔光缓慢漂移。 */
.glow { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.glow span { position: absolute; width: 56vmax; height: 56vmax; border-radius: 50%; filter: blur(90px); }
.glow-a { background: var(--glow-a); left: -18vmax; top: -22vmax; animation: drift-a 26s ease-in-out infinite alternate; }
.glow-b { background: var(--glow-b); right: -20vmax; bottom: -26vmax; animation: drift-b 32s ease-in-out infinite alternate; }
@keyframes drift-a { to { transform: translate(14vmax, 10vmax) scale(1.08); } }
@keyframes drift-b { to { transform: translate(-12vmax, -12vmax) scale(1.1); } }

/* 导航 */
.nav-wrap { position: sticky; top: 14px; z-index: 10; padding: 0 16px; }
.nav {
  max-width: 1120px; margin: 14px auto 0; height: 60px; padding: 0 10px 0 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: color-mix(in srgb, var(--surface) 78%, transparent);
  backdrop-filter: saturate(1.6) blur(18px); -webkit-backdrop-filter: saturate(1.6) blur(18px);
  border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow);
}
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: 17px; }
.nav-links { display: flex; gap: 28px; font-size: 14px; color: var(--muted); }
.nav-links a:hover { color: var(--ink); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 24px; border-radius: 999px; font-weight: 600; font-size: 15px;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn-primary {
  color: var(--accent-ink);
  background: linear-gradient(135deg, #9b63ff, var(--accent) 55%, #7a3cf0);
  box-shadow: 0 8px 22px rgba(140, 82, 255, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 12px 28px rgba(140, 82, 255, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.25); }
.btn-ghost { background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.btn-ghost:hover { transform: translateY(-1px); }
.btn-sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn-lg { height: 52px; padding: 0 34px; font-size: 16px; }
.btn.is-disabled { cursor: default; opacity: 0.85; transform: none; }
a:focus-visible, summary:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 55%, transparent); outline-offset: 3px; border-radius: 12px; }

/* 首屏 */
.hero { max-width: 1180px; margin: 0 auto; padding: 72px 24px 40px; text-align: center; }
.hero-icon { width: 148px; margin: 0 auto 22px; filter: drop-shadow(0 18px 30px rgba(90, 60, 200, 0.22)); animation: float 7s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-8px); } }
.chip {
  display: inline-block; padding: 6px 14px; margin-bottom: 22px; border-radius: 999px; font-size: 13px; font-weight: 600;
  color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent);
}
.hero h1 { font-size: clamp(28px, 6.4vw, 76px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.12; }
.mark {
  position: relative; white-space: nowrap;
  background: linear-gradient(100deg, var(--coral), var(--pink) 45%, var(--violet));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.mark::after {
  content: ""; position: absolute; left: 2%; right: 2%; bottom: -0.08em; height: 0.16em; border-radius: 1em;
  background: linear-gradient(100deg, var(--coral), var(--pink) 45%, var(--violet)); opacity: 0.35;
}
.lead { max-width: 640px; margin: 26px auto 0; font-size: clamp(16px, 1.6vw, 19px); color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 34px; }
.meta { margin-top: 18px; font-size: 13px; color: var(--dim); }
.meta span { white-space: nowrap; }

.hero-shot { position: relative; margin: 64px auto 0; max-width: 1060px; padding-bottom: 40px; }
.shot-main { width: 100%; filter: drop-shadow(0 30px 50px rgba(48, 32, 110, 0.2)); }
.hero-shot picture:nth-child(2) { position: absolute; left: -4%; bottom: 0; width: 27%; }
.shot-mini { width: 100%; filter: drop-shadow(0 24px 40px rgba(48, 32, 110, 0.26)); }

/* 段落 */
section { padding: 0 24px; }
.intro { max-width: 1120px; margin: 120px auto 40px; display: flex; justify-content: space-between; align-items: end; gap: 32px; }
.intro h2, .section-head h2, .formats-head h2 { font-size: clamp(30px, 4.2vw, 50px); font-weight: 800; letter-spacing: -0.03em; }
.intro p { color: var(--muted); max-width: 360px; font-size: 15px; }

.feature {
  max-width: 1120px; margin: 0 auto; padding-block: 64px;
  display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 64px; align-items: center;
}
.feature-flip .feature-text { order: 2; }
.eyebrow { font-size: 13px; font-weight: 700; color: var(--accent); margin-bottom: 10px; }
.feature h3 { font-size: clamp(26px, 3vw, 36px); font-weight: 800; margin-bottom: 16px; }
.feature-text > p { color: var(--muted); }
.feature strong { color: var(--ink); }
.ticks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; font-size: 14px; }
.ticks li { position: relative; padding-left: 26px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 5px; width: 16px; height: 16px; border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 14%, transparent);
}
.ticks li::after {
  content: ""; position: absolute; left: 5px; top: 8px; width: 6px; height: 4px;
  border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg);
}

.stage {
  position: relative; border-radius: var(--radius); padding: 36px; min-height: 380px;
  display: grid; place-items: center; overflow: hidden;
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(252, 123, 92, 0.22), transparent 55%),
    radial-gradient(120% 90% at 100% 100%, rgba(140, 84, 245, 0.28), transparent 55%),
    var(--surface-2);
  border: 1px solid var(--line);
}
.stage > picture img { filter: drop-shadow(0 22px 40px rgba(48, 32, 110, 0.2)); }
.stage-tall { min-height: 460px; }
.shot-narrow { max-height: 420px; width: auto; }

/* 示意图：悬浮预览 */
.mock-hover { position: relative; width: 100%; max-width: 460px; padding-bottom: 150px; }
.mock-files { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 22px 16px; box-shadow: var(--shadow); }
.mock-file { display: grid; justify-items: center; gap: 8px; font-size: 11px; color: var(--muted); padding: 8px 2px; border-radius: 12px; }
.mock-file:first-child { background: color-mix(in srgb, var(--accent) 10%, transparent); }
.mock-file i { width: 40px; height: 50px; border-radius: 6px 14px 6px 6px; background: var(--bg); border: 1px solid var(--line); position: relative; }
.mock-file i::after { content: ""; position: absolute; left: 7px; right: 7px; bottom: 9px; height: 8px; border-radius: 3px; }
.f-img::after { background: linear-gradient(90deg, var(--coral), var(--violet)); }
.f-pdf::after { background: #e5484d; }
.f-vid::after { background: #3e8ef7; }
.f-doc::after { background: #2b6be6; }
.mock-preview {
  position: absolute; left: 20%; top: 96px; width: 54%; padding: 10px; border-radius: 18px;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shot-shadow);
}
.mock-cover { aspect-ratio: 3 / 2; border-radius: 10px; background:
  radial-gradient(circle at 28% 62%, rgba(255,255,255,.28) 0 14%, transparent 15%),
  radial-gradient(circle at 62% 40%, rgba(255,255,255,.22) 0 18%, transparent 19%),
  radial-gradient(circle at 84% 70%, rgba(255,255,255,.18) 0 12%, transparent 13%),
  linear-gradient(125deg, #fd9e85, #ed6aa8 50%, #846bfa); }
.mock-preview p { font-size: 12px; color: var(--muted); padding: 8px 4px 2px; }
.mock-cursor { position: absolute; left: 17%; top: 62px; fill: var(--ink); stroke: var(--surface); stroke-width: 1.5; }

/* 示意图：访达菜单 */
.mock-menu { position: relative; width: 100%; max-width: 440px; height: 260px; }
.menu {
  position: absolute; width: 220px; padding: 6px; border-radius: 12px; font-size: 13px;
  background: color-mix(in srgb, var(--surface) 92%, transparent); border: 1px solid var(--line); box-shadow: var(--shot-shadow);
}
.menu p { padding: 5px 12px; border-radius: 6px; }
.menu hr { border: 0; border-top: 1px solid var(--line); margin: 5px 8px; }
.menu .on { background: var(--accent); color: #fff; }
.menu .has-sub::after { content: "›"; float: right; }
.menu:first-child { left: 0; top: 10px; }
.menu.sub { left: 210px; top: 118px; width: 200px; }

/* 示意图：安装提示框 */
.mock-alert {
  width: 280px; padding: 22px 18px 18px; border-radius: 22px; text-align: center;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shot-shadow);
}
.mock-alert img { margin: 0 auto 12px; }
.mock-alert .t { font-weight: 700; font-size: 15px; line-height: 1.4; }
.mock-alert .s { font-size: 13px; color: var(--muted); margin-top: 6px; }
.mock-alert .row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 18px; }
.mock-alert .row span { padding: 7px 0; border-radius: 10px; font-size: 13px; background: var(--bg); border: 1px solid var(--line); }
.mock-alert .row .primary { background: #2f7cf6; color: #fff; border-color: transparent; }

/* 细节卡片 */
.details, .formats, .security, .faq { max-width: 1120px; margin: 110px auto 0; }
.section-head { margin-bottom: 36px; }
.section-head.center { text-align: center; }
.section-head p { color: var(--muted); margin-top: 12px; }
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 28px;
  box-shadow: var(--shadow);
}
.card h4 { font-size: 19px; font-weight: 750; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 14.5px; }
.pw { margin-top: 22px; display: inline-flex; align-items: center; gap: 4px; padding: 9px 18px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); letter-spacing: 0.2em; color: var(--muted); }
.pw i { width: 2px; height: 16px; background: var(--accent); animation: caret 1.1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.chips { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.chips span, code {
  font: 12.5px/1 ui-monospace, "SF Mono", Menlo, monospace; padding: 7px 10px; border-radius: 9px;
  background: var(--bg); border: 1px solid var(--line); color: var(--muted);
}
.key { margin-top: 22px; display: inline-block; padding: 10px 40px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); border-bottom-width: 3px; font-size: 13px; color: var(--muted); }

/* 格式表 */
.formats { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 48px; align-items: start; }
.formats-head p { color: var(--muted); margin-top: 16px; max-width: 320px; }
.table { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); overflow: hidden; }
.tr { display: grid; grid-template-columns: 1.1fr 1fr; gap: 16px; padding: 16px 24px; border-top: 1px solid var(--line); align-items: center; font-size: 14px; }
.tr.th { border-top: 0; font-size: 12px; color: var(--dim); font-weight: 600; padding-top: 14px; padding-bottom: 14px; }
.tr b { display: block; font-size: 15px; margin-bottom: 6px; }
.tr code { display: inline-block; padding: 4px 7px; font-size: 11.5px; }
.tr em { display: block; font-style: normal; font-weight: 600; color: var(--ink); margin-bottom: 2px; }
.tr em.ok { color: var(--accent); }
.tr span:last-child { color: var(--muted); }

/* 安全 */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.security .card h4::before {
  content: ""; display: block; width: 34px; height: 34px; margin-bottom: 16px; border-radius: 11px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--coral) 80%, transparent), color-mix(in srgb, var(--violet) 85%, transparent));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

/* 下载 */
.download { max-width: 1120px; margin: 120px auto 0; }
.download-card {
  text-align: center; padding: 64px 24px; border-radius: 36px; border: 1px solid var(--line);
  background:
    radial-gradient(80% 120% at 0% 0%, rgba(252, 123, 92, 0.2), transparent 60%),
    radial-gradient(80% 120% at 100% 100%, rgba(140, 84, 245, 0.26), transparent 60%),
    var(--surface);
  box-shadow: var(--shadow);
}
.download-card img { margin: 0 auto 20px; filter: drop-shadow(0 14px 24px rgba(90, 60, 200, 0.22)); }
.download-card h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 800; }
.download-card p { color: var(--muted); margin: 14px auto 30px; max-width: 480px; }
.reqs { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; font-size: 13px; color: var(--dim); }

/* 常见问题 */
.qa { max-width: 780px; margin: 0 auto; display: grid; gap: 12px; }
details { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 0 22px; box-shadow: var(--shadow); }
summary { cursor: pointer; list-style: none; padding: 18px 28px 18px 0; font-weight: 650; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 0; top: 14px; font-size: 22px; font-weight: 400; color: var(--dim); transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--muted); padding: 0 0 18px; font-size: 15px; }

.footer { max-width: 1120px; margin: 110px auto 0; padding: 30px 24px 48px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--dim); }
.footer .brand { font-size: 15px; color: var(--ink); }

/* 进入视口时淡入；没有脚本时内容照常显示。 */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .intro, .formats { display: block; }
  .intro p { margin-top: 14px; }
  .feature { grid-template-columns: 1fr; gap: 28px; padding-block: 40px; }
  .feature-flip .feature-text { order: 0; }
  .bento, .grid3 { grid-template-columns: 1fr 1fr; }
  .formats-head { margin-bottom: 28px; }
  .intro br { display: none; }
}
@media (max-width: 600px) {
  .hero { padding-top: 48px; }
  .hero-icon { width: 112px; }
  .hero-shot { margin-top: 44px; padding-bottom: 24px; }
  .hero-shot picture:nth-child(2) { width: 34%; left: -2%; }
  .bento, .grid3 { grid-template-columns: 1fr; }
  .stage { padding: 22px; min-height: 300px; }
  .mock-menu { height: 280px; }
  .menu.sub { left: 84px; top: 158px; }
  .tr { grid-template-columns: 1fr; gap: 6px; padding: 14px 18px; }
  .tr.th { display: none; }
  .nav { padding-left: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .glow span, .hero-icon, .pw i { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}
