/* roulang page: index */
:root {
  --color-primary: #0d1424;
  --color-primary-light: #1a2340;
  --color-primary-soft: #27314f;
  --color-accent: #ff6b35;
  --color-accent-hover: #f85422;
  --color-gold: #f5b942;
  --color-bg: #f4f6fb;
  --color-surface: #ffffff;
  --color-surface-alt: #eef1f8;
  --color-text: #0e1626;
  --color-text-weak: #5c6b85;
  --color-border: #e2e8f2;
  --color-danger: #e85d5d;
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --shadow-xs: 0 1px 2px rgba(20,30,60,0.04);
  --shadow-sm: 0 2px 8px rgba(20,30,60,0.06);
  --shadow-md: 0 8px 24px rgba(20,30,60,0.09);
  --shadow-lg: 0 18px 44px rgba(20,30,60,0.14);
  --space-xl: 104px;
  --space-lg: 80px;
  --space-md: 56px;
  --space-sm: 28px;
  --container: 1200px;
  --font-main: "PingFang SC", "Microsoft YaHei", "Segoe UI", -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius-btn: 10px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin:0; padding:0; background:var(--color-bg); color:var(--color-text); font-family:var(--font-main); line-height:1.7; font-size:16px; }
img { max-width:100%; display:block; }
a { color:inherit; text-decoration:none; transition:color .25s ease; }
button { font-family:inherit; border:none; background:none; cursor:pointer; }
ul, ol { list-style:none; margin:0; padding:0; }
.container { max-width:var(--container); margin:0 auto; padding:0 24px; }

::selection { background:rgba(255,107,53,.18); }

