:root {
  --ink: #2a2130;
  --muted: #76687a;
  --accent: #8a4a86;
  --accent-soft: #f6e6f0;
  --glass: rgba(255, 255, 255, .62);
  --glass-strong: rgba(255, 255, 255, .82);
  --line: rgba(255, 255, 255, .85);
  --shadow: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 -1px 0 rgba(160, 100, 140, .08) inset, 0 18px 50px -18px rgba(130, 64, 112, .35);
  --radius: 28px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  line-height: 1.6;
  background: #f5e6ee;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
kbd { font: inherit; font-size: .9em; padding: 0 .35em; border-radius: 6px; background: var(--accent-soft); color: var(--accent); }

html[data-lang="zh"] [data-l="en"],
html[data-lang="en"] [data-l="zh"] { display: none !important; }

/* 渐变水晶背景 */
.bg {
  position: fixed; inset: 0; z-index: -1; overflow: hidden;
  background: linear-gradient(160deg, #fdf1f4 0%, #f8e2eb 32%, #f0d9e8 64%, #e8d3e6 100%);
}
.orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; }
.o1 { width: 520px; height: 520px; left: -140px; top: -120px; background: #ffcadb; }
.o2 { width: 560px; height: 560px; right: -180px; top: 28%; background: #dcb0d4; opacity: .5; }
.o3 { width: 520px; height: 520px; left: 18%; bottom: -220px; background: #f5bfd3; opacity: .45; }

/* 导航 */
.nav {
  position: sticky; top: 14px; z-index: 10;
  margin: 14px auto 0; max-width: 1080px; width: calc(100% - 32px);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 10px 14px 10px 18px; border-radius: 999px;
  background: var(--glass); border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(22px) saturate(1.4); backdrop-filter: blur(22px) saturate(1.4);
  box-shadow: var(--shadow);
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand img { border-radius: 8px; }
.nav nav { display: flex; align-items: center; gap: 4px; }
.nav nav a { color: var(--ink); font-size: 14px; padding: 6px 12px; border-radius: 999px; }
.nav nav a:hover { background: var(--accent-soft); text-decoration: none; }
.lang {
  font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; margin-left: 6px;
  padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); color: #fff;
  background: linear-gradient(180deg, #3b3646, #26232f);
}

/* 通用 */
main { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.section { padding: 72px 0 8px; text-align: center; }
h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: -.02em; }
h2 { font-size: clamp(28px, 4vw, 40px); }
.sub { color: var(--muted); font-size: 17px; max-width: 640px; margin: 14px auto 0; }
.pill {
  display: inline-block; padding: 5px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--accent);
  background: var(--glass-strong); border: 1px solid var(--line);
}
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 999px;
  font-weight: 600; font-size: 15px; color: var(--ink); cursor: pointer;
  background: linear-gradient(180deg, #fff, #fbf1f6); border: 1px solid var(--line);
  box-shadow: 0 1px 0 #fff inset, 0 8px 22px -10px rgba(130, 64, 112, .45);
  transition: transform .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; box-shadow: 0 1px 0 #fff inset, 0 12px 26px -10px rgba(130, 64, 112, .55); }
.btn.primary { color: #fff; background: linear-gradient(180deg, #3b3646, #26232f); border-color: rgba(255, 255, 255, .25); box-shadow: 0 1px 0 rgba(255, 255, 255, .25) inset, 0 12px 26px -10px rgba(38, 35, 47, .6); }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Hero */
.hero { text-align: center; padding: 72px 0 0; }
.hero h1 { font-size: clamp(38px, 6.4vw, 68px); margin-top: 20px; }
.hero h1 span:not([data-l]) { display: inline; }
.lead { font-size: clamp(16px, 2vw, 19px); color: var(--muted); max-width: 640px; margin: 20px auto 0; }
.cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }
.meta { font-size: 13px; color: var(--muted); margin: 14px 0 0; }

/* 截图：无背景，只保留柔和投影 */
.shot { position: relative; }
.shot img { width: 100%; filter: drop-shadow(0 30px 40px rgba(130, 64, 112, .32)) drop-shadow(0 4px 10px rgba(130, 64, 112, .18)); }
.hero-shot { margin: 56px auto 0; max-width: 980px; }

/* 功能 */
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 28px 0 8px; }
.chip { padding: 8px 16px; border-radius: 999px; font-size: 14px; font-weight: 500; background: var(--glass); border: 1px solid var(--line); box-shadow: var(--shadow); }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 32px; text-align: left; }
.card {
  padding: 26px; border-radius: var(--radius); background: var(--glass); border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); box-shadow: var(--shadow);
}
.card h3 { font-size: 18px; margin: 16px 0 8px; letter-spacing: -.01em; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.ico {
  width: 46px; height: 46px; border-radius: 15px; display: grid; place-items: center; color: #fff;
  background: linear-gradient(145deg, #dc9cc5, #8a4a86);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .5) inset, 0 10px 20px -8px rgba(138, 74, 134, .7);
}
.ico svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* 左右分栏 */
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; text-align: left; }
.split h2 { margin: 14px 0; }
.split p { color: var(--muted); font-size: 17px; margin: 0; }

/* 面板 */
.panel {
  padding: clamp(28px, 5vw, 56px); border-radius: 40px; text-align: center;
  background: var(--glass); border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px); box-shadow: var(--shadow);
}
.points { list-style: none; margin: 34px 0 30px; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; text-align: left; }
.points li { padding: 18px 20px; border-radius: 20px; background: var(--glass-strong); border: 1px solid var(--line); font-size: 15px; color: var(--muted); }
.points li:last-child { grid-column: 1 / -1; }
.points b { display: block; color: var(--ink); font-size: 16px; margin-bottom: 4px; }

#own { padding-bottom: 0; }

/* 下载 */
.dl .app-icon { margin: 0 auto 18px; border-radius: 22px; box-shadow: 0 18px 40px -14px rgba(130, 64, 112, .6); }
.hint { font-size: 13px; color: var(--muted); max-width: 560px; margin: 14px auto 0; }

/* 更新日志 */
.log { max-width: 760px; margin: 30px auto 0; text-align: left; display: grid; gap: 14px; }
.entry { border-radius: 22px; overflow: hidden; background: var(--glass); border: 1px solid var(--line); box-shadow: var(--shadow); }
.entry.extra { display: none; }
.log.all .entry.extra { display: block; }
.entry header { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 22px; background: rgba(255, 255, 255, .45); border-bottom: 1px solid var(--line); }
.entry h3 { font-size: 19px; }
.entry time { color: var(--muted); font-size: 14px; }
.entry ul { margin: 0; padding: 18px 22px 6px 42px; }
.entry li { margin-bottom: 8px; }
.entry footer { display: flex; flex-wrap: wrap; gap: 8px; padding: 6px 22px 18px; }
.dl-link { font-size: 13px; font-weight: 600; padding: 5px 12px; border-radius: 999px; background: var(--accent-soft); }
.dl-link.quiet { background: transparent; border: 1px solid rgba(138, 74, 134, .25); }
.dl-link:hover { text-decoration: none; background: #f0d8e8; }
.more { margin-top: 22px; }
.link { font: inherit; font-weight: 600; color: var(--accent); background: none; border: 0; cursor: pointer; }
.link[hidden] { display: none; }

/* 页脚 */
.site-footer { text-align: center; padding: 72px 20px 48px; color: var(--muted); font-size: 14px; }
.site-footer .brand { justify-content: center; color: var(--ink); }
.site-footer p { margin: 12px 0 0; }
.site-footer .small { font-size: 12px; opacity: .8; }

@media (max-width: 860px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; text-align: center; }
  .nav nav a:not(.keep) { display: none; }
}
@media (max-width: 560px) {
  .grid, .points { grid-template-columns: 1fr; }
  .section { padding-top: 56px; }
  .brand span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
