/* roulang page: index */
:root {
  --primary: #4F46E5;
  --primary-dark: #4338CA;
  --accent: #10B981;
  --accent-light: #D1FAE5;
  --bg: #F8FAFC;
  --card: #FFFFFF;
  --text: #0F172A;
  --text-light: #64748B;
  --border: #E2E8F0;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 12px 40px rgba(15, 23, 42, 0.10);
  --spacing: 90px;
  --header-h: 72px;
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-family);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
input, textarea { font-family: inherit; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: var(--spacing) 0; }
.section-sub { padding: 60px 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section-head .tag {
  display: inline-block;
  background: var(--accent-light);
  color: #047857;
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}
.section-head h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 14px;
}
.section-head p { color: var(--text-light); font-size: 16px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: var(--header-h);
  display: flex;
  align-items: center;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.5px;
  white-space: nowrap;
}
.brand i { font-size: 26px; }
.main-nav { display: flex; align-items: center; gap: 4px; margin-left: 40px; }
.nav-link {
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-light);
  transition: all 0.25s ease;
  position: relative;
}
.nav-link:hover { color: var(--primary); background: rgba(79, 70, 229, 0.06); }
.nav-link.active { color: var(--primary); font-weight: 600; background: rgba(79, 70, 229, 0.10); }
.header-actions { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.search-box {
  display: flex;
  align-items: center;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 4px 6px 4px 16px;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.search-box:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12); }
.search-box input {
  border: none;
  background: transparent;
  outline: none;
  font-size: 14px;
  width: 140px;
  color: var(--text);
}
.search-box button {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  border: none;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}
.search-box button:hover { background: var(--primary-dark); }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  border: none;
  transition: all 0.3s ease;
  cursor: pointer;
  line-height: 1.2;
}
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 4px 14px rgba(79, 70, 229, 0.3); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(79, 70, 229, 0.35); }
.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover { background: rgba(79, 70, 229, 0.06); transform: translateY(-2px); }
.btn-white { background: #fff; color: var(--primary); box-shadow: 0 4px 14px rgba(0,0,0,0.1); }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.15); }
.nav-toggle { display: none; background: none; border: none; font-size: 24px; color: var(--text); padding: 8px; }

/* Hero */
.hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.92), rgba(67, 56, 202, 0.82)), url('/assets/images/backpic/back-1.png') center/cover no-repeat;
  color: #fff;
  padding: 80px 24px;
}
.hero-content { max-width: 820px; position: relative; z-index: 2; }
.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.4);
  padding: 6px 20px;
  border-radius: 30px;
  font-size: 13px;
  letter-spacing: 1px;
  margin-bottom: 24px;
  backdrop-filter: blur(4px);
}
.hero h1 {
  font-size: clamp(36px, 6vw, 60px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -1px;
}
.hero p {
  font-size: 18px;
  line-height: 1.8;
  opacity: 0.92;
  margin-bottom: 36px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 40px;
  justify-content: center;
  margin-top: 56px;
  flex-wrap: wrap;
}
.hero-stat { text-align: center; }
.hero-stat strong { display: block; font-size: 32px; font-weight: 800; }
.hero-stat span { font-size: 14px; opacity: 0.8; }

/* Cards */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card {
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 32px;
  transition: all 0.35s ease;
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-6px); border-color: transparent; }
.feature-icon {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--primary);
  background: rgba(79, 70, 229, 0.10);
  margin-bottom: 20px;
}
.feature-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.feature-card p { color: var(--text-light); font-size: 14px; line-height: 1.7; }

/* Category entry */
.category-entry { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; display: flex; align-items: stretch; }
.category-entry-img { flex: 0 0 45%; position: relative; min-height: 260px; background: url('/assets/images/coverpic/cover-1.png') center/cover no-repeat; }
.category-entry-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to right, transparent, rgba(255,255,255,0.8)); }
.category-entry-content { flex: 1; padding: 40px; display: flex; flex-direction: column; justify-content: center; }
.category-entry-content .tag { align-self: flex-start; }
.category-entry-content h3 { font-size: 26px; font-weight: 800; margin-bottom: 14px; }
.category-entry-content p { color: var(--text-light); margin-bottom: 24px; }

