/* ===== 变量与基础 ===== */
:root {
  --primary: #FF9E00;
  --primary-deep: #FF6D00;
  --primary-soft: #FFF3DC;
  --dark: #1F2430;
  --text: #3A4151;
  --text-light: #7A8194;
  --border: #E9ECF2;
  --bg: #FFFFFF;
  --bg-soft: #F7F8FB;
  --radius: 16px;
  --radius-lg: 20px;
  --shadow-hover: 0 14px 34px rgba(255, 122, 0, .16);
  --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", "Microsoft YaHei", "Segoe UI", Arial, sans-serif;
  font-size: 15px; line-height: 1.7; color: var(--text); background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ===== 顶部导航 ===== */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--header-h);
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.header.scrolled { border-color: var(--border); box-shadow: 0 6px 18px rgba(31, 36, 48, .06); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.logo { display: flex; align-items: center; gap: 8px; font-size: 23px; font-weight: 800; color: var(--dark); white-space: nowrap; }
.logo-mark { width: 32px; height: 32px; border-radius: 9px; flex-shrink: 0; font-size: 17px; }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a { font-size: 14px; color: var(--text); padding: 6px 10px; border-radius: 8px; transition: color .25s, background .25s; white-space: nowrap; }
.nav-links a:hover { color: var(--primary-deep); background: var(--primary-soft); }

/* ===== 按钮 ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  font-weight: 700; color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-deep));
  border-radius: 999px;
  transition: transform .25s, box-shadow .25s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(255, 122, 0, .32); }
.btn-nav { font-size: 13px; padding: 9px 16px; }
.btn-lg { font-size: 16px; padding: 14px 30px; }

/* ===== 渐变图标容器（复用） ===== */
.logo-mark, .review-avatar, .back-top {
  background: linear-gradient(135deg, var(--primary), var(--primary-deep));
  color: #fff; display: flex; align-items: center; justify-content: center;
}

/* ===== 通用区块 ===== */
.section { padding: 76px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 44px; }
.sec-tag {
  display: inline-block; font-size: 12px; font-weight: 700; color: var(--primary-deep);
  background: var(--primary-soft); border-radius: 999px; padding: 4px 14px; margin-bottom: 12px;
}
.section-head h2 { font-size: 32px; font-weight: 800; color: var(--dark); line-height: 1.3; }
.section-head p { margin-top: 12px; color: var(--text-light); font-size: 15px; }

/* ===== 首屏 Hero ===== */
.hero {
  padding: calc(var(--header-h) + 56px) 0 72px;
  background:
    radial-gradient(720px 420px at 84% 10%, rgba(255, 184, 0, .16), transparent 62%),
    linear-gradient(180deg, #FFF8EA 0%, #fff 100%);
}
.hero-inner { display: flex; align-items: center; gap: 60px; }
.hero-text { flex: 1; min-width: 0; }
.hero h1 { font-size: 46px; line-height: 1.25; font-weight: 800; color: var(--dark); letter-spacing: 1px; }
.v {
  display: inline-block; margin-left: 10px; vertical-align: middle; font-size: 14px; font-weight: 700;
  color: #fff; background: linear-gradient(135deg, var(--primary), var(--primary-deep));
  padding: 4px 12px; border-radius: 999px; letter-spacing: 0;
}
.hero-desc { margin: 22px 0 28px; font-size: 16px; color: var(--text); max-width: 560px; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-tags { display: flex; gap: 10px; margin-top: 24px; flex-wrap: wrap; }
.hero-tags span { font-size: 13px; color: var(--text-light); background: var(--bg); border: 1px solid var(--border); border-radius: 999px; padding: 5px 12px; }
.hero-img { flex: 0 0 320px; }
.hero-img img {
  width: 100%; height: auto; border-radius: 26px;
  border: 1px solid var(--border); box-shadow: 0 24px 48px rgba(31, 36, 48, .16);
}

/* ===== 卡片通用（复用） ===== */
.work-card, .feat-card, .stat-card, .review-card {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg);
  transition: transform .3s, box-shadow .3s;
}
.work-card:hover, .feat-card:hover, .stat-card:hover, .review-card:hover {
  transform: translateY(-5px); box-shadow: var(--shadow-hover);
}

/* ===== 作品预览 ===== */
.works-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.work-card { padding: 10px; }
.work-card img { width: 100%; height: auto; border-radius: 14px; }
.work-name { text-align: center; font-size: 14px; font-weight: 700; color: var(--dark); padding: 12px 4px 6px; }

/* ===== 产品介绍 ===== */
.intro { max-width: 860px; margin: 0 auto; text-align: center; }
.intro h3 { font-size: 24px; font-weight: 800; color: var(--dark); margin-bottom: 18px; }
.intro p { font-size: 15.5px; margin-bottom: 16px; }
.intro-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }
.intro-chips li {
  display: flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--text);
  background: var(--bg); border: 1px solid var(--border); border-radius: 999px; padding: 9px 16px;
}
.intro-chips svg { width: 16px; height: 16px; color: var(--primary-deep); flex-shrink: 0; }

