:root {
  --primary: #FFB400;
  --primary-strong: #E89E00;
  --primary-soft: #FFF2CE;
  --dark: #241F14;
  --text: #3A3529;
  --text-2: #6E6655;
  --border: #EDE4CE;
  --bg: #FBF8F0;
  --card: #FFFFFF;
  --shadow: 0 12px 32px rgba(36, 31, 20, .10);
  --radius: 16px;
}

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

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

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

a { color: inherit; }
img { display: block; max-width: 100%; }
ul { list-style: none; }

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

/* ===== 按钮 ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 30px;
  background: var(--primary);
  color: var(--dark);
  border: 1px solid var(--primary);
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .25s, box-shadow .25s, background .25s, border-color .25s;
}
.btn:hover { background: var(--primary-strong); border-color: var(--primary-strong); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(255, 180, 0, .35); }
.btn-dark { background: var(--dark); color: #fff; border-color: var(--dark); }
.btn-dark:hover { background: #38301d; border-color: #38301d; }
.btn-light { background: #fff; color: var(--dark); border-color: #fff; }
.btn-light:hover { background: #F4EFE2; border-color: #F4EFE2; }
.btn-sm { min-height: 34px; padding: 6px 16px; font-size: 13px; border-radius: 10px; }

/* ===== 顶部导航 ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .3s ease;
}
.nav.scrolled { box-shadow: 0 6px 20px rgba(36, 31, 20, .08); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 800; color: var(--dark); text-decoration: none; letter-spacing: 1px; }
.logo-mark { width: 34px; height: 34px; border-radius: 10px; background: var(--primary); color: var(--dark); display: inline-flex; align-items: center; justify-content: center; font-size: 17px; font-weight: 800; }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a { display: block; padding: 7px 12px; font-size: 14px; color: var(--text-2); text-decoration: none; border-radius: 9px; transition: color .2s, background .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--dark); background: var(--primary-soft); }
.nav-links a.active { font-weight: 600; }
.nav-dl { margin-left: 10px; }

/* ===== Hero ===== */
.hero { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; padding: 64px 24px 84px; }
.hero h1 { font-size: clamp(30px, 4.2vw, 46px); line-height: 1.3; color: var(--dark); font-weight: 800; }
.hero .ver { display: inline-block; margin-left: 8px; padding: 4px 14px; border-radius: 999px; background: var(--primary-soft); color: var(--primary-strong); font-size: .55em; font-weight: 700; vertical-align: middle; letter-spacing: .5px; }
.hero-desc { margin: 22px 0 34px; font-size: 16.5px; color: var(--text-2); max-width: 540px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-img { max-width: 330px; margin: 0 auto; }
.hero-img img { width: 100%; height: auto; border-radius: 20px; box-shadow: 0 18px 44px rgba(36, 31, 20, .16); }

/* ===== 通用区块 ===== */
.section { padding: 84px 0; }
.section-alt { background: #fff; }
.sec-head { text-align: center; margin-bottom: 46px; }
.sec-head h2 { font-size: clamp(24px, 3vw, 34px); color: var(--dark); font-weight: 800; }
.sec-head h2::after { content: ""; display: block; width: 46px; height: 4px; border-radius: 2px; background: var(--primary); margin: 14px auto 0; }
.sec-sub { margin-top: 12px; color: var(--text-2); font-size: 15px; }

/* ===== 作品预览 ===== */
.works-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.work-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: transform .3s ease, box-shadow .3s ease; }
.work-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.work-card img { width: 100%; height: auto; }
.work-cap { padding: 14px 16px; }
.work-cap strong { display: block; font-size: 15px; color: var(--dark); }
.work-cap span { font-size: 13px; color: var(--text-2); }

/* ===== 产品介绍 ===== */
.intro-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 48px; align-items: start; }
.intro-text p { margin-bottom: 18px; }
.intro-points { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 20px; margin-top: 24px; }
.intro-points li { position: relative; padding-left: 30px; font-size: 14.5px; }
.intro-points li::before { content: "✓"; position: absolute; left: 2px; top: 2px; width: 19px; height: 19px; border-radius: 50%; background: var(--primary-soft); color: var(--primary-strong); font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.info-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; box-shadow: 0 8px 24px rgba(36, 31, 20, .05); }
.info-card h3 { font-size: 17px; color: var(--dark); margin-bottom: 16px; display: flex; align-items: center; gap: 9px; }
.info-card h3::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--primary); }
.info-row { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--border); font-size: 14.5px; }
.info-row:last-child { border-bottom: 0; }
.info-row dt { color: var(--text-2); }
.info-row dd { color: var(--dark); font-weight: 600; }

