:root{
  --primary:#165DFF; --primary-dark:#0E42C8; --primary-soft:#E8F0FF;
  --secondary:#36D399; --secondary-dark:#1FA06F; --secondary-soft:#E6F9F1;
  --bg:#F7F8FA; --bg-alt:#FFFFFF;
  --text:#1D2129; --text-2:#4E5969; --text-3:#86909C;
  --border:#E5E6EB; --border-light:#F2F3F5;
  --r-sm:8px; --r-md:12px; --r-lg:16px; --r-xl:24px;
  --sh-sm:0 1px 2px rgba(0,0,0,.04);
  --sh-md:0 4px 16px rgba(0,0,0,.06);
  --sh-lg:0 8px 32px rgba(0,0,0,.08);
  --font:"PingFang SC","Microsoft YaHei","Noto Sans SC","Hiragino Sans GB",system-ui,sans-serif;
  --maxw:1200px;
}
*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
body{font-family:var(--font);color:var(--text);background:var(--bg);line-height:1.6;-webkit-font-smoothing:antialiased}
a{text-decoration:none;color:inherit}
img{max-width:100%;display:block}

/* ===== 导航 ===== */
.nav{position:sticky;top:0;z-index:1000;background:rgba(255,255,255,.85);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);border-bottom:1px solid var(--border)}
.nav-inner{max-width:var(--maxw);margin:0 auto;padding:0 24px;height:68px;display:flex;align-items:center;justify-content:space-between}
.nav-brand{display:flex;align-items:center;gap:12px;font-size:1.1rem;font-weight:800;color:var(--primary)}
.nav-brand img{height:34px;width:auto}
.nav-brand .divider{width:1px;height:20px;background:var(--border)}
.nav-brand .sub{color:var(--text-2);font-weight:600}
.nav-back{display:inline-flex;align-items:center;gap:6px;padding:8px 18px;border-radius:var(--r-sm);background:var(--primary);color:#fff;font-size:.9rem;font-weight:600;transition:.2s}
.nav-back:hover{background:var(--primary-dark)}

/* ===== Hero ===== */
.hero{background:linear-gradient(160deg,#0A1628,#0F2440 40%,#0D1B3E);color:#fff;padding:64px 24px 72px;text-align:center;position:relative;overflow:hidden}
.hero::before{content:"";position:absolute;width:500px;height:500px;border-radius:50%;background:var(--primary);filter:blur(140px);opacity:.25;top:-180px;right:-100px}
.hero::after{content:"";position:absolute;width:400px;height:400px;border-radius:50%;background:var(--secondary);filter:blur(140px);opacity:.18;bottom:-160px;left:-80px}
.hero-inner{position:relative;z-index:2;max-width:760px;margin:0 auto}
.hero .eyebrow{display:inline-flex;align-items:center;gap:8px;font-size:.85rem;font-weight:700;color:#8FB6FF;letter-spacing:2px;margin-bottom:16px}
.hero h1{font-size:clamp(1.8rem,4vw,2.6rem);font-weight:800;line-height:1.3}
.hero p{color:rgba(255,255,255,.65);margin-top:16px;font-size:1.02rem}

/* ===== 新闻列表 ===== */
.news-section{padding:56px 24px 80px}
.news-list{max-width:var(--maxw);margin:0 auto;display:grid;grid-template-columns:repeat(2,1fr);gap:28px}
.news-card{display:flex;flex-direction:column;background:var(--bg-alt);border:1px solid var(--border);border-radius:var(--r-lg);padding:0;overflow:hidden;transition:transform .25s,box-shadow .25s;cursor:pointer}
.news-card:hover{transform:translateY(-4px);box-shadow:var(--sh-lg)}
.news-card .cover{width:100%;padding:20px 20px 0;box-sizing:border-box;flex-shrink:0}
.news-card .cover img{display:block;width:100%;height:auto;border-radius:var(--r-md)}
.news-card .body{flex:1;display:flex;flex-direction:column;padding:20px 24px 24px}
.news-card .date{font-size:.82rem;color:var(--text-3)}
.news-card h2{font-size:1.25rem;font-weight:700;line-height:1.4;margin-bottom:10px;color:var(--text)}
.news-card h2 a:hover{color:var(--primary)}
.news-card .excerpt{font-size:.92rem;color:var(--text-2);line-height:1.7;flex:1}
.news-card .more{display:inline-flex;align-items:center;gap:4px;font-size:.9rem;font-weight:700;color:var(--primary)}
.news-card .foot{display:flex;justify-content:space-between;align-items:center;margin-top:14px}
.news-card .more::after{content:"→";transition:transform .2s}
.news-card:hover .more::after{transform:translateX(4px)}

/* ===== 详情页 ===== */
.article-wrap{max-width:820px;margin:16px auto 48px;padding:24px 24px 56px;background:#fff;border-radius:16px;box-shadow:0 4px 24px rgba(0,0,0,.04)}
.breadcrumb{font-size:.85rem;color:var(--text-3);margin-bottom:28px}
.breadcrumb a{color:var(--text-2);transition:.2s}
.breadcrumb a:hover{color:var(--primary)}
.breadcrumb .sep{margin:0 8px;opacity:.5}
.article-head h1{font-size:clamp(1.5rem,3.4vw,2.2rem);font-weight:800;line-height:1.4;margin-bottom:16px}
.article-meta{display:flex;align-items:center;gap:16px;color:var(--text-3);font-size:.88rem;padding-bottom:24px;border-bottom:1px solid var(--border);margin-bottom:32px}
.article-meta .date{color:var(--text-2)}
.article-cover{border-radius:var(--r-lg);overflow:hidden;margin-bottom:32px;background:var(--primary-soft)}
.article-cover img{width:100%;height:auto}
.article-body{font-size:1rem;color:var(--text);line-height:1.9}
.article-body p{margin-bottom:20px}
.article-body h2{font-size:1.3rem;font-weight:700;margin:32px 0 14px}
.article-body img{border-radius:var(--r-md);margin:20px 0}
.article-tip{background:var(--primary-soft);border-left:4px solid var(--primary);padding:16px 20px;border-radius:var(--r-sm);margin:24px 0;font-size:.92rem;color:var(--text-2);line-height:1.8}

/* 上一篇/下一篇 */
.article-nav{display:flex;justify-content:space-between;gap:16px;margin-top:48px;padding-top:28px;border-top:1px solid var(--border)}
.article-nav a{flex:1;padding:18px 20px;border:1px solid var(--border);border-radius:var(--r-md);transition:.2s;font-size:.9rem;color:var(--text-2)}
.article-nav a:hover{border-color:var(--primary);color:var(--primary);background:var(--primary-soft)}
.article-nav .nav-label{display:block;font-size:.78rem;color:var(--text-3);margin-bottom:6px}
.article-nav a.next{text-align:right}
.back-list{display:inline-flex;align-items:center;gap:6px;margin-top:32px;padding:10px 22px;border-radius:var(--r-sm);background:var(--primary);color:#fff;font-size:.9rem;font-weight:600;transition:.2s}
.back-list:hover{background:var(--primary-dark)}

/* ===== 页脚 ===== */
.footer{background:#0A1628;color:rgba(255,255,255,.6);padding:48px 24px 32px}
.footer-inner{max-width:var(--maxw);margin:0 auto;display:flex;flex-direction:column;align-items:center;gap:16px;text-align:center}
.footer-links{display:flex;flex-wrap:wrap;gap:20px;justify-content:center}
.footer-links a{color:rgba(255,255,255,.7);font-size:.9rem;transition:.2s}
.footer-links a:hover{color:#8FB6FF}
.footer-copy{font-size:.82rem;color:rgba(255,255,255,.45)}
.footer-copy a{color:inherit}

/* ===== 动画 ===== */
.reveal{opacity:0;transform:translateY(24px);transition:opacity .7s ease,transform .7s ease}
.reveal.visible{opacity:1;transform:translateY(0)}

/* ===== 响应式 ===== */
@media(max-width:768px){
  .news-list{grid-template-columns:1fr}
  .news-card .cover{width:100%;padding:16px 16px 0;box-sizing:border-box}
  .article-nav{flex-direction:column}
  .article-nav a.next{text-align:left}
}

/* 统一页脚 */
.site-footer{position:relative;background:linear-gradient(160deg,#0A1628,#0F2440 30%,#0D1B3E 60%,#0A1628);color:#fff;padding:56px 24px 30px;overflow:hidden}
.site-footer-bg{position:absolute;inset:0;pointer-events:none;overflow:hidden}
.site-footer-glow{position:absolute;width:500px;height:500px;border-radius:50%;filter:blur(120px);opacity:.14;pointer-events:none}
.site-footer-glow--blue{background:#165DFF;top:-130px;right:-100px;animation:footerFloat 9s ease-in-out infinite}
.site-footer-glow--green{background:#36D399;bottom:-160px;left:-100px;animation:footerFloat 11s ease-in-out infinite reverse}
@keyframes footerFloat{0%,100%{transform:translate(0,0)}50%{transform:translate(30px,-30px)}}
.site-footer-inner{position:relative;z-index:2;max-width:1200px;margin:0 auto}
.site-footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;gap:40px}
.site-footer-brand{display:flex;flex-direction:column;gap:16px}
.site-footer-brand img{height:42px;width:auto;align-self:flex-start}
.site-footer-brand p{font-size:.88rem;color:rgba(255,255,255,.62);line-height:1.85}
.site-footer-title{font-size:.95rem;font-weight:700;color:#fff;margin-bottom:16px}
.site-footer-col{display:flex;flex-direction:column;gap:11px}
.site-footer-col a{font-size:.88rem;color:rgba(255,255,255,.62);transition:color .2s;text-decoration:none}
.site-footer-col a:hover{color:#8FB6FF}
.site-footer-bottom{margin-top:40px;padding-top:22px;border-top:1px solid rgba(255,255,255,.08);text-align:center}
.site-footer-copy{font-size:.82rem;color:rgba(255,255,255,.45);white-space:nowrap}
.site-footer-copy a{color:inherit;transition:color .2s;text-decoration:none}
.site-footer-copy a:hover{color:#38BDF8}
@media(max-width:768px){.site-footer-grid{grid-template-columns:1fr 1fr;gap:28px}.site-footer-brand{grid-column:1/-1}.site-footer-copy{white-space:normal}}
@media(max-width:480px){.site-footer-grid{grid-template-columns:1fr}}
/* 分享功能 */
.article-meta .share-wrap{position:relative;display:inline-flex;align-items:center;margin-left:auto}
.article-meta .share-wrap a{color:var(--text-3)}
.share-btn{display:inline-flex;align-items:center;gap:5px;padding:5px 12px;border:none;border-radius:6px;background:var(--border-light);color:var(--text-2);font-size:.85rem;cursor:pointer;transition:.2s;font-family:inherit}
.share-btn:hover{background:var(--primary-soft);color:var(--primary)}
.share-btn svg{width:15px;height:15px}
.share-pop{position:absolute;top:calc(100% + 8px);right:0;background:#fff;border:1px solid var(--border);border-radius:10px;box-shadow:0 8px 24px rgba(0,0,0,.12);padding:6px;display:none;flex-direction:column;min-width:130px;z-index:50}
.share-pop.show{display:flex}
.share-item{display:flex;align-items:center;padding:9px 14px;border:none;background:none;font-size:.88rem;color:var(--text);cursor:pointer;border-radius:6px;transition:.15s;text-align:left;font-family:inherit}
.share-item:hover{background:var(--border-light);color:var(--primary)}
/* 文章末尾分享区 */
.article-share{display:flex;align-items:center;gap:12px;margin-top:8px;padding:20px 24px;background:var(--border-light);border-radius:12px;flex-wrap:wrap}
.article-share-label{font-size:.9rem;color:var(--text-2);font-weight:600;margin-right:4px}
.article-share-btn{display:inline-flex;align-items:center;gap:6px;padding:7px 16px;border:1px solid var(--border);border-radius:8px;background:#fff;font-size:.88rem;color:var(--text-2);cursor:pointer;transition:.2s;font-family:inherit}
.article-share-btn:hover{border-color:var(--primary);color:var(--primary)}
/* 分享图标 */
.share-item .ic,.article-share-btn .ic{width:15px;height:15px;flex-shrink:0}
.ic-wechat{color:#07C160}
.share-item,.article-share-btn{display:inline-flex;align-items:center;gap:6px}

/* 微信二维码弹窗 */
.qr-modal{position:fixed;inset:0;z-index:10000;display:none;align-items:center;justify-content:center}
.qr-modal.show{display:flex}
.qr-modal-mask{position:absolute;inset:0;background:rgba(0,0,0,.55)}
.qr-modal-box{position:relative;background:#fff;border-radius:16px;padding:30px 32px 24px;text-align:center;z-index:1;width:90%;max-width:320px}
.qr-close{position:absolute;top:6px;right:14px;border:none;background:none;font-size:28px;line-height:1;cursor:pointer;color:#86909C}
.qr-close:hover{color:#1D2129}
.qr-title{font-size:1.1rem;font-weight:700;color:#1D2129;margin-bottom:16px}
#qrcode{display:flex;justify-content:center;margin-bottom:14px}
#qrcode img,#qrcode canvas{width:180px!important;height:180px!important}
.qr-modal-box p{font-size:.85rem;color:#86909C;line-height:1.7;margin:0}
/* 正文插图 */
.article-figure{margin:26px 0;text-align:center}
/* 常见问题解答（FAQ，利于 AI 收录） */
.article-faq{margin-top:40px;padding:26px 28px;background:#F7F8FA;border-radius:14px}
.article-faq h2{font-size:1.15rem;font-weight:700;color:#1D2129;margin-bottom:18px}
.faq-item{margin-bottom:18px}
.faq-item:last-child{margin-bottom:0}
.faq-item h3{font-size:1rem;font-weight:700;color:#1D2129;margin-bottom:8px}
.faq-item p{font-size:.92rem;color:#4E5969;line-height:1.85}
/* 正文排版规范 */
.article-body p{text-indent:2em}
.article-h2{font-size:1.18rem;font-weight:700;color:#1D2129;margin:28px 0 14px;text-indent:0}
.article-h3{font-size:1.05rem;font-weight:700;color:#1D2129;margin:20px 0 10px;text-indent:0}
.article-figure img{display:block;margin:0 auto;max-width:100%;max-height:600px;width:auto;height:auto}
.article-qrcode{text-align:center;margin:32px 0 8px}
.article-qrcode img{display:block;margin:0 auto;width:180px;height:180px;border-radius:12px;border:1px solid #E5E6EB;box-shadow:0 6px 20px rgba(0,0,0,.10)}
.article-qrcode .qr-title{font-size:1.02rem;font-weight:700;color:#1D2129;margin:16px 0 6px}
.article-qrcode .qr-sub{font-size:.88rem;color:#86909C}
/* 返回顶部 */
.back-to-top{position:fixed;right:24px;bottom:84px;width:46px;height:46px;border-radius:50%;background:var(--primary);color:#fff;border:none;cursor:pointer;display:none;align-items:center;justify-content:center;box-shadow:0 6px 18px rgba(22,93,255,.35);z-index:99;transition:opacity .2s}
.back-to-top svg{width:20px;height:20px}
.back-to-top:hover{background:var(--primary-dark)}
.back-to-top.visible{display:flex}
.article-cta{text-align:center;margin:30px 0 10px}
.article-cta a{display:inline-block;padding:13px 36px;background:linear-gradient(135deg,#165DFF,#0E42C8);color:#fff;font-size:1rem;font-weight:700;border-radius:999px;text-decoration:none;box-shadow:0 6px 18px rgba(22,93,255,.35);transition:transform .2s,box-shadow .2s}
.article-cta a:hover{transform:translateY(-2px);box-shadow:0 10px 24px rgba(22,93,255,.45)}
.article-download{display:flex;flex-direction:column;align-items:flex-start;gap:12px;margin:16px 0 24px}
.article-download a{display:inline-flex;align-items:center;gap:8px;padding:11px 20px;background:var(--primary-soft);color:var(--primary);border:1px solid var(--primary);border-radius:8px;font-weight:600;text-decoration:none;transition:.2s}
.article-download a svg{width:16px;height:16px;flex-shrink:0}
.article-download a:hover{background:var(--primary);color:#fff}
.article-video{margin:24px 0;text-align:center}
.article-video video{max-width:100%;max-height:520px;border-radius:12px;background:#000}