/* News cards */
.news-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: all 0.3s ease;
}
.news-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: transparent; }
.news-top { display: flex; justify-content: space-between; align-items: center; }
.badge {
  background: var(--accent-light);
  color: #047857;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}
.news-date { font-size: 13px; color: var(--text-light); }
.news-card h3 { font-size: 17px; font-weight: 700; line-height: 1.5; }
.news-card p { font-size: 14px; color: var(--text-light); line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-link { color: var(--primary); font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; margin-top: auto; }
.empty-tip { text-align: center; color: var(--text-light); padding: 60px 20px; font-size: 16px; }

/* Stats */
.stats-section { background: linear-gradient(135deg, #0F172A, #1E293B); color: #fff; border-radius: 24px; padding: 60px 40px; margin: 0 24px; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.stat-item { padding: 20px; }
.stat-item i { font-size: 30px; color: var(--accent); margin-bottom: 12px; display: block; }
.stat-item strong { font-size: 38px; font-weight: 800; display: block; }
.stat-item span { font-size: 14px; opacity: 0.7; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.step { text-align: center; padding: 32px 20px; position: relative; }
.step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  margin: 0 auto 18px;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.3);
}
.step h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--text-light); }

/* FAQ */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  margin-bottom: 14px;
  overflow: hidden;
  transition: box-shadow 0.3s;
}
.faq-item:hover { box-shadow: var(--shadow); }
.faq-q {
  padding: 20px 24px;
  font-weight: 600;
  font-size: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  color: var(--text);
  background: var(--card);
  border: none;
  width: 100%;
  text-align: left;
}
.faq-q i { transition: transform 0.3s; color: var(--primary); font-size: 15px; }
.faq-item.open .faq-q i { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-a-inner { padding: 0 24px 20px; color: var(--text-light); font-size: 14px; line-height: 1.8; }

/* CTA */
.cta-box {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 24px;
  padding: 70px 50px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-box::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
}
.cta-box h2 { font-size: 34px; font-weight: 800; margin-bottom: 14px; }
.cta-box p { opacity: 0.9; margin-bottom: 30px; max-width: 500px; margin-left: auto; margin-right: auto; }
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Footer */
.site-footer { background: #0F172A; color: #94A3B8; padding: 70px 0 0; margin-top: 90px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-brand .footer-logo { font-size: 22px; font-weight: 800; color: #fff; display: block; margin-bottom: 14px; }
.footer-brand p { font-size: 14px; line-height: 1.8; max-width: 320px; }
.footer-links h4 { color: #fff; font-size: 16px; margin-bottom: 18px; }
.footer-links a { display: block; padding: 6px 0; font-size: 14px; color: #94A3B8; transition: color 0.3s; }
.footer-links a:hover { color: #fff; }
.footer-contact h4 { color: #fff; font-size: 16px; margin-bottom: 18px; }
.footer-contact p { font-size: 14px; margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
.footer-contact i { color: var(--primary); width: 18px; text-align: center; }
.footer-bottom { padding: 24px 0; text-align: center; font-size: 13px; color: #64748B; }

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .category-entry { flex-direction: column; }
  .category-entry-img { min-height: 200px; }
  .main-nav { margin-left: 20px; }
  .search-box input { width: 100px; }
}
@media (max-width: 768px) {
  .header-inner { flex-wrap: wrap; }
  .main-nav { display: none; }
  .header-actions { margin-left: auto; }
  .search-box { display: none; }
  .nav-toggle { display: block; }
  .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .hero { min-height: 520px; padding: 60px 24px; }
  .hero h1 { font-size: 32px; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-box { padding: 50px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .section { --spacing: 60px; }
}
@media (max-width: 520px) {
  .container { padding: 0 16px; }
  .hero h1 { font-size: 26px; }
  .hero-btns { flex-direction: column; width: 100%; }
  .btn { width: 100%; justify-content: center; }
  .stat-grid { grid-template-columns: 1fr; }
  .stats-section { padding: 40px 20px; }
}

/* roulang page: article */
:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #dbeafe;
  --accent: #f97316;
  --accent-dark: #ea580c;
  --bg: #f8fafc;
  --bg-white: #ffffff;
  --bg-gray: #f1f5f9;
  --text: #1e293b;
  --text-light: #64748b;
  --text-xs: #94a3b8;
  --border: #e2e8f0;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 8px rgba(30, 41, 59, 0.06);
  --shadow-md: 0 6px 20px rgba(30, 41, 59, 0.08);
  --shadow-lg: 0 12px 36px rgba(30, 41, 59, 0.12);
  --font-main: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-main);
  background: var(--bg);
  color: var(--text);
  line-height: 1.8;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: var(--primary); transition: color 0.2s; }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.grid-x { margin: 0 -12px; }
.grid-x > .cell { padding: 0 12px; }

.site-header {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
  flex-wrap: wrap;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
  white-space: nowrap;
  flex-shrink: 0;
}
.brand i {
  font-size: 26px;
  color: var(--primary);
  background: var(--primary-light);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
}
.brand:hover { color: var(--text); }
.main-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
.nav-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-light);
  padding: 8px 4px;
  border-bottom: 2px solid transparent;
  transition: all 0.25s;
  white-space: nowrap;
}
.nav-link:hover { color: var(--primary); }
.nav-link.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
  font-weight: 600;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.search-box {
  display: flex;
  align-items: center;
  background: var(--bg-gray);
  border-radius: 24px;
  padding: 6px 6px 6px 16px;
  border: 1px solid var(--border);
  transition: all 0.25s;
}
.search-box:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12); background: var(--bg-white); }
.search-box input {
  border: none;
  outline: none;
  background: transparent;
  font-size: 14px;
  color: var(--text);
  width: 140px;
}
.search-box input::placeholder { color: var(--text-xs); }
.search-box button {
  border: none;
  background: var(--primary);
  color: #fff;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s;
  flex-shrink: 0;
}
.search-box button:hover { background: var(--primary-dark); transform: scale(1.05); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all 0.25s;
  line-height: 1.5;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-dark); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; border: 2px solid var(--primary); color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-sm { padding: 8px 16px; font-size: 14px; border-radius: 8px; }
.btn-lg { padding: 14px 34px; font-size: 16px; border-radius: 14px; }
.nav-toggle { display: none; border: none; background: transparent; font-size: 22px; cursor: pointer; color: var(--text); padding: 8px; border-radius: 8px; }
.nav-toggle:hover { background: var(--bg-gray); }

.article-banner {
  background: linear-gradient(135deg, #1e3a5f 0%, #164e63 45%, #2563eb 100%);
  position: relative;
  overflow: hidden;
  padding: 90px 0 70px;
  color: #fff;
}
.article-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('/assets/images/backpic/back-1.png') center/cover no-repeat;
  opacity: 0.2;
}
.article-banner::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to top, rgba(248, 250, 252, 1), transparent);
}
.article-banner .container { position: relative; z-index: 2; }
.banner-category {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  padding: 5px 16px;
  border-radius: 20px;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.banner-category i { font-size: 12px; }
.article-banner h1 {
  font-size: 42px;
  font-weight: 700;
  line-height: 1.35;
  max-width: 900px;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}
.banner-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
}
.banner-meta span { display: inline-flex; align-items: center; gap: 8px; }
.banner-meta i { font-size: 13px; opacity: 0.8; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-light);
  padding: 24px 0;
}
.breadcrumb a { color: var(--primary); }
.breadcrumb i { font-size: 12px; color: var(--text-xs); }
.breadcrumb span { color: var(--text); font-weight: 500; }