/* 按钮 */
.btn { display:inline-flex; align-items:center; justify-content:center; gap:10px; padding:14px 30px; border-radius:var(--radius-btn); font-size:16px; font-weight:600; line-height:1.3; transition:all .25s ease; border:2px solid transparent; }
.btn-primary { background:var(--color-accent); color:#fff; box-shadow:0 6px 20px rgba(255,107,53,.32); }
.btn-primary:hover { background:var(--color-accent-hover); transform:translateY(-2px); box-shadow:0 10px 28px rgba(255,107,53,.4); }
.btn-outline { border-color:rgba(255,255,255,.7); color:#fff; }
.btn-outline:hover { border-color:#fff; background:rgba(255,255,255,.1); }
.btn-dark { background:var(--color-primary); color:#fff; }
.btn-dark:hover { background:var(--color-primary-light); transform:translateY(-2px); box-shadow:var(--shadow-md); }
.btn-light { background:#fff; color:var(--color-primary); box-shadow:var(--shadow-sm); }
.btn-light:hover { transform:translateY(-2px); box-shadow:var(--shadow-md); }

/* Header */
.site-header { position:sticky; top:0; z-index:100; background:rgba(255,255,255,.92); backdrop-filter:blur(14px); border-bottom:1px solid rgba(226,232,242,.8); }
.header-inner { display:flex; align-items:center; justify-content:space-between; height:78px; max-width:var(--container); margin:0 auto; padding:0 24px; }
.brand-logo { display:inline-flex; align-items:center; gap:10px; }
.brand-icon { width:42px; height:42px; display:flex; align-items:center; justify-content:center; background:linear-gradient(135deg,var(--color-primary),var(--color-primary-light)); border-radius:12px; color:var(--color-gold); font-size:18px; box-shadow:0 4px 12px rgba(13,20,36,.25); }
.brand-text { font-size:20px; font-weight:800; color:var(--color-primary); letter-spacing:.5px; }
.brand-text span { color:var(--color-accent); }
.main-nav { display:flex; align-items:center; }
.nav-list { display:flex; align-items:center; gap:6px; }
.nav-list .nav-link { display:inline-block; padding:10px 20px; font-weight:600; font-size:15px; border-radius:999px; color:var(--color-text-weak); transition:all .25s ease; }
.nav-list .nav-link:hover { background:var(--color-surface-alt); color:var(--color-primary); }
.nav-list .nav-link.active { background:var(--color-primary); color:#fff; box-shadow:0 4px 14px rgba(13,20,36,.22); }
.nav-toggle { display:none; width:44px; height:44px; align-items:center; justify-content:center; border-radius:10px; background:var(--color-surface-alt); color:var(--color-primary); font-size:18px; }

/* Hero */
.hero { position:relative; padding:120px 0 100px; color:#fff; overflow:hidden; }
.hero-bg { position:absolute; inset:0; background-image:url('/assets/images/backpic/back-1.png'); background-size:cover; background-position:center; }
.hero-bg::after { content:""; position:absolute; inset:0; background:linear-gradient(105deg, rgba(10,15,32,.92) 0%, rgba(10,15,32,.72) 50%, rgba(10,15,32,.55) 100%); }
.hero-content { position:relative; z-index:2; padding-right:30px; }
.hero-tag { display:inline-flex; align-items:center; gap:8px; padding:8px 20px; background:rgba(255,255,255,.12); border:1px solid rgba(255,255,255,.22); border-radius:999px; font-size:13px; letter-spacing:1.5px; font-weight:600; margin-bottom:24px; color:#f0e6ff; }
.hero-tag i { color:var(--color-gold); }
.hero h1 { font-size:52px; line-height:1.2; font-weight:900; margin:0 0 18px; letter-spacing:1px; }
.hero h1 em { font-style:normal; color:var(--color-gold); }
.hero-desc { font-size:18px; line-height:1.8; color:rgba(255,255,255,.85); max-width:600px; margin:0 0 36px; }
.hero-actions { display:flex; flex-wrap:wrap; gap:16px; margin-bottom:48px; }
.hero-stats { display:flex; gap:52px; flex-wrap:wrap; }
.stat-item strong { display:block; font-size:36px; font-weight:800; color:#fff; line-height:1.1; }
.stat-item span { display:block; font-size:14px; color:rgba(255,255,255,.7); margin-top:6px; letter-spacing:.5px; }
.hero-card { position:relative; border-radius:var(--radius-lg); overflow:hidden; box-shadow:var(--shadow-lg); border:1px solid rgba(255,255,255,.16); background:rgba(255,255,255,.12); backdrop-filter:blur(6px); }
.hero-card img { width:100%; height:330px; object-fit:cover; }
.hero-card-info { position:absolute; left:0; right:0; bottom:0; padding:22px 24px; background:linear-gradient(to top, rgba(10,15,32,.9), transparent); }
.hero-card-info .card-tag { display:inline-block; padding:4px 14px; background:var(--color-accent); border-radius:999px; font-size:12px; font-weight:700; color:#fff; margin-bottom:10px; letter-spacing:.5px; }
.hero-card-info h3 { margin:0 0 6px; font-size:22px; font-weight:700; color:#fff; }
.hero-card-info p { margin:0; font-size:14px; color:rgba(255,255,255,.82); }

/* 通用板块头部 */
.section { padding:var(--space-lg) 0; }
.section-bg-alt { background:var(--color-surface); }
.section-head { text-align:center; max-width:680px; margin:0 auto 56px; }
.section-tag { display:inline-block; padding:6px 18px; background:rgba(255,107,53,.1); border-radius:999px; font-size:13px; font-weight:700; color:var(--color-accent); letter-spacing:1px; margin-bottom:14px; }
.section-head h2 { font-size:34px; line-height:1.25; font-weight:800; margin:0 0 14px; color:var(--color-primary); }
.section-head p { font-size:16px; color:var(--color-text-weak); margin:0; line-height:1.8; }

/* 核心特性 */
.feature-card { background:var(--color-surface); border:1px solid var(--color-border); border-radius:var(--radius-lg); padding:34px 28px; height:100%; transition:all .3s ease; box-shadow:var(--shadow-xs); }
.feature-card:hover { transform:translateY(-6px); box-shadow:var(--shadow-md); border-color:rgba(255,107,53,.3); }
.feature-icon { width:58px; height:58px; display:flex; align-items:center; justify-content:center; background:linear-gradient(135deg,var(--color-primary),var(--color-primary-light)); color:var(--color-gold); border-radius:16px; font-size:22px; margin-bottom:22px; }
.feature-card h3 { font-size:19px; font-weight:700; margin-bottom:10px; color:var(--color-primary); }
.feature-card p { font-size:14px; line-height:1.8; color:var(--color-text-weak); margin:0; }

/* 分类入口 */
.category-card { display:block; background:var(--color-surface); border-radius:var(--radius-lg); overflow:hidden; box-shadow:var(--shadow-sm); border:1px solid var(--color-border); transition:all .3s ease; }
.category-card:hover { box-shadow:var(--shadow-lg); transform:translateY(-4px); border-color:var(--color-accent); }
.category-img { height:100%; min-height:240px; }
.category-img img { width:100%; height:100%; object-fit:cover; }
.category-body { padding:38px 34px; }
.category-badge { display:inline-flex; align-items:center; gap:8px; padding:5px 16px; background:rgba(255,107,53,.1); border-radius:999px; color:var(--color-accent); font-size:13px; font-weight:600; margin-bottom:16px; }
.category-body h3 { font-size:27px; font-weight:800; color:var(--color-primary); margin-bottom:14px; }
.category-body p { font-size:15px; color:var(--color-text-weak); line-height:1.85; margin-bottom:24px; }
.category-link { display:inline-flex; align-items:center; gap:8px; color:var(--color-accent); font-weight:700; font-size:15px; transition:gap .2s ease; }
.category-card:hover .category-link { gap:14px; }

/* 资讯卡片 */
.post-card { background:var(--color-surface); border:1px solid var(--color-border); border-radius:var(--radius-lg); padding:28px 26px; height:100%; transition:all .3s ease; display:flex; flex-direction:column; box-shadow:var(--shadow-xs); }
.post-card:hover { box-shadow:var(--shadow-md); transform:translateY(-5px); border-color:rgba(255,107,53,.3); }
.post-meta { display:flex; align-items:center; gap:12px; margin-bottom:14px; }
.post-cat { display:inline-block; padding:4px 14px; background:rgba(13,20,36,.08); border-radius:999px; font-size:12px; font-weight:700; color:var(--color-primary); }
.post-meta time { font-size:13px; color:var(--color-text-weak); }
.post-title { font-size:19px; font-weight:700; line-height:1.5; margin:0 0 12px; color:var(--color-primary); }
.post-title a:hover { color:var(--color-accent); }
.post-desc { font-size:14px; color:var(--color-text-weak); line-height:1.75; margin:0 0 18px; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; flex:1; }
.post-link { display:inline-flex; align-items:center; gap:8px; font-size:14px; font-weight:700; color:var(--color-accent); }
.post-link i { transition:transform .2s ease; }
.post-link:hover i { transform:translateX(4px); }
.empty-list { background:var(--color-surface); border:1px dashed var(--color-border); border-radius:var(--radius-lg); padding:60px; text-align:center; font-size:16px; color:var(--color-text-weak); }

/* 步骤流程 */
.step-card { text-align:center; padding:36px 30px; background:var(--color-surface); border-radius:var(--radius-lg); box-shadow:var(--shadow-sm); border:1px solid var(--color-border); height:100%; transition:all .3s ease; position:relative; }
.step-card:hover { transform:translateY(-5px); box-shadow:var(--shadow-md); }
.step-num { display:inline-flex; align-items:center; justify-content:center; width:54px; height:54px; border-radius:50%; background:linear-gradient(135deg,var(--color-primary),var(--color-primary-light)); color:#fff; font-size:20px; font-weight:800; margin-bottom:20px; }
.step-card h3 { font-size:18px; font-weight:700; color:var(--color-primary); margin-bottom:10px; }
.step-card p { font-size:14px; color:var(--color-text-weak); margin:0; line-height:1.8; }

/* 深色数据区 */
.dark-stats { background:var(--color-primary); background-image:url('/assets/images/backpic/back-2.png'); background-size:cover; background-position:center; position:relative; padding:90px 0; }
.dark-stats::before { content:""; position:absolute; inset:0; background:linear-gradient(90deg, rgba(13,20,36,.94), rgba(13,20,36,.82)); }
.dark-stats .container { position:relative; z-index:2; }
.stat-card { text-align:center; padding:30px 20px; background:rgba(255,255,255,.07); border:1px solid rgba(255,255,255,.14); border-radius:var(--radius-lg); height:100%; transition:all .3s ease; }
.stat-card:hover { background:rgba(255,255,255,.14); transform:translateY(-4px); }
.stat-card strong { display:block; font-size:38px; font-weight:900; color:var(--color-gold); margin-bottom:8px; }
.stat-card span { font-size:15px; color:rgba(255,255,255,.78); letter-spacing:.5px; }

/* FAQ */
.faq-item { background:var(--color-surface); border:1px solid var(--color-border); border-radius:var(--radius-md); padding:24px 28px; margin-bottom:16px; transition:all .25s ease; }
.faq-item:hover { border-color:rgba(255,107,53,.35); box-shadow:var(--shadow-sm); }
.faq-item h3 { font-size:17px; font-weight:700; color:var(--color-primary); margin-bottom:8px; display:flex; align-items:center; gap:10px; }
.faq-item h3 i { color:var(--color-accent); font-size:15px; }
.faq-item p { font-size:15px; color:var(--color-text-weak); line-height:1.8; margin:0; }

/* CTA */
.cta-box { background:linear-gradient(135deg,var(--color-primary),var(--color-primary-light)); border-radius:var(--radius-lg); padding:64px 50px; text-align:center; position:relative; overflow:hidden; }
.cta-box::before { content:""; position:absolute; width:360px; height:360px; border-radius:50%; background:rgba(255,255,255,.04); top:-120px; right:-80px; }
.cta-box::after { content:""; position:absolute; width:240px; height:240px; border-radius:50%; background:rgba(255,107,53,.1); bottom:-80px; left:-60px; }
.cta-box h2 { font-size:32px; font-weight:800; color:#fff; margin-bottom:12px; position:relative; z-index:2; }
.cta-box p { font-size:16px; color:rgba(255,255,255,.75); margin-bottom:32px; position:relative; z-index:2; }
.cta-box .btn { position:relative; z-index:2; }

/* Footer */
.site-footer { background:var(--color-primary); color:#aab3c8; font-size:14px; padding:76px 0 0; }
.footer-grid { padding-bottom:48px; border-bottom:1px solid rgba(255,255,255,.1); }
.footer-brand .brand-text { color:#fff; }
.footer-brand p { color:#8891a8; line-height:1.8; margin-top:16px; font-size:14px; }
.footer-title { font-size:16px; font-weight:700; color:#fff; margin-bottom:20px; letter-spacing:.5px; }
.footer-links li { margin-bottom:10px; }
.footer-links a { color:#8891a8; transition:color .2s ease; }
.footer-links a:hover { color:var(--color-gold); }
.footer-contact li { display:flex; align-items:flex-start; gap:12px; margin-bottom:14px; color:#8891a8; }
.footer-contact i { color:var(--color-gold); margin-top:5px; }
.footer-bottom { padding:24px 0; text-align:center; font-size:13px; color:#6c7690; }

/* 页内通用 */
.page-banner { position:relative; background-image:url('/assets/images/backpic/back-3.png'); background-size:cover; background-position:center; padding:120px 0 86px; color:#fff; }
.page-banner::after { content:""; position:absolute; inset:0; background:linear-gradient(150deg, rgba(10,15,32,.9), rgba(10,15,32,.65)); }
.page-banner .container { position:relative; z-index:2; }
.banner-tag { display:inline-flex; gap:8px; padding:6px 18px; background:rgba(255,107,53,.9); border-radius:999px; font-size:13px; font-weight:700; letter-spacing:.5px; }
.page-banner h1 { font-size:42px; font-weight:900; margin:18px 0 12px; letter-spacing:1px; }
.page-banner p { font-size:17px; color:rgba(255,255,255,.8); max-width:680px; margin:0; }
.breadcrumb { display:flex; flex-wrap:wrap; gap:8px; font-size:14px; color:rgba(255,255,255,.7); margin-bottom:16px; }
.breadcrumb a { color:var(--color-gold); }
.breadcrumb i { font-size:10px; margin:0 4px; }

/* 文章页 */
.article-wrapper { background:var(--color-surface); border-radius:var(--radius-lg); box-shadow:var(--shadow-sm); padding:48px; margin-top:-56px; position:relative; z-index:5; border:1px solid var(--color-border); }
.article-meta { display:flex; flex-wrap:wrap; align-items:center; gap:18px; margin-bottom:24px; padding-bottom:20px; border-bottom:1px solid var(--color-border); }
.article-meta .meta-item { display:flex; align-items:center; gap:8px; font-size:14px; color:var(--color-text-weak); }
.article-meta .meta-item i { color:var(--color-accent); }
.article-content { font-size:16px; line-height:2; color:var(--color-text); }
.article-content h2, .article-content h3 { color:var(--color-primary); margin:28px 0 12px; }
.article-content p { margin-bottom:20px; }
.article-content img { border-radius:var(--radius-md); margin:20px 0; }
.not-found-box { text-align:center; padding:80px 30px; background:var(--color-surface); border-radius:var(--radius-lg); box-shadow:var(--shadow-sm); }
.not-found-box i { font-size:52px; color:var(--color-danger); margin-bottom:20px; }
.not-found-box h2 { font-size:28px; font-weight:800; color:var(--color-primary); margin-bottom:12px; }
.not-found-box p { color:var(--color-text-weak); margin-bottom:28px; }
.related-section { margin-top:60px; }
.related-card { display:flex; gap:18px; align-items:center; background:var(--color-surface); border:1px solid var(--color-border); border-radius:var(--radius-md); padding:18px; margin-bottom:14px; transition:all .25s ease; }
.related-card:hover { box-shadow:var(--shadow-sm); transform:translateX(4px); border-color:rgba(255,107,53,.3); }
.related-card img { width:84px; height:64px; object-fit:cover; border-radius:8px; flex-shrink:0; }
.related-card h4 { font-size:15px; font-weight:600; margin:0 0 4px; color:var(--color-primary); line-height:1.5; }
.related-card span { font-size:12px; color:var(--color-text-weak); }

/* 分类页特有 */
.category-desc { text-align:center; max-width:760px; margin:0 auto 56px; }
.category-desc h2 { font-size:28px; font-weight:800; color:var(--color-primary); margin-bottom:16px; }
.category-desc p { font-size:15px; color:var(--color-text-weak); line-height:1.9; }
.tag-list { display:flex; flex-wrap:wrap; justify-content:center; gap:12px; }
.tag-item { padding:8px 22px; background:var(--color-surface); border:1px solid var(--color-border); border-radius:999px; font-size:14px; color:var(--color-primary); font-weight:600; transition:all .25s ease; }
.tag-item:hover { background:var(--color-primary); color:#fff; border-color:var(--color-primary); box-shadow:0 4px 12px rgba(13,20,36,.2); }
.topic-card { background:var(--color-surface); border-radius:var(--radius-md); padding:26px; border:1px solid var(--color-border); box-shadow:var(--shadow-xs); margin-bottom:20px; transition:all .25s ease; }
.topic-card:hover { box-shadow:var(--shadow-md); border-color:rgba(255,107,53,.3); }
.topic-card h3 { font-size:17px; font-weight:700; color:var(--color-primary); margin-bottom:8px; }
.topic-card p { font-size:14px; color:var(--color-text-weak); margin:0; }

/* 响应式 */
@media (min-width: 1025px) {
  .article-wrapper { margin-top:-64px; }
}
@media (max-width: 1024px) {
  .hero { padding:90px 0 70px; }
  .hero h1 { font-size:40px; }
  .hero-card img { height:280px; }
  .section { padding:64px 0; }
  .section-head { margin-bottom:40px; }
  .category-body { padding:30px 24px; }
  .footer-grid .cell { margin-bottom:36px; }
}
@media (max-width: 768px) {
  body { font-size:15px; }
  .header-inner { height:68px; padding:0 16px; }
  .nav-toggle { display:flex; }
  .main-nav { position:fixed; top:68px; left:16px; right:16px; z-index:99; background:var(--color-surface); border-radius:var(--radius-md); box-shadow:var(--shadow-lg); border:1px solid var(--color-border); display:none; }
  .main-nav.nav-open { display:block; }
  .nav-list { flex-direction:column; align-items:stretch; padding:14px; gap:4px; }
  .nav-list .nav-link { display:block; padding:12px 16px; text-align:center; }
  .hero { padding:70px 0 56px; }
  .hero h1 { font-size:32px; }
  .hero-desc { font-size:16px; }
  .hero-stats { gap:32px; }
  .stat-item strong { font-size:28px; }
  .hero-card img { height:220px; }
  .section { padding:52px 0; }
  .section-head h2 { font-size:26px; }
  .feature-card { padding:24px; }
  .category-img { min-height:200px; }
  .category-img img { height:220px; }
  .page-banner { padding:80px 0 56px; }
  .page-banner h1 { font-size:30px; }
  .article-wrapper { padding:28px 20px; margin-top:-40px; }
  .cta-box { padding:44px 24px; }
  .cta-box h2 { font-size:24px; }
  .stat-card { margin-bottom:16px; }
}
@media (max-width: 520px) {
  .container { padding:0 16px; }
  .brand-text { font-size:17px; }
  .hero { padding:56px 0 44px; }
  .hero h1 { font-size:26px; }
  .hero-actions .btn { width:100%; }
  .hero-stats { gap:20px; width:100%; }
  .stat-item strong { font-size:24px; }
  .section-head h2 { font-size:23px; }
  .section-tag { font-size:12px; }
  .category-body { padding:24px 20px; }
  .category-body h3 { font-size:22px; }
  .page-banner h1 { font-size:26px; }
  .breadcrumb { font-size:13px; }
  .article-wrapper { padding:20px 16px; }
  .article-content { font-size:15px; }
  .related-card { flex-direction:column; align-items:flex-start; }
  .related-card img { width:100%; height:140px; object-fit:cover; }
  .cta-box h2 { font-size:20px; }
  .footer-bottom { font-size:12px; }
}

/* roulang page: category1 */
/* ========== 设计变量 ========== */
:root {
  --color-primary: #0f2a4a;
  --color-primary-light: #1d3d6b;
  --color-accent: #ff6b35;
  --color-accent-hover: #e85a26;
  --color-bg: #f4f6fa;
  --color-surface: #ffffff;
  --color-text: #1a2332;
  --color-text-weak: #6b7a8f;
  --color-border: #e2e8f0;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 8px rgba(15,42,74,.06);
  --shadow-md: 0 8px 24px rgba(15,42,74,.10);
  --shadow-lg: 0 16px 40px rgba(15,42,74,.14);
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 32px;
  --space-lg: 64px;
  --space-xl: 96px;
  --font-family: "PingFang SC","Microsoft YaHei","Helvetica Neue",Arial,sans-serif;
}

/* ========== Reset / Base ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-family);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: var(--color-primary); transition: color .25s ease; }
a:hover { color: var(--color-accent); }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; width: 100%; }

/* ========== Header / Nav ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 800;
  color: var(--color-primary);
  letter-spacing: .5px;
}
.brand-logo:hover { color: var(--color-primary); }
.brand-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--color-accent), #ff9a5c);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 17px;
  box-shadow: 0 4px 14px rgba(255,107,53,.35);
}
.brand-text span { color: var(--color-accent); }
.main-nav { display: flex; align-items: center; }
.nav-list { display: flex; list-style: none; gap: 8px; margin: 0; padding: 0; }
.nav-link {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text-weak);
  transition: all .25s ease;
}
.nav-link:hover { color: var(--color-primary); background: #f0f3f8; }
.nav-link.active {
  color: var(--color-primary);
  background: #eef3f9;
  box-shadow: inset 0 0 0 1px var(--color-border);
}
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 10px;
  background: #f0f3f8;
  color: var(--color-primary);
  font-size: 18px;
  align-items: center;
  justify-content: center;
  transition: background .2s ease;
}
.nav-toggle:hover { background: #e2e8f0; }
.nav-toggle:focus { outline: 2px solid var(--color-accent); outline-offset: 2px; }

/* ========== Category Hero ========== */
.category-hero {
  position: relative;
  padding: 110px 0 88px;
  background-size: cover;
  background-position: center;
  text-align: center;
  isolation: isolate;
}
.category-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(15,42,74,.92) 0%, rgba(15,42,74,.68) 100%);
  z-index: -1;
}
.category-hero .container { position: relative; z-index: 1; }
.breadcrumb-list {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.14);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.18);
  padding: 6px 18px;
  border-radius: 999px;
  font-size: 13px;
  color: rgba(255,255,255,.9);
  margin-bottom: 28px;
}
.breadcrumb-list a { color: rgba(255,255,255,.85); }
.breadcrumb-list a:hover { color: #fff; }
.breadcrumb-list .sep { opacity: .6; }
.hero-tag {
  display: inline-block;
  background: rgba(255,107,53,.92);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 999px;
  letter-spacing: 1px;
  margin-bottom: 18px;
}
.category-hero h1 {
  font-size: 48px;
  color: #fff;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: 1px;
}
.category-hero h1 span { color: var(--color-accent); }
.hero-desc {
  max-width: 640px;
  margin: 0 auto 30px;
  color: rgba(255,255,255,.88);
  font-size: 17px;
  line-height: 1.8;
}
.hero-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ========== Buttons ========== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  border: none;
  transition: all .25s ease;
  line-height: 1.2;
  cursor: pointer;
}
.btn-primary {
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 6px 18px rgba(255,107,53,.35);
}
.btn-primary:hover { background: var(--color-accent-hover); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(255,107,53,.42); color: #fff; }
.btn-outline {
  background: rgba(255,255,255,.1);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.6);
  backdrop-filter: blur(4px);
}
.btn-outline:hover { background: rgba(255,255,255,.2); color: #fff; transform: translateY(-2px); border-color: #fff; }
.btn-dark {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 6px 18px rgba(15,42,74,.25);
}
.btn-dark:hover { background: var(--color-primary-light); transform: translateY(-2px); color: #fff; }
.btn:focus { outline: 2px solid var(--color-accent); outline-offset: 3px; }

/* ========== Section Common ========== */
.section { padding: var(--space-lg) 0; }
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}
.section-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-accent);
  background: rgba(255,107,53,.08);
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.section-header h2 {
  font-size: 34px;
  font-weight: 900;
  color: var(--color-primary);
  line-height: 1.3;
  margin-bottom: 12px;
}
.section-header p { color: var(--color-text-weak); font-size: 16px; }

/* ========== Stats ========== */
.stats-section { position: relative; margin-top: -46px; z-index: 5; }
.stat-card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 28px 20px;
  text-align: center;
  border: 1px solid rgba(226,232,240,.7);
  transition: transform .3s ease, box-shadow .3s ease;
  height: 100%;
}
.stat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.stat-icon {
  width: 50px;
  height: 50px;
  margin: 0 auto 14px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.stat-card .num {
  font-size: 34px;
  font-weight: 900;
  color: var(--color-primary);
  line-height: 1.2;
}
.stat-card .label { font-size: 14px; color: var(--color-text-weak); margin-top: 6px; }

/* ========== News Cards ========== */
.news-section { background: var(--color-bg); }
.news-card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: transform .3s ease, box-shadow .3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.news-thumb { position: relative; height: 190px; overflow: hidden; }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.news-card:hover .news-thumb img { transform: scale(1.06); }
.news-thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,42,74,0) 40%, rgba(15,42,74,.18) 100%); pointer-events: none; }
.news-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(255,107,53,.94);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  z-index: 2;
}
.news-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.news-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--color-text-weak);
  margin-bottom: 10px;
}
.news-meta i { color: var(--color-accent); }
.news-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--color-text);
  margin-bottom: 10px;
  transition: color .25s ease;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card:hover .news-title { color: var(--color-accent); }
.news-excerpt {
  font-size: 14px;
  color: var(--color-text-weak);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-footer {
  margin-top: auto;
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}
.news-footer .more-link { color: var(--color-accent); font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }
.news-footer .more-link:hover { color: var(--color-accent-hover); }

/* ========== Topic Cards ========== */
.topic-section { background: var(--color-surface); }
.topic-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 320px;
  display: flex;
  align-items: flex-end;
  box-shadow: var(--shadow-md);
  transition: transform .3s ease, box-shadow .3s ease;
  isolation: isolate;
}
.topic-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.topic-card .topic-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.topic-card .topic-bg img { width: 100%; height: 100%; object-fit: cover; }
.topic-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,42,74,.1) 0%, rgba(15,42,74,.86) 100%);
  z-index: -1;
}
.topic-body { padding: 30px; color: #fff; width: 100%; }
.topic-no {
  display: inline-block;
  background: rgba(255,107,53,.92);
  font-size: 12px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
  letter-spacing: 1px;
}
.topic-body h3 { font-size: 22px; font-weight: 800; margin-bottom: 8px; line-height: 1.4; }
.topic-body p { font-size: 14px; opacity: .85; line-height: 1.7; margin-bottom: 10px; }
.topic-link { color: #fff; font-size: 14px; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.topic-link:hover { color: var(--color-accent); }

/* ========== Feature Section ========== */
.feature-section { background: var(--color-bg); overflow: hidden; }
.feature-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
  height: 100%;
}
.feature-media { height: 100%; min-height: 380px; }
.feature-media img { width: 100%; height: 100%; object-fit: cover; }
.feature-content { padding: 48px 42px; }
.feature-content h3 { font-size: 28px; font-weight: 900; color: var(--color-primary); margin-bottom: 14px; line-height: 1.3; }
.feature-content .lead { font-size: 15px; color: var(--color-text-weak); line-height: 1.8; margin-bottom: 24px; }
.feature-points { display: grid; gap: 16px; margin-bottom: 28px; }
.point-item { display: flex; gap: 12px; align-items: flex-start; }
.point-item .point-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--color-accent), #ff9a5c);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  box-shadow: 0 4px 10px rgba(255,107,53,.28);
}
.point-item .point-text { font-size: 15px; line-height: 1.6; color: var(--color-text); }
.point-item .point-text strong { color: var(--color-primary); }

/* ========== FAQ ========== */
.faq-section { background: var(--color-surface); }
.faq-card {
  background: var(--color-bg);
  border-radius: var(--radius-md);
  padding: 26px 28px;
  border: 1px solid var(--color-border);
  transition: box-shadow .3s ease, transform .3s ease;
  height: 100%;
}
.faq-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.faq-q {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 17px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 10px;
  line-height: 1.4;
}
.faq-q .q-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 8px;
  background: var(--color-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
}
.faq-a { padding-left: 40px; font-size: 14px; color: var(--color-text-weak); line-height: 1.8; }

/* ========== CTA ========== */
.cta-section { padding: var(--space-lg) 0; background: var(--color-bg); }
.cta-box {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  border-radius: var(--radius-lg);
  padding: 64px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.cta-box::before {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255,107,53,.2);
  top: -120px;
  right: -60px;
}
.cta-box::after {
  content: "";
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  bottom: -80px;
  left: 40px;
}
.cta-box h2 { font-size: 34px; font-weight: 900; color: #fff; margin-bottom: 12px; position: relative; z-index: 1; }
.cta-box p { color: rgba(255,255,255,.85); font-size: 16px; margin-bottom: 30px; position: relative; z-index: 1; }
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; z-index: 1; }

/* ========== Footer ========== */
.site-footer {
  background: #0b1f38;
  color: rgba(255,255,255,.72);
  padding: 64px 0 0;
  font-size: 14px;
}
.footer-grid { padding-bottom: 40px; }
.footer-brand .brand-logo { color: #fff; margin-bottom: 16px; }
.footer-brand p { color: rgba(255,255,255,.65); line-height: 1.8; max-width: 360px; margin-top: 12px; }
.footer-title {
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}
.footer-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 36px;
  height: 3px;
  border-radius: 3px;
  background: var(--color-accent);
}
.footer-links, .footer-contact { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.footer-links a { color: rgba(255,255,255,.65); transition: all .25s ease; }
.footer-links a:hover { color: var(--color-accent); padding-left: 4px; }
.footer-contact li { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,.65); }
.footer-contact i { color: var(--color-accent); font-size: 13px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 22px 0;
  text-align: center;
  color: rgba(255,255,255,.42);
  font-size: 13px;
}

/* ========== Responsive ========== */
@media (max-width: 1024px) {
  .category-hero { padding: 90px 0 72px; }
  .category-hero h1 { font-size: 38px; }
  .feature-content { padding: 36px 28px; }
  .feature-media { min-height: 300px; }
  .cta-box { padding: 48px 28px; }
}

@media (max-width: 768px) {
  .header-inner { height: 68px; padding: 0 16px; }
  .nav-toggle {
    display: inline-flex;
  }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
    padding: 16px;
    display: none;
  }
  .main-nav.open { display: block; }
  .nav-list { flex-direction: column; gap: 6px; }
  .nav-link { display: block; padding: 12px 16px; border-radius: 12px; }
  .container { padding: 0 16px; }
  .category-hero { padding: 72px 0 56px; }
  .category-hero h1 { font-size: 30px; }
  .hero-desc { font-size: 15px; }
  .stats-section { margin-top: -30px; }
  .section-header h2 { font-size: 28px; }
  .section { padding: 48px 0; }
  .feature-content { padding: 28px 20px; }
  .feature-media { min-height: 240px; }
  .cta-box { padding: 40px 24px; }
  .cta-box h2 { font-size: 26px; }
  .topic-card { min-height: 260px; }
  .footer-grid { gap: 32px; }
}

@media (max-width: 520px) {
  .category-hero h1 { font-size: 26px; }
  .hero-desc { font-size: 14px; }
  .hero-btns .btn { width: 100%; justify-content: center; }
  .section-header h2 { font-size: 24px; }
  .stat-card { padding: 22px 14px; }
  .stat-card .num { font-size: 28px; }
  .news-thumb { height: 170px; }
  .topic-body { padding: 22px; }
  .cta-btns .btn { width: 100%; justify-content: center; }
  .feature-content h3 { font-size: 22px; }
}

/* roulang page: article */
:root {
  --primary: #2d5bff;
  --primary-dark: #1e3fae;
  --primary-light: #eaf0ff;
  --accent: #ff8a00;
  --accent-dark: #e67a00;
  --bg-light: #f4f7fd;
  --bg-white: #ffffff;
  --bg-deep: #111a2e;
  --text-main: #16213e;
  --text-muted: #6b7a99;
  --border: #e2e8f5;
  --radius-lg: 20px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 2px 12px rgba(22, 33, 62, 0.06);
  --shadow-md: 0 8px 30px rgba(22, 33, 62, 0.09);
  --shadow-lg: 0 18px 50px rgba(22, 33, 62, 0.14);
  --font-main: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", Roboto, sans-serif;
  --transition: all 0.3s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-main);
  background: var(--bg-white);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; display: inline-block; vertical-align: middle; }
ul, ol { list-style: none; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== 按钮 ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 34px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover {
  background: var(--primary-dark);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(45, 91, 255, 0.3);
}
.btn-accent {
  background: var(--accent);
  color: #fff;
}
.btn-accent:hover {
  background: var(--accent-dark);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(255, 138, 0, 0.3);
}
.btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
}
.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border-color: #fff;
  transform: translateY(-3px);
}
.btn-sm {
  padding: 10px 22px;
  font-size: 14px;
}
.btn:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
  box-shadow: 0 0 0 8px rgba(45, 91, 255, 0.12);
}

/* ===== 头部导航 ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 20px rgba(22, 33, 62, 0.04);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: 0.5px;
}
.brand-logo:hover { color: var(--text-main); }
.brand-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--primary), #6b8cff);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  box-shadow: 0 6px 18px rgba(45, 91, 255, 0.25);
}
.brand-text { display: flex; align-items: baseline; gap: 2px; }
.brand-text span {
  color: var(--accent);
  font-weight: 700;
}
.main-nav { display: flex; align-items: center; }
.nav-list {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}
.nav-link {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-muted);
  transition: var(--transition);
}
.nav-link:hover {
  color: var(--primary);
  background: var(--primary-light);
}
.nav-link.active {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 6px 18px rgba(45, 91, 255, 0.25);
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--text-main);
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 8px;
  transition: var(--transition);
}
.nav-toggle:hover { background: var(--bg-light); }

/* ===== 文章 Hero ===== */
.article-hero {
  position: relative;
  background: linear-gradient(135deg, rgba(17, 26, 46, 0.94) 0%, rgba(45, 91, 255, 0.82) 100%), url('/assets/images/backpic/back-2.png') center/cover no-repeat;
  padding: 96px 0 64px;
  color: #fff;
  overflow: hidden;
}
.article-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 20px;
}
.article-breadcrumb a {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}
.article-breadcrumb a:hover { color: #fff; }
.article-breadcrumb .breadcrumb-current {
  color: rgba(255, 255, 255, 0.95);
  font-weight: 600;
}
.article-breadcrumb i {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.45);
}
.article-cate-badge {
  display: inline-block;
  padding: 7px 20px;
  background: rgba(255, 138, 0, 0.9);
  color: #fff;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 18px;
  box-shadow: 0 6px 18px rgba(255, 138, 0, 0.3);
}
.article-hero h1 {
  font-size: 36px;
  line-height: 1.3;
  font-weight: 800;
  margin: 0 0 16px;
  max-width: 780px;
  letter-spacing: 0.5px;
}
.article-hero .article-desc {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.88);
  max-width: 680px;
  margin-bottom: 24px;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
}
.article-meta li {
  display: flex;
  align-items: center;
  gap: 6px;
}
.article-meta i {
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
}

/* ===== 文章主体 ===== */
.article-section {
  padding: 72px 0 60px;
  background: var(--bg-light);
}
.article-main-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 40px;
  border: 1px solid rgba(226, 232, 245, 0.6);
}
.article-content {
  font-size: 16px;
  line-height: 1.9;
  color: var(--text-main);
}
.article-content p {
  margin-bottom: 1.6em;
}
.article-content h2 {
  font-size: 24px;
  font-weight: 700;
  margin: 2em 0 1em;
  padding-left: 14px;
  border-left: 4px solid var(--primary);
  color: var(--text-main);
}
.article-content h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 1.8em 0 0.8em;
  color: var(--text-main);
}
.article-content img {
  max-width: 100%;
  border-radius: var(--radius-md);
  margin: 24px 0;
  box-shadow: var(--shadow-sm);
}
.article-content blockquote {
  border-left: 4px solid var(--primary);
  background: var(--primary-light);
  padding: 18px 24px;
  margin: 24px 0;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  color: var(--text-muted);
  font-style: italic;
}
.article-content ul,
.article-content ol {
  margin: 16px 0 20px;
  padding-left: 26px;
}
.article-content ul li {
  list-style: disc;
  margin-bottom: 8px;
}
.article-content ol li {
  list-style: decimal;
  margin-bottom: 8px;
}
.article-content a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.article-content a:hover {
  color: var(--accent);
}
.article-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.article-tags .tag-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
}
.article-tags .tag-item {
  display: inline-block;
  padding: 6px 16px;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 13px;
  color: var(--text-muted);
  transition: var(--transition);
}
.article-tags .tag-item:hover {
  background: var(--primary-light);
  color: var(--primary);
  border-color: var(--primary);
}
.article-share {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 14px;
  color: var(--text-muted);
}
.share-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-light);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: var(--transition);
}
.share-btn:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-3px);
}