/* ===== 核心功能 ===== */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feat-card { padding: 28px 24px; }
.feat-ico {
  width: 52px; height: 52px; border-radius: 14px; margin-bottom: 18px;
  background: var(--primary-soft); color: var(--primary-deep);
  display: flex; align-items: center; justify-content: center;
}
.feat-ico svg { width: 26px; height: 26px; }
.feat-card h3 { font-size: 18px; font-weight: 800; color: var(--dark); margin-bottom: 10px; }
.feat-card p { font-size: 14px; color: var(--text-light); }

/* ===== 优势对比 ===== */
.compare-scroll {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow-x: auto; -webkit-overflow-scrolling: touch;
}
.compare-table { width: 100%; border-collapse: collapse; }
.compare-table th, .compare-table td { padding: 16px 18px; font-size: 14px; text-align: center; border-bottom: 1px solid var(--border); }
.compare-table th { font-weight: 800; color: var(--dark); background: var(--bg-soft); white-space: nowrap; }
.compare-table th:first-child, .compare-table td:first-child { text-align: left; color: var(--text-light); font-weight: 600; }
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table .me { background: var(--primary-soft); font-weight: 700; color: var(--dark); }
.compare-table .me::before { content: "✓"; color: var(--primary-deep); font-weight: 800; margin-right: 5px; }
.scroll-tip { display: none; text-align: center; font-size: 13px; color: var(--text-light); margin-top: 12px; }

/* ===== 平台数据 ===== */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.stat-card { padding: 32px 20px; text-align: center; }
.stat-num {
  font-size: 40px; font-weight: 800; line-height: 1.2;
  background: linear-gradient(135deg, var(--primary), var(--primary-deep));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat-label { margin-top: 8px; font-size: 14px; color: var(--text-light); }

/* ===== 用户评价 ===== */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review-card { padding: 24px; }
.review-top { display: flex; align-items: center; gap: 12px; }
.review-avatar { width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0; font-size: 18px; font-weight: 800; }
.review-info { flex: 1; min-width: 0; }
.review-name { font-size: 15px; font-weight: 800; color: var(--dark); }
.review-stars { font-size: 13px; color: var(--primary); letter-spacing: 2px; }
.review-card p { margin-top: 14px; font-size: 14px; line-height: 1.75; }

/* ===== 版本更新 ===== */
.version-card {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 36px 32px; max-width: 860px; margin: 0 auto;
}
.version-head {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px;
  padding-bottom: 20px; border-bottom: 1px solid var(--border); margin-bottom: 22px;
}
.version-no { font-size: 30px; font-weight: 800; color: var(--dark); }
.version-no span { color: var(--primary-deep); }
.version-date {
  font-size: 14px; color: var(--text-light); background: var(--bg-soft);
  border: 1px solid var(--border); border-radius: 999px; padding: 6px 14px;
}
.version-list li { position: relative; padding-left: 22px; margin-bottom: 12px; font-size: 14.5px; }
.version-list li::before {
  content: ""; position: absolute; left: 2px; top: 9px; width: 8px; height: 8px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-deep));
}

