/* ===== 雀技 官网 共享样式 ===== */
:root {
  --bg: #ffffff;
  --bg-soft: #f5f7fb;
  --fg: #16181d;
  --muted: #5f6672;
  --line: #e6e8ee;
  --accent: #2f6bff;
  --accent-ink: #1a49c9;
  --accent-soft: #eaf1ff;
  --card: #ffffff;
  --shadow: 0 6px 24px rgba(20, 40, 90, .07);
  --radius: 16px;
  --maxw: 1000px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0c0e13;
    --bg-soft: #12151c;
    --fg: #f0f2f7;
    --muted: #9aa1af;
    --line: #262a33;
    --accent: #5c8bff;
    --accent-ink: #86a9ff;
    --accent-soft: #16203a;
    --card: #14171f;
    --shadow: 0 6px 24px rgba(0, 0, 0, .35);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
               "Hiragino Sans GB", "Microsoft YaHei", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.7;
  font-size: 17px;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.narrow { max-width: 760px; }

/* ---- 顶部导航 ---- */
.nav {
  position: sticky; top: 0; z-index: 20;
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; color: var(--fg); }
.brand:hover { text-decoration: none; }
.brand .logo {
  width: 30px; height: 30px; border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent-ink));
  display: grid; place-items: center; color: #fff; font-size: 17px;
}
.nav-links { display: flex; gap: 22px; font-size: 16px; }
.nav-links a { color: var(--muted); }
.nav-links a:hover { color: var(--fg); text-decoration: none; }

/* ---- 通用区块 ---- */
section { padding: 64px 0; }
.eyebrow { color: var(--accent); font-weight: 600; font-size: 15px; letter-spacing: .04em; margin: 0 0 8px; }
h1 { font-size: 40px; line-height: 1.2; margin: 0 0 14px; letter-spacing: -.01em; }
h2 { font-size: 28px; line-height: 1.25; margin: 0 0 12px; }
h3 { font-size: 19px; margin: 0 0 6px; }
.lead { font-size: 19px; color: var(--muted); margin: 0 0 26px; }
.muted { color: var(--muted); }
.center { text-align: center; }

/* ---- 按钮 ---- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; font-weight: 600; font-size: 16px;
  background: var(--accent); color: #fff; border: 1px solid transparent;
}
.btn:hover { text-decoration: none; background: var(--accent-ink); }
.btn.ghost { background: transparent; color: var(--accent); border-color: var(--line); }
.btn.ghost:hover { background: var(--accent-soft); }

/* ---- Hero ---- */
.hero { padding-top: 72px; }
.hero .grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hero-icon {
  width: 108px; height: 108px; border-radius: 26px; margin-bottom: 22px;
  background: linear-gradient(150deg, var(--accent), var(--accent-ink));
  display: grid; place-items: center; color: #fff; font-size: 58px;
  box-shadow: var(--shadow);
}
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* 手机模型 */
.phone {
  justify-self: center;
  width: 260px; aspect-ratio: 9 / 19.5;
  border-radius: 40px; padding: 12px;
  background: #0c0e13; border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.phone-screen {
  width: 100%; height: 100%; border-radius: 30px; overflow: hidden;
  background: linear-gradient(180deg, #1b3a6b, #16294d);
  color: #eaf1ff; padding: 26px 18px; display: flex; flex-direction: column;
}
.phone-screen .title { font-weight: 700; font-size: 15px; opacity: .85; text-align: center; }
.tiles { display: flex; gap: 5px; flex-wrap: wrap; justify-content: center; margin-top: 22px; }
.tile {
  width: 30px; height: 40px; border-radius: 6px; background: #f4ecd8; color: #b3402f;
  display: grid; place-items: center; font-size: 18px; font-weight: 700;
  box-shadow: 0 1px 2px rgba(0,0,0,.25);
}
.tile.b { color: #1f7a3d; }
.tile.sel { outline: 2px solid #ffd60a; }
.phone-screen .q { margin-top: auto; font-size: 13px; opacity: .85; text-align: center; }

/* ---- 特性网格 ---- */
.features { background: var(--bg-soft); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow);
}
.card .ico { font-size: 30px; margin-bottom: 12px; }
.card p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* ---- 价格 ---- */
.price-box {
  max-width: 460px; margin: 0 auto; text-align: center;
  background: var(--card); border: 1px solid var(--line); border-radius: 20px;
  padding: 34px; box-shadow: var(--shadow);
}
.price-box .amount { font-size: 40px; font-weight: 800; margin: 8px 0; }
.price-box ul { list-style: none; padding: 0; margin: 18px 0 24px; text-align: left; display: inline-block; }
.price-box li { margin: 8px 0; }
.price-box li::before { content: "✓"; color: var(--accent); font-weight: 700; margin-right: 10px; }

/* ---- 隐私横幅 ---- */
.privacy-band { background: var(--accent-soft); }
.privacy-band .wrap { display: flex; gap: 18px; align-items: center; justify-content: center; text-align: center; flex-wrap: wrap; }

/* ---- 文档页（support / privacy） ---- */
.doc { padding: 48px 0 72px; }
.doc h1 { font-size: 32px; }
.doc h2 { font-size: 21px; margin: 36px 0 10px; }
.doc h3 { font-size: 18px; margin: 22px 0 6px; }
.doc .meta { color: var(--muted); font-size: 15px; margin: 0 0 22px; }
.doc ul { padding-left: 22px; }
.doc li { margin: 6px 0; }
.callout {
  background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
  border-radius: 12px; padding: 14px 18px; margin: 20px 0;
}
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 6px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 17px; padding: 12px 4px; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "＋"; color: var(--accent); margin-right: 12px; font-weight: 700; }
.faq details[open] summary::before { content: "－"; }
.faq details p { margin: 0 0 14px 28px; color: var(--muted); }

/* ---- 页脚 ---- */
footer.site {
  border-top: 1px solid var(--line); background: var(--bg-soft);
  padding: 34px 0; color: var(--muted); font-size: 14.5px;
}
footer.site .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; }
footer.site a { color: var(--muted); }
footer.site a:hover { color: var(--fg); }

/* ---- 响应式 ---- */
@media (max-width: 820px) {
  h1 { font-size: 32px; }
  .hero .grid { grid-template-columns: 1fr; }
  .phone { display: none; }
  .cards { grid-template-columns: 1fr; }
  .nav-links { gap: 16px; font-size: 15px; }
}
