/* ===== uu漫画 官网落地页样式 ===== */
:root {
  --primary: #FF5A2C;
  --primary-dark: #E64A1B;
  --primary-soft: #FFF0E9;
  --dark: #191B22;
  --text: #242832;
  --text-2: #5C6270;
  --border: #E8EAF0;
  --bg: #F7F8FB;
  --card: #FFFFFF;
  --radius: 16px;
  --shadow-sm: 0 2px 10px rgba(25, 27, 34, .05);
  --shadow-hover: 0 14px 30px rgba(25, 27, 34, .10);
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", sans-serif;
}

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

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

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

.section { padding: 76px 0; background: var(--card); }
.section-alt { background: var(--bg); }

.section-head { text-align: center; margin-bottom: 46px; }
.section-head h2 { font-size: 30px; font-weight: 800; letter-spacing: .5px; }
.section-head p { margin-top: 10px; font-size: 15px; color: var(--text-2); }

/* ===== 按钮 ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background .25s, color .25s, border-color .25s, box-shadow .25s, transform .25s;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); box-shadow: 0 8px 20px rgba(255, 90, 44, .32); transform: translateY(-2px); }
.btn-ghost { background: var(--card); color: var(--text); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary-dark); box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.btn-lg { padding: 14px 36px; font-size: 16px; }

a:focus-visible, button:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

/* ===== 顶部导航 ===== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--card);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .3s;
}
.header.scrolled { box-shadow: 0 4px 18px rgba(25, 27, 34, .08); }

.nav {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  font-size: 20px;
  font-weight: 800;
  color: var(--primary);
  height: 32px;
  display: inline-flex;
  align-items: center;
  letter-spacing: .5px;
  flex-shrink: 0;
}

.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a {
  display: block;
  padding: 6px 11px;
  font-size: 14px;
  color: var(--text-2);
  border-radius: 999px;
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--primary-dark); background: var(--primary-soft); }
.nav-links a.active { color: var(--primary-dark); font-weight: 600; background: var(--primary-soft); }

.btn-nav { padding: 6px 16px; font-size: 13px; flex-shrink: 0; }

/* ===== 首屏 Hero ===== */
.hero {
  background: linear-gradient(180deg, var(--primary-soft) 0%, var(--card) 70%);
  padding-top: 64px;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
  padding: 64px 24px 84px;
}
.hero-text h1 { font-size: 42px; font-weight: 800; line-height: 1.25; letter-spacing: .5px; }
.hero-text .ver { color: var(--primary); }
.hero-desc { margin: 20px 0 30px; font-size: 16px; color: var(--text-2); max-width: 560px; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-tags { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px; }
.hero-tags li {
  padding: 6px 14px;
  font-size: 13px;
  color: var(--primary-dark);
  background: var(--primary-soft);
  border-radius: 999px;
}
.hero-img img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: var(--shadow-hover);
}

/* ===== 作品预览 ===== */
.works-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.work-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px;
  box-shadow: var(--shadow-sm);
  transition: transform .3s, box-shadow .3s;
}
.work-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.work-card img { width: 100%; height: auto; border-radius: 12px; }
.work-card figcaption { padding: 12px 4px 6px; font-size: 13.5px; color: var(--text-2); text-align: center; }

/* ===== 产品介绍 ===== */
.intro-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.intro-text p { font-size: 15.5px; line-height: 1.9; color: var(--text-2); margin-bottom: 16px; }
.intro-text p:first-child { color: var(--text); }
.intro-cards { display: grid; gap: 16px; }
.intro-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform .3s, box-shadow .3s;
}
.intro-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.intro-card h3 { font-size: 17px; margin-bottom: 8px; }
.intro-card h3::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--primary); margin-right: 10px; }
.intro-card p { font-size: 14px; color: var(--text-2); line-height: 1.8; }