/* ===== 核心功能 ===== */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feat-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; transition: transform .3s ease, box-shadow .3s ease; }
.feat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.feat-icon { width: 50px; height: 50px; border-radius: 13px; background: var(--primary-soft); color: var(--primary-strong); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.feat-icon svg { width: 24px; height: 24px; }
.feat-card h3 { font-size: 17px; color: var(--dark); margin-bottom: 8px; }
.feat-card p { font-size: 14.5px; color: var(--text-2); }

/* ===== 优势对比 ===== */
.cmp-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: 0 8px 24px rgba(36, 31, 20, .04); }
.cmp-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.cmp-table th, .cmp-table td { padding: 16px 18px; text-align: center; font-size: 15px; border-bottom: 1px solid var(--border); }
.cmp-table th { background: var(--dark); color: #fff; font-weight: 600; }
.cmp-table tr:last-child td { border-bottom: 0; }
.cmp-table td:first-child { text-align: left; font-weight: 600; color: var(--dark); }
.cmp-table td.good { background: var(--primary-soft); color: #4A3A00; font-weight: 600; }
.cmp-table td.bad { color: var(--text-2); }

/* ===== 平台数据 ===== */
.section-dark { background: var(--dark); }
.section-dark .sec-head h2 { color: #fff; }
.section-dark .sec-sub { color: rgba(255, 255, 255, .65); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.stat-card { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius); padding: 34px 18px; text-align: center; transition: transform .3s ease, box-shadow .3s ease; }
.stat-card:hover { transform: translateY(-5px); box-shadow: 0 16px 36px rgba(0, 0, 0, .35); }
.stat-num { font-size: clamp(28px, 3.2vw, 42px); font-weight: 800; color: var(--primary); line-height: 1.2; }
.stat-label { margin-top: 10px; font-size: 14.5px; color: rgba(255, 255, 255, .72); }

/* ===== 用户评价 ===== */
.rev-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.rev-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; transition: transform .3s ease, box-shadow .3s ease; }
.rev-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.rev-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.rev-avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--dark); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 19px; font-weight: 800; flex-shrink: 0; }
.rev-name { font-size: 15.5px; font-weight: 700; color: var(--dark); }
.rev-stars { font-size: 13px; color: var(--primary); letter-spacing: 2px; margin-top: 2px; }
.rev-text { font-size: 14.5px; color: var(--text-2); line-height: 1.8; }

/* ===== 版本更新 ===== */
.upd-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); max-width: 860px; margin: 0 auto; padding: 34px 38px; }
.upd-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid var(--border); margin-bottom: 8px; }
.upd-ver { font-size: 22px; font-weight: 800; color: var(--dark); }
.upd-ver span { color: var(--primary-strong); }
.upd-date { font-size: 14px; color: var(--text-2); background: var(--primary-soft); padding: 5px 14px; border-radius: 999px; }
.upd-list li { position: relative; padding: 12px 0 12px 30px; font-size: 15px; border-bottom: 1px dashed var(--border); }
.upd-list li:last-child { border-bottom: 0; }
.upd-list li::before { content: ""; position: absolute; left: 4px; top: 21px; width: 8px; height: 8px; border-radius: 50%; background: var(--primary); }