/* 内容未找到 */
.not-found-box {
  text-align: center;
  padding: 70px 30px;
}
.not-found-box i {
  font-size: 64px;
  color: var(--primary);
  background: var(--primary-light);
  width: 120px;
  height: 120px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
}
.not-found-box h2 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text-main);
}
.not-found-box p {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 30px;
  line-height: 1.8;
}

/* ===== 侧边栏 ===== */
.article-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.sidebar-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 28px;
  border: 1px solid rgba(226, 232, 245, 0.5);
  transition: var(--transition);
}
.sidebar-card:hover {
  box-shadow: var(--shadow-md);
}
.sidebar-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--primary-light);
  display: flex;
  align-items: center;
  gap: 8px;
}
.sidebar-title i {
  color: var(--primary);
  font-size: 16px;
}
.category-list li {
  margin-bottom: 4px;
}
.category-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-size: 15px;
  color: var(--text-muted);
  font-weight: 500;
  transition: var(--transition);
}
.category-list a:hover {
  background: var(--primary-light);
  color: var(--primary);
  padding-left: 22px;
}
.category-list a i {
  font-size: 11px;
  color: var(--primary);
  transition: var(--transition);
}
.category-list a:hover i {
  transform: translateX(3px);
}
.latest-list li {
  margin-bottom: 6px;
}
.latest-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: var(--radius-md);
  transition: var(--transition);
}
.latest-list a:hover {
  background: var(--bg-light);
}
.latest-list .latest-item-title {
  font-size: 14px;
  color: var(--text-main);
  font-weight: 500;
  flex: 1;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.latest-list .latest-item-date {
  font-size: 12px;
  color: var(--text-muted);
  white-space: nowrap;
  flex-shrink: 0;
}
.latest-list .empty-item {
  padding: 20px;
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
  background: var(--bg-light);
  border-radius: var(--radius-sm);
}
.sidebar-image-card {
  padding: 0;
  overflow: hidden;
  background: var(--bg-deep);
  border: none;
}
.sidebar-image-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  opacity: 0.75;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.sidebar-image-text {
  padding: 22px;
  color: #fff;
}
.sidebar-image-text h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}
.sidebar-image-text p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 16px;
}