/* ===== FAQ ===== */
.faq-wrap { max-width: 820px; margin: 0 auto; }
.faq-item { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 14px; overflow: hidden; transition: box-shadow .3s, border-color .3s; }
.faq-item.open { box-shadow: 0 10px 28px rgba(31, 36, 48, .08); border-color: transparent; }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 14px;
  text-align: left; padding: 18px 22px; font-size: 15.5px; font-weight: 700; color: var(--dark);
}
.faq-q .arrow {
  flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%;
  background: var(--primary-soft); color: var(--primary-deep); font-size: 16px; font-weight: 800; line-height: 26px;
  text-align: center; transition: transform .3s, background .3s, color .3s;
}
.faq-item.open .faq-q .arrow {
  transform: rotate(45deg);
  background: linear-gradient(135deg, var(--primary), var(--primary-deep)); color: #fff;
}
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s ease; }
.faq-a-inner { overflow: hidden; }
.faq-a-inner p { padding: 0 22px 20px; font-size: 14px; color: var(--text-light); line-height: 1.85; }
.faq-item.open .faq-a { grid-template-rows: 1fr; }

/* ===== 下载区域 ===== */
.download {
  padding: 84px 0;
  background:
    radial-gradient(640px 380px at 50% 0%, rgba(255, 184, 0, .16), transparent 65%),
    linear-gradient(180deg, #FFF8EA, #fff);
}
.download-inner { text-align: center; }
.download h1 { font-size: 38px; font-weight: 800; color: var(--dark); letter-spacing: 1px; }
.download-meta { display: flex; justify-content: center; align-items: center; gap: 10px; margin: 18px 0 30px; font-size: 14px; color: var(--text-light); }
.download-meta .sep { color: var(--border); }
.download-btns { display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; }
.download-tip { margin-top: 26px; font-size: 15px; font-weight: 700; color: var(--primary-deep); }

/* ===== 页脚 ===== */
.footer { background: var(--dark); padding: 34px 0; text-align: center; }
.footer p { color: rgba(255, 255, 255, .72); font-size: 13.5px; }
.footer a { color: #fff; font-weight: 700; transition: color .25s; }
.footer a:hover { color: var(--primary); }
.footer p + p { margin-top: 6px; }

/* ===== 返回顶部 ===== */
.back-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 90; width: 46px; height: 46px; border-radius: 50%;
  box-shadow: 0 10px 22px rgba(255, 122, 0, .35);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .3s, transform .3s, visibility .3s;
}
.back-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-top svg { width: 20px; height: 20px; }

/* ===== 平板适配 ===== */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .works-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 992px) {
  .hero-inner { flex-direction: column; gap: 40px; text-align: center; }
  .hero-desc { margin-left: auto; margin-right: auto; }
  .hero-btns { justify-content: center; }
  .hero-tags { justify-content: center; }
  .hero-img { flex: 0 0 auto; width: 280px; margin: 0 auto; }
}

/* ===== 手机适配 ===== */
@media (max-width: 640px) {
  .section { padding: 56px 0; }
  .section-head { margin-bottom: 32px; }
  .section-head h2 { font-size: 26px; }
  .hero { padding: calc(var(--header-h) + 24px) 0 52px; }
  .hero h1 { font-size: 30px; }
  .hero-desc { font-size: 15px; }
  .hero-btns { flex-direction: column; width: 100%; }
  .hero-btns .btn-lg { width: 100%; }
  .hero-img { width: min(280px, 72%); }
  .works-grid { grid-template-columns: 1fr; gap: 16px; }
  .features-grid { grid-template-columns: 1fr; gap: 14px; }
  .reviews-grid { grid-template-columns: 1fr; gap: 14px; }
  .stats-grid { gap: 14px; }
  .stat-card { padding: 26px 12px; }
  .intro-chips li { font-size: 14px; }
  .stat-num { font-size: 32px; }
  .compare-table { min-width: 620px; }
  .compare-table th, .compare-table td { white-space: nowrap; }
  .scroll-tip { display: block; }
  .version-card { padding: 26px 20px; }
  .version-no { font-size: 26px; }
  .faq-q { padding: 16px 18px; font-size: 15px; }
  .faq-a-inner p { padding: 0 18px 18px; }
  .download { padding: 60px 0; }
  .download h1 { font-size: 28px; }
  .download-meta { font-size: 12px; white-space: nowrap; }
  .download-btns { flex-direction: column; max-width: 380px; margin: 0 auto; }
  .download-btns .btn { width: 100%; }
  .back-top { right: 14px; bottom: 14px; width: 42px; height: 42px; }
}