.article-layout { padding: 0 0 80px; }
.article-main {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 44px 48px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}
.article-content { font-size: 16px; color: var(--text); line-height: 2; }
.article-content h2 {
  font-size: 26px;
  font-weight: 700;
  margin: 40px 0 16px;
  padding-left: 16px;
  border-left: 4px solid var(--primary);
  line-height: 1.4;
}
.article-content h3 {
  font-size: 20px;
  font-weight: 600;
  margin: 32px 0 12px;
  color: var(--text);
}
.article-content p { margin-bottom: 16px; }
.article-content ul, .article-content ol {
  margin: 0 0 20px 24px;
  padding: 0;
}
.article-content li { margin-bottom: 8px; }
.article-content a { font-weight: 500; border-bottom: 1px solid var(--primary-light); }
.article-content img { border-radius: var(--radius); margin: 24px 0; box-shadow: var(--shadow-sm); }
.article-content blockquote {
  border-left: 4px solid var(--primary);
  background: var(--bg-gray);
  padding: 16px 24px;
  margin: 24px 0;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--text-light);
  font-style: italic;
}
.article-content code {
  background: var(--bg-gray);
  border-radius: 6px;
  padding: 2px 8px;
  font-size: 0.9em;
  color: var(--primary-dark);
}
.article-content pre {
  background: #1e293b;
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  overflow-x: auto;
  margin: 20px 0;
}
.article-content pre code { background: transparent; color: #e2e8f0; padding: 0; }

.article-sidebar { position: sticky; top: 92px; }
.sidebar-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}
.sidebar-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.sidebar-card h3 i { color: var(--primary); }
.sidebar-list { list-style: none; padding: 0; margin: 0; }
.sidebar-list li { border-bottom: 1px solid var(--border); padding: 10px 0; }
.sidebar-list li:last-child { border-bottom: none; }
.sidebar-list a {
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.5;
  display: block;
  transition: all 0.25s;
}
.sidebar-list a:hover { color: var(--primary); padding-left: 6px; }
.sidebar-tag { display: inline-block; font-size: 12px; color: var(--primary); background: var(--primary-light); padding: 3px 12px; border-radius: 12px; margin-bottom: 8px; }

