/* =============================================================
   动漫共和国 · 主题站群全局样式
   视觉调性：暖纸底 + 樱粉 × 向日葵金 × 赛博紫
   ============================================================= */
:root {
  --brand-1: #ff5d8f;
  --brand-2: #ffb020;
  --brand-3: #7b5cff;
  --accent-2: #11b3a3;
  --ink: #2b2347;
  --ink-soft: #4a4168;
  --muted: #8576a0;
  --paper: #fff9f0;
  --paper-2: #fff1e6;
  --line: #efe2d4;
  --good: #25b864;
  --warn: #ff7a1a;
  --bg-dark: #14102a;
  --grad-brand: linear-gradient(120deg, #ff5d8f 0%, #ffb020 55%, #7b5cff 100%);
  --grad-soft: linear-gradient(180deg, #fff7ee 0%, #ffe9e6 100%);
  --shadow-sm: 0 6px 18px rgba(43, 35, 71, 0.08);
  --shadow-md: 0 16px 40px rgba(43, 35, 71, 0.12);
  --shadow-lg: 0 28px 64px rgba(43, 35, 71, 0.18);
  --radius: 18px;
  --radius-lg: 28px;
  --container: 1180px;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "微软雅黑", "Source Han Sans CN", "Hiragino Sans GB", system-ui, -apple-system, sans-serif;
  font-size: 16px;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

/* 容器 */
.container { width: min(var(--container), 100% - 40px); margin: 0 auto; }

/* ================ 顶部导航 ================ */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 249, 240, 0.85);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid rgba(239, 226, 212, 0.7);
  transition: box-shadow .25s ease, background .25s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); background: rgba(255, 249, 240, 0.96); }
.nav { display: flex; align-items: center; gap: 18px; padding: 14px 0; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { width: 42px; height: 42px; border-radius: 12px; box-shadow: 0 6px 14px rgba(255,93,143,.35); }
.brand-name { font-weight: 900; font-size: 20px; color: var(--ink); letter-spacing: 1px; }
.brand-name em { font-style: normal; font-weight: 700; font-size: 11px; color: var(--brand-1); padding: 2px 6px; border-radius: 6px; background: rgba(255,93,143,.12); margin-left: 6px; letter-spacing: 1.5px; }
#navMenu { display: flex; gap: 6px; margin-left: auto; }
#navMenu a {
  position: relative; padding: 10px 14px; border-radius: 12px;
  font-size: 15px; font-weight: 600; color: var(--ink-soft);
  transition: color .2s ease, background .2s ease;
}
#navMenu a:hover { color: var(--brand-1); background: rgba(255,93,143,.08); }
#navMenu a.active { color: var(--brand-1); background: rgba(255,93,143,.12); }
#navMenu a.active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 3px; border-radius: 2px;
  background: var(--grad-brand);
}
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; background: rgba(255,93,143,.1); color: var(--brand-1); font-size: 22px; align-items: center; justify-content: center; }

/* ================ 通用按钮 ================ */
.btn-dl {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; font-weight: 800; font-size: 15px;
  background: var(--grad-brand); color: #fff; box-shadow: 0 12px 24px rgba(255,93,143,.32);
  transition: transform .2s ease, box-shadow .2s ease;
}
.btn-dl:hover { transform: translateY(-2px); box-shadow: 0 18px 30px rgba(255,93,143,.4); }
.btn-dl::before {
  content: ""; width: 14px; height: 14px; border-radius: 4px; background: #fff;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M5 20h14v-2H5v2zm7-18l-5 5h3v6h4V7h3l-5-5z'/></svg>") center / contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M5 20h14v-2H5v2zm7-18l-5 5h3v6h4V7h3l-5-5z'/></svg>") center / contain no-repeat;
}
.btn-dl.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-dl.btn-lg { padding: 16px 30px; font-size: 18px; }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 20px; border-radius: 999px; font-weight: 700; font-size: 14px;
  color: var(--ink); background: #fff; border: 2px solid var(--line);
  transition: border-color .2s ease, color .2s ease, transform .2s ease;
}
.btn-ghost:hover { border-color: var(--brand-1); color: var(--brand-1); transform: translateY(-1px); }

