/* ============ 基础 ============ */
:root {
  --brand: #3B7BF0;
  --brand-deep: #2B5FD9;
  --brand-soft: #EAF1FE;
  --ink: #101828;
  --muted: #5B6472;
  --bg: #FFFFFF;
  --bg-soft: #F4F7FD;
  --dark: #0D1526;
  --dark-2: #16203A;
  --radius: 16px;
  --shadow: 0 6px 24px rgba(16, 24, 40, .08);
  --shadow-lg: 0 16px 40px rgba(16, 24, 40, .14);
}
* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  color: var(--ink); background: var(--bg); line-height: 1.7;
  font-size: 15px; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; }
.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* ============ 按钮 ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 10px 22px; border-radius: 999px;
  font-size: 15px; font-weight: 600; border: 2px solid transparent;
  cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  color: #fff; box-shadow: 0 6px 16px rgba(59, 123, 240, .35);
}
.btn-primary:active { transform: scale(.97); }
.btn-ghost { background: #fff; color: var(--brand); border-color: var(--brand); }
.btn-lg { min-height: 54px; padding: 13px 30px; font-size: 17px; }
.btn-sm { min-height: 38px; padding: 6px 16px; font-size: 14px; }
.btn-block { width: 100%; }

/* ============ Header ============ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid rgba(16, 24, 40, .07);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 62px; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-size: 17px; font-weight: 800; }
.brand img { border-radius: 9px; }
.brand em { display: block; font-style: normal; font-size: 10px; font-weight: 500; color: var(--muted); line-height: 1.2; letter-spacing: .5px; }
.site-nav { display: none; }
.nav-toggle {
  display: flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 10px; background: none; border: 0; cursor: pointer;
}
.nav-toggle span { display: block; height: 2.5px; width: 100%; background: var(--ink); border-radius: 2px; transition: .25s; }
.header-dl-btn { display: inline-flex; }

/* 移动端展开菜单 */
.site-header.open .site-nav {
  display: flex; flex-direction: column; position: absolute;
  top: 62px; left: 0; right: 0; background: #fff; padding: 12px 20px 18px;
  border-bottom: 1px solid rgba(16, 24, 40, .08); box-shadow: var(--shadow-lg);
}
.site-header.open .site-nav a { padding: 12px 4px; color: var(--ink); font-weight: 500; border-bottom: 1px solid rgba(16, 24, 40, .05); }
.site-header.open .site-nav .nav-dl { border: 0; margin-top: 10px; justify-content: center; }
.site-header.open .nav-toggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.site-header.open .nav-toggle span:nth-child(2) { opacity: 0; }
.site-header.open .nav-toggle span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
.site-header.open .header-dl-btn { display: none; }

/* ============ Hero ============ */
.hero {
  position: relative; overflow: hidden; text-align: center;
  background:
    radial-gradient(700px 340px at 85% -10%, rgba(59, 123, 240, .16), transparent 65%),
    radial-gradient(500px 300px at 8% 8%, rgba(59, 123, 240, .12), transparent 60%),
    linear-gradient(180deg, #F6F9FF 0%, #fff 100%);
  padding: 52px 0 64px;
}
.hero-badge {
  display: inline-block; padding: 6px 16px; border-radius: 999px;
  background: var(--brand-soft); color: var(--brand-deep);
  font-size: 13px; font-weight: 600; margin-bottom: 18px;
}
.hero h1 { font-size: 34px; font-weight: 900; letter-spacing: 1px; line-height: 1.25; }
.hero h1 small { display: block; font-size: 17px; font-weight: 700; color: var(--brand-deep); margin-top: 8px; letter-spacing: 2px; }
.hero-desc { max-width: 620px; margin: 16px auto 0; color: var(--muted); font-size: 15px; }
.hero-btns { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 26px; }
.hero-btns .btn { width: min(320px, 100%); }
.hero-stats { display: flex; justify-content: center; gap: 8px; list-style: none; margin-top: 30px; }
.hero-stats li { flex: 1; max-width: 150px; background: #fff; border: 1px solid rgba(59, 123, 240, .15); border-radius: 14px; padding: 12px 6px; box-shadow: var(--shadow); }
.hero-stats strong { display: block; font-size: 18px; color: var(--brand-deep); }
.hero-stats span { font-size: 12px; color: var(--muted); }

/* Hero 手机截图（移动端横向） */
.hero-shots { display: flex; justify-content: center; gap: 14px; margin-top: 38px; padding: 0 12px; }
.hero-shot {
  width: 148px; border-radius: 18px; border: 4px solid #fff;
  box-shadow: var(--shadow-lg); object-fit: cover; aspect-ratio: 9/16;
}

/* ============ Section 通用 ============ */
.section { padding: 56px 0; }
.section-alt { background: var(--bg-soft); }
.section-dark { background: linear-gradient(160deg, var(--dark) 0%, var(--dark-2) 100%); }
.section-head { text-align: center; margin-bottom: 34px; }
.section-head.left { text-align: left; }
.section-head h2 { font-size: 24px; font-weight: 800; letter-spacing: .5px; }
.section-head p { color: var(--muted); margin-top: 8px; font-size: 14px; }
.section-dark .section-head h2 { color: #fff; }
.section-dark .section-head p { color: rgba(255, 255, 255, .6); }

/* ============ 卡片网格 ============ */
.grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.card {
  background: #fff; border-radius: var(--radius); padding: 24px 20px;
  border: 1px solid rgba(16, 24, 40, .06); box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

/* 下载卡 */
.dl-head { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.dl-icon {
  display: flex; align-items: center; justify-content: center; flex: none;
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--brand-soft); color: var(--brand);
}
.dl-icon svg { width: 26px; height: 26px; }
.dl-head h3 { font-size: 17px; }
.dl-meta { font-size: 12.5px; color: var(--muted); }
.dl-desc { color: var(--muted); font-size: 13.5px; margin-bottom: 18px; }
.dl-note { text-align: center; color: var(--muted); font-size: 13px; margin-top: 20px; }
.dl-note a { color: var(--brand); font-weight: 600; }

/* 功能卡 */
.feature-card { text-align: center; }
.feature-card h3 { font-size: 16.5px; margin-bottom: 8px; }
.feature-card p { color: var(--muted); font-size: 13.5px; }
.feature-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 14px;
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  color: #fff; box-shadow: 0 6px 14px rgba(59, 123, 240, .3); margin-bottom: 14px;
}
.feature-icon svg { width: 26px; height: 26px; }

/* 版本卡 */
.version-card { text-align: center; position: relative; overflow: hidden; }
.version-card h3 { font-size: 16px; margin: 6px 0 10px; }
.version-card p { font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.v-tag {
  display: inline-block; padding: 4px 12px; border-radius: 999px;
  font-size: 12px; font-weight: 700; background: var(--brand-soft); color: var(--brand-deep);
}
.theme-dark { background: linear-gradient(165deg, #1A2440, #101828); border-color: rgba(255,255,255,.08); }
.theme-dark h3, .theme-black h3 { color: #fff; }
.theme-dark p, .theme-black p { color: rgba(255,255,255,.62); }
.theme-dark .v-tag { background: rgba(59,123,240,.2); color: #8FB5FF; }
.theme-black { background: linear-gradient(165deg, #000 0%, #14161B 100%); border-color: rgba(255,255,255,.08); }
.theme-black .v-tag { background: rgba(255,255,255,.1); color: #C8CDD6; }
.theme-blue { border: 1.5px solid rgba(59, 123, 240, .45); background: linear-gradient(170deg, #fff 55%, var(--brand-soft)); }
.theme-blue-light { border-style: dashed; }

/* 网页版/电脑版 */
.webpc-card { text-align: center; }
.webpc-card h3 { font-size: 17px; margin-bottom: 8px; }
.webpc-card p { color: var(--muted); font-size: 14px; margin: 12px 0 20px; }

/* 查字典 */
.dict-inner { display: grid; grid-template-columns: 1fr; gap: 30px; align-items: center; }
.dict-desc { color: var(--muted); font-size: 14.5px; margin-bottom: 18px; }
.dict-points { list-style: none; display: grid; grid-template-columns: 1fr; gap: 10px; margin-bottom: 24px; }
.dict-points li { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; }
.li-icon {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--brand-soft); color: var(--brand-deep);
}
.li-icon svg { width: 13px; height: 13px; }
.dict-shot img { border-radius: 20px; border: 4px solid #fff; box-shadow: var(--shadow-lg); margin: 0 auto; max-width: 300px; }

/* 截图轮播 */
.shots-track {
  display: flex; gap: 14px; overflow-x: auto; padding: 10px 20px 22px;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.shots-track::-webkit-scrollbar { display: none; }
.shot {
  flex: none; width: 190px; scroll-snap-align: center;
  border-radius: 16px; overflow: hidden; border: 3px solid #fff;
  box-shadow: var(--shadow-lg); background: #fff;
}
.shot img { width: 100%; aspect-ratio: 9/16; object-fit: cover; }

/* 安装步骤 */
.step-card { text-align: center; }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%; margin-bottom: 12px;
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  color: #fff; font-size: 19px; font-weight: 800;
  box-shadow: 0 5px 12px rgba(59, 123, 240, .3);
}
.step-card h3 { font-size: 15.5px; margin-bottom: 6px; }
.step-card p { color: var(--muted); font-size: 13px; }

/* FAQ */
.faq-head { margin-top: 48px; }
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item {
  background: #fff; border: 1px solid rgba(16, 24, 40, .08);
  border-radius: 14px; margin-bottom: 12px; overflow: hidden; box-shadow: var(--shadow);
}
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 18px; cursor: pointer; font-weight: 600; font-size: 15px;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-arrow { color: var(--brand); display: inline-flex; transition: transform .2s; }
.faq-arrow svg { width: 18px; height: 18px; }
.faq-item[open] .faq-arrow { transform: rotate(180deg); }
.faq-body { padding: 0 18px 16px; color: var(--muted); font-size: 14px; }

/* ============ Footer ============ */
.site-footer { background: var(--dark); color: rgba(255, 255, 255, .66); padding: 40px 0 96px; }
.footer-brand { display: flex; align-items: center; justify-content: center; gap: 10px; color: #fff; font-weight: 700; font-size: 16px; margin-bottom: 18px; }
.footer-brand img { border-radius: 8px; }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; margin-bottom: 20px; }
.footer-nav a { color: rgba(255, 255, 255, .66); font-size: 13.5px; }
.footer-nav a:hover { color: #fff; }
.footer-disc { text-align: center; font-size: 12px; color: rgba(255, 255, 255, .38); max-width: 680px; margin: 0 auto 10px; }
.footer-c { text-align: center; font-size: 12.5px; color: rgba(255, 255, 255, .45); }
.footer-c a { color: inherit; }

/* ============ 吸底下载条 ============ */
.dl-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 99;
  display: flex; align-items: center; gap: 12px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .96); backdrop-filter: blur(12px);
  border-top: 1px solid rgba(16, 24, 40, .1); box-shadow: 0 -6px 24px rgba(16, 24, 40, .12);
  transform: translateY(110%); transition: transform .3s ease;
}
.dl-bar.show { transform: translateY(0); }
.dl-bar img { border-radius: 10px; flex: none; }
.dl-bar-txt { flex: 1; min-width: 0; line-height: 1.35; }
.dl-bar-txt strong { display: block; font-size: 14.5px; }
.dl-bar-txt span { font-size: 12px; color: var(--muted); }
.dl-bar .btn { min-height: 42px; padding: 8px 20px; flex: none; }

/* ============ 平板 ≥768px ============ */
@media (min-width: 768px) {
  .grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 42px; }
  .hero h1 small { font-size: 20px; }
  .hero-btns { flex-direction: row; justify-content: center; }
  .hero-btns .btn { width: auto; }
  .hero-shot { width: 170px; }
  .dict-points { grid-template-columns: repeat(2, 1fr); }
  .section-head h2 { font-size: 28px; }
  .step-card { display: flex; align-items: flex-start; gap: 14px; text-align: left; }
  .step-card .step-num { margin-bottom: 0; }
}

/* ============ PC ≥1024px ============ */
@media (min-width: 1024px) {
  body { font-size: 16px; }
  .nav-toggle, .header-dl-btn { display: none; }
  .site-nav { display: flex; align-items: center; gap: 26px; }
  .site-nav a { color: var(--ink); font-weight: 500; font-size: 15px; }
  .site-nav a:hover { color: var(--brand); }
  .site-nav .nav-dl { margin-left: 10px; color: #fff; }
  .site-nav .nav-dl:hover { color: #fff; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 80px 0; }
  .hero { text-align: left; padding: 72px 0 90px; }
  .hero-inner { display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: 40px; }
  .hero-badge { margin-bottom: 20px; }
  .hero-desc { margin-left: 0; }
  .hero-btns { justify-content: flex-start; }
  .hero-stats { justify-content: flex-start; }
  .hero-shots { justify-content: flex-end; margin-top: 0; padding-right: 30px; }
  .hero-shot { width: 190px; }
  .hero-shot.hs-2 { transform: translateY(34px); }
  .hero-shot.hs-1 { transform: translateY(-14px); }
  .section-head h2 { font-size: 30px; }
  .dict-inner { grid-template-columns: 1.1fr .9fr; }
  .dict-shot img { max-width: 340px; }
  .shot { width: 220px; }
  .footer-disc { font-size: 13px; }
  .site-footer { padding-bottom: 40px; }
  .dl-bar { display: none; }
}