/* ===== 相关推荐 ===== */
.related-section {
  padding: 80px 0;
  background: var(--bg-white);
}
.section-head {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 48px;
}
.section-tag {
  display: inline-block;
  padding: 6px 20px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 12px;
}
.section-head h2 {
  font-size: 32px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}
.section-head p {
  font-size: 16px;
  color: var(--text-muted);
}
.related-grid {
  row-gap: 30px;
  margin-top: 20px;
}
.related-card {
  display: block;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
}
.related-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(45, 91, 255, 0.2);
}
.related-card .card-image {
  position: relative;
  overflow: hidden;
  height: 190px;
}
.related-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.related-card:hover .card-image img {
  transform: scale(1.06);
}
.related-card .related-cate {
  position: absolute;
  top: 14px;
  left: 14px;
  display: inline-block;
  padding: 4px 14px;
  background: rgba(255, 138, 0, 0.92);
  color: #fff;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(255, 138, 0, 0.3);
}
.related-card .card-body {
  padding: 24px;
}
.related-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 10px;
  line-height: 1.4;
}
.related-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}
.related-card .read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
}
.related-card .read-more i {
  transition: transform 0.3s ease;
}
.related-card:hover .read-more i {
  transform: translateX(5px);
}
.related-card:hover .read-more {
  color: var(--accent);
}

