/* ===== 基础与变量 ===== */
:root {
  --primary: #FF6B9D;
  --primary-strong: #F4508C;
  --primary-soft: #FFE3EF;
  --deep: #33243F;
  --border: #F2D9E6;
  --bg: #FFF9FC;
  --tint: #FFF1F7;
  --card: #FFFFFF;
  --text: #3A2B45;
  --text-2: #6E5D78;
  --accent: #9B6BCF;
  --radius: 16px;
  --shadow: 0 8px 24px rgba(255, 107, 157, 0.12);
  --shadow-hover: 0 14px 32px rgba(255, 107, 157, 0.2);
  --header-h: 64px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

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

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

a { text-decoration: none; color: inherit; }

ul, ol { list-style: none; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== 顶部导航 ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s ease;
}

.site-header.scrolled { box-shadow: 0 4px 20px rgba(51, 36, 63, 0.08); }

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 28px;
}

.logo {
  font-size: 20px;
  font-weight: 800;
  color: var(--deep);
  letter-spacing: 1px;
  white-space: nowrap;
}

.logo::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-list a {
  display: block;
  padding: 8px 12px;
  font-size: 14px;
  color: var(--text);
  border-radius: 8px;
  transition: color 0.25s ease, background 0.25s ease;
  white-space: nowrap;
}

.nav-list a:hover {
  color: var(--primary-strong);
  background: var(--primary-soft);
}

.btn-download {
  margin-left: auto;
  padding: 9px 18px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  border-radius: 999px;
  white-space: nowrap;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-download:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 107, 157, 0.4);
}

/* ===== 通用区块 ===== */
.section { padding: 84px 0; }

.section-tint { background: var(--tint); }

.section-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--deep);
  text-align: center;
  letter-spacing: 1px;
}

.section-sub {
  margin: 10px 0 44px;
  font-size: 15px;
  color: var(--text-2);
  text-align: center;
}

/* ===== Hero ===== */
.hero {
  padding: 70px 0 80px;
  background:
    radial-gradient(640px 320px at 12% 8%, rgba(255, 107, 157, 0.14), transparent 60%),
    radial-gradient(560px 300px at 90% 90%, rgba(155, 107, 207, 0.12), transparent 60%),
    linear-gradient(180deg, #FFF4F9 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--border);
}

.hero-inner {
  display: flex;
  align-items: center;
  gap: 56px;
}

.hero-text { flex: 1 1 56%; }

.hero-text h1 {
  font-size: 44px;
  font-weight: 900;
  color: var(--deep);
  line-height: 1.3;
  letter-spacing: 1px;
}

.hero-text h1 em {
  font-style: normal;
  color: var(--primary-strong);
}

.hero-desc {
  margin: 20px 0 32px;
  font-size: 16px;
  color: var(--text);
  text-align: justify;
}

.hero-btns { display: flex; gap: 16px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 999px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  box-shadow: 0 8px 22px rgba(255, 107, 157, 0.35);
}

.btn-primary:hover { box-shadow: 0 12px 28px rgba(255, 107, 157, 0.45); }

.btn-ios {
  color: var(--primary-strong);
  background: #fff;
  border: 2px solid var(--primary);
}

.btn-ios:hover { box-shadow: 0 8px 22px rgba(255, 107, 157, 0.2); }

.hero-img { flex: 0 0 320px; }

.hero-img img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 18px 44px rgba(255, 107, 157, 0.28);
}

/* ===== 作品预览 ===== */
.works-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.work-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.work-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.work-card img { width: 100%; }