.cta-card {
  background: linear-gradient(135deg, #1e3a5f 0%, #2563eb 100%);
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
  margin-bottom: 56px;
}
.cta-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('/assets/images/backpic/back-2.png') center/cover no-repeat;
  opacity: 0.12;
}
.cta-card h2 { font-size: 28px; font-weight: 700; margin-bottom: 12px; position: relative; z-index: 1; }
.cta-card p { font-size: 15px; opacity: 0.85; margin-bottom: 24px; position: relative; z-index: 1; }
.cta-card .btn { position: relative; z-index: 1; }

.prev-next {
  display: flex;
  gap: 16px;
  margin-bottom: 56px;
}
.prev-next a {
  flex: 1;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  transition: all 0.25s;
  display: block;
}
.prev-next a:hover { border-color: var(--primary); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.prev-next .label { font-size: 13px; color: var(--text-xs); margin-bottom: 4px; }
.prev-next .title { font-size: 15px; color: var(--text); font-weight: 600; line-height: 1.5; }

.related-posts { margin-top: 64px; }
.related-posts h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 28px;
  position: relative;
  padding-bottom: 12px;
}
.related-posts h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--primary);
  border-radius: 3px;
}
.related-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.3s;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.related-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.related-card img { width: 100%; height: 160px; object-fit: cover; }
.related-card-body { padding: 18px 20px 20px; flex: 1; }
.related-card-body .related-title { font-size: 15px; font-weight: 600; color: var(--text); line-height: 1.5; margin-bottom: 8px; display: block; }
.related-card-body .related-title:hover { color: var(--primary); }
.related-card-body .related-date { font-size: 13px; color: var(--text-xs); }