/* ===== CTA ===== */
.cta-section {
  position: relative;
  background: linear-gradient(135deg, rgba(17, 26, 46, 0.92), rgba(45, 91, 255, 0.82)), url('/assets/images/backpic/back-3.png') center/cover no-repeat;
  padding: 80px 0;
  text-align: center;
  color: #fff;
}
.cta-section h2 {
  font-size: 34px;
  font-weight: 800;
  margin-bottom: 14px;
}
.cta-section p {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.88);
  max-width: 600px;
  margin: 0 auto 36px;
  line-height: 1.7;
}
.cta-btns {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

/* ===== 页脚 ===== */
.site-footer {
  background: var(--bg-deep);
  color: #a0abc0;
  padding: 70px 0 0;
}
.footer-grid {
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-brand .brand-logo {
  color: #fff;
  margin-bottom: 18px;
}
.footer-brand p {
  font-size: 14px;
  line-height: 1.8;
  color: #8b96ab;
  max-width: 360px;
}
.footer-title {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 22px;
  position: relative;
  padding-bottom: 12px;
}
.footer-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 32px;
  height: 3px;
  background: var(--accent);
  border-radius: 3px;
}
.footer-links li,
.footer-contact li {
  margin-bottom: 14px;
}
.footer-links a {
  color: #8b96ab;
  font-size: 14px;
  transition: var(--transition);
}
.footer-links a:hover {
  color: var(--accent);
  padding-left: 5px;
}
.footer-contact li {
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #8b96ab;
}
.footer-contact i {
  width: 20px;
  color: var(--accent);
  text-align: center;
}
.footer-bottom {
  padding: 24px 0;
  text-align: center;
  font-size: 14px;
  color: #6b7a99;
}
.footer-bottom p {
  margin: 0;
}

/* ===== 响应式 ===== */
@media screen and (max-width: 1024px) {
  .article-hero { padding: 80px 0 52px; }
  .article-hero h1 { font-size: 32px; }
  .article-main-card { padding: 30px; }
  .cta-section h2 { font-size: 30px; }
}

@media screen and (max-width: 900px) {
  .header-inner { height: 68px; }
  .nav-toggle {
    display: block;
    z-index: 1100;
  }
  .main-nav {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--bg-white);
    box-shadow: 0 12px 30px rgba(22, 33, 62, 0.1);
    padding: 16px 24px;
    transform: translateY(-120%);
    transition: transform 0.3s ease;
    border-bottom: 1px solid var(--border);
  }
  .main-nav.open {
    transform: translateY(0);
  }
  .nav-list {
    flex-direction: column;
    gap: 6px;
    width: 100%;
  }
  .nav-link {
    display: block;
    width: 100%;
    padding: 14px 20px;
    text-align: center;
  }
  .article-sidebar {
    margin-top: 32px;
  }
  .sidebar-image-card img {
    height: 140px;
  }
}