/* ===== 产品介绍 ===== */
.about-wrap {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.about-desc {
  font-size: 15.5px;
  color: var(--text);
  text-align: justify;
}

.about-list { display: flex; flex-direction: column; gap: 18px; }

.about-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 22px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.about-num {
  flex: 0 0 auto;
  font-size: 15px;
  font-weight: 800;
  color: var(--primary-strong);
  background: var(--primary-soft);
  border-radius: 10px;
  padding: 4px 10px;
}

.about-item h3 { font-size: 16px; color: var(--deep); margin-bottom: 4px; }

.about-item p { font-size: 14px; color: var(--text-2); }

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

.feature-card {
  padding: 30px 26px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  border-radius: 14px;
  color: var(--primary-strong);
  background: var(--primary-soft);
}

.feature-icon svg { width: 26px; height: 26px; }

.feature-card h3 { font-size: 18px; color: var(--deep); margin-bottom: 8px; }

.feature-card p { font-size: 14px; color: var(--text-2); }

/* ===== 优势对比 ===== */
.compare-wrap {
  max-width: 920px;
  margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.compare-table { width: 100%; border-collapse: collapse; }

.compare-table th,
.compare-table td {
  padding: 15px 20px;
  font-size: 14.5px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.compare-table thead th {
  font-size: 15px;
  font-weight: 700;
  color: var(--deep);
  background: var(--tint);
}

.compare-table thead .col-ours { color: var(--primary-strong); }

.compare-table tbody th {
  font-weight: 600;
  color: var(--deep);
  text-align: left;
  white-space: nowrap;
}

.compare-table .col-ours {
  color: var(--primary-strong);
  font-weight: 600;
  background: rgba(255, 227, 239, 0.45);
}

.compare-table .col-other { color: var(--text-2); }

.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td { border-bottom: none; }

/* ===== 平台数据 ===== */
.data-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}

.data-card {
  padding: 28px 16px;
  text-align: center;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.data-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.data-card .data-num {
  font-size: 34px;
  font-weight: 900;
  color: var(--primary-strong);
  line-height: 1.2;
}

.data-suffix { font-size: 16px; font-weight: 800; color: var(--primary-strong); }

.data-card p { margin-top: 8px; font-size: 14px; color: var(--text-2); }

/* ===== 用户评价 ===== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.review-card {
  padding: 26px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.review-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }

.review-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 50%;
  flex: 0 0 auto;
}

.review-name { font-size: 15px; font-weight: 700; color: var(--deep); }

.review-stars { font-size: 13px; color: #FFB84D; letter-spacing: 2px; }

.review-text { font-size: 14px; color: var(--text); }

/* ===== 版本更新 ===== */
.version-card {
  max-width: 820px;
  margin: 0 auto;
  padding: 34px 38px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.version-head {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px dashed var(--border);
  margin-bottom: 20px;
}

.version-num {
  font-size: 22px;
  font-weight: 900;
  color: var(--primary-strong);
  background: var(--primary-soft);
  border-radius: 12px;
  padding: 6px 16px;
}

.version-date { font-size: 14px; color: var(--text-2); }

.version-list li {
  position: relative;
  padding: 9px 0 9px 26px;
  font-size: 15px;
  color: var(--text);
}

.version-list li::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 17px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
}

/* ===== FAQ ===== */
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }

.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.faq-item.active { box-shadow: var(--shadow); }

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 24px;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--deep);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
}

.faq-icon {
  position: relative;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--primary-strong);
  border-radius: 2px;
  transition: transform 0.3s ease;
}

.faq-icon::before { width: 14px; height: 2px; transform: translate(-50%, -50%); }

.faq-icon::after { width: 2px; height: 14px; transform: translate(-50%, -50%); }

.faq-item.active .faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-a p {
  padding: 0 24px 20px;
  font-size: 14.5px;
  color: var(--text-2);
}

/* ===== 下载区域 ===== */
.download { padding: 84px 0 96px; }

.download-card {
  max-width: 760px;
  margin: 0 auto;
  padding: 52px 44px;
  text-align: center;
  background:
    radial-gradient(480px 240px at 50% -20%, rgba(255, 107, 157, 0.16), transparent 60%),
    var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: 0 18px 48px rgba(255, 107, 157, 0.16);
}

.download-title {
  font-size: 34px;
  font-weight: 900;
  color: var(--deep);
  letter-spacing: 1px;
}

.download-title em {
  font-style: normal;
  color: var(--primary-strong);
}

.download-info {
  margin: 14px 0 30px;
  font-size: 14px;
  color: var(--text-2);
}

.download-btns { display: flex; justify-content: center; gap: 18px; }