.site-footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 64px 0 0;
  margin-top: 56px;
  border-top: 4px solid var(--primary);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 48px;
}
.footer-logo { font-size: 22px; font-weight: 700; color: #fff; display: block; margin-bottom: 14px; }
.footer-brand p { font-size: 14px; line-height: 1.9; max-width: 380px; }
.footer-links h4, .footer-contact h4 {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 20px;
}
.footer-links a {
  display: block;
  color: var(--text-light);
  font-size: 14px;
  padding: 6px 0;
  transition: all 0.25s;
}
.footer-links a:hover { color: #fff; padding-left: 8px; }
.footer-contact p {
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  color: var(--text-light);
}
.footer-contact i { color: var(--primary); width: 18px; text-align: center; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
  font-size: 13px;
  text-align: center;
  color: var(--text-xs);
}

@media (max-width: 1024px) {
  .main-nav { gap: 16px; }
  .article-main { padding: 32px; }
  .article-banner h1 { font-size: 32px; }
}

@media (max-width: 768px) {
  .header-inner { height: auto; padding: 16px 0; gap: 12px; }
  .main-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 8px;
    padding: 12px 0;
    border-top: 1px solid var(--border);
  }
  .main-nav.open { display: flex; }
  .nav-toggle { display: inline-flex; }
  .search-box { display: none; }
  .article-banner { padding: 60px 0 50px; }
  .article-banner h1 { font-size: 26px; }
  .banner-meta { flex-direction: column; gap: 10px; }
  .article-main { padding: 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 520px) {
  .container { padding: 0 16px; }
  .brand { font-size: 20px; }
  .brand i { width: 34px; height: 34px; font-size: 16px; }
  .header-actions .btn-sm { padding: 7px 12px; font-size: 13px; }
  .article-banner h1 { font-size: 22px; }
  .article-main { padding: 16px; border-radius: 12px; }
  .article-content { font-size: 15px; }
  .article-content h2 { font-size: 20px; margin: 32px 0 12px; }
  .cta-card { padding: 28px 20px; }
  .cta-card h2 { font-size: 22px; }
  .prev-next { flex-direction: column; gap: 12px; }
  .related-card img { height: 140px; }
  .footer-bottom p { font-size: 12px; }
}

.article-empty {
  text-align: center;
  padding: 80px 20px;
}
.article-empty .empty-icon {
  width: 72px;
  height: 72px;
  background: var(--bg-gray);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--primary);
  font-size: 28px;
}
.article-empty h2 { font-size: 24px; margin-bottom: 12px; }
.article-empty p { color: var(--text-light); margin-bottom: 24px; }

/* roulang page: category1 */
:root{
  --primary:#3b5bfd;
  --primary-dark:#2547d0;
  --primary-light:#eef2fe;
  --accent:#06b6d4;
  --bg:#f5f7fb;
  --white:#ffffff;
  --text:#16233b;
  --text-weak:#5b6b84;
  --border:#e5e9f2;
  --radius:14px;
  --radius-sm:8px;
  --shadow-sm:0 2px 8px rgba(22,35,59,.06);
  --shadow-md:0 10px 28px rgba(22,35,59,.08);
  --shadow-lg:0 20px 48px rgba(22,35,59,.12);
  --section-space:88px;
}
*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  font-family:"PingFang SC","Hiragino Sans GB","Microsoft YaHei","Helvetica Neue",Arial,sans-serif;
  font-size:16px;line-height:1.7;color:var(--text);background:var(--bg);
  -webkit-font-smoothing:antialiased;
}
a{text-decoration:none;color:inherit;transition:color .25s,background .25s,box-shadow .25s,transform .25s}
img{max-width:100%;display:block}
button{font-family:inherit;cursor:pointer;border:none;background:none;color:inherit}
input{font-family:inherit;outline:none}
ul,ol{list-style:none}
h1,h2,h3,h4,h5,h6{line-height:1.35;color:var(--text)}
p{margin:0 0 10px}
a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid rgba(59,91,253,.35);outline-offset:2px;border-radius:6px}
.container{max-width:1200px;margin:0 auto;padding:0 24px}
.section{padding:var(--section-space) 0}
.section-header{text-align:center;margin-bottom:48px}
.section-tag{display:inline-block;padding:5px 16px;background:var(--primary-light);color:var(--primary);border-radius:999px;font-size:13px;font-weight:600;letter-spacing:.3px;margin-bottom:12px}
.section-header h2{font-size:32px;font-weight:800;letter-spacing:-.3px}
.section-header p{color:var(--text-weak);max-width:620px;margin:12px auto 0;font-size:16px}
.grid-margin-x{margin-left:-.75rem;margin-right:-.75rem}
.grid-margin-x>.cell{padding-left:.75rem;padding-right:.75rem;margin-bottom:24px}
.cell{max-width:100%}

