/* ===== 全局变量 ===== */
:root {
  --primary: #FF7A00;
  --primary-dark: #F06800;
  --primary-light: #FFF3E6;
  --dark: #23262E;
  --text: #3A4049;
  --muted: #69707C;
  --border: #EAEBEF;
  --bg: #F7F8FA;
  --card: #FFFFFF;
  --shadow: 0 4px 14px rgba(35, 38, 46, 0.06);
  --shadow-hover: 0 12px 26px rgba(255, 122, 0, 0.16);
  --radius: 16px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

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

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

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

/* ===== 顶部导航 ===== */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
.site-nav.scrolled { box-shadow: 0 4px 16px rgba(35, 38, 46, 0.08); }

.nav-inner { display: flex; align-items: center; height: 64px; gap: 28px; }

.logo { font-size: 22px; font-weight: 800; color: var(--dark); letter-spacing: 1px; white-space: nowrap; }
.logo span { color: var(--primary); }

.nav-links { display: flex; gap: 24px; margin-left: auto; }
.nav-links a {
  font-size: 14px; color: var(--text); padding: 6px 0; position: relative; transition: color 0.3s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px;
  background: var(--primary); border-radius: 2px; transition: width 0.3s;
}
.nav-links a:hover { color: var(--primary); }
.nav-links a:hover::after { width: 100%; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; text-align: center;
  border-radius: 999px; font-weight: 600; cursor: pointer; border: 0;
  transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
}
.btn-nav, .btn-primary { color: #fff; background: var(--primary); }
.btn-nav { padding: 8px 18px; font-size: 14px; }
.btn-nav:hover, .btn-primary:hover { background: var(--primary-dark); }

.btn-primary { padding: 14px 30px; font-size: 16px; box-shadow: 0 6px 16px rgba(255, 122, 0, 0.24); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(255, 122, 0, 0.32); }

/* ===== 通用区块 ===== */
.section { padding: 80px 0; }
.section-title { font-size: 32px; font-weight: 800; color: var(--dark); text-align: center; line-height: 1.3; }
.section-sub { text-align: center; color: var(--muted); margin: 10px 0 44px; font-size: 15px; }

/* ===== 首屏 Hero ===== */
.hero { padding: 132px 0 80px; background: linear-gradient(180deg, var(--primary-light) 0%, var(--bg) 100%); }
.hero-inner { display: flex; align-items: center; gap: 56px; }
.hero-copy { flex: 1.15; min-width: 0; }
.hero h1 { font-size: 42px; line-height: 1.3; font-weight: 800; color: var(--dark); }
.hero h1 .ver, .download-card h1 .ver { color: var(--primary); }
.hero-desc { margin: 18px 0 30px; color: var(--text); max-width: 580px; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-poster { flex: 0 0 320px; }
.hero-poster img { width: 100%; height: auto; border-radius: 18px; background: var(--primary-light); box-shadow: 0 18px 40px rgba(255, 122, 0, 0.18); }

/* ===== 作品预览 ===== */
.works-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.work-card {
  border-radius: var(--radius); overflow: hidden; background: var(--primary-light);
  border: 1px solid var(--border); box-shadow: var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
}
.work-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.work-card img { width: 100%; height: auto; }

/* ===== 产品介绍 ===== */
.intro-card {
  max-width: 860px; margin: 0 auto; background: var(--card);
  border: 1px solid var(--border); border-radius: 20px;
  padding: 40px 44px; box-shadow: var(--shadow);
}
.intro-card p { margin-bottom: 14px; }
.intro-points { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 20px; }
.intro-points li {
  background: var(--primary-light); color: var(--primary-dark);
  border-radius: 10px; padding: 12px 16px; text-align: center; font-weight: 600; font-size: 14px;
}

/* ===== 核心功能 ===== */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px 26px; box-shadow: var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.feature-icon {
  width: 52px; height: 52px; border-radius: 14px; background: var(--primary-light); color: var(--primary);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.feature-icon svg { width: 26px; height: 26px; }
.feature-card h3 { font-size: 18px; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: var(--text); }

/* ===== 优势对比 ===== */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--border); border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); }
.compare-table { width: 100%; border-collapse: collapse; min-width: 620px; }
.compare-table th, .compare-table td { padding: 16px 22px; text-align: left; white-space: nowrap; border-bottom: 1px solid var(--border); }
.compare-table thead th { background: var(--dark); color: #fff; font-size: 15px; }
.compare-table thead th:nth-child(2) { background: var(--primary); }
.compare-table thead th:nth-child(3) { background: #8A909C; }
.compare-table tbody td:first-child { background: #FBFBFD; color: var(--dark); font-weight: 600; }
.compare-table tbody td:nth-child(2) { background: var(--primary-light); color: var(--primary-dark); font-weight: 600; }
.compare-table tbody td:nth-child(3) { background: #F3F4F6; color: var(--muted); }
.compare-table tbody tr:last-child td { border-bottom: 0; }
.table-hint { display: none; text-align: center; color: var(--muted); font-size: 13px; margin-top: 12px; }

/* ===== 平台数据 ===== */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  text-align: center; padding: 34px 20px; box-shadow: var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
}
.stat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.stat-num { font-size: 40px; font-weight: 800; color: var(--primary); line-height: 1.2; }
.stat-label { margin-top: 8px; color: var(--dark); font-weight: 600; font-size: 15px; }
.stat-desc { color: var(--muted); font-size: 13px; margin-top: 4px; }

/* ===== 用户评价 ===== */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
}
.review-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.review-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.review-avatar {
  width: 44px; height: 44px; border-radius: 50%; color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 700; flex: none;
}
.review-card:nth-child(1) .review-avatar { background: #FF7A00; }
.review-card:nth-child(2) .review-avatar { background: #F0506E; }
.review-card:nth-child(3) .review-avatar { background: #9B6BFF; }
.review-card:nth-child(4) .review-avatar { background: #2FBF8F; }
.review-card:nth-child(5) .review-avatar { background: #5B8DEF; }
.review-card:nth-child(6) .review-avatar { background: #FF9F43; }
.review-name { font-weight: 600; color: var(--dark); font-size: 15px; }
.review-stars { color: #FFB400; font-size: 14px; letter-spacing: 2px; }
.review-text { color: var(--text); font-size: 14px; line-height: 1.8; }

/* ===== 版本更新 ===== */
.version-card {
  max-width: 860px; margin: 0 auto; background: var(--card);
  border: 1px solid var(--border); border-radius: 20px;
  padding: 36px 40px; box-shadow: var(--shadow);
}
.version-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; border-bottom: 1px solid var(--border); padding-bottom: 18px; margin-bottom: 14px; }
.version-no { font-size: 22px; font-weight: 800; color: var(--dark); }
.version-time { color: var(--muted); font-size: 14px; }
.version-log { list-style: none; }
.version-log li { display: flex; align-items: flex-start; gap: 10px; padding: 10px 0; font-size: 15px; color: var(--text); }
.tag { flex: none; font-size: 12px; padding: 2px 10px; border-radius: 999px; font-weight: 600; margin-top: 3px; }
.tag-new { background: var(--primary-light); color: var(--primary-dark); }
.tag-opt { background: #E6F7F0; color: #14805A; }
.tag-fix { background: #FDECEC; color: #D64545; }

/* ===== FAQ ===== */
.faq-list { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item { background: var(--card); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; transition: box-shadow 0.3s; }
.faq-item.open { box-shadow: var(--shadow); }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 22px; background: none; border: 0; cursor: pointer;
  font-size: 16px; font-weight: 600; color: var(--dark); text-align: left;
}
.faq-arrow {
  flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--primary-light); color: var(--primary);
  display: flex; align-items: center; justify-content: center; font-size: 16px; line-height: 1;
  transition: transform 0.3s;
}
.faq-item.open .faq-arrow { transform: rotate(45deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.35s ease; }
.faq-a > div { overflow: hidden; }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a p { padding: 0 22px 20px; color: var(--text); font-size: 15px; line-height: 1.8; }

/* ===== 下载区域 ===== */
.download { background: linear-gradient(180deg, var(--bg) 0%, var(--primary-light) 100%); }
.download-card {
  max-width: 860px; margin: 0 auto; text-align: center; background: var(--card);
  border: 1px solid var(--border); border-radius: 24px;
  padding: 56px 40px; box-shadow: var(--shadow);
}
.download-card h1 { font-size: 34px; font-weight: 800; color: var(--dark); line-height: 1.3; }
.dl-meta { margin: 14px 0 30px; color: var(--muted); font-size: 14px; white-space: nowrap; }
.dl-btns { display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; }
.dl-btns .btn { padding: 16px 34px; font-size: 16px; }
.dl-tip { margin-top: 24px; color: var(--text); font-size: 14px; }

/* ===== 页脚 ===== */
.site-footer { background: var(--dark); color: #C7CBD4; padding: 26px 0; text-align: center; font-size: 14px; }
.site-footer a { color: #fff; text-decoration: none; transition: color 0.3s; }
.site-footer a:hover { color: var(--primary); }

/* ===== 返回顶部 ===== */
.back-top {
  position: fixed; right: 26px; bottom: 26px; z-index: 99;
  width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--primary); color: #fff; font-size: 20px; line-height: 1;
  box-shadow: 0 8px 20px rgba(255, 122, 0, 0.35);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity 0.3s, transform 0.3s, visibility 0.3s, background 0.3s;
}
.back-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-top:hover { background: var(--primary-dark); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .faq-a { transition: none; }
}

/* ===== 平板 ===== */
@media (max-width: 992px) {
  .nav-links { display: none; }
  .btn-nav { margin-left: auto; }
  .works-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .hero { padding: 112px 0 64px; }
  .hero-inner { gap: 40px; }
  .hero-poster { 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; }

  .hero { padding: 96px 0 56px; }
  .hero-inner { flex-direction: column; gap: 36px; }
  .hero h1 { font-size: 30px; }
  .hero-btns { flex-direction: column; width: 100%; }
  .hero-btns .btn { width: 100%; }
  .hero-poster { flex: none; width: 100%; max-width: 340px; }

  .works-grid { grid-template-columns: 1fr; gap: 20px; }
  .features-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .stat-num { font-size: 30px; }
  .stat-card { padding: 24px 14px; }

  .intro-card { padding: 28px 22px; }
  .intro-points { grid-template-columns: 1fr; }

  .table-hint { display: block; }
  .version-card { padding: 26px 20px; }
  .download-card { padding: 40px 20px; }
  .dl-meta { font-size: 12px; }
  .dl-btns { flex-direction: column; width: 100%; }
  .dl-btns .btn { width: 100%; }

  .back-top { right: 16px; bottom: 16px; width: 42px; height: 42px; font-size: 18px; }
}
