/* ============================================================
   动漫共和国 · dmghgapp.cc  全站样式（唯一共享 CSS）
   配色：珊瑚红 #EF4A5A / 深海墨蓝 #122A45 / 天空青 #21B6C9 / 柠檬 #C6E32B
   ============================================================ */

:root{
  --brand:#EF4A5A;
  --brand-d:#C62B3F;
  --brand-l:#FF8A5B;
  --ink:#122A45;
  --ink-2:#1E4B6B;
  --sky:#21B6C9;
  --lemon:#C6E32B;
  --bg:#FFF7F4;
  --bg-2:#FDF0EA;
  --card:#FFFFFF;
  --line:#F1DFD9;
  --txt:#22303F;
  --muted:#6E7A8A;
  --grad:linear-gradient(135deg,#FF8A5B,#EF4A5A 52%,#122A45);
  --cta:linear-gradient(135deg,#FF7A59,#EF3D4E);
  --r:16px;
  --shadow:0 12px 34px rgba(18,42,69,.10);
}

*{box-sizing:border-box}
body,h1,h2,h3,h4,p,ul,ol,li,figure,figcaption,blockquote,dl,dd,dt{margin:0;padding:0}
html{-webkit-text-size-adjust:100%}
body{
  background:var(--bg);
  color:var(--txt);
  font:400 16px/1.75 "Microsoft YaHei","PingFang SC","Hiragino Sans GB","Helvetica Neue",Arial,sans-serif;
  overflow-x:hidden;
}
img{max-width:100%;height:auto;display:block;border:0}
a{color:var(--brand-d);text-decoration:none}
a:hover{color:var(--brand)}
ul,ol{list-style:none}
strong,b{font-weight:700}

.wrap{max-width:1140px;margin:0 auto;padding:0 22px}
.section{padding:64px 0}
.section-head{max-width:760px;margin:0 auto 34px;text-align:center}
.section-head h2{font-size:28px;line-height:1.35;color:var(--ink);letter-spacing:.2px}
.section-head p{margin-top:12px;color:var(--muted);font-size:15.5px}
.eyebrow{display:inline-block;font-size:13px;letter-spacing:2px;color:var(--brand);font-weight:700;
  background:#FFE9E2;border-radius:99px;padding:4px 14px}

/* ---------- 顶部导航 ---------- */
.site-header{
  position:sticky;top:0;z-index:50;background:rgba(255,247,244,.94);
  backdrop-filter:saturate(180%) blur(10px);border-bottom:1px solid var(--line);
}
.header-inner{display:flex;align-items:center;gap:18px;min-height:70px}
.brand{display:flex;align-items:center;gap:10px;flex:none}
.brand img{width:42px;height:42px;border-radius:11px;box-shadow:0 4px 12px rgba(239,74,90,.28)}
.brand-name{display:flex;flex-direction:column;line-height:1.2}
.brand-name b{font-size:18px;color:var(--ink);letter-spacing:.5px}
.brand-name .sub{font-size:11px;color:var(--muted);letter-spacing:1.6px}
.nav{margin-left:auto;display:flex;align-items:center;gap:6px}
.nav a{display:inline-block;padding:8px 13px;border-radius:9px;font-size:15px;color:#3C4A5A;white-space:nowrap}
.nav a:hover{background:#FFE9E2;color:var(--brand-d)}
.nav a.on{color:var(--brand-d);font-weight:700;background:#FFE9E2}
.header-cta{
  display:inline-block;padding:10px 20px;border-radius:99px;background:var(--cta);
  color:#fff !important;font-size:14.5px;font-weight:700;box-shadow:0 8px 20px rgba(239,74,90,.32);
}
.header-cta:hover{filter:brightness(1.06);color:#fff}

/* ---------- Hero ---------- */
.hero{
  position:relative;color:#fff;overflow:hidden;padding:60px 0 68px;
  background:linear-gradient(150deg,#0C1A2C,#122A45 44%,#1E4B6B);
}
.hero::before{
  content:"";position:absolute;inset:0;pointer-events:none;
  background:
    radial-gradient(520px 340px at 12% 16%,rgba(239,74,90,.38),transparent 68%),
    radial-gradient(460px 300px at 88% 74%,rgba(33,182,201,.34),transparent 70%),
    radial-gradient(300px 220px at 62% 6%,rgba(198,227,43,.16),transparent 72%);
}
.hero::after{
  content:"";position:absolute;inset:0;opacity:.30;pointer-events:none;
  background-image:radial-gradient(rgba(255,255,255,.34) 1px,transparent 1px);
  background-size:22px 22px;
}
.hero .in{position:relative;z-index:2}
.hero-grid{display:grid;grid-template-columns:1.06fr .94fr;gap:36px;align-items:center}
.hero-grid>*{min-width:0}
.hero h1{font-size:44px;line-height:1.22;letter-spacing:1px;margin:14px 0 0}
.hero h1 span{display:block;white-space:nowrap}
.hero h1 em{font-style:normal;background:linear-gradient(135deg,#FFD9A8,#FF8A5B 60%,#C6E32B);
  -webkit-background-clip:text;background-clip:text;color:transparent}
.hero .lead{margin-top:16px;font-size:16.5px;line-height:1.85;color:#D7E2EE;max-width:520px}
.hero .eyebrow{background:rgba(255,255,255,.14);color:#FFD9D2}
.hero-actions{display:flex;flex-wrap:wrap;gap:14px;margin-top:26px}
.btn{display:inline-flex;align-items:center;gap:8px;padding:14px 30px;border-radius:99px;
  font-size:16px;font-weight:700;white-space:nowrap}
.btn-cta{background:var(--cta);color:#fff !important;box-shadow:0 12px 28px rgba(239,61,78,.40)}
.btn-cta:hover{filter:brightness(1.07)}
.btn-ghost{background:rgba(255,255,255,.12);color:#fff !important;border:1px solid rgba(255,255,255,.34)}
.btn-ghost:hover{background:rgba(255,255,255,.2)}
.hero-tags{display:flex;flex-wrap:wrap;gap:10px;margin-top:24px}
.hero-tags span{font-size:13.5px;color:#CBD9E7;background:rgba(255,255,255,.09);
  border:1px solid rgba(255,255,255,.16);border-radius:99px;padding:5px 14px}
.hero-visual{display:flex;justify-content:center;align-items:flex-end;gap:20px}
.phone-stage{display:flex;align-items:flex-end;gap:18px}
.phone{
  flex:none;background:#0B0F18;border-radius:24px;padding:8px;
  box-shadow:0 22px 48px rgba(0,0,0,.46),0 0 0 1px rgba(255,255,255,.10);
}
.phone .screen{background:#14161f;border-radius:17px;overflow:hidden}
.phone .screen img{width:100%;height:auto;border-radius:17px}
.phone-stage .phone{width:206px;flex:none}
.phone-stage .phone.small{width:142px}

/* ---------- 数据信任条 ---------- */
.trust{background:var(--ink);color:#fff;padding:26px 0}
.trust-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;text-align:center}
.trust-grid b{display:block;font-size:27px;line-height:1.2;color:#FFD9A8;letter-spacing:.5px}
.trust-grid span{font-size:13.5px;color:#A9BDD1}

/* ---------- 核心功能卡 ---------- */
.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.card{background:var(--card);border:1px solid var(--line);border-radius:var(--r);padding:26px 24px;
  box-shadow:0 6px 20px rgba(18,42,69,.05);transition:transform .25s ease,box-shadow .25s ease}
.card:hover{transform:translateY(-4px);box-shadow:var(--shadow)}
.card-ico{width:46px;height:46px;border-radius:13px;background:var(--grad);display:flex;
  align-items:center;justify-content:center;margin-bottom:16px}
.card-ico svg{width:24px;height:24px;stroke:#fff;fill:none;stroke-width:1.8;
  stroke-linecap:round;stroke-linejoin:round}
.card h3{font-size:18.5px;color:var(--ink);margin-bottom:9px}
.card p{font-size:14.5px;color:var(--muted);line-height:1.75}
.card-body{display:block;color:inherit}

/* ---------- 界面预览 ---------- */
.shots{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.shot{margin:0;background:var(--card);border:1px solid var(--line);border-radius:var(--r);
  padding:12px;box-shadow:0 6px 20px rgba(18,42,69,.06)}
.shot img{width:100%;height:auto;border-radius:10px}
.shot figcaption{margin-top:11px;font-size:13px;color:var(--muted);text-align:center;line-height:1.5}
.shot figcaption b{display:block;color:var(--ink);font-size:14px;margin-bottom:2px}

/* ---------- 深度内容入口卡 ---------- */
.entries{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.entry{display:block;background:var(--card);border:1px solid var(--line);border-radius:var(--r);
  padding:24px 22px;box-shadow:0 6px 20px rgba(18,42,69,.05);
  transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease}
.entry:hover{transform:translateY(-4px);box-shadow:var(--shadow);border-color:#F6C6BE}
.entry .no{font-size:13px;font-weight:700;color:var(--brand);letter-spacing:1.4px}
.entry h3{font-size:18px;color:var(--ink);margin:8px 0 8px}
.entry p{margin-top:8px;font-size:14px;color:var(--muted);line-height:1.72}
.entry .more{display:inline-block;margin-top:14px;font-size:14px;font-weight:700;color:var(--brand-d)}
.entry:hover .more{color:var(--brand)}

/* ---------- 用户评价 ---------- */
.reviews{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.review{background:var(--card);border:1px solid var(--line);border-radius:var(--r);padding:26px 24px;
  box-shadow:0 6px 20px rgba(18,42,69,.05)}
.stars{color:#FFB020;font-size:15px;letter-spacing:2px}
.review p{margin-top:12px;font-size:14.8px;line-height:1.82;color:#3B4859}
.review .who{margin-top:16px;display:flex;align-items:center;gap:10px}
.review .who i{width:34px;height:34px;border-radius:50%;background:var(--grad);display:inline-block;flex:none}
.review .who span{font-size:13.5px;color:var(--muted)}

/* ---------- FAQ ---------- */
.faq{max-width:880px;margin:0 auto}
.faq details,.prose details{background:var(--card);border:1px solid var(--line);border-radius:13px;
  margin-bottom:12px;overflow:hidden}
.faq summary,.prose details > summary{list-style:none;cursor:pointer;padding:17px 52px 17px 20px;
  position:relative;font-size:16px;font-weight:700;color:var(--ink)}
.faq summary::-webkit-details-marker,.prose details > summary::-webkit-details-marker{display:none}
.faq summary::after,.prose details > summary::after{
  content:"+";position:absolute;right:20px;top:14px;font-size:21px;font-weight:400;color:var(--brand)}
.faq details[open] summary::after,.prose details[open] > summary::after{content:"−"}
.faq details[open] summary,.prose details[open] > summary{background:#FFF1EC}
.faq .ans,.prose details .ans{padding:2px 20px 18px;font-size:14.8px;color:#465468;line-height:1.85;
  max-height:1600px;overflow:hidden}
.faq .ans b,.prose details .ans b{color:var(--ink)}

/* ---------- 底部下载通道 ---------- */
.cta-band{
  position:relative;overflow:hidden;border-radius:20px;color:#fff;text-align:center;
  padding:48px 26px;background:linear-gradient(135deg,#0C1A2C,#122A45 52%,#1E4B6B);
}
.cta-band::before{
  content:"";position:absolute;inset:0;pointer-events:none;
  background:
    radial-gradient(420px 260px at 14% 22%,rgba(239,74,90,.36),transparent 70%),
    radial-gradient(380px 240px at 86% 80%,rgba(33,182,201,.32),transparent 72%);
}
.cta-band > *{position:relative;z-index:2}
.cta-band h2{font-size:27px;line-height:1.4}
.cta-band p{margin:12px auto 0;max-width:600px;font-size:15px;color:#CBD9E7;line-height:1.8}
.cta-band .btn{margin-top:24px}
.cta-band small{display:block;margin-top:14px;font-size:12.5px;color:#93A8BD}

/* ---------- 内页正文 ---------- */
.page-hero{position:relative;overflow:hidden;color:#fff;padding:52px 0 54px;
  background:linear-gradient(150deg,#0C1A2C,#122A45 48%,#1E4B6B)}
.page-hero::before{
  content:"";position:absolute;inset:0;pointer-events:none;
  background:
    radial-gradient(460px 300px at 10% 20%,rgba(239,74,90,.34),transparent 70%),
    radial-gradient(420px 280px at 90% 82%,rgba(33,182,201,.30),transparent 72%);
}
.page-hero .in{position:relative;z-index:2;max-width:860px}
.page-hero h1{font-size:34px;line-height:1.32;margin:12px 0 0}
.page-hero p{margin-top:14px;font-size:15.6px;color:#CBD9E7;line-height:1.85}
.crumb{font-size:13.5px;color:#9BB0C6}
.crumb a{color:#CBD9E7}
.crumb a:hover{color:#fff}

.layout{display:grid;grid-template-columns:1fr;gap:0}
.layout>*{min-width:0}
.prose{max-width:900px;min-width:0;width:100%;margin:0 auto;padding:56px 22px 60px}
.prose h2{font-size:25px;line-height:1.4;color:var(--ink);margin:42px 0 14px;padding-left:15px;
  border-left:5px solid var(--brand);border-radius:2px}
.prose h2[id]{scroll-margin-top:90px}
.prose h2:first-child{margin-top:0}
.prose h3{font-size:18.5px;color:var(--ink);margin:26px 0 10px}
.prose p{margin:13px 0;font-size:16px;line-height:1.92;color:#31404F}
.prose > ul,.prose > ol{margin:14px 0 14px 0}
.prose > ul > li,.prose > ol > li{padding-left:18px;position:relative;margin:9px 0;
  font-size:15.8px;line-height:1.88;color:#31404F}
.prose > ul > li::before{content:"";position:absolute;left:2px;top:12px;width:7px;height:7px;
  border-radius:50%;background:var(--brand)}
.prose > ol{counter-reset:po}
.prose > ol > li{counter-increment:po;padding-left:30px}
.prose > ol > li::before{content:counter(po);position:absolute;left:0;top:4px;width:21px;height:21px;
  border-radius:6px;background:#FFE9E2;color:var(--brand-d);font-size:12.5px;font-weight:700;
  display:flex;align-items:center;justify-content:center}
.prose .tip{background:#FFF1EC;border:1px solid #F8D3C8;border-left:5px solid var(--brand);
  border-radius:11px;padding:16px 20px;margin:22px 0;font-size:14.8px;line-height:1.85;color:#4A3A38}
.prose .tip b{color:var(--brand-d)}
.prose .cta-inline{background:linear-gradient(135deg,#FFF1EC,#FFE7DE);border:1px dashed #F3B9A8;
  border-radius:12px;padding:16px 20px;margin:24px 0;font-size:15px;color:#4A3A38}
.prose .cta-inline a{font-weight:700}

/* 步骤列表（必须带 .prose 前缀，否则被 .prose>ol>li 压掉） */
.prose .steps{counter-reset:st;margin:18px 0}
.prose .steps li{counter-increment:st;position:relative;padding-left:52px;margin:15px 0;
  font-size:15.8px;line-height:1.88;color:#31404F}
.prose .steps li::before{content:counter(st);position:absolute;left:0;top:2px;width:34px;height:34px;
  border-radius:11px;background:var(--grad);color:#fff;font-size:15px;font-weight:700;
  display:flex;align-items:center;justify-content:center}
.prose .steps li b{display:block;color:var(--ink);margin-bottom:2px}

/* 表格 */
.table-scroll{overflow-x:auto;border:1px solid var(--line);border-radius:13px;background:var(--card);
  margin:20px 0}
table.cmp{width:100%;min-width:680px;border-collapse:collapse;font-size:14.6px}
table.cmp th,table.cmp td{padding:12px 15px;text-align:left;border-bottom:1px solid #F4E5E0;
  line-height:1.66;vertical-align:top}
table.cmp th{background:#FFF1EC;color:var(--ink);font-weight:700;white-space:nowrap}
table.cmp tr:last-child td{border-bottom:0}
table.cmp td:first-child{font-weight:700;color:var(--ink);white-space:nowrap}

/* 相关链接 */
.rel-links{margin:26px 0 0}
.rel-links ul{display:flex;flex-wrap:wrap;gap:10px}
.rel-links li{flex:none}
.rel-links a{display:inline-block;font-size:14.4px;background:var(--card);border:1px solid var(--line);
  border-radius:99px;padding:8px 16px;color:var(--brand-d)}
.rel-links a:hover{background:#FFE9E2}

.prose .shot{margin:26px auto;max-width:368px}
.prose .shot img{width:100%;height:auto;border-radius:12px;border:1px solid var(--line)}

/* ---------- 页脚 ---------- */
.site-footer{background:#0C1A2C;color:#A9BDD1;padding:50px 0 26px;margin-top:0}
.footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr 1.1fr;gap:30px}
.footer-brand{display:flex;align-items:center;gap:10px;margin-bottom:14px}
.footer-brand img{width:38px;height:38px;border-radius:10px}
.footer-brand b{font-size:17px;color:#fff}
.footer-col h4{font-size:15px;color:#fff;margin-bottom:14px}
.footer-col a,.footer-col p{display:block;font-size:14px;color:#A9BDD1;line-height:2.05}
.footer-col a:hover{color:#fff}
.footer-bottom{margin-top:36px;padding-top:20px;border-top:1px solid rgba(255,255,255,.12);
  font-size:13px;color:#8296AB;line-height:1.9}
.disclaimer{margin-top:10px;font-size:13px;color:#8296AB;line-height:1.9}

/* ---------- 渐显（三层兜底） ---------- */
.reveal{transition:opacity .6s ease,transform .6s ease}
.js .reveal{opacity:0;transform:translateY(18px)}
.js .reveal.is-in{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){
  .js .reveal,.reveal{opacity:1;transform:none}
}
@media print{
  .js .reveal,.reveal{opacity:1 !important;transform:none !important}
}

/* ---------- 断点 ---------- */
@media (max-width:1200px){
  .hero h1{font-size:36px}
}
@media (max-width:980px){
  .hero-grid{grid-template-columns:1fr;gap:34px}
  .hero h1{font-size:36px}
  .hero .lead{max-width:none}
  .cards,.entries{grid-template-columns:repeat(2,1fr)}
  .shots{grid-template-columns:repeat(2,1fr)}
  .reviews{grid-template-columns:1fr}
  .trust-grid{grid-template-columns:repeat(2,1fr);gap:20px}
  .footer-grid{grid-template-columns:1fr 1fr}
  .section{padding:52px 0}
  .prose h2{font-size:23px}
}
@media (max-width:620px){
  .header-inner{flex-wrap:wrap;min-height:0;padding-top:10px;padding-bottom:10px;gap:8px}
  .brand{width:100%}
  .brand-name .sub{display:none}
  .nav{width:100%;margin-left:0;flex-wrap:wrap;justify-content:space-between;gap:0}
  .nav a{flex:0 0 33.3333%;text-align:center;padding:7px 0;font-size:14px;white-space:nowrap}
  .nav .header-cta{display:none}
  .hero{padding:40px 0 46px}
  .hero h1{font-size:26px}
  .hero .lead{font-size:15.4px}
  .hero-visual{order:2}
  .phone-stage{gap:12px}
  .phone-stage .phone{width:44vw;max-width:196px}
  .phone-stage .phone.small{width:30vw;max-width:132px}
  .btn{padding:13px 24px;font-size:15px}
  .section{padding:42px 0}
  .section-head h2{font-size:22px}
  .cards,.entries,.shots,.trust-grid,.footer-grid{grid-template-columns:1fr}
  .shots{gap:16px}
  .page-hero{padding:38px 0 40px}
  .page-hero h1{font-size:25px}
  .prose{padding:38px 22px 46px}
  .prose h2{font-size:21px;margin:34px 0 12px}
  .prose h3{font-size:17.5px}
  .prose p,.prose > ul > li,.prose .steps li{font-size:15.6px}
  .prose .steps li{padding-left:44px}
  .prose .steps li::before{width:30px;height:30px;border-radius:9px;font-size:14px}
  .cta-band{padding:36px 20px}
  .cta-band h2{font-size:22px}
  .prose .shot{max-width:100%}
}
@media (max-width:380px){
  .hero h1{font-size:22px}
}
.release-summary { padding: 30px 0; background: #f5f8f7; border-bottom: 1px solid #dce5e3; }
.release-facts { width: 100%; max-width: 1128px; margin: 0 auto; padding: 0 20px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.release-facts > div { min-width: 0; padding: 0 24px; border-left: 1px solid #dce5e3; }
.release-facts > div:first-child { padding-left: 0; border-left: 0; }
.release-facts dt { color: #63737a; font-size: 14px; }
.release-facts dd { margin-top: 5px; color: #1d3037; font-size: 24px; line-height: 1.35; font-weight: 700; }
@media (max-width: 620px) {
  .release-facts { grid-template-columns: 1fr; gap: 14px; }
  .release-facts > div, .release-facts > div:first-child { padding: 0 0 14px; border-left: 0; border-bottom: 1px solid #dce5e3; }
  .release-facts > div:last-child { padding-bottom: 0; border-bottom: 0; }
}
