:root {
  --primary: #E9517E;
  --primary-rgb: 233 81 126;
  --primary-deep: #CB3E68;
  --primary-soft: #FDEBF2;
  --dark: #33242E;
  --text: #4E424C;
  --muted: #7A6B75;
  --border: #F2E2EA;
  --bg: #FFFBFD;
  --bg-alt: #FAF1F6;
  --card: #FFFFFF;
  --star: #FFB43A;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
section[id] { scroll-margin-top: 72px; }

/* 顶部导航 */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s, border-color .3s;
}
.header.scrolled { border-color: var(--border); box-shadow: 0 6px 24px rgba(51,36,46,.08); }
.nav-inner { display: flex; align-items: center; gap: 32px; height: 64px; }
.logo { font-size: 19px; font-weight: 800; color: var(--primary); text-decoration: none; letter-spacing: .5px; white-space: nowrap; }
.nav-links { display: flex; gap: 22px; margin-left: auto; }
.nav-links a { font-size: 14px; color: var(--text); text-decoration: none; white-space: nowrap; transition: color .25s; }
.nav-links a:hover, .nav-links a.active { color: var(--primary); }
.btn-download {
  font-size: 13px; font-weight: 600; color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-deep));
  padding: 8px 16px; border-radius: 999px; text-decoration: none; white-space: nowrap;
  box-shadow: 0 4px 12px rgb(var(--primary-rgb) / .28);
  transition: transform .25s, box-shadow .25s;
}
.btn-download:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgb(var(--primary-rgb) / .36); }