/* ================ Hero ================ */
.hero {
  position: relative; overflow: hidden;
  background: var(--grad-soft);
  padding: 70px 0 90px;
}
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(40px); opacity: .55; pointer-events: none;
}
.hero::before { width: 380px; height: 380px; background: #ffcfd9; top: -120px; left: -120px; }
.hero::after  { width: 460px; height: 460px; background: #e5d8ff; bottom: -200px; right: -160px; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 50px; align-items: center; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px; background: rgba(255,93,143,.14); color: var(--brand-1);
  font-weight: 700; font-size: 13px; letter-spacing: 1px;
}
.hero-eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--brand-1); box-shadow: 0 0 0 4px rgba(255,93,143,.18); }
.hero h1 {
  font-size: clamp(34px, 4.6vw, 60px); font-weight: 900; line-height: 1.08; margin: 18px 0 16px; letter-spacing: 1px;
  background: linear-gradient(110deg, #2b2347 0%, #ff5d8f 60%, #7b5cff 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lede { font-size: 18px; color: var(--ink-soft); max-width: 560px; margin: 0 0 30px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 36px; color: var(--ink-soft); font-size: 14px; }
.hero-meta b { display: block; font-size: 24px; color: var(--ink); font-weight: 900; }
.hero-meta span { display: block; }

/* 浮动在 hero 右侧的手机 */
.hero-visual { position: relative; height: 540px; }
.phone {
  position: absolute; width: 280px; border-radius: 38px; background: #1a1330; padding: 14px;
  box-shadow: var(--shadow-lg);
  border: 3px solid rgba(255,255,255,.4);
  transition: transform .4s ease;
}
.phone::before { content: ""; position: absolute; left: 50%; transform: translateX(-50%); top: 16px; width: 88px; height: 22px; background: #0b0820; border-radius: 14px; }
.phone img { width: 100%; border-radius: 24px; display: block; }
.phone.p1 { top: 30px; left: 0; transform: rotate(-6deg); }
.phone.p2 { top: 130px; right: 0; transform: rotate(7deg); z-index: 2; }
.phone.p3 { bottom: 0; left: 30%; transform: rotate(-2deg); }
.hero-visual .deco {
  position: absolute; border-radius: 50%; background: var(--grad-brand);
  width: 110px; height: 110px; top: 0; right: 40px; opacity: .25; filter: blur(6px);
}

/* 信任指标条 */
.trust {
  background: var(--bg-dark); color: #f4eeff;
  padding: 40px 0; position: relative; overflow: hidden;
}
.trust::before { content: ""; position: absolute; inset: 0; background: radial-gradient(900px 200px at 20% 0%, rgba(255,93,143,.4), transparent), radial-gradient(900px 200px at 80% 100%, rgba(123,92,255,.4), transparent); }
.trust-grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.trust-item h3 { font-size: 36px; font-weight: 900; margin: 0; background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.trust-item p { margin: 6px 0 0; color: rgba(255,255,255,.7); font-size: 14px; letter-spacing: 1px; }

/* 通用分区 */
section.block { padding: 90px 0; }
section.block.alt { background: linear-gradient(180deg, #fff 0%, #fff4ee 100%); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 14px; margin-bottom: 38px; }
.section-head h2 { font-size: clamp(26px, 2.6vw, 38px); margin: 0; font-weight: 900; letter-spacing: 1px; }
.section-head .tag { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: 2px; color: var(--brand-1); padding: 4px 10px; background: rgba(255,93,143,.12); border-radius: 999px; }
.section-head p { margin: 6px 0 0; color: var(--muted); max-width: 640px; }

/* 核心功能网格 */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature-card {
  background: #fff; border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-sm);
  position: relative; overflow: hidden; transition: transform .25s ease, box-shadow .25s ease;
  border: 1px solid rgba(239,226,212,.6);
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.feature-card::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: var(--grad-brand); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .3s ease; }
.feature-card:hover::before { opacity: 1; }
.feature-icon {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; color: #fff;
  background: var(--grad-brand); margin-bottom: 18px;
}
.feature-icon svg { width: 28px; height: 28px; }
.feature-card h3 { margin: 0 0 10px; font-size: 19px; font-weight: 800; }
.feature-card p { margin: 0; color: var(--ink-soft); font-size: 14.5px; line-height: 1.78; }
.feature-card .num { position: absolute; right: 22px; top: 22px; font-size: 42px; font-weight: 900; color: rgba(123,92,255,.16); }

/* 预览图画廊 */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; align-items: end; }
.gallery .phone { position: relative; width: 100%; height: auto; aspect-ratio: 720/1560; padding: 10px; }
.gallery .phone::before { top: 12px; width: 60px; height: 16px; }
.gallery .phone img { border-radius: 28px; }
.gallery-wrap { background: var(--grad-soft); border-radius: var(--radius-lg); padding: 50px 30px; position: relative; overflow: hidden; }
.gallery-wrap::before, .gallery-wrap::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(30px); opacity: .55;
}
.gallery-wrap::before { width: 220px; height: 220px; background: #ffcfd9; top: -50px; left: -50px; }
.gallery-wrap::after  { width: 260px; height: 260px; background: #d8d0ff; bottom: -80px; right: -80px; }

/* 深度内容模块入口 */
.deep-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.deep-card {
  background: #fff; border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-sm);
  position: relative; overflow: hidden; transition: transform .25s ease;
  display: flex; flex-direction: column; gap: 14px; min-height: 220px;
}
.deep-card:hover { transform: translateY(-4px); }
.deep-card .ribbon {
  position: absolute; top: 18px; right: -40px; transform: rotate(35deg);
  background: var(--grad-brand); color: #fff; font-size: 11px; font-weight: 800; padding: 4px 50px; letter-spacing: 2px;
}
.deep-card h3 { margin: 0; font-size: 22px; font-weight: 900; }
.deep-card p { margin: 0; color: var(--ink-soft); font-size: 15px; }
.deep-card .arrow { margin-top: auto; color: var(--brand-1); font-weight: 800; }
.deep-card .arrow::after { content: " →"; transition: transform .2s ease; display: inline-block; }
.deep-card:hover .arrow::after { transform: translateX(4px); }
.deep-card.dc-1 { background: linear-gradient(160deg, #fff 60%, #ffe1ec 100%); }
.deep-card.dc-2 { background: linear-gradient(160deg, #fff 60%, #ffefd6 100%); }
.deep-card.dc-3 { background: linear-gradient(160deg, #fff 60%, #e2d8ff 100%); }

/* 用户评价 */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review {
  background: #fff; border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm);
  position: relative;
}
.review::before { content: "\201C"; position: absolute; top: -10px; left: 14px; font-size: 80px; color: var(--brand-1); font-family: Georgia, serif; line-height: 1; opacity: .6; }
.review p { margin: 0 0 16px; color: var(--ink-soft); font-size: 15px; }
.review .who { display: flex; align-items: center; gap: 12px; }
.review .avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--grad-brand); display: grid; place-items: center; color: #fff; font-weight: 800; }
.review .who small { display: block; color: var(--muted); font-size: 12px; }
.review .stars { color: var(--brand-2); letter-spacing: 2px; font-size: 14px; margin-bottom: 12px; }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq-list details {
  background: #fff; border-radius: var(--radius); padding: 18px 22px; box-shadow: var(--shadow-sm);
  border: 1px solid rgba(239,226,212,.6);
}
.faq-list summary {
  list-style: none; cursor: pointer; font-weight: 800; font-size: 16px; position: relative; padding-right: 36px;
  color: var(--ink);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; position: absolute; right: 4px; top: 6px; width: 14px; height: 14px;
  background: conic-gradient(var(--brand-1) 0 25%, transparent 25% 50%, var(--brand-1) 50% 75%, transparent 75% 100%);
  -webkit-mask: radial-gradient(circle, transparent 30%, #000 31%); mask: radial-gradient(circle, transparent 30%, #000 31%);
  transition: transform .25s ease;
}
.faq-list details[open] summary::after { transform: rotate(180deg); }
.faq-list p { margin: 12px 0 0; color: var(--ink-soft); font-size: 15px; }

/* 通用正文区 */
.article {
  background: #fff; border-radius: var(--radius-lg); padding: 48px 54px; box-shadow: var(--shadow-sm);
}
.article h1 { font-size: clamp(28px, 3.4vw, 40px); margin: 0 0 12px; font-weight: 900; line-height: 1.2; }
.article .meta { color: var(--muted); font-size: 14px; margin-bottom: 28px; display: flex; flex-wrap: wrap; gap: 14px; }
.article h2 { font-size: 24px; margin: 40px 0 14px; font-weight: 900; position: relative; padding-left: 16px; }
.article h2::before { content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 5px; border-radius: 3px; background: var(--grad-brand); }
.article h3 { font-size: 19px; margin: 24px 0 10px; font-weight: 800; color: var(--ink); }
.article p { margin: 0 0 14px; color: var(--ink-soft); font-size: 16px; line-height: 1.88; }
.article ul, .article ol { margin: 0 0 16px; padding-left: 22px; color: var(--ink-soft); }
.article li { margin-bottom: 8px; line-height: 1.78; }
.article a { color: var(--brand-1); font-weight: 700; border-bottom: 1px dashed rgba(255,93,143,.5); }
.article a:hover { color: var(--brand-3); border-color: var(--brand-3); }
.article .callout { background: linear-gradient(120deg, #fff5f8, #f1edff); border-left: 4px solid var(--brand-1); padding: 18px 22px; border-radius: 0 var(--radius) var(--radius) 0; margin: 22px 0; color: var(--ink); }
.article .callout strong { color: var(--brand-1); }

/* 步骤卡(guide) */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; counter-reset: step; margin: 30px 0; }
.step {
  background: #fff; border-radius: var(--radius); padding: 22px 18px; position: relative; box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--brand-1);
}
.step:nth-child(2) { border-color: var(--brand-2); }
.step:nth-child(3) { border-color: var(--accent-2); }
.step:nth-child(4) { border-color: var(--brand-3); }
.step:nth-child(5) { border-color: #ff7a1a; }
.step h4 { margin: 0 0 8px; font-size: 17px; font-weight: 900; }
.step p { margin: 0; color: var(--ink-soft); font-size: 14px; }
.step .num {
  counter-increment: step;
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ink); color: #fff; font-weight: 900; margin-bottom: 12px;
}
.step .num::before { content: counter(step); }

/* 故障速查表(guide) */
.trouble { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.trouble th, .trouble td { text-align: left; padding: 14px 18px; font-size: 14.5px; }
.trouble th { background: var(--ink); color: #fff; font-weight: 800; font-size: 14px; }
.trouble tr:not(:last-child) td { border-bottom: 1px solid var(--line); }
.trouble td:first-child { font-weight: 800; color: var(--brand-1); white-space: nowrap; }

/* 用户故事卡(reviews) */
.story-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.story {
  background: #fff; border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-sm);
  position: relative; overflow: hidden;
}
.story::before { content: ""; position: absolute; inset: 0; background: var(--grad-brand); opacity: 0; transition: opacity .3s ease; }
.story:hover::before { opacity: .04; }
.story .role { display: inline-block; padding: 4px 12px; background: rgba(255,93,143,.12); color: var(--brand-1); border-radius: 999px; font-size: 12px; font-weight: 800; margin-bottom: 14px; }
.story h3 { margin: 0 0 12px; font-size: 20px; font-weight: 900; }
.story p { margin: 0 0 12px; color: var(--ink-soft); font-size: 15px; }
.story .sign { display: flex; align-items: center; gap: 12px; margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--line); }
.story .sign b { font-size: 15px; }
.story .sign small { color: var(--muted); font-size: 12px; }

/* 底部CTA */
.cta-band { background: var(--bg-dark); color: #fff; padding: 70px 0; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(800px 300px at 50% 0%, rgba(255,93,143,.45), transparent); }
.cta-band .inner { position: relative; text-align: center; }
.cta-band h2 { font-size: clamp(28px, 3vw, 38px); margin: 0 0 12px; font-weight: 900; }
.cta-band p { margin: 0 0 26px; color: rgba(255,255,255,.78); max-width: 640px; margin-left: auto; margin-right: auto; }

/* 页脚 */
.site-footer { background: #0e0a22; color: rgba(255,255,255,.7); padding: 60px 0 30px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
.foot-grid h4 { color: #fff; font-size: 15px; margin: 0 0 16px; font-weight: 800; letter-spacing: 1px; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; }
.foot-grid li { margin-bottom: 10px; font-size: 14px; }
.foot-grid a:hover { color: var(--brand-2); }
.foot-brand p { color: rgba(255,255,255,.55); font-size: 14px; line-height: 1.8; }
.foot-disclaimer {
  margin: 30px 0 0; padding: 22px 24px; background: rgba(255,255,255,.05); border-radius: var(--radius);
  border-left: 4px solid var(--brand-1);
  font-size: 14px; color: rgba(255,255,255,.78); line-height: 1.86;
}
.foot-bottom {
  margin-top: 26px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.08);
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between;
  font-size: 13px; color: rgba(255,255,255,.5);
}

/* 回到顶部 */
.to-top {
  position: fixed; right: 24px; bottom: 24px; width: 48px; height: 48px; border-radius: 50%;
  background: var(--grad-brand); color: #fff; display: grid; place-items: center;
  box-shadow: var(--shadow-md); opacity: 0; transform: translateY(20px); pointer-events: none; transition: opacity .25s ease, transform .25s ease;
  z-index: 70;
}
.to-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }
.to-top svg { width: 20px; height: 20px; }

/* 响应式 */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { height: 460px; }
  .feature-grid, .deep-grid, .review-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .story-grid { grid-template-columns: 1fr; }
  .article { padding: 32px 26px; }
  .nav-toggle { display: inline-flex; }
  #navMenu { position: absolute; top: 100%; left: 0; right: 0; background: rgba(255,249,240,.98); flex-direction: column; padding: 16px 20px; gap: 4px; box-shadow: var(--shadow-md); border-top: 1px solid var(--line); transform: translateY(-12px); opacity: 0; pointer-events: none; transition: opacity .25s ease, transform .25s ease; }
  #navMenu.open { display: flex; transform: none; opacity: 1; pointer-events: auto; }
  #navMenu a { padding: 12px 14px; }
}
@media (max-width: 640px) {
  section.block { padding: 64px 0; }
  .hero { padding: 50px 0 70px; }
  .feature-grid, .deep-grid, .review-grid, .gallery { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 24px; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .brand-name em { display: none; }
}