.download-btns .btn { padding: 15px 34px; font-size: 16.5px; }

.download-tip {
  margin-top: 24px;
  font-size: 14px;
  color: var(--accent);
}

/* ===== 页脚 ===== */
.site-footer {
  padding: 30px 0;
  background: var(--deep);
}

.footer-inner { text-align: center; }

.footer-copy { font-size: 14px; color: rgba(255, 255, 255, 0.72); }

.footer-link { color: #fff; }

/* ===== 返回顶部 ===== */
.to-top {
  position: fixed;
  right: 28px;
  bottom: 36px;
  z-index: 90;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  border: none;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(255, 107, 157, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}

.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }

.to-top svg { width: 20px; height: 20px; }

/* ===== 滚动显现 ===== */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.on { opacity: 1; transform: none; }

/* ===== 平板适配 ===== */
@media (max-width: 1024px) {
  .header-inner { gap: 10px; }

  .logo { font-size: 17px; }

  .nav-list { gap: 2px; }

  .nav-list a { padding: 6px 5px; font-size: 12px; }

  .btn-download { padding: 8px 12px; font-size: 13px; }

  .works-grid { grid-template-columns: repeat(2, 1fr); }

  .features-grid { grid-template-columns: repeat(2, 1fr); }

  .data-grid { grid-template-columns: repeat(3, 1fr); }

  .reviews-grid { grid-template-columns: repeat(2, 1fr); }

  .hero-inner { gap: 36px; }

  .hero-img { flex-basis: 280px; }
}

/* ===== 手机适配 ===== */
@media (max-width: 767px) {
  .container { padding: 0 20px; }

  .section { padding: 56px 0; }

  .section-title { font-size: 26px; }

  .section-sub { margin-bottom: 32px; font-size: 14px; }

  .site-header { background: #fff; }

  .nav { display: none; }

  .logo { font-size: 18px; }

  .hero { padding: 40px 0 52px; }

  .hero-inner { flex-direction: column; gap: 32px; }

  .hero-text h1 { font-size: 30px; }

  .hero-desc { font-size: 15px; }

  .hero-btns { flex-direction: column; gap: 12px; }

  .hero-btns .btn { width: 100%; }

  .hero-img { flex-basis: auto; width: 100%; max-width: 300px; }

  .works-grid { gap: 14px; }

  .about-wrap { grid-template-columns: 1fr; gap: 28px; }

  .about-desc { font-size: 15px; }

  .features-grid { grid-template-columns: 1fr; gap: 16px; }

  .feature-card { padding: 24px 20px; }

  .compare-table th,
  .compare-table td { padding: 12px 10px; font-size: 12.5px; }

  .compare-table thead th { font-size: 13px; }

  .data-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }

  .data-card { padding: 22px 12px; }

  .data-card .data-num { font-size: 28px; }

  .reviews-grid { grid-template-columns: 1fr; gap: 16px; }

  .version-card { padding: 26px 20px; }

  .version-head { flex-direction: column; align-items: flex-start; gap: 10px; }

  .version-list li { font-size: 14px; }

  .faq-q { padding: 16px 18px; font-size: 14.5px; }

  .faq-a p { padding: 0 18px 18px; font-size: 14px; }

  .download { padding: 56px 0 64px; }

  .download-card { padding: 40px 20px; border-radius: 20px; }

  .download-title { font-size: 26px; }

  .download-info { font-size: 12px; margin: 12px 0 24px; white-space: nowrap; }

  .download-btns { flex-direction: column; gap: 12px; }

  .download-btns .btn { width: 100%; font-size: 15.5px; }

  .download-tip { font-size: 13px; }

  .to-top { right: 16px; bottom: 24px; width: 42px; height: 42px; }

  .footer-copy { font-size: 13px; }
}

/* ===== 小屏手机微调 ===== */
@media (max-width: 380px) {
  .hero-text h1 { font-size: 26px; }

  .download-title { font-size: 23px; }
}

/* ===== 减弱动效偏好 ===== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .reveal { opacity: 1; transform: none; transition: none; }
}