@media screen and (max-width: 640px) {
  .container {
    padding: 0 16px;
  }
  .header-inner {
    padding: 0 16px;
    height: 62px;
  }
  .brand-logo { font-size: 19px; }
  .brand-icon { width: 34px; height: 34px; font-size: 14px; border-radius: 10px; }
  .brand-text span { font-size: 17px; }
  .main-nav { top: 62px; padding: 12px 16px; }
  .article-hero {
    padding: 64px 0 40px;
  }
  .article-hero h1 {
    font-size: 26px;
  }
  .article-hero .article-desc {
    font-size: 15px;
  }
  .article-meta {
    gap: 12px;
    flex-wrap: wrap;
  }
  .article-section {
    padding: 48px 0 40px;
  }
  .article-main-card {
    padding: 22px 18px;
    border-radius: var(--radius-md);
  }
  .article-content {
    font-size: 15px;
    line-height: 1.8;
  }
  .article-content h2 {
    font-size: 20px;
  }
  .article-content h3 {
    font-size: 17px;
  }
  .article-tags .tag-item {
    padding: 4px 12px;
    font-size: 12px;
  }
  .article-share {
    flex-wrap: wrap;
  }
  .sidebar-card {
    padding: 22px 18px;
  }
  .related-section {
    padding: 52px 0;
  }
  .section-head h2 {
    font-size: 26px;
  }
  .section-head {
    margin-bottom: 32px;
  }
  .related-grid {
    row-gap: 20px;
  }
  .cta-section {
    padding: 56px 0;
  }
  .cta-section h2 {
    font-size: 26px;
  }
  .cta-btns {
    flex-direction: column;
    align-items: center;
  }
  .cta-btns .btn {
    width: 100%;
    max-width: 280px;
  }
  .footer-grid {
    padding-bottom: 30px;
  }
  .footer-contact li {
    font-size: 13px;
  }
  .not-found-box {
    padding: 40px 20px;
  }
  .not-found-box h2 {
    font-size: 26px;
  }
  .not-found-box i {
    width: 90px;
    height: 90px;
    font-size: 42px;
  }
}

@media screen and (max-width: 400px) {
  .article-meta li {
    font-size: 13px;
  }
  .latest-list a {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .related-card .card-image {
    height: 160px;
  }
}