/* 首屏 Hero */
.hero {
  padding: 120px 0 72px;
  background:
    radial-gradient(600px 300px at 85% 10%, rgb(var(--primary-rgb) / .10), transparent 60%),
    radial-gradient(500px 260px at 8% 90%, rgba(255,180,58,.08), transparent 60%),
    linear-gradient(180deg, #FFF3F8 0%, var(--bg) 70%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero-title { font-size: clamp(30px, 4.2vw, 46px); font-weight: 800; color: var(--dark); line-height: 1.25; letter-spacing: .5px; }
.ver {
  display: inline-block; vertical-align: middle; margin-left: 10px;
  font-size: .5em; font-weight: 700; color: var(--primary);
  background: var(--primary-soft); border: 1px solid var(--border);
  padding: 4px 12px; border-radius: 999px;
}
.hero-desc { margin: 22px 0 30px; font-size: 16px; color: var(--text); max-width: 560px; line-height: 1.9; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 999px; font-weight: 700; text-decoration: none;
  transition: transform .25s, box-shadow .25s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: linear-gradient(135deg, var(--primary), var(--primary-deep)); color: #fff; box-shadow: 0 8px 20px rgb(var(--primary-rgb) / .32); }
.btn-outline { background: #fff; color: var(--primary-deep); border: 1.5px solid var(--primary); box-shadow: 0 4px 12px rgb(var(--primary-rgb) / .12); }
.btn:hover { transform: translateY(-3px); }
.btn-primary:hover { box-shadow: 0 12px 26px rgb(var(--primary-rgb) / .4); }
.btn-outline:hover { box-shadow: 0 10px 22px rgb(var(--primary-rgb) / .2); }
.btn-lg { padding: 15px 30px; font-size: 16px; }
.hero-tags { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.hero-tags span { font-size: 13px; color: var(--primary-deep); background: var(--primary-soft); border: 1px solid var(--border); padding: 6px 14px; border-radius: 999px; }
.hero-img { position: relative; width: min(340px, 100%); margin: 0 auto; }
.hero-img::before {
  content: ""; position: absolute; inset: -14px;
  border: 2px dashed rgb(var(--primary-rgb) / .35); border-radius: 24px; transform: rotate(4deg);
}
.hero-img img { position: relative; z-index: 1; width: 100%; height: auto; border-radius: 18px; box-shadow: 0 24px 60px rgb(var(--primary-rgb) / .24); }

/* 通用区块 */
.sec { padding: 84px 0; }
.sec-alt { background: var(--bg-alt); }
.sec-head { text-align: center; margin-bottom: 48px; }
.sec-tag {
  display: inline-block; font-size: 13px; font-weight: 600;
  color: var(--primary-deep); background: var(--primary-soft); border: 1px solid var(--border);
  padding: 6px 16px; border-radius: 999px;
}
.sec-head h2 { font-size: clamp(26px, 3vw, 34px); font-weight: 800; color: var(--dark); margin: 16px 0 10px; }
.sec-sub { font-size: 15px; color: var(--muted); max-width: 640px; margin: 0 auto; }

/* 卡片 */
.card {
  background: var(--card); border: 1px solid var(--border); border-radius: 16px;
  padding: 30px 26px;
  transition: transform .3s ease, box-shadow .3s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 16px 36px rgb(var(--primary-rgb) / .12); }
.card-ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--primary-soft); color: var(--primary); margin-bottom: 18px;
}
.card-ico svg { width: 26px; height: 26px; }
.card h3 { font-size: 17px; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.card p { font-size: 14px; color: var(--text); line-height: 1.8; }

/* 作品预览 */
.pv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.pv-card {
  margin: 0; border-radius: 16px; overflow: hidden;
  border: 1px solid var(--border); background: var(--card);
  transition: transform .3s ease, box-shadow .3s ease;
}
.pv-card img { width: 100%; height: auto; transition: transform .45s ease; }
.pv-card:hover { transform: translateY(-6px); box-shadow: 0 16px 36px rgb(var(--primary-rgb) / .14); }
.pv-card:hover img { transform: scale(1.04); }

/* 产品介绍 */
.intro-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

/* 核心功能 */
.fea-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

/* 优势对比 */
.cmp-wrap { overflow-x: auto; border-radius: 16px; border: 1px solid var(--border); background: var(--card); box-shadow: 0 10px 30px rgba(51,36,46,.06); }
.cmp { width: 100%; min-width: 640px; border-collapse: collapse; }
.cmp th, .cmp td { padding: 15px 20px; font-size: 14px; text-align: center; white-space: nowrap; border-bottom: 1px solid var(--border); }
.cmp thead th { font-weight: 700; color: #fff; background: var(--primary-deep); }
.cmp thead th:first-child { background: var(--dark); text-align: left; }
.cmp tbody tr:last-child td { border-bottom: none; }
.cmp tbody td:first-child { font-weight: 600; color: var(--dark); text-align: left; }
.cmp tbody td:nth-child(2) { background: var(--primary-soft); color: var(--primary-deep); font-weight: 600; }
.cmp tbody tr:hover td { background: var(--bg-alt); }
.cmp tbody tr:hover td:nth-child(2) { background: var(--primary-soft); }
.cmp-tip { display: none; text-align: center; font-size: 12px; color: var(--muted); margin-top: 14px; }

/* 平台数据 */
.stats { background: linear-gradient(160deg, #3C2640 0%, #2E1B33 100%); }
.stats .sec-tag { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.16); color: #FFD9E6; }
.stats .sec-head h2 { color: #fff; }
.stats .sec-sub { color: #C9B6C6; }
.stats-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px; }
.stat {
  text-align: center; padding: 28px 12px; border-radius: 16px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.09);
  transition: transform .3s ease, background .3s ease;
}
.stat:hover { transform: translateY(-5px); background: rgba(255,255,255,.09); }
.stat-num { display: block; font-size: clamp(26px, 3vw, 38px); font-weight: 800; color: #fff; line-height: 1.2; }
.stat-label { display: block; margin-top: 10px; font-size: 14px; color: #C9B6C6; }

/* 用户评价 */
.rv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.rv-card { padding: 26px; }
.rv-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.rv-avatar {
  flex: none; width: 46px; height: 46px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-deep));
  color: #fff; font-size: 19px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.rv-name { font-size: 15px; font-weight: 700; color: var(--dark); line-height: 1.4; }
.rv-stars { font-size: 13px; color: var(--star); letter-spacing: 2px; line-height: 1.4; }
.rv-text { font-size: 14px; color: var(--text); line-height: 1.85; }

/* 版本更新 */
.upd-card { max-width: 760px; margin: 0 auto; padding: 34px 36px; }
.upd-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px dashed var(--border); }
.upd-ver { font-size: 22px; font-weight: 800; color: var(--primary); background: var(--primary-soft); padding: 6px 16px; border-radius: 10px; }
.upd-date { font-size: 14px; color: var(--muted); }
.upd-list { list-style: none; }
.upd-list li { position: relative; padding: 9px 0 9px 26px; font-size: 15px; color: var(--text); line-height: 1.8; }
.upd-list li::before { content: "✓"; position: absolute; left: 0; top: 9px; color: var(--primary); font-weight: 700; }

/* FAQ */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { background: var(--card); border: 1px solid var(--border); border-radius: 14px; margin-bottom: 14px; overflow: hidden; transition: box-shadow .3s ease; }
.faq-item[open] { box-shadow: 0 10px 26px rgb(var(--primary-rgb) / .1); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 22px; cursor: pointer; list-style: none; font-size: 15px; font-weight: 700; color: var(--dark); user-select: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-ico {
  flex: none; width: 24px; height: 24px; border-radius: 50%;
  background: var(--primary-soft); color: var(--primary);
  font-size: 18px; font-weight: 700; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  transition: transform .3s ease;
}
.faq-item[open] .faq-ico { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-item[open] .faq-a { max-height: 340px; }
.faq-a-in { padding: 0 22px 20px; font-size: 14px; color: var(--text); line-height: 1.9; }

/* 下载区域 */
.dl {
  text-align: center;
  background:
    radial-gradient(600px 300px at 50% 0%, rgb(var(--primary-rgb) / .10), transparent 65%),
    linear-gradient(180deg, var(--bg-alt) 0%, var(--bg) 60%);
}
.dl-title { font-size: clamp(28px, 4vw, 42px); font-weight: 800; color: var(--dark); line-height: 1.3; }
.dl-info { margin: 18px 0 34px; font-size: 14px; color: var(--muted); }
.dl-btns { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.dl-tip { margin-top: 30px; font-size: 15px; color: var(--text); font-weight: 500; }

/* 页脚 */
.footer { background: #241822; padding: 30px 0; text-align: center; }
.footer p { font-size: 14px; color: #C9B6C6; }
.footer a { color: #fff; text-decoration: none; font-weight: 600; transition: color .25s; }
.footer a:hover { color: var(--primary); }

/* 返回顶部 */
.backtop {
  position: fixed; right: 22px; bottom: 26px; z-index: 90;
  width: 46px; height: 46px; border: none; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-deep));
  color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 20px rgb(var(--primary-rgb) / .35);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .3s, transform .3s, visibility .3s;
}
.backtop svg { width: 20px; height: 20px; }
.backtop.show { opacity: 1; visibility: visible; transform: translateY(0); }
.backtop:hover { transform: translateY(-3px); }

/* 响应式 */
@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .rv-grid { grid-template-columns: repeat(2, 1fr); }
  .pv-grid { grid-template-columns: repeat(2, 1fr); }
  .fea-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 992px) {
  .nav-links { display: none; }
  .btn-download { margin-left: auto; }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .hero { padding: 96px 0 56px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-text { text-align: center; }
  .hero-desc { margin-left: auto; margin-right: auto; }
  .hero-btns { flex-direction: column; align-items: stretch; }
  .hero-btns .btn { width: 100%; }
  .hero-tags { justify-content: center; }
  .sec { padding: 64px 0; }
  .sec-head { margin-bottom: 36px; }
  .pv-grid { grid-template-columns: 1fr; gap: 20px; }
  .intro-cards, .fea-grid, .rv-grid { grid-template-columns: 1fr; gap: 18px; }
  .cmp-tip { display: block; }
  .upd-card { padding: 24px 20px; }
  .dl-btns { flex-direction: column; align-items: stretch; }
  .dl-btns .btn { width: 100%; }
  .dl-info { font-size: 12px; white-space: nowrap; }
}

@media (max-width: 640px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .stat { padding: 20px 8px; }
  .stat-num { font-size: 26px; }
}