/* 按钮 */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:13px 26px;border-radius:999px;font-weight:600;font-size:15px;line-height:1;transition:all .25s}
.btn-primary{background:var(--primary);color:#fff;box-shadow:0 6px 16px rgba(59,91,253,.3)}
.btn-primary:hover{background:var(--primary-dark);transform:translateY(-2px);box-shadow:0 10px 24px rgba(59,91,253,.36)}
.btn-primary:active{transform:translateY(0);box-shadow:0 4px 12px rgba(59,91,253,.3)}
.btn-outline{border:2px solid rgba(255,255,255,.75);color:#fff;background:rgba(255,255,255,.08)}
.btn-outline:hover{background:#fff;color:var(--primary);transform:translateY(-2px)}
.btn-sm{padding:9px 18px;font-size:14px}
.btn-lg{padding:15px 34px;font-size:16px}

/* Header 导航 */
.site-header{position:sticky;top:0;z-index:100;background:rgba(255,255,255,.94);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border-bottom:1px solid var(--border);box-shadow:0 2px 12px rgba(22,35,59,.04)}
.header-inner{display:flex;align-items:center;justify-content:space-between;gap:24px;height:72px}
.brand{display:flex;align-items:center;gap:10px;font-size:20px;font-weight:800;color:var(--text);letter-spacing:-.2px}
.brand i{color:var(--primary);font-size:22px}
.main-nav{display:flex;align-items:center;gap:6px}
.nav-link{padding:8px 16px;border-radius:999px;font-weight:500;font-size:15px;color:var(--text-weak)}
.nav-link:hover{color:var(--primary);background:var(--primary-light)}
.nav-link.active{color:var(--primary);background:var(--primary-light);font-weight:600}
.header-actions{display:flex;align-items:center;gap:12px}
.search-box{display:flex;align-items:center;background:#f1f4f9;border-radius:999px;padding:0 4px 0 16px;height:40px;width:220px;border:1px solid transparent;transition:all .25s}
.search-box:focus-within{border-color:var(--primary);background:#fff;box-shadow:0 0 0 3px rgba(59,91,253,.12)}
.search-box input{flex:1;border:none;background:transparent;font-size:14px;min-width:0;color:var(--text)}
.search-box input::placeholder{color:#9aa7bd}
.search-box button{color:var(--text-weak);padding:8px 10px;font-size:14px}
.search-box button:hover{color:var(--primary)}
.nav-toggle{display:none;font-size:22px;color:var(--text);padding:6px 8px;border-radius:8px}
.nav-toggle:hover{background:var(--primary-light);color:var(--primary)}

/* 页面 Banner */
.page-banner{position:relative;padding:110px 0 100px;color:#fff;text-align:center;background:linear-gradient(135deg,rgba(22,35,59,.88) 0%,rgba(37,71,208,.78) 55%,rgba(59,91,253,.66) 100%),url('/assets/images/backpic/back-3.png') no-repeat center/cover;overflow:hidden}
.page-banner::after{content:"";position:absolute;left:0;right:0;bottom:0;height:80px;background:linear-gradient(to top,var(--bg),transparent);pointer-events:none}
.breadcrumb{display:flex;justify-content:center;align-items:center;gap:10px;margin-bottom:20px;font-size:14px;color:rgba(255,255,255,.78)}
.breadcrumb i{font-size:11px;color:rgba(255,255,255,.45)}
.breadcrumb a:hover{color:#fff}
.page-banner h1{font-size:46px;font-weight:800;letter-spacing:-.5px;margin-bottom:16px;color:#fff;text-shadow:0 2px 20px rgba(0,0,0,.15)}
.page-banner p{max-width:720px;margin:0 auto;font-size:18px;line-height:1.8;color:rgba(255,255,255,.88)}

/* 数据徽章区 */
.stats-section{position:relative;margin-top:-52px;z-index:6}
.stat-card{background:var(--white);border-radius:var(--radius);padding:30px 20px;text-align:center;box-shadow:var(--shadow-md);border:1px solid var(--border);height:100%;transition:transform .25s,box-shadow .25s}
.stat-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-lg)}
.stat-number{font-size:32px;font-weight:800;color:var(--primary);line-height:1.2}
.stat-number span{font-size:20px;font-weight:700;margin-left:2px}
.stat-text{color:var(--text-weak);font-size:14px;margin-top:8px}

/* 快速上手步骤 */
.step-card{background:var(--white);border-radius:var(--radius);padding:30px 26px;border:1px solid var(--border);box-shadow:var(--shadow-sm);height:100%;position:relative;transition:transform .25s,box-shadow .25s,border-color .25s}
.step-card:hover{transform:translateY(-5px);box-shadow:var(--shadow-md);border-color:rgba(59,91,253,.25)}
.step-number{width:46px;height:46px;border-radius:14px;background:var(--primary);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:18px;margin-bottom:18px;box-shadow:0 6px 14px rgba(59,91,253,.28)}
.step-card h3{font-size:18px;font-weight:700;margin-bottom:10px}
.step-card p{font-size:14px;color:var(--text-weak);line-height:1.7;margin:0}

/* 核心功能卡片 */
.feature-card{background:var(--white);border-radius:var(--radius);overflow:hidden;border:1px solid var(--border);box-shadow:var(--shadow-sm);height:100%;display:flex;flex-direction:column;transition:transform .25s,box-shadow .25s}
.feature-card:hover{transform:translateY(-6px);box-shadow:var(--shadow-lg)}
.feature-card img{width:100%;height:190px;object-fit:cover;transition:transform .5s}
.feature-card:hover img{transform:scale(1.03)}
.feature-body{padding:24px 24px 26px;display:flex;flex-direction:column;flex:1}
.feature-body h3{font-size:19px;font-weight:700;margin-bottom:10px}
.feature-body p{font-size:14px;color:var(--text-weak);line-height:1.75;flex:1;margin-bottom:16px}
.feature-link{font-size:14px;font-weight:600;color:var(--primary);display:inline-flex;align-items:center;gap:6px}
.feature-link i{transition:transform .25s}
.feature-link:hover i{transform:translateX(4px)}
.feature-badge{display:inline-block;padding:4px 12px;border-radius:999px;background:var(--primary-light);color:var(--primary);font-size:12px;font-weight:600;margin-bottom:12px;align-self:flex-start}

/* 使用技巧图文区 */
.tips-section{background:var(--white);border-top:1px solid var(--border);border-bottom:1px solid var(--border)}
.tips-wrap{display:grid;grid-template-columns:1.08fr .92fr;gap:48px;align-items:center}
.tips-media img{width:100%;border-radius:18px;box-shadow:var(--shadow-lg);border:1px solid var(--border)}
.tips-list .tip-item{display:flex;gap:14px;padding:18px 0;border-bottom:1px solid var(--border)}
.tips-list .tip-item:last-child{border-bottom:none}
.tip-icon{flex:0 0 42px;width:42px;height:42px;border-radius:12px;background:var(--primary-light);color:var(--primary);display:flex;align-items:center;justify-content:center;font-size:17px}
.tip-item h4{font-size:16px;font-weight:700;margin-bottom:5px}
.tip-item p{font-size:14px;color:var(--text-weak);margin:0;line-height:1.7}

/* FAQ 手风琴 */
.faq-wrap{max-width:760px;margin:0 auto}
.accordion-item{background:var(--white);border:1px solid var(--border);border-radius:14px;margin-bottom:14px;overflow:hidden;transition:box-shadow .25s,border-color .25s}
.accordion-item:hover{border-color:rgba(59,91,253,.28)}
.accordion-item.is-active{box-shadow:var(--shadow-md);border-color:rgba(59,91,253,.35)}
.accordion-title{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 24px;font-weight:600;font-size:16px;color:var(--text);cursor:pointer}
.accordion-title i{color:var(--primary);transition:transform .3s;font-size:14px;flex-shrink:0}
.accordion-item.is-active .accordion-title i{transform:rotate(180deg)}
.accordion-content{max-height:0;overflow:hidden;padding:0 24px;color:var(--text-weak);font-size:14px;line-height:1.8;transition:max-height .35s ease,padding .35s ease}
.accordion-item.is-active .accordion-content{max-height:420px;padding:0 24px 20px}

/* CTA */
.cta-box{background:linear-gradient(120deg,var(--primary) 0%,var(--accent) 100%);border-radius:22px;padding:60px 48px;text-align:center;color:#fff;position:relative;overflow:hidden;box-shadow:var(--shadow-lg)}
.cta-box::before{content:"";position:absolute;top:-60px;right:-40px;width:220px;height:220px;border-radius:50%;background:rgba(255,255,255,.12)}
.cta-box::after{content:"";position:absolute;bottom:-80px;left:-30px;width:180px;height:180px;border-radius:50%;background:rgba(255,255,255,.08)}
.cta-box h2{font-size:30px;font-weight:800;color:#fff;margin-bottom:14px;position:relative;z-index:1}
.cta-box p{font-size:16px;color:rgba(255,255,255,.88);max-width:520px;margin:0 auto 28px;position:relative;z-index:1}
.cta-actions{display:flex;justify-content:center;gap:14px;flex-wrap:wrap;position:relative;z-index:1}

/* Footer */
.site-footer{background:#0f1b33;color:#aab6cf;padding:64px 0 0;margin-top:64px}
.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1.2fr;gap:48px;padding-bottom:40px}
.footer-logo{display:inline-flex;align-items:center;gap:8px;font-size:20px;font-weight:800;color:#fff;margin-bottom:14px}
.footer-logo i{color:var(--accent)}
.footer-brand p{font-size:14px;line-height:1.8;color:#8a9abe;margin:0}
.footer-links h4,.footer-contact h4{font-size:16px;font-weight:700;color:#fff;margin-bottom:16px}
.footer-links a{display:block;padding:5px 0;font-size:14px;color:#8a9abe}
.footer-links a:hover{color:#fff;padding-left:6px}
.footer-contact p{display:flex;align-items:center;gap:10px;font-size:14px;color:#8a9abe;margin-bottom:8px}
.footer-contact i{color:var(--accent);width:16px;text-align:center}
.footer-bottom{border-top:1px solid rgba(255,255,255,.08);padding:20px 0;text-align:center;font-size:13px;color:#7f8aaa}
.footer-bottom p{margin:0}

/* 响应式 */
@media (max-width:1024px){
  .search-box{width:170px}
  .tips-wrap{grid-template-columns:1fr;gap:36px}
  .footer-grid{grid-template-columns:1fr 1fr;gap:32px}
}
@media (max-width:768px){
  :root{--section-space:64px}
  .header-inner{height:64px}
  .main-nav{position:fixed;top:64px;left:0;right:0;background:#fff;flex-direction:column;align-items:stretch;padding:14px 20px;box-shadow:var(--shadow-lg);border-top:1px solid var(--border);display:none;max-height:calc(100vh - 64px);overflow-y:auto}
  .main-nav.show{display:flex}
  .nav-link{padding:12px 16px;font-size:15px;text-align:center}
  .search-box{display:none}
  .nav-toggle{display:inline-flex}
  .header-actions{gap:8px}
  .page-banner{padding:80px 0 84px}
  .page-banner h1{font-size:33px}
  .page-banner p{font-size:16px}
  .section-header h2{font-size:26px}
  .stats-section{margin-top:-36px}
  .cta-box{padding:44px 24px}
  .cta-box h2{font-size:24px}
  .footer-grid{grid-template-columns:1fr;gap:28px}
}
@media (max-width:520px){
  .container{padding:0 16px}
  .page-banner h1{font-size:26px}
  .page-banner p{font-size:15px}
  .section-header h2{font-size:22px}
  .btn{padding:11px 20px;font-size:14px}
  .cta-actions{flex-direction:column;align-items:center}
  .stat-number{font-size:24px}
  .footer-bottom{text-align:center}
}