/* ===== FAQ ===== */
.faq { 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 .3s ease; }
.faq-item.open { box-shadow: var(--shadow); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 22px; background: none; border: 0; cursor: pointer; font-size: 15.5px; font-weight: 600; color: var(--dark); text-align: left; font-family: inherit; }
.faq-icon { width: 26px; height: 26px; border-radius: 50%; background: var(--primary-soft); color: var(--primary-strong); flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 17px; font-weight: 700; transition: transform .3s ease; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a-inner { padding: 0 22px 20px; font-size: 15px; color: var(--text-2); line-height: 1.85; }

/* ===== 下载区域 ===== */
.dl-wrap { max-width: 860px; margin: 0 auto; }
.dl-card { position: relative; background: var(--dark); border-radius: 26px; padding: 60px 40px 52px; text-align: center; color: #fff; overflow: hidden; }
.dl-card::before { content: ""; position: absolute; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 180, 0, .28), transparent 68%); top: -140px; right: -110px; }
.dl-card::after { content: ""; position: absolute; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 180, 0, .16), transparent 70%); bottom: -110px; left: -80px; }
.dl-card h1 { position: relative; font-size: clamp(26px, 3.4vw, 40px); color: #fff; font-weight: 800; }
.dl-card .ver { display: inline-block; margin-left: 8px; padding: 3px 14px; border-radius: 999px; background: rgba(255, 180, 0, .18); color: var(--primary); font-size: .55em; font-weight: 700; vertical-align: middle; }
.dl-meta { position: relative; margin: 16px 0 30px; font-size: 14px; color: rgba(255, 255, 255, .78); }
.dl-btns { position: relative; display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.dl-tip { position: relative; margin-top: 26px; font-size: 15px; color: rgba(255, 255, 255, .85); }

/* ===== 页脚 ===== */
.footer { padding: 40px 20px; text-align: center; background: #fff; border-top: 1px solid var(--border); color: var(--text-2); font-size: 14px; }
.footer-link { color: var(--text-2); text-decoration: none; font-weight: 700; transition: color .2s; }
.footer-link:hover { color: var(--primary-strong); }

/* ===== 返回顶部 ===== */
.to-top {
  position: fixed;
  right: 26px;
  bottom: 30px;
  z-index: 90;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 13px;
  background: var(--primary);
  color: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(255, 180, 0, .4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .3s ease, transform .3s ease, visibility .3s, background .3s;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--primary-strong); }
.to-top svg { width: 20px; height: 20px; }

/* ===== 响应式 ===== */
@media (max-width: 1100px) {
  .nav-links a { padding: 7px 9px; font-size: 13.5px; }
}

@media (max-width: 992px) {
  .hero { grid-template-columns: 1fr; gap: 36px; text-align: center; padding: 48px 24px 64px; }
  .hero-desc { margin-left: auto; margin-right: auto; }
  .hero-btns { justify-content: center; }
  .hero-img { max-width: 300px; }
  .works-grid { grid-template-columns: repeat(2, 1fr); }
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .rev-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .intro-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .nav-inner { height: 58px; }
  .nav-links { display: none; }
  .logo { font-size: 18px; }
  .logo-mark { width: 36px; height: 36px; }
  .nav-dl { min-height: 40px; }
  .section { padding: 60px 0; }
  .sec-head { margin-bottom: 34px; }
  .hero { padding: 36px 20px 52px; }
  .hero h1 { font-size: clamp(26px, 7vw, 34px); }
  .hero-btns { flex-direction: column; width: 100%; }
  .hero-btns .btn { width: 100%; }
  .works-grid, .feat-grid, .rev-grid, .stats-grid { grid-template-columns: 1fr; }
  .intro-points { grid-template-columns: 1fr; }
  .work-cap span { font-size: 13.5px; }
  .cmp-table th, .cmp-table td { padding: 10px 6px; font-size: 13px; }
  .upd-card { padding: 24px 20px; }
  .dl-card { padding: 44px 20px 40px; border-radius: 20px; }
  .dl-btns { flex-direction: column; }
  .dl-btns .btn { width: 100%; }
  .dl-meta { font-size: 12px; white-space: nowrap; }
  .to-top { right: 16px; bottom: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
