/* ===== 变量与基础 ===== */
:root {
  --primary: #FFB200;
  --primary-deep: #F09500;
  --primary-soft: #FFF4D9;
  --dark: #29251C;
  --border: #F1E5CB;
  --bg: #FFFDF6;
  --bg-alt: #FFF7E6;
  --card: #FFFFFF;
  --text: #2A2519;
  --text-sub: #6E6756;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-card: 0 6px 20px rgba(41, 37, 28, 0.06);
  --shadow-hover: 0 14px 30px rgba(240, 149, 0, 0.16);
  --grad-main: linear-gradient(135deg, var(--primary), var(--primary-deep));
  --nav-h: 64px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

button { font-family: inherit; cursor: pointer; border: none; background: none; }

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

/* ===== 通用组件 ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  padding: 10px 22px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--grad-main);
  color: #fff;
  box-shadow: 0 6px 16px rgba(240, 149, 0, 0.32);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(240, 149, 0, 0.4);
}

.btn-outline {
  background: var(--card);
  color: var(--primary-deep);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary-soft);
  transform: translateY(-2px);
}

.btn-lg { padding: 14px 32px; font-size: 16px; }

/* 卡片hover上浮阴影（作品/介绍/功能/数据/评价通用） */
.work-card:hover,
.intro-card:hover,
.feature-card:hover,
.data-card:hover,
.review-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.section { padding: 80px 0; }

.section-alt { background: var(--bg-alt); }

.section-title {
  font-size: 30px;
  font-weight: 800;
  text-align: center;
  letter-spacing: 0.5px;
}

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

/* ===== 导航栏 ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(255, 253, 246, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.nav.scrolled {
  box-shadow: 0 4px 18px rgba(41, 37, 28, 0.08);
  border-bottom-color: var(--border);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  font-weight: 800;
  flex-shrink: 0;
}

.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--grad-main);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav-menu a {
  padding: 6px 10px;
  font-size: 14px;
  color: var(--text-sub);
  border-radius: 8px;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--primary-deep);
  background: var(--primary-soft);
}

.nav-download {
  font-size: 14px;
  padding: 8px 18px;
  flex-shrink: 0;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: calc(var(--nav-h) + 56px) 0 72px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -160px;
  right: -140px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 178, 0, 0.22), rgba(255, 178, 0, 0));
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -180px;
  left: -120px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 145, 0, 0.14), rgba(255, 145, 0, 0));
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.hero-text h1 {
  font-size: 44px;
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: 1px;
}

.ver {
  display: inline-block;
  margin-left: 10px;
  padding: 4px 14px;
  border-radius: 999px;
  background: var(--grad-main);
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  vertical-align: middle;
}

.hero-desc {
  margin: 22px 0 34px;
  font-size: 16px;
  color: var(--text-sub);
  max-width: 560px;
}

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

.hero-img img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

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

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

.work-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

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

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

.intro-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--grad-main);
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.intro-card h3 { font-size: 19px; font-weight: 800; margin-bottom: 10px; }

.intro-card p { font-size: 14.5px; color: var(--text-sub); }

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

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

.feat-ico {
  width: 30px;
  height: 30px;
  color: var(--primary-deep);
  margin-bottom: 14px;
}

.feature-card h3 { font-size: 17px; font-weight: 800; margin-bottom: 8px; }

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

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

.compare-grid {
  display: grid;
  grid-template-columns: 90px 1fr 1fr;
}

.cmp-head,
.cmp-dim,
.cmp-best,
.cmp-other {
  padding: 16px 18px;
  font-size: 14.5px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
}

.cmp-head {
  font-weight: 800;
  font-size: 15px;
  background: var(--bg-alt);
}

.cmp-dim { color: var(--text-sub); font-weight: 600; }

.cmp-best {
  background: var(--primary-soft);
  color: #7A4A00;
  font-weight: 700;
  border-left: 3px solid var(--primary);
}

.cmp-other { color: #8A8374; background: #FAF9F4; }

.compare-grid > :nth-last-child(-n + 3) { border-bottom: none; }

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

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

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

.data-plus { font-size: 22px; margin-left: 2px; }

.data-label { margin-top: 8px; color: var(--text-sub); font-size: 14px; }

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

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

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

.avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--grad-main);
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.review-name { font-weight: 800; font-size: 15px; }

.stars { color: var(--primary); font-size: 14px; letter-spacing: 2px; }

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

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

.version-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-bottom: 20px;
  border-bottom: 1px dashed var(--border);
  margin-bottom: 22px;
}

.version-name { font-size: 20px; font-weight: 800; }

.ver-badge {
  display: inline-block;
  margin-left: 8px;
  padding: 3px 12px;
  border-radius: 999px;
  background: var(--grad-main);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  vertical-align: middle;
}

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

.changelog { list-style: none; }

.changelog li {
  position: relative;
  padding: 8px 0 8px 26px;
  font-size: 14.5px;
  color: var(--text);
}

.changelog li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 17px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
}

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

.faq-item {
  background: var(--card);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--text);
  text-align: left;
  transition: color 0.2s ease;
}

.faq-q:hover { color: var(--primary-deep); }

.faq-arrow {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--text-sub);
  border-bottom: 2px solid var(--text-sub);
  transform: rotate(45deg);
  transition: transform 0.3s ease;
  margin-top: -4px;
}

.faq-item.open .faq-arrow { transform: rotate(-135deg); margin-top: 4px; }

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

.faq-a-inner {
  padding: 0 22px 20px;
  font-size: 14.5px;
  color: var(--text-sub);
}

/* ===== 下载区域 ===== */
.section-download { padding-bottom: 96px; }

.download-card {
  max-width: 860px;
  margin: 0 auto;
  border-radius: calc(var(--radius) + 6px);
  padding: 56px 40px;
  text-align: center;
  background: linear-gradient(135deg, #FFEFC2, #FFD76A);
  box-shadow: 0 18px 44px rgba(240, 149, 0, 0.22);
}

.download-card h1 {
  font-size: 36px;
  font-weight: 900;
  letter-spacing: 1px;
}

.download-info {
  margin: 16px 0 30px;
  font-size: 14px;
  color: #7A4A00;
}

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

.download-btns .btn-primary {
  background: linear-gradient(135deg, #FF8A00, #F06500);
  box-shadow: 0 8px 20px rgba(240, 101, 0, 0.32);
}

.download-btns .btn-outline {
  background: #fff;
}

.download-tip { margin-top: 26px; font-size: 14.5px; color: #7A4A00; font-weight: 600; }

/* ===== 页脚 ===== */
.footer {
  background: var(--dark);
  color: #CFC8B8;
  padding: 40px 0;
  text-align: center;
}

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

.footer-copy a {
  color: #fff;
  font-weight: 700;
}

.footer-slogan { margin-top: 8px; font-size: 13px; color: #948C7A; }

/* ===== 返回顶部 ===== */
.back-top {
  position: fixed;
  right: 24px;
  bottom: 32px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--grad-main);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(240, 149, 0, 0.36);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  z-index: 90;
}

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

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

.back-top:hover { transform: translateY(-3px); }

/* ===== 平板适配 ===== */
@media (max-width: 1024px) {
  .nav-menu a { padding: 6px 7px; font-size: 13px; }

  .nav-download { padding: 8px 14px; }

  .hero-inner { gap: 36px; }

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

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

  .intro-grid { grid-template-columns: 1fr; max-width: 640px; margin: 0 auto; }

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

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

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

/* ===== 小屏导航（平板竖屏/手机，仅保留logo与下载按钮） ===== */
@media (max-width: 900px) {
  .nav-menu { display: none; }

  .nav-download { margin-left: auto; }
}

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

  .section { padding: 56px 0; }

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

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

  .btn-lg { width: 100%; padding: 14px 20px; font-size: 15px; }

  .hero { padding: calc(var(--nav-h) + 32px) 0 48px; }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

  .ver { font-size: 15px; padding: 3px 10px; }

  .hero-desc { font-size: 15px; margin: 18px 0 26px; }

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

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

  .intro-grid { gap: 16px; }

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

  .compare-grid { grid-template-columns: 68px 1fr 1fr; }

  .cmp-head, .cmp-dim, .cmp-best, .cmp-other { padding: 13px 10px; font-size: 12.5px; }

  .cmp-head { font-size: 13px; }

  .data-grid { grid-template-columns: 1fr 1fr; gap: 14px; }

  .data-num { font-size: 32px; }

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

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

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

  .download-card h1 { font-size: 26px; }

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

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

  .back-top { right: 16px; bottom: 20px; width: 42px; height: 42px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn,
  .work-card,
  .intro-card,
  .feature-card,
  .data-card,
  .review-card,
  .back-top,
  .nav,
  .faq-arrow,
  .faq-a {
    transition: none;
  }
}
