/* =========================================================
   妖精漫画 · 官网全局样式
   设计 Token / 移动优先 / 轻量动效（保障百度抓取与首屏速度）
   ========================================================= */
:root {
  --brand-500: #ff7a3d;
  --brand-600: #f5621f;
  --brand-100: #ffe3cc;
  --accent: #ffa94d;
  --ink: #2b1e14;
  --muted: #8a7563;
  --paper: #fff8f1;
  --card: #ffffff;
  --grad: linear-gradient(135deg, #ff8f4d, #ff7a3d 55%, #f5621f);
  --radius: 20px;
  --radius-sm: 14px;
  --shadow: 0 12px 34px rgba(255, 122, 61, 0.16);
  --shadow-soft: 0 8px 26px rgba(43, 30, 20, 0.08);
  --maxw: 1080px;
  --nav-h: 60px;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  font-size: 15px;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.3; font-weight: 800; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.section { padding: 44px 0; }

/* ---------- 顶部导航 ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  height: var(--nav-h);
  background: rgba(255, 248, 241, 0.85);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid rgba(255, 122, 61, 0.12);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.nav-brand { display: flex; align-items: center; gap: 10px; }
.nav-brand img { width: 36px; height: 36px; border-radius: 10px; object-fit: cover; }
.nav-brand strong { font-size: 18px; font-weight: 800; letter-spacing: 0.5px; }
.nav-brand em {
  font-style: normal; font-size: 10px; font-weight: 700; color: #fff;
  background: var(--grad); padding: 2px 7px; border-radius: 20px; margin-left: 2px;
}
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 8px 12px; border-radius: 20px; font-size: 14px; font-weight: 600; color: var(--muted);
  position: relative;
}
.nav-links a.on { color: var(--brand-600); background: var(--brand-100); }
.nav-links a:not(.on):active { color: var(--brand-600); }
.nav-dl {
  background: var(--grad); color: #fff; font-weight: 700; padding: 9px 16px!important;
  border-radius: 24px; font-size: 13.5px;
  box-shadow: 0 6px 16px rgba(255,122,61,.35);
}
.nav-dl:active { transform: scale(.94); }

/* 汉堡菜单 */
.burger { display: none; flex-direction: column; gap: 5px; width: 40px; height: 40px; align-items: center; justify-content: center; }
.burger span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s; }
.mobile-menu { display: none; background: var(--paper); border-bottom: 1px solid rgba(255,122,61,.12); padding: 10px 20px 16px; }
.mobile-menu a { display: block; padding: 12px 4px; font-size: 15px; font-weight: 700; color: var(--ink); border-bottom: 1px solid rgba(255,122,61,.08); }
.mobile-menu a.on { color: var(--brand-600); }

@media (max-width: 760px) {
  .nav-links, .nav-dl { display: none; }
  .burger { display: flex; }
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--grad); color: #fff; font-weight: 800; font-size: 16px;
  padding: 14px 26px; border-radius: 28px; min-height: 50px;
  box-shadow: var(--shadow); transition: transform .18s, box-shadow .18s, filter .18s;
  -webkit-user-select: none; user-select: none;
}
.btn:active { transform: scale(.96); box-shadow: 0 4px 10px rgba(255,122,61,.3); }
.btn svg { width: 20px; height: 20px; }
.btn-ghost {
  background: var(--card); color: var(--brand-600); border: 2px solid #ffe0c8;
  box-shadow: none; font-weight: 700;
}
.btn-sm { padding: 10px 18px; font-size: 14px; min-height: 40px; }
.btn-block { width: 100%; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 34px 0 54px; }
.hero:before {
  content: ""; position: absolute; top: -120px; right: -110px; width: 320px; height: 320px;
  border-radius: 50%; background: radial-gradient(circle, #ffe3cc, transparent 68%);
}
.hero:after {
  content: ""; position: absolute; top: 160px; left: -120px; width: 260px; height: 260px;
  border-radius: 50%; background: radial-gradient(circle, #ffe9d6, transparent 66%);
}
.hero .container { position: relative; z-index: 2; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--brand-100); color: var(--brand-600); font-weight: 700; font-size: 12.5px;
  padding: 7px 14px; border-radius: 30px;
}
.hero h1 {
  font-size: 40px; line-height: 1.22; margin: 18px 0 14px; letter-spacing: 0.5px;
}
.hero h1 em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-sub { color: var(--muted); font-size: 16px; max-width: 540px; }
.hero-cta { display: flex; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.hero-note { margin-top: 14px; font-size: 12.5px; color: var(--muted); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.hero-note span { display: inline-flex; align-items: center; gap: 4px; }

/* Hero 手机预览 */
.hero-visual { margin-top: 34px; display: flex; justify-content: center; position: relative; }
.phone {
  width: 278px; background: var(--card); border-radius: 34px; padding: 12px;
  box-shadow: var(--shadow); border: 2px solid #fff; position: relative;
  transform: rotate(-1.5deg);
}
.phone .screen { background: #fff; border-radius: 24px; overflow: hidden; }
.phone .statusbar { height: 22px; background: linear-gradient(90deg, var(--brand-500), var(--accent)); }
.phone .ph-head { display: flex; align-items: center; gap: 8px; padding: 10px 8px 6px; }
.phone .ph-head img { width: 26px; height: 26px; border-radius: 8px; }
.phone .ph-head b { font-size: 13px; }
.phone .ph-search { margin: 0 8px; background: var(--brand-100); border-radius: 14px; padding: 8px 12px; font-size: 10.5px; color: var(--muted); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px 8px 8px; }
.cover { border-radius: 12px; padding: 20px 10px 12px; color: #fff; position: relative; height: 96px; display: flex; flex-direction: column; justify-content: flex-end; }
.cover small { font-weight: 800; font-size: 11px; line-height: 1.25; }
.cover i { font-style: normal; font-size: 9px; opacity: .85; margin-top: 2px; }
.cv-a { background: linear-gradient(160deg,#ff9a5c,#ff6a3d); }
.cv-b { background: linear-gradient(160deg,#ffb24d,#ff9331); }
.cv-c { background: linear-gradient(160deg,#ff8f8f,#ff5f6d); }
.cv-d { background: linear-gradient(160deg,#6ec6ff,#3d9bff); }
.cv-e { background: linear-gradient(160deg,#9a7bff,#7a4dff); }
.cv-f { background: linear-gradient(160deg,#ffb86c,#ff8f3d); }
.float-fox { position: absolute; width: 84px; left: -8px; top: -26px; z-index: 3; animation: float 4s ease-in-out infinite; border-radius: 20px; box-shadow: var(--shadow-soft); }
.star { position: absolute; color: var(--accent); animation: pulse 2.6s ease-in-out infinite; }
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }
@keyframes pulse { 0%,100%{opacity:.4;transform:scale(.9)} 50%{opacity:1;transform:scale(1.1)} }

/* ---------- 信任标签 ---------- */
.trust { background: #fff; border-top: 1px solid rgba(255,122,61,.1); border-bottom: 1px solid rgba(255,122,61,.1); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding: 20px 0; }
.trust-item { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.trust-item .ic { width: 46px; height: 46px; border-radius: 14px; background: var(--brand-100); display: grid; place-items: center; color: var(--brand-600); }
.trust-item .ic svg { width: 24px; height: 24px; }
.trust-item b { font-size: 14px; }
.trust-item span { font-size: 11.5px; color: var(--muted); }

/* ---------- 区块标题 ---------- */
.sec-head { text-align: center; max-width: 620px; margin: 0 auto 30px; }
.sec-head .tag { color: var(--brand-600); font-weight: 700; font-size: 12.5px; letter-spacing: 2px; }
.sec-head h2 { font-size: 27px; margin: 8px 0 10px; }
.sec-head p { color: var(--muted); font-size: 14.5px; }

/* ---------- 功能卡片 ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card {
  background: var(--card); border-radius: var(--radius); padding: 24px 20px;
  border: 1px solid rgba(255,122,61,.1); box-shadow: var(--shadow-soft);
  transition: transform .22s ease, box-shadow .22s ease;
}
.card .c-ic { width: 50px; height: 50px; border-radius: 15px; background: var(--grad); color: #fff; display: grid; place-items: center; margin-bottom: 14px; }
.card .c-ic svg { width: 26px; height: 26px; }
.card h3 { font-size: 17px; margin-bottom: 6px; }
.card p { font-size: 13.5px; color: var(--muted); }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }

/* ---------- 双栏特性 ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: center; }
.split .t2 h3 { font-size: 24px; margin-bottom: 12px; }
.split .t2 p { color: var(--muted); margin-bottom: 18px; }
.feat-list li { display: flex; gap: 12px; margin-bottom: 14px; align-items: flex-start; }
.feat-list .dot { flex: 0 0 auto; width: 22px; height: 22px; border-radius: 50%; background: var(--brand-100); color: var(--brand-600); display: grid; place-items: center; margin-top: 2px; }
.feat-list .dot svg { width: 14px; height: 14px; }
.feat-list b { font-size: 15px; }
.feat-list span { font-size: 13px; color: var(--muted); display: block; }

/* 统计条 */
.stats { background: var(--grad); color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; padding: 30px 0; text-align: center; }
.stat b { display: block; font-size: 26px; font-weight: 800; }
.stat span { font-size: 12px; opacity: .9; }

/* ---------- 下载区块 ---------- */
.dl-section { position: relative; }
.dl-panel {
  background: var(--card); border-radius: 26px; padding: 34px 24px; text-align: center;
  border: 1px solid rgba(255,122,61,.14); box-shadow: var(--shadow-soft); position: relative; overflow: hidden;
}
.dl-panel:before { content:""; position: absolute; top: -70px; right: -70px; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(circle, #ffe9d6, transparent 66%); }
.dl-panel .foxbig { width: 96px; margin: 0 auto 14px; border-radius: 24px; box-shadow: var(--shadow-soft); }
.dl-panel h2 { font-size: 25px; margin-bottom: 8px; }
.dl-panel > p { color: var(--muted); font-size: 14px; max-width: 420px; margin: 0 auto 20px; }
.version-chip { display: inline-flex; align-items: center; gap: 8px; background: var(--brand-100); color: var(--brand-600); font-size: 12px; font-weight: 700; padding: 6px 14px; border-radius: 30px; margin-bottom: 18px; flex-wrap: wrap; justify-content: center; }
.version-chip span { color: var(--muted); font-weight: 600; }
.dl-safe { font-size: 12.5px; color: var(--muted); margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.dl-safe span { display: inline-flex; align-items: center; gap: 5px; }

/* ---------- 常见问题 ---------- */
.faq details { background: var(--card); border-radius: var(--radius-sm); border: 1px solid rgba(255,122,61,.1); padding: 16px 18px; margin-bottom: 12px; }
.faq summary { font-weight: 700; font-size: 15px; cursor: pointer; list-style: none; position: relative; padding-right: 24px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:after { content: "+"; position: absolute; right: 4px; top: 0; color: var(--brand-600); font-weight: 800; transition: transform .2s; }
.faq details[open] summary:after { transform: rotate(45deg); }
.faq p { margin-top: 10px; color: var(--muted); font-size: 13.5px; }

/* ---------- 页脚 ---------- */
.footer { background: var(--ink); color: #efe6da; margin-top: 20px; padding: 40px 0 120px; }
.footer .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.footer .f-brand { grid-column: span 2; }
.footer .f-brand img { width: 44px; height: 44px; border-radius: 12px; margin-bottom: 10px; }
.footer .f-brand p { color: #b7a89a; font-size: 13px; max-width: 300px; }
.footer h4 { font-size: 14px; color: #fff; margin-bottom: 12px; }
.footer a { display: block; font-size: 13.5px; color: #cfc1b2; margin-bottom: 8px; }
.footer a:active { color: #fff; }
.footer .copy { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.1); padding-top: 18px; margin-top: 6px; font-size: 12px; color: #9c8f82; }
.footer .copy a { display: inline; color: #cfc1b2; }

/* 固定底部下载条（移动端） */
.dl-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: none;
  background: rgba(255,255,255,.94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(255,122,61,.14);
  gap: 10px; align-items: center;
}
.dl-bar .bar-brand { display: flex; align-items: center; gap: 9px; min-width: 0; }
.dl-bar .bar-brand img { width: 40px; height: 40px; border-radius: 10px; }
.dl-bar .bar-brand b { font-size: 14px; white-space: nowrap; }
.dl-bar .bar-brand span { font-size: 10.5px; color: var(--muted); white-space: nowrap; }
@media (max-width: 760px) { .dl-bar { display: flex; } .footer { padding-bottom: 96px; } }

/* 滚动渐入 */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- 内页通用 ---------- */
.page-hero { padding: 26px 0 6px; position: relative; }
.page-hero h1 { font-size: 30px; }
.page-hero p { color: var(--muted); margin-top: 8px; max-width: 560px; }
.breadcrumb { font-size: 12.5px; color: var(--muted); margin-top: 14px; }
.breadcrumb a { color: var(--brand-600); }

/* 关于页 */
.about { background: var(--card); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; }
.about-grid h2 { font-size: 24px; margin-bottom: 12px; }
.about-grid p { color: var(--muted); margin-bottom: 12px; }

/* 下载页特性条目 */
.spec-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.spec {
  background: var(--card); border-radius: var(--radius-sm); padding: 16px;
  border: 1px solid rgba(255,122,61,.1); display: flex; gap: 12px; align-items: flex-start;
}
.spec .s-ic { flex: 0 0 auto; width: 38px; height: 38px; border-radius: 11px; background: var(--brand-100); color: var(--brand-600); display: grid; place-items: center; }
.spec .s-ic svg { width: 20px; height: 20px; }
.spec b { font-size: 14px; }
.spec span { font-size: 12.5px; color: var(--muted); }

/* ---------- 响应式 ---------- */
@media (max-width: 760px) {
  .hero h1 { font-size: 32px; }
  .trust-grid { grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .cards { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 24px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .footer .container { grid-template-columns: 1fr 1fr; }
  .footer .f-brand { grid-column: span 2; }
  .about-grid { grid-template-columns: 1fr; }
  .spec-row { grid-template-columns: 1fr; }
}
@media (min-width: 761px) {
  .phone { width: 300px; }
}