:root {
  --bg: #fbfbfd; --surface: #ffffff; --text: #1d1d1f; --muted: #6e6e73; --line: #e5e5ea;
  --brand: #5b5bf7; --brand-2: #8b5cf6; --soft: rgba(91, 91, 247, .08);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #0d0d10; --surface: #17171b; --text: #f5f5f7; --muted: #a1a1a6; --line: #2a2a30; --brand: #8b8bff; --brand-2: #b28cff; --soft: rgba(139, 139, 255, .12); color-scheme: dark; }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.7 -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--brand); text-decoration: none; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }

/* 顶栏 */
nav { position: sticky; top: 0; z-index: 10; backdrop-filter: saturate(1.8) blur(20px); -webkit-backdrop-filter: saturate(1.8) blur(20px); background: color-mix(in srgb, var(--bg) 78%, transparent); border-bottom: 1px solid var(--line); }
nav .wrap { display: flex; align-items: center; gap: 10px; height: 56px; }
nav img { width: 28px; height: 28px; }
nav b { font-size: 17px; }
nav .links { margin-left: auto; display: flex; gap: 22px; font-size: 15px; }
nav .links a { color: var(--muted); }
nav .links a:hover { color: var(--text); }

/* 语言切换（右上角） */
.lang { display: inline-flex; padding: 2px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: 13px; line-height: 1; flex: none; }
.lang a { padding: 6px 11px; border-radius: 999px; color: var(--muted); font-weight: 500; }
.lang a:hover { color: var(--text); }
.lang a.on { background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; }
nav .links + .lang { margin-left: 8px; }

/* 首屏 */
.hero { text-align: center; padding: 72px 0 40px; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -40% -10% auto; height: 520px; background: radial-gradient(closest-side, var(--soft), transparent); z-index: -1; }
.hero img.icon { width: 128px; height: 128px; filter: drop-shadow(0 18px 30px rgba(91, 91, 247, .28)); }
.hero h1 { font-size: clamp(36px, 6vw, 64px); line-height: 1.1; margin: 22px 0 12px; letter-spacing: -.5px; }
.hero h1 span { white-space: nowrap; background: linear-gradient(120deg, var(--brand), var(--brand-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { color: var(--muted); font-size: clamp(17px, 2.2vw, 21px); max-width: 640px; margin: 0 auto; }
.cta { display: inline-flex; align-items: center; gap: 10px; margin-top: 30px; padding: 13px 26px; border-radius: 999px; color: #fff; font-weight: 600; background: linear-gradient(135deg, var(--brand), var(--brand-2)); box-shadow: 0 10px 26px rgba(91, 91, 247, .35); }
.cta small { opacity: .8; font-weight: 500; }
.pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 26px; }
.pill { padding: 6px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.pill b { color: var(--text); }

/* 主截图 */
.showcase { margin: 40px auto 0; max-width: 1000px; }
.showcase img { width: 100%; border-radius: 16px; border: 1px solid var(--line); box-shadow: 0 30px 60px rgba(0, 0, 0, .18); display: block; }

section { padding: 72px 0 0; }
h2 { font-size: clamp(26px, 4vw, 36px); text-align: center; margin: 0 0 8px; letter-spacing: -.3px; }
.lead { text-align: center; color: var(--muted); margin: 0 auto 36px; max-width: 600px; }

/* 功能卡片 */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 24px; }
.card .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--soft); color: var(--brand); margin-bottom: 14px; }
.card .ic svg { width: 22px; height: 22px; }
.card h3 { margin: 0 0 6px; font-size: 19px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.65; }

/* 截图画廊 */
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr)); gap: 18px; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; border-radius: 12px; border: 1px solid var(--line); display: block; }
.gallery figcaption { text-align: center; color: var(--muted); font-size: 14px; margin-top: 8px; }

/* 隐私 */
.privacy { background: linear-gradient(135deg, #5b5bf7, #8b5cf6); color: #fff; border-radius: 24px; padding: 44px 28px; text-align: center; }
.privacy h2 { color: #fff; }
.privacy p { opacity: .92; max-width: 640px; margin: 0 auto; }
.privacy .pts { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; margin-top: 22px; font-weight: 600; }

/* 常见问题 */
.faq { max-width: 760px; margin: 0 auto; }
details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 600; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "＋"; float: right; color: var(--muted); }
details[open] summary::after { content: "－"; }
details p { color: var(--muted); margin: 10px 0 0; font-size: 15px; }

.contact { text-align: center; padding-bottom: 72px; }
.contact a.mail { display: inline-block; margin-top: 8px; font-size: 20px; font-weight: 600; word-break: break-all; }

footer { border-top: 1px solid var(--line); padding: 24px 0 40px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; }

@media (max-width: 640px) {
  nav .links { gap: 14px; font-size: 14px; }
}
@media (max-width: 560px) {
  nav .links { display: none; }
  nav .links + .lang { margin-left: auto; }
  .hero { padding-top: 48px; }
  .hero img.icon { width: 96px; height: 96px; }
}