/* ===== 核心功能 ===== */
.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 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .3s, box-shadow .3s;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.f-icon {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 14px;
  background: var(--primary-soft);
  margin-bottom: 18px;
}
.f-icon svg { width: 26px; height: 26px; fill: none; stroke: var(--primary); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feature-card h3 { font-size: 18px; margin-bottom: 10px; }
.feature-card p { font-size: 14px; color: var(--text-2); line-height: 1.8; }

/* ===== 优势对比 ===== */
.compare-wrap { overflow-x: auto; }
.compare {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.compare th, .compare td {
  padding: 15px 16px;
  font-size: 14px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.compare thead th {
  background: var(--bg);
  font-weight: 700;
  color: var(--text);
}
.compare thead .col-best { color: var(--primary-dark); background: var(--primary-soft); }
.compare tbody td:first-child { text-align: left; font-weight: 600; color: var(--text); }
.compare .col-best { background: var(--primary-soft); }
.compare tbody tr:last-child td { border-bottom: none; }
.mark { display: inline-block; font-weight: 700; margin-right: 6px; }
.mark.yes { color: #16A34A; }
.mark.no { color: #DC2626; }
.mark.mid { color: #D97706; }

/* ===== 平台数据 ===== */
.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);
  padding: 36px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform .3s, box-shadow .3s;
}
.stat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.stat-num { display: block; font-size: 42px; font-weight: 800; color: var(--dark); line-height: 1.1; }
.stat-num em { font-style: normal; color: var(--primary); font-size: 24px; margin-left: 2px; }
.stat-label { display: block; margin-top: 10px; font-size: 14px; color: var(--text-2); }

/* ===== 用户真实评价 ===== */
.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: 24px;
  box-shadow: var(--shadow-sm);
  transition: transform .3s, box-shadow .3s;
}
.review-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.review-top { display: flex; align-items: center; gap: 14px; }
.avatar {
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-size: 18px;
  font-weight: 700;
  flex-shrink: 0;
}
.review-name { display: block; font-size: 15px; font-weight: 700; }
.stars { display: block; color: #F59E0B; font-size: 13px; letter-spacing: 3px; line-height: 1.4; }
.review-text { margin-top: 14px; font-size: 14px; color: var(--text-2); line-height: 1.8; }

/* ===== 版本更新 ===== */
.update-card {
  max-width: 780px;
  margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.update-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.update-ver { font-size: 28px; font-weight: 800; color: var(--primary); }
.update-date { font-size: 14px; color: var(--text-2); }
.update-list { margin-top: 20px; }
.update-list li {
  position: relative;
  padding: 12px 0 12px 24px;
  font-size: 14.5px;
  color: var(--text);
  border-bottom: 1px dashed var(--border);
}
.update-list li:last-child { border-bottom: none; }
.update-list li::before {
  content: "";
  position: absolute;
  left: 2px; top: 21px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--primary);
}

/* ===== FAQ 折叠问答 ===== */
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .3s;
}
.faq-item.open { box-shadow: var(--shadow-hover); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--text);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
}
.faq-icon { position: relative; width: 18px; height: 18px; flex-shrink: 0; }
.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute;
  background: var(--primary);
  border-radius: 2px;
  transition: transform .3s;
}
.faq-icon::before { left: 0; top: 8px; width: 18px; height: 2px; }
.faq-icon::after { left: 8px; top: 0; width: 2px; height: 18px; }
.faq-item.open .faq-icon::after { transform: rotate(90deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a p { padding: 0 22px 20px; font-size: 14.5px; color: var(--text-2); line-height: 1.9; }

/* ===== 下载区域 ===== */
.download { background: linear-gradient(180deg, var(--primary-soft) 0%, var(--bg) 90%); }
.download-card {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 52px 40px;
  box-shadow: var(--shadow-hover);
}
.download-card h1 { font-size: 34px; font-weight: 800; }
.download-card .ver { color: var(--primary); }
.download-meta { margin: 14px 0 30px; font-size: 14px; color: var(--text-2); }
.download-btns { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.download-tip { margin-top: 22px; font-size: 14.5px; color: var(--primary-dark); }

/* ===== 底部页脚 ===== */
.footer { background: var(--dark); padding: 44px 0; }
.footer-inner { text-align: center; }
.footer-logo { font-size: 22px; font-weight: 800; color: #fff; }
.footer-slogan { margin: 12px 0 16px; font-size: 13.5px; color: #9AA0AE; }
.footer-copy { font-size: 13px; color: #7C8290; }
.footer-copy a { color: #EDEFF4; transition: color .2s; }
.footer-copy a:hover { color: var(--primary); }

/* ===== 返回顶部 ===== */
.back-top {
  position: fixed;
  right: 26px; bottom: 30px;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: none;
  background: var(--dark);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .3s, transform .3s, visibility .3s, background .25s;
}
.back-top:hover { background: var(--primary); }
.back-top.show { opacity: 1; visibility: visible; transform: none; }
.back-top svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ===== 滚动显现 ===== */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ===== 平板适配 ===== */
@media (max-width: 1100px) {
  .nav-links a { padding: 6px 8px; font-size: 13px; }
  .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); }
  .hero-text h1 { font-size: 36px; }
}

/* ===== 手机适配 ===== */
@media (max-width: 860px) {
  .nav-links { display: none; }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .nav { height: 56px; }
  .logo { font-size: 18px; height: 28px; }
  .btn-nav { padding: 4px 12px; font-size: 12px; }
  .hero-tags li { font-size: 14px; }

  .hero { padding-top: 56px; }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 40px 20px 56px;
    text-align: center;
  }
  .hero-text h1 { font-size: 28px; }
  .hero-desc { margin: 16px auto 24px; font-size: 14.5px; }
  .hero-btns { flex-direction: column; align-items: stretch; width: 100%; }
  .hero-btns .btn { width: 100%; }
  .hero-tags { justify-content: center; }

  .section { padding: 52px 0; }
  .section-head { margin-bottom: 32px; }
  .section-head h2 { font-size: 24px; }

  .works-grid { grid-template-columns: 1fr; gap: 18px; }
  .intro-body { grid-template-columns: 1fr; gap: 28px; }
  .features-grid { grid-template-columns: 1fr; gap: 16px; }
  .reviews-grid { grid-template-columns: 1fr; gap: 16px; }
  .stats-grid { gap: 16px; }
  .stat-num { font-size: 32px; }

  .compare th, .compare td { padding: 11px 6px; font-size: 12px; }
  .compare td:first-child { white-space: nowrap; }
  .mark { margin-right: 3px; }

  .update-card { padding: 24px 20px; }
  .update-head { flex-direction: column; align-items: flex-start; gap: 6px; }
  .update-ver { font-size: 24px; }
  .faq-q { padding: 16px 18px; font-size: 15px; }
  .faq-a p { padding: 0 18px 18px; font-size: 14px; }

  .download-card { padding: 38px 20px; border-radius: 16px; }
  .download-card h1 { font-size: 26px; }
  .download-meta { font-size: 12px; white-space: nowrap; }
  .download-btns { flex-direction: column; align-items: stretch; }
  .download-btns .btn { width: 100%; }

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