/* ===========================================================
   动漫共和国 · 站点样式（单文件共享）
   配色：星夜靛蓝 #1B2A6B / 电光青 #12BEC9 / 活力橙 #FF8A3C / 樱粉 #FF5C8A
   =========================================================== */

:root{
  --ink:#12203a;
  --ink-2:#2c3d57;
  --muted:#5d6d81;
  --brand:#1b2a6b;
  --brand-2:#2a3f9e;
  --teal:#12bec9;
  --orange:#ff8a3c;
  --pink:#ff5c8a;
  --bg:#f3fafb;
  --bg-2:#e8f4f7;
  --card:#ffffff;
  --line:#dbe8ee;
  --grad:linear-gradient(135deg,#2a3f9e,#12bec9);
  --cta:linear-gradient(135deg,#ff9a4d,#ff5c8a);
  --shadow:0 10px 30px rgba(18,32,58,.08);
  --radius:16px;
  --wrap:1140px;
}

*,*::before,*::after{box-sizing:border-box}
body,h1,h2,h3,h4,h5,p,ul,ol,li,figure,figcaption,blockquote,dl,dt,dd,table,th,td{margin:0;padding:0}
ul,ol{list-style:none}
img{max-width:100%;height:auto;display:block;border:0}
figure,figcaption{margin:0;padding:0}
a{color:inherit;text-decoration:none}
button{font:inherit;color:inherit}

html{-webkit-text-size-adjust:100%}
body{
  font-family:"Microsoft YaHei","PingFang SC","Hiragino Sans GB","Source Han Sans SC",-apple-system,"Helvetica Neue",Arial,sans-serif;
  color:var(--ink);
  background:var(--bg);
  line-height:1.75;
  font-size:16px;
}

.wrap{max-width:var(--wrap);margin:0 auto;padding:0 22px}

/* ---------------- 顶部导航 ---------------- */
.site-header{
  position:sticky;top:0;z-index:60;
  background:rgba(255,255,255,.92);
  backdrop-filter:saturate(160%) blur(10px);
  border-bottom:1px solid var(--line);
}
.header-inner{
  max-width:var(--wrap);margin:0 auto;padding:0 22px;
  min-height:70px;display:flex;align-items:center;gap:18px;
}
.brand{display:flex;align-items:center;gap:10px;flex:none}
.brand img{width:42px;height:42px;border-radius:11px;flex:none}
.brand-name{display:flex;flex-direction:column;line-height:1.15}
.brand-name b{font-size:19px;letter-spacing:.5px;color:var(--brand)}
.brand-name .sub{font-size:11px;color:var(--muted);letter-spacing:1.4px;text-transform:uppercase}
.nav{margin-left:auto;display:flex;align-items:center;gap:4px}
.nav a{
  display:inline-block;padding:9px 13px;border-radius:9px;
  font-size:15px;color:var(--ink-2);white-space:nowrap;
}
.nav a:hover{background:var(--bg-2);color:var(--brand)}
.nav a[aria-current="page"]{background:var(--bg-2);color:var(--brand);font-weight:700}
.nav .header-cta{
  margin-left:8px;display:inline-block;padding:10px 20px;border-radius:999px;
  background:var(--cta);color:#fff;font-weight:700;font-size:15px;
  box-shadow:0 6px 16px rgba(255,92,138,.28);
}
.nav .header-cta:hover{filter:brightness(1.05)}

/* ---------------- Hero ---------------- */
.hero{
  position:relative;overflow:hidden;color:#eaf3ff;
  background:radial-gradient(900px 420px at 12% 6%,rgba(18,190,201,.34),transparent 62%),
             radial-gradient(760px 420px at 88% 20%,rgba(255,92,138,.28),transparent 60%),
             linear-gradient(150deg,#16224f 0%,#1b2a6b 44%,#20408f 100%);
  padding:64px 0 72px;
}
.hero::after{
  content:"";position:absolute;inset:0;pointer-events:none;
  background-image:radial-gradient(rgba(255,255,255,.16) 1px,transparent 1px);
  background-size:22px 22px;opacity:.5;
}
.hero .in{position:relative;z-index:2}
.hero-grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:34px;align-items:center}
.hero-grid>*{min-width:0}
.tag{
  display:inline-flex;align-items:center;gap:8px;
  padding:7px 15px;border-radius:999px;font-size:13.5px;
  background:rgba(255,255,255,.13);border:1px solid rgba(255,255,255,.24);color:#dff3ff;
}
.tag i{width:7px;height:7px;border-radius:50%;background:var(--teal);display:inline-block}
.hero h1{
  margin:18px 0 14px;font-size:44px;line-height:1.24;letter-spacing:1px;
  color:#fff;font-weight:800;
}
.hero h1 em{font-style:normal;background:linear-gradient(120deg,#ffd08a,#ff8fb4);-webkit-background-clip:text;background-clip:text;color:transparent}
.hero-lead{font-size:16.5px;color:#c9dcf3;max-width:560px}
.hero-points{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0 26px}
.hero-points span{
  font-size:13.5px;padding:6px 13px;border-radius:8px;
  background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.16);color:#d8e9fb;
}
.hero-actions{display:flex;flex-wrap:wrap;gap:14px;align-items:center}
.btn{
  display:inline-flex;align-items:center;gap:9px;
  padding:15px 34px;border-radius:999px;font-size:17px;font-weight:800;letter-spacing:.5px;
  background:var(--cta);color:#fff;box-shadow:0 12px 28px rgba(255,92,138,.34);
  transition:transform .18s ease,filter .18s ease;
}
.btn:hover{transform:translateY(-2px);filter:brightness(1.05)}
.btn svg{width:20px;height:20px;flex:none}
.btn.ghost{background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.3);box-shadow:none;font-weight:600}
.hero-note{margin-top:16px;font-size:13px;color:#a8c2e0}

/* 双手机预览 */
.hero-visual{display:flex;align-items:flex-end;justify-content:center;gap:20px}
.phone-stage{display:flex;align-items:flex-end;gap:18px}
.phone{
  position:relative;flex:none;width:206px;padding:9px;border-radius:26px;
  background:linear-gradient(160deg,#2b3a63,#131c34);
  box-shadow:0 22px 44px rgba(4,10,26,.5);
}
.phone.small{width:142px;padding:7px;border-radius:20px}
.phone::before{
  content:"";position:absolute;top:14px;left:50%;transform:translateX(-50%);
  width:44px;height:5px;border-radius:99px;background:rgba(255,255,255,.28);
}
.phone.small::before{width:32px;height:4px;top:11px}
.phone .screen{border-radius:19px;overflow:hidden;background:#1c2230}
.phone.small .screen{border-radius:14px}
.phone .screen img{width:100%;height:auto;display:block}

/* ---------------- 数据信任条 ---------------- */
.stats{
  background:var(--card);border-bottom:1px solid var(--line);
}
.stats-in{
  max-width:var(--wrap);margin:0 auto;padding:26px 22px;
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;text-align:center;
}
.stats-in>*{min-width:0}
.stat b{display:block;font-size:27px;line-height:1.2;color:var(--brand);font-weight:800}
.stat span{font-size:13.5px;color:var(--muted)}

/* ---------------- 通用区块 ---------------- */
.section{padding:66px 0}
.section.alt{background:var(--card);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.section-head{text-align:center;max-width:760px;margin:0 auto 38px}
.section-head h2{font-size:30px;line-height:1.35;color:var(--brand);font-weight:800}
.section-head p{margin-top:12px;color:var(--muted);font-size:15.5px}

/* 功能卡 */
.features{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.features>*{min-width:0}
.fcard{
  background:var(--card);border:1px solid var(--line);border-radius:var(--radius);
  padding:26px 22px;box-shadow:var(--shadow);height:100%;
}
.fcard .ico{
  width:48px;height:48px;border-radius:14px;display:grid;place-items:center;
  background:linear-gradient(135deg,#e4f6f9,#eef1ff);margin-bottom:16px;
}
.fcard .ico svg{width:24px;height:24px;stroke:var(--brand-2);fill:none;stroke-width:1.9}
.fcard h3{font-size:18.5px;color:var(--brand);margin-bottom:9px}
.fcard p{font-size:14.8px;color:var(--ink-2)}

/* 截图栅格 */
.shots{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.shots>*{min-width:0}
.shot{
  background:var(--card);border:1px solid var(--line);border-radius:14px;
  padding:12px;box-shadow:var(--shadow);
}
.shot img{width:100%;height:auto;border-radius:9px}
.shot figcaption{font-size:13.5px;color:var(--muted);text-align:center;margin-top:10px}

/* 深度内容入口卡 */
.entries{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.entries>*{min-width:0}
.entry{
  display:block;background:var(--card);border:1px solid var(--line);border-radius:var(--radius);
  padding:24px 22px;box-shadow:var(--shadow);height:100%;
  transition:transform .2s ease,border-color .2s ease;
}
.entry:hover{transform:translateY(-4px);border-color:#bcd9e6}
.entry .k{font-size:12.5px;letter-spacing:1.5px;color:var(--teal);font-weight:800}
.entry h3{font-size:18px;color:var(--brand);margin:10px 0 9px}
.entry p{font-size:14.5px;color:var(--ink-2)}
.entry .more{display:inline-block;margin-top:14px;font-size:14px;color:var(--pink);font-weight:700}

/* 评价 */
.reviews{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.reviews>*{min-width:0}
.review{
  background:var(--card);border:1px solid var(--line);border-radius:var(--radius);
  padding:24px 22px;box-shadow:var(--shadow);
}
.review .who{display:flex;align-items:center;gap:11px;margin-bottom:13px}
.review .who i{
  width:40px;height:40px;border-radius:50%;flex:none;
  background:var(--grad);color:#fff;display:grid;place-items:center;
  font-style:normal;font-weight:800;font-size:16px;
}
.review .who b{display:block;font-size:15px;color:var(--brand)}
.review .who span{font-size:12.5px;color:var(--muted)}
.review p{font-size:14.8px;color:var(--ink-2)}

/* FAQ */
.faq{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.faq>*{min-width:0}
.faq details,.prose details{
  background:var(--card);border:1px solid var(--line);border-radius:12px;
  padding:0 18px;
}
.faq summary,.prose details>summary{
  cursor:pointer;list-style:none;padding:16px 34px 16px 0;position:relative;
  font-size:15.5px;font-weight:700;color:var(--brand);
}
.faq summary::-webkit-details-marker,.prose details>summary::-webkit-details-marker{display:none}
.faq summary::after,.prose details>summary::after{
  content:"+";position:absolute;right:4px;top:50%;transform:translateY(-50%);
  font-size:19px;font-weight:700;color:var(--teal);
}
.faq details[open] summary::after,.prose details[open]>summary::after{content:"–"}
.faq .ans,.prose details .ans{
  padding:0 0 18px;font-size:14.8px;color:var(--ink-2);border-top:1px dashed var(--line);
  padding-top:14px;
}

/* 底部下载通道 */
.cta-band{
  background:radial-gradient(700px 320px at 20% 30%,rgba(18,190,201,.35),transparent 62%),
             linear-gradient(135deg,#1b2a6b,#2a3f9e 55%,#20408f);
  color:#eaf3ff;border-radius:22px;padding:42px 34px;text-align:center;
}
.cta-band h2{font-size:26px;color:#fff;margin-bottom:10px}
.cta-band p{color:#c4d8f2;font-size:15.5px;margin-bottom:24px}
.cta-band .btn{margin:0 auto}

/* ---------------- 内页正文 ---------------- */
.page-head{
  background:radial-gradient(700px 300px at 15% 20%,rgba(18,190,201,.3),transparent 60%),
             linear-gradient(140deg,#182352,#1b2a6b 60%,#2a3f9e);
  color:#eaf3ff;padding:46px 0 50px;
}
.crumbs{font-size:13.5px;color:#a8c2e0;margin-bottom:14px}
.crumbs a{color:#cfe3f8}
.page-head h1{font-size:33px;line-height:1.35;color:#fff;font-weight:800;max-width:860px}
.page-head p{margin-top:14px;color:#c4d8f2;font-size:16px;max-width:820px}

.prose{max-width:900px;min-width:0;width:100%;margin:0 auto;padding:52px 22px 60px}
.prose h2{
  font-size:24px;line-height:1.45;color:var(--brand);font-weight:800;
  margin:44px 0 16px;padding-left:16px;border-left:5px solid var(--teal);
}
.prose h2:first-child{margin-top:0}
.prose h3{font-size:19px;color:var(--ink);margin:26px 0 11px}
.prose p{margin:12px 0;color:var(--ink-2);font-size:16px}
.prose > ul > li,.prose > ol > li{padding-left:18px;position:relative;margin:9px 0;color:var(--ink-2)}
.prose > ul > li::before{
  content:"";position:absolute;left:0;top:.72em;width:7px;height:7px;border-radius:50%;
  background:var(--teal);
}
.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:.28em;
  font-size:13px;font-weight:800;color:#fff;background:var(--brand-2);
  width:20px;height:20px;border-radius:6px;display:grid;place-items:center;
}
.prose strong{color:var(--brand);font-weight:700}
.prose .note{
  background:#eef8fa;border:1px solid #cde9ee;border-left:5px solid var(--teal);
  border-radius:10px;padding:16px 20px;margin:20px 0;font-size:15px;color:var(--ink-2);
}
.prose .shot{margin:26px auto;max-width:368px}
.prose .shot img{width:100%;height:auto;border-radius:12px;border:1px solid var(--line)}
.prose .shot figcaption{font-size:13.5px;color:var(--muted);text-align:center;margin-top:9px}

/* 步骤列表（必须带 .prose 前缀，避免被 .prose > ol > li 覆盖） */
.prose .steps{counter-reset:st;margin:22px 0}
.prose .steps li{
  counter-increment:st;position:relative;padding-left:52px;margin:0 0 18px;
  color:var(--ink-2);
}
.prose .steps li::before{
  content:counter(st);position:absolute;left:0;top:2px;
  width:34px;height:34px;border-radius:11px;display:grid;place-items:center;
  background:var(--grad);color:#fff;font-weight:800;font-size:15px;
}
.prose .steps li b{display:block;color:var(--brand);font-size:16.5px;margin-bottom:4px}
.prose .steps li p{margin:5px 0 0;font-size:15.3px}

/* 表格 */
.table-scroll{overflow-x:auto;border:1px solid var(--line);border-radius:12px;background:var(--card)}
.table-scroll .cmp{border:0;border-radius:0}
.cmp{width:100%;min-width:680px;border-collapse:collapse;font-size:14.8px}
.cmp th,.cmp td{padding:12px 14px;border-bottom:1px solid var(--line);text-align:left;color:var(--ink-2)}
.cmp thead th{background:#f0f7f9;color:var(--brand);font-weight:700;white-space:nowrap}
.cmp tbody tr:last-child td{border-bottom:0}
.cmp td:first-child{color:var(--brand);font-weight:700}

/* 相关链接 */
.rel-links{
  margin-top:38px;padding:22px 24px;border-radius:14px;
  background:var(--card);border:1px solid var(--line);box-shadow:var(--shadow);
}
.rel-links b{display:block;color:var(--brand);margin-bottom:10px;font-size:16px}
.rel-links ul{display:flex;flex-wrap:wrap;gap:10px}
.rel-links li{max-width:100%}
.rel-links a{
  display:inline-block;padding:8px 15px;border-radius:999px;font-size:14px;
  background:var(--bg-2);color:var(--brand-2);
}
.rel-links a:hover{background:#d8edf2}

/* ---------------- 页脚 ---------------- */
.site-footer{background:#101a33;color:#a9bcd4;padding:46px 0 28px;font-size:14.5px}
.footer-in{max-width:var(--wrap);margin:0 auto;padding:0 22px;
  display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:30px}
.footer-col h4{color:#fff;font-size:16px;margin-bottom:13px}
.footer-col p{line-height:1.85}
.footer-col ul li{margin:7px 0}
.footer-col a{color:#a9bcd4}
.footer-col a:hover{color:#7fe6ee}
.footer-brand{display:flex;align-items:center;gap:10px;margin-bottom:13px}
.footer-brand img{width:36px;height:36px;border-radius:9px;flex:none}
.footer-brand b{color:#fff;font-size:17px}
.disclaimer{
  max-width:var(--wrap);margin:30px auto 0;padding:16px 22px 0;
  border-top:1px solid #253356;color:#8fa3bd;font-size:13.5px;line-height:1.8;
}
.copyright{max-width:var(--wrap);margin:10px auto 0;padding:0 22px;
  color:#7f93ad;font-size:13px}

/* ---------------- 渐显动画（三层兜底） ---------------- */
.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;transition:none}
}
@media print{
  .js .reveal,.reveal{opacity:1 !important;transform:none !important}
}

/* ---------------- 响应式 ---------------- */
@media (max-width:980px){
  .hero h1{font-size:36px}
  .hero-grid{grid-template-columns:minmax(0,1fr);gap:30px}
  .hero-visual{order:2}
  .features,.entries,.reviews{grid-template-columns:repeat(2,minmax(0,1fr))}
  .shots{grid-template-columns:repeat(3,minmax(0,1fr))}
  .footer-in{grid-template-columns:1fr 1fr}
  .page-head h1{font-size:28px}
  .section{padding:52px 0}
}

@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:42px 0 50px}
  .hero h1{font-size:29px}
  .hero-lead{font-size:15.5px}
  .btn{padding:14px 26px;font-size:16px}
  .hero-visual{gap:14px}
  .phone-stage{gap:12px;flex-wrap:wrap;justify-content:center}
  .phone{width:44vw;max-width:196px}
  .phone.small{width:30vw;max-width:132px}

  .stats-in{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .stat b{font-size:23px}

  .section{padding:44px 0}
  .section-head h2{font-size:23px}
  .features,.entries,.reviews,.faq{grid-template-columns:minmax(0,1fr)}
  .shots{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
  .shot{padding:9px}
  .shot figcaption{font-size:12.5px}

  .page-head{padding:34px 0 38px}
  .page-head h1{font-size:23px}
  .prose{padding:36px 22px 44px}
  .prose h2{font-size:20.5px;margin:34px 0 13px}
  .prose h3{font-size:17.5px}
  .prose .steps li{padding-left:44px}
  .prose .steps li::before{width:30px;height:30px;border-radius:9px;font-size:14px}
  .prose .shot{max-width:100%}

  .footer-in{grid-template-columns:minmax(0,1fr);gap:22px}
  .cta-band{padding:32px 20px;border-radius:16px}
  .cta-band h2{font-size:21px}
}
