/* roulang page: index */
/* ===== 设计变量 ===== */
:root {
  --primary: #2563EB;
  --primary-dark: #1D4ED8;
  --primary-light: #DBEAFE;
  --secondary: #8B5CF6;
  --secondary-dark: #7C3AED;
  --accent: #F59E0B;
  --accent-dark: #D97706;
  --bg: #F8FAFC;
  --bg-alt: #F1F5F9;
  --bg-dark: #0F172A;
  --text: #0F172A;
  --text-light: #475569;
  --text-muted: #94A3B8;
  --text-inverse: #FFFFFF;
  --border: #E2E8F0;
  --border-light: #F1F5F9;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
  --shadow-xl: 0 24px 60px rgba(0,0,0,0.18);
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --font: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
  --container: 1200px;
  --nav-height: 72px;
}
/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font); font-size: 16px; line-height: 1.7; color: var(--text); background: var(--bg); }
img { max-width: 100%; height: auto; display: block; border-radius: var(--radius-sm); }
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }
button, input, textarea { font-family: inherit; font-size: inherit; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 { line-height: 1.3; font-weight: 700; color: var(--text); }
/* ===== 容器 ===== */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 860px; }
/* ===== 导航 ===== */
.header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: var(--nav-height);
  display: flex; align-items: center;
}
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; gap: 20px;
}
.header__logo {
  display: flex; align-items: center; gap: 8px; flex-shrink: 0;
  font-size: 22px; font-weight: 800; color: var(--text);
  letter-spacing: -0.5px;
}
.header__logo i { color: var(--primary); font-size: 26px; }
.header__logo span { background: linear-gradient(135deg, var(--primary), var(--secondary)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.header__search {
  flex: 1; max-width: 520px; position: relative;
}
.header__search input {
  width: 100%; height: 44px; padding: 0 20px 0 48px;
  border: 2px solid var(--border); border-radius: var(--radius-full);
  background: var(--bg); font-size: 15px; color: var(--text);
  transition: all var(--transition); outline: none;
}
.header__search input:focus { border-color: var(--primary); background: #fff; box-shadow: 0 0 0 4px rgba(37,99,235,0.1); }
.header__search input::placeholder { color: var(--text-muted); }
.header__search i {
  position: absolute; left: 18px; top: 50%; transform: translateY(-50%);
  color: var(--text-muted); font-size: 18px; pointer-events: none;
}
.header__nav {
  display: flex; align-items: center; gap: 6px; flex-shrink: 0;
}
.header__nav a {
  padding: 8px 18px; border-radius: var(--radius-full);
  font-size: 15px; font-weight: 500; color: var(--text-light);
  transition: all var(--transition); white-space: nowrap;
}
.header__nav a:hover { background: var(--primary-light); color: var(--primary); }
.header__nav a.active { background: var(--primary); color: #fff; font-weight: 600; }
.header__toggle { display: none; flex-shrink: 0; background: none; border: none; font-size: 26px; color: var(--text); cursor: pointer; padding: 4px; }
@media (max-width: 900px) {
  .header__search { max-width: 320px; }
  .header__nav a { padding: 6px 14px; font-size: 14px; }
}
@media (max-width: 768px) {
  .header__nav { display: none; position: absolute; top: var(--nav-height); left: 0; right: 0; background: #fff; border-bottom: 2px solid var(--border); flex-direction: column; padding: 16px 24px; gap: 4px; box-shadow: var(--shadow-lg); }
  .header__nav.open { display: flex; }
  .header__nav a { width: 100%; padding: 12px 16px; border-radius: var(--radius-sm); }
  .header__toggle { display: block; }
  .header__search { max-width: 200px; }
  .header__search input { height: 40px; font-size: 14px; padding: 0 16px 0 40px; }
  .header__search i { left: 14px; font-size: 16px; }
}
@media (max-width: 520px) {
  .header__inner { padding: 0 16px; gap: 12px; }
  .header__logo { font-size: 18px; }
  .header__logo i { font-size: 20px; }
  .header__search { max-width: 140px; }
  .header__search input { padding: 0 12px 0 34px; font-size: 13px; height: 36px; }
  .header__search i { left: 10px; font-size: 14px; }
}
/* ===== Hero ===== */
.hero {
  position: relative; min-height: 520px; display: flex; align-items: center;
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 50%, #0F172A 100%);
  overflow: hidden; padding: 80px 0;
}
.hero__bg {
  position: absolute; inset: 0; z-index: 0;
  background: url('/assets/images/backpic/back-1.png') center center / cover no-repeat;
  opacity: 0.3; mix-blend-mode: overlay;
}
.hero__overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(15,23,42,0.88) 0%, rgba(15,23,42,0.6) 60%, rgba(15,23,42,0.3) 100%);
}
.hero .container { position: relative; z-index: 2; }
.hero__content { max-width: 680px; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.1); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.15); padding: 6px 18px 6px 12px;
  border-radius: var(--radius-full); color: var(--text-inverse); font-size: 14px; font-weight: 500; margin-bottom: 24px;
}
.hero__badge i { color: var(--accent); font-size: 16px; }
.hero h1 {
  font-size: 52px; font-weight: 800; color: var(--text-inverse);
  line-height: 1.15; margin-bottom: 20px; letter-spacing: -1px;
}
.hero h1 span { background: linear-gradient(135deg, var(--accent), #F97316); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero p {
  font-size: 20px; color: rgba(255,255,255,0.7);
  line-height: 1.7; margin-bottom: 36px; max-width: 560px;
}
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero__actions .btn { padding: 16px 36px; font-size: 17px; font-weight: 600; border-radius: var(--radius-full); }
.hero__actions .btn--primary { background: var(--primary); color: #fff; box-shadow: 0 4px 20px rgba(37,99,235,0.4); }
.hero__actions .btn--primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(37,99,235,0.5); }
.hero__actions .btn--outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.3); }
.hero__actions .btn--outline:hover { border-color: #fff; background: rgba(255,255,255,0.1); transform: translateY(-2px); }
@media (max-width: 768px) {
  .hero { min-height: 400px; padding: 60px 0; }
  .hero h1 { font-size: 36px; }
  .hero p { font-size: 17px; }
  .hero__actions .btn { padding: 14px 28px; font-size: 15px; }
}
@media (max-width: 520px) {
  .hero { min-height: 340px; padding: 48px 0; }
  .hero h1 { font-size: 28px; }
  .hero p { font-size: 15px; margin-bottom: 28px; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; text-align: center; }
}
/* ===== 通用板块 ===== */
.section { padding: 80px 0; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--bg-dark); }
.section__header { text-align: center; margin-bottom: 52px; }
.section__subtitle { display: inline-block; font-size: 14px; font-weight: 600; color: var(--primary); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 10px; }
.section__title { font-size: 36px; font-weight: 700; color: var(--text); margin-bottom: 14px; }
.section__desc { font-size: 18px; color: var(--text-light); max-width: 640px; margin: 0 auto; }
.section--dark .section__title { color: var(--text-inverse); }
.section--dark .section__desc { color: rgba(255,255,255,0.6); }
@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .section__title { font-size: 28px; }
  .section__desc { font-size: 16px; }
  .section__header { margin-bottom: 36px; }
}
@media (max-width: 520px) {
  .section { padding: 40px 0; }
  .section__title { font-size: 24px; }
  .section__desc { font-size: 15px; }
}
/* ===== 按钮 ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 28px; border-radius: var(--radius-full);
  font-size: 15px; font-weight: 600; border: none; cursor: pointer;
  transition: all var(--transition); text-align: center; line-height: 1.2;
}
.btn:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; }
.btn--primary { background: var(--primary); color: #fff; }
.btn--primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--secondary { background: var(--secondary); color: #fff; }
.btn--secondary:hover { background: var(--secondary-dark); transform: translateY(-2px); }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-dark); transform: translateY(-2px); }
.btn--outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn--outline:hover { background: var(--primary); color: #fff; }
.btn--ghost { background: transparent; color: var(--text-light); border: 1px solid var(--border); }
.btn--ghost:hover { background: var(--bg-alt); color: var(--text); }
.btn--sm { padding: 8px 18px; font-size: 13px; }
.btn--lg { padding: 16px 36px; font-size: 17px; }
.btn__icon { font-size: 18px; }
/* ===== 卡片 ===== */
.card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: all var(--transition);
  border: 1px solid var(--border-light);
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.card__img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.card__body { padding: 24px; }
.card__tag {
  display: inline-block; padding: 4px 12px; border-radius: var(--radius-full);
  font-size: 12px; font-weight: 600; background: var(--primary-light); color: var(--primary); margin-bottom: 10px;
}
.card__title { font-size: 18px; font-weight: 700; margin-bottom: 8px; line-height: 1.4; }
.card__title a { color: var(--text); }
.card__title a:hover { color: var(--primary); }
.card__text { font-size: 15px; color: var(--text-light); line-height: 1.7; margin-bottom: 14px; }
.card__meta { display: flex; align-items: center; gap: 16px; font-size: 13px; color: var(--text-muted); }
.card__meta i { margin-right: 4px; }
/* ===== 网格 ===== */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}
@media (max-width: 520px) {
  .grid-4 { grid-template-columns: 1fr; }
}
/* ===== 特性/图标卡片 ===== */
.feature-card { text-align: center; padding: 40px 28px; background: #fff; border-radius: var(--radius); border: 1px solid var(--border-light); transition: all var(--transition); }
.feature-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.feature-card__icon { width: 68px; height: 68px; border-radius: var(--radius); display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; font-size: 30px; color: #fff; }
.feature-card__icon--blue { background: linear-gradient(135deg, var(--primary), var(--secondary)); }
.feature-card__icon--amber { background: linear-gradient(135deg, var(--accent), #F97316); }
.feature-card__icon--green { background: linear-gradient(135deg, #10B981, #059669); }
.feature-card__icon--purple { background: linear-gradient(135deg, var(--secondary), #C084FC); }
.feature-card__title { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.feature-card__text { font-size: 15px; color: var(--text-light); line-height: 1.7; }
/* ===== 统计数字 ===== */
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.stat-card { text-align: center; padding: 36px 20px; background: rgba(255,255,255,0.05); border-radius: var(--radius); border: 1px solid rgba(255,255,255,0.08); }
.stat-card__number { font-size: 42px; font-weight: 800; color: var(--text-inverse); line-height: 1; margin-bottom: 8px; }
.stat-card__number span { color: var(--accent); }
.stat-card__label { font-size: 15px; color: rgba(255,255,255,0.6); }
@media (max-width: 768px) {
  .stats-grid { grid-template-columns: repeat(2,1fr); gap: 16px; }
  .stat-card__number { font-size: 32px; }
}
@media (max-width: 520px) {
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat-card { padding: 24px 16px; }
  .stat-card__number { font-size: 28px; }
}
/* ===== FAQ ===== */
.faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: #fff; border-radius: var(--radius); border: 1px solid var(--border); overflow: hidden; transition: all var(--transition); }
.faq-item:hover { border-color: var(--primary-light); }
.faq-item__question { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; cursor: pointer; font-size: 17px; font-weight: 600; color: var(--text); background: none; border: none; width: 100%; text-align: left; gap: 16px; transition: color var(--transition); }
.faq-item__question:hover { color: var(--primary); }
.faq-item__question i { font-size: 18px; color: var(--text-muted); transition: transform var(--transition); flex-shrink: 0; }
.faq-item.open .faq-item__question i { transform: rotate(180deg); color: var(--primary); }
.faq-item__answer { padding: 0 24px 20px; font-size: 15px; color: var(--text-light); line-height: 1.8; display: none; }
.faq-item.open .faq-item__answer { display: block; }
@media (max-width: 520px) {
  .faq-item__question { font-size: 15px; padding: 16px 18px; }
  .faq-item__answer { padding: 0 18px 16px; font-size: 14px; }
}
/* ===== CTA ===== */
.cta { background: linear-gradient(135deg, var(--primary), var(--secondary)); padding: 80px 0; text-align: center; }
.cta__title { font-size: 36px; font-weight: 800; color: var(--text-inverse); margin-bottom: 16px; }
.cta__text { font-size: 18px; color: rgba(255,255,255,0.8); max-width: 560px; margin: 0 auto 32px; }
.cta .btn { background: #fff; color: var(--primary); padding: 16px 44px; font-size: 18px; font-weight: 700; }
.cta .btn:hover { background: var(--bg); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
@media (max-width: 768px) {
  .cta { padding: 56px 0; }
  .cta__title { font-size: 28px; }
  .cta__text { font-size: 16px; }
}
@media (max-width: 520px) {
  .cta { padding: 40px 0; }
  .cta__title { font-size: 24px; }
}
/* ===== 分类入口 ===== */
.cat-card {
  display: flex; align-items: center; gap: 20px;
  background: #fff; border-radius: var(--radius); padding: 20px 24px;
  border: 1px solid var(--border-light); transition: all var(--transition);
  cursor: pointer;
}
.cat-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--primary-light); }
.cat-card__img { width: 100px; height: 76px; border-radius: var(--radius-sm); object-fit: cover; flex-shrink: 0; }
.cat-card__info { flex: 1; }
.cat-card__title { font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.cat-card__desc { font-size: 14px; color: var(--text-light); }
.cat-card__arrow { color: var(--text-muted); font-size: 20px; transition: all var(--transition); }
.cat-card:hover .cat-card__arrow { color: var(--primary); transform: translateX(4px); }
@media (max-width: 520px) {
  .cat-card { flex-direction: column; align-items: flex-start; padding: 16px; }
  .cat-card__img { width: 100%; height: 120px; }
}
/* ===== 文章列表（首页） ===== */
.post-list { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }
.post-card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border-light); transition: all var(--transition); }
.post-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.post-card__img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.post-card__body { padding: 20px 24px 24px; }
.post-card__cat { display: inline-block; padding: 3px 12px; border-radius: var(--radius-full); font-size: 12px; font-weight: 600; background: var(--primary-light); color: var(--primary); margin-bottom: 8px; }
.post-card__title { font-size: 17px; font-weight: 700; margin-bottom: 8px; line-height: 1.4; }
.post-card__title a { color: var(--text); }
.post-card__title a:hover { color: var(--primary); }
.post-card__excerpt { font-size: 14px; color: var(--text-light); line-height: 1.7; margin-bottom: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.post-card__meta { display: flex; align-items: center; gap: 16px; font-size: 13px; color: var(--text-muted); }
.post-card__meta i { margin-right: 4px; }
.empty-msg { grid-column: 1 / -1; text-align: center; padding: 60px 20px; font-size: 16px; color: var(--text-muted); background: #fff; border-radius: var(--radius); border: 1px dashed var(--border); }
@media (max-width: 768px) {
  .post-list { grid-template-columns: 1fr; }
}
/* ===== 文章详情页 ===== */
.article-header { padding: 40px 0 24px; border-bottom: 1px solid var(--border); margin-bottom: 32px; }
.article-header__cat { display: inline-block; padding: 4px 14px; border-radius: var(--radius-full); font-size: 13px; font-weight: 600; background: var(--primary-light); color: var(--primary); margin-bottom: 14px; }
.article-header h1 { font-size: 36px; font-weight: 800; line-height: 1.25; margin-bottom: 16px; }
.article-header__meta { display: flex; align-items: center; gap: 20px; font-size: 14px; color: var(--text-muted); flex-wrap: wrap; }
.article-header__meta i { margin-right: 6px; }
.article-body { font-size: 17px; line-height: 1.9; color: var(--text); }
.article-body p { margin-bottom: 20px; }
.article-body img { border-radius: var(--radius); margin: 24px 0; width: 100%; }
.article-body h2, .article-body h3 { margin-top: 36px; margin-bottom: 16px; font-weight: 700; }
.article-body h2 { font-size: 26px; }
.article-body h3 { font-size: 22px; }
.article-body ul, .article-body ol { margin-bottom: 20px; padding-left: 24px; }
.article-body li { margin-bottom: 8px; }
.article-body ul li { list-style: disc; }
.article-body ol li { list-style: decimal; }
.article-body blockquote { border-left: 4px solid var(--primary); padding: 16px 24px; margin: 24px 0; background: var(--primary-light); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: var(--text-light); font-style: italic; }
.article-nav { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.article-nav a { font-size: 15px; font-weight: 500; }
.article-notfound { text-align: center; padding: 80px 20px; }
.article-notfound p { font-size: 18px; color: var(--text-muted); margin-bottom: 20px; }
@media (max-width: 768px) {
  .article-header h1 { font-size: 28px; }
  .article-body { font-size: 16px; }
}
@media (max-width: 520px) {
  .article-header h1 { font-size: 24px; }
  .article-body { font-size: 15px; }
}
/* ===== 分类页 ===== */
.category-banner {
  position: relative; padding: 80px 0; background: linear-gradient(135deg, #0F172A, #1E293B); overflow: hidden;
}
.category-banner__bg {
  position: absolute; inset: 0; z-index: 0;
  background: url('/assets/images/backpic/back-2.png') center center / cover no-repeat;
  opacity: 0.2; mix-blend-mode: overlay;
}
.category-banner .container { position: relative; z-index: 1; }
.category-banner h1 { font-size: 40px; font-weight: 800; color: var(--text-inverse); margin-bottom: 12px; }
.category-banner p { font-size: 18px; color: rgba(255,255,255,0.7); max-width: 560px; }
@media (max-width: 768px) {
  .category-banner { padding: 56px 0; }
  .category-banner h1 { font-size: 30px; }
  .category-banner p { font-size: 16px; }
}
@media (max-width: 520px) {
  .category-banner { padding: 40px 0; }
  .category-banner h1 { font-size: 26px; }
}
/* ===== 页脚 ===== */
.footer { background: var(--bg-dark); color: rgba(255,255,255,0.6); padding: 60px 0 32px; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer__brand .footer__logo { font-size: 22px; font-weight: 800; color: var(--text-inverse); margin-bottom: 12px; display: block; }
.footer__brand .footer__logo i { color: var(--primary); }
.footer__brand p { font-size: 14px; line-height: 1.8; max-width: 300px; }
.footer__col h4 { font-size: 15px; font-weight: 700; color: var(--text-inverse); margin-bottom: 16px; }
.footer__col a { display: block; font-size: 14px; color: rgba(255,255,255,0.5); padding: 4px 0; transition: color var(--transition); }
.footer__col a:hover { color: var(--primary-light); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 13px; }
.footer__bottom a { color: rgba(255,255,255,0.5); }
.footer__bottom a:hover { color: var(--primary-light); }
@media (max-width: 900px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .footer { padding: 40px 0 24px; }
  .footer__grid { grid-template-columns: 1fr; gap: 24px; }
  .footer__bottom { flex-direction: column; text-align: center; }
}
/* ===== 工具类 ===== */
.text-center { text-align: center; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.flex-center { display: flex; align-items: center; justify-content: center; }

/* roulang page: article */
:root {
  --primary: #e74c3c;
  --primary-dark: #c0392b;
  --primary-light: #fadbd8;
  --secondary: #f39c12;
  --secondary-light: #fef5e7;
  --accent: #2ecc71;
  --bg: #f8f9fa;
  --bg-alt: #ffffff;
  --bg-dark: #1a1a2e;
  --text: #2c3e50;
  --text-light: #6c757d;
  --text-white: #ffffff;
  --border: #e9ecef;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-xs: 6px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow: 0 8px 30px rgba(0,0,0,0.10);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.14);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', system-ui, -apple-system, sans-serif;
  --container: 1200px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); }
a:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; border-radius: 4px; }

input, button, textarea { font-family: inherit; font-size: inherit; }
button { cursor: pointer; border: none; background: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ===== Header ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: var(--header-h);
}

.header__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 20px;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary);
  white-space: nowrap;
  flex-shrink: 0;
}

.header__logo i { font-size: 1.5rem; }
.header__logo span { background: linear-gradient(135deg, var(--primary), var(--secondary)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

.header__search {
  flex: 1;
  max-width: 480px;
  position: relative;
  margin: 0 12px;
}

.header__search i {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
  font-size: 0.95rem;
  pointer-events: none;
}

.header__search input {
  width: 100%;
  padding: 10px 16px 10px 44px;
  border: 2px solid var(--border);
  border-radius: 40px;
  background: var(--bg);
  font-size: 0.95rem;
  transition: var(--transition);
  outline: none;
}

.header__search input:focus {
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 4px var(--primary-light);
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.header__nav a {
  padding: 8px 18px;
  border-radius: 40px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text);
  transition: var(--transition);
  white-space: nowrap;
}

.header__nav a:hover { background: var(--primary-light); color: var(--primary); }
.header__nav a.active { background: var(--primary); color: #fff; }

.header__toggle { display: none; font-size: 1.5rem; color: var(--text); padding: 4px; flex-shrink: 0; }

@media (max-width: 768px) {
  .header__search { max-width: 200px; }
  .header__nav { display: none; position: absolute; top: var(--header-h); left: 0; right: 0; background: rgba(255,255,255,0.98); backdrop-filter: blur(12px); flex-direction: column; padding: 16px 24px; border-bottom: 1px solid var(--border); box-shadow: var(--shadow); }
  .header__nav.open { display: flex; }
  .header__nav a { width: 100%; text-align: center; padding: 12px; }
  .header__toggle { display: block; }
}

@media (max-width: 520px) {
  .header__search { max-width: 140px; }
  .header__search input { padding: 8px 12px 8px 36px; font-size: 0.85rem; }
  .header__logo { font-size: 1.1rem; }
  .header__logo i { font-size: 1.2rem; }
}

/* ===== Footer ===== */
.footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.85);
  padding: 60px 0 0;
  margin-top: 80px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.10);
}

.footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--secondary);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.footer__logo i { font-size: 1.4rem; }

.footer__brand p { font-size: 0.92rem; line-height: 1.7; color: rgba(255,255,255,0.65); max-width: 360px; }

.footer__col h4 { color: #fff; font-size: 1.05rem; font-weight: 600; margin-bottom: 18px; position: relative; padding-bottom: 8px; }

.footer__col h4::after { content: ''; position: absolute; bottom: 0; left: 0; width: 32px; height: 3px; background: var(--secondary); border-radius: 2px; }

.footer__col a { display: block; color: rgba(255,255,255,0.65); font-size: 0.9rem; padding: 5px 0; transition: var(--transition); }

.footer__col a:hover { color: var(--secondary); padding-left: 6px; }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  flex-wrap: wrap;
  gap: 12px;
}

.footer__bottom a { color: var(--secondary); }
.footer__bottom a:hover { color: #fff; }

@media (max-width: 768px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 520px) {
  .footer__grid { grid-template-columns: 1fr; gap: 24px; }
  .footer__bottom { flex-direction: column; text-align: center; }
}

/* ===== Article Page Styles ===== */
.page-banner {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  padding: 60px 0 50px;
  position: relative;
  overflow: hidden;
  min-height: 260px;
  display: flex;
  align-items: center;
}

.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('/assets/images/backpic/back-2.png') center/cover no-repeat;
  opacity: 0.15;
  mix-blend-mode: overlay;
}

.page-banner .container { position: relative; z-index: 2; }

.banner-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-bottom: 16px;
  align-items: center;
}

.banner-category {
  display: inline-block;
  padding: 4px 16px;
  background: var(--secondary);
  color: #fff;
  border-radius: 40px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.banner-date {
  color: rgba(255,255,255,0.7);
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.banner-date i { font-size: 0.82rem; }

.page-banner h1 {
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.3;
  max-width: 840px;
  margin-bottom: 14px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.page-banner p {
  color: rgba(255,255,255,0.8);
  font-size: 1.05rem;
  max-width: 700px;
  line-height: 1.6;
}

.article-main {
  padding: 50px 0;
}

.article-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  align-items: start;
}

.article-content {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 48px;
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--text);
}

.article-content h2 {
  font-size: 1.6rem;
  font-weight: 700;
  margin: 36px 0 16px;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--primary-light);
  color: #1a1a2e;
}

.article-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 28px 0 12px;
  color: #1a1a2e;
}

.article-content p {
  margin-bottom: 18px;
}

.article-content ul, .article-content ol {
  margin: 16px 0 20px 24px;
}

.article-content li {
  margin-bottom: 8px;
}

.article-content blockquote {
  margin: 24px 0;
  padding: 20px 24px;
  border-left: 5px solid var(--primary);
  background: var(--primary-light);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: #555;
}

.article-content blockquote p { margin-bottom: 0; }

.article-content img {
  border-radius: var(--radius-sm);
  margin: 24px auto;
  box-shadow: var(--shadow-sm);
}

.article-content a { font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

.article-content .article-cover {
  margin: -48px -48px 30px;
  border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden;
  max-height: 420px;
  object-fit: cover;
  width: calc(100% + 96px);
}

.article-not-found {
  text-align: center;
  padding: 80px 40px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.article-not-found i {
  font-size: 4rem;
  color: var(--text-light);
  margin-bottom: 20px;
  display: block;
}

.article-not-found h2 { font-size: 1.8rem; color: var(--text); margin-bottom: 12px; }
.article-not-found p { color: var(--text-light); margin-bottom: 24px; }
.article-not-found .btn { display: inline-block; }

/* ---- Sidebar ---- */
.article-sidebar { display: flex; flex-direction: column; gap: 28px; }

.sidebar-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 28px 24px;
}

.sidebar-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--primary-light);
  display: flex;
  align-items: center;
  gap: 8px;
}

.sidebar-card h3 i { color: var(--primary); font-size: 1rem; }

.sidebar-list { list-style: none; padding: 0; margin: 0; }

.sidebar-list li { padding: 10px 0; border-bottom: 1px solid var(--border); }

.sidebar-list li:last-child { border-bottom: none; }

.sidebar-list a {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--text);
  font-size: 0.92rem;
  line-height: 1.5;
  transition: var(--transition);
}

.sidebar-list a:hover { color: var(--primary); }
.sidebar-list a span { color: var(--text-light); font-size: 0.82rem; flex-shrink: 0; margin-top: 2px; }
.sidebar-list a .list-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
  flex-shrink: 0;
}

.sidebar-tags { display: flex; flex-wrap: wrap; gap: 8px; }

.sidebar-tags a {
  display: inline-block;
  padding: 5px 14px;
  background: var(--bg);
  border-radius: 40px;
  font-size: 0.82rem;
  color: var(--text-light);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.sidebar-tags a:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 32px;
  border-radius: 40px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(231,76,60,0.35); }

.btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; transform: translateY(-2px); }

/* ---- Breadcrumb ---- */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 0.88rem;
  color: var(--text-light);
  margin-bottom: 20px;
}

.breadcrumb a { color: rgba(255,255,255,0.7); }
.breadcrumb a:hover { color: var(--secondary); }
.breadcrumb span { color: rgba(255,255,255,0.9); }
.breadcrumb i { font-size: 0.7rem; color: rgba(255,255,255,0.4); }

/* ---- Article Nav ---- */
.article-nav {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.article-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: var(--bg);
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  color: var(--text);
  transition: var(--transition);
  max-width: 45%;
}

.article-nav a:hover { background: var(--primary-light); color: var(--primary); }
.article-nav a:last-child { text-align: right; flex-direction: row-reverse; }

/* ---- CTA Section ---- */
.article-cta {
  margin-top: 50px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: var(--radius);
  padding: 48px 40px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.article-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('/assets/images/backpic/back-1.png') center/cover no-repeat;
  opacity: 0.08;
  mix-blend-mode: overlay;
}

.article-cta .container { position: relative; z-index: 2; }
.article-cta h3 { font-size: 1.6rem; font-weight: 700; margin-bottom: 12px; }
.article-cta p { font-size: 1.05rem; opacity: 0.9; margin-bottom: 24px; max-width: 600px; margin-left: auto; margin-right: auto; }
.article-cta .btn { background: #fff; color: var(--primary); font-weight: 700; }
.article-cta .btn:hover { background: var(--secondary); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.2); }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
  .page-banner h1 { font-size: 1.9rem; }
}

@media (max-width: 768px) {
  .page-banner { padding: 40px 0 36px; min-height: 200px; }
  .page-banner h1 { font-size: 1.5rem; }
  .banner-meta { font-size: 0.85rem; gap: 8px 14px; }
  .article-content { padding: 28px 20px; }
  .article-content .article-cover { margin: -28px -20px 20px; width: calc(100% + 48px); }
  .article-sidebar { grid-template-columns: 1fr; }
  .article-nav { flex-direction: column; }
  .article-nav a { max-width: 100%; justify-content: center; }
  .article-cta { padding: 32px 24px; }
  .article-cta h3 { font-size: 1.3rem; }
}

@media (max-width: 520px) {
  .page-banner h1 { font-size: 1.25rem; }
  .article-content { padding: 20px 16px; font-size: 0.95rem; }
  .article-content .article-cover { margin: -20px -16px 16px; width: calc(100% + 32px); }
  .article-content h2 { font-size: 1.3rem; }
  .article-content h3 { font-size: 1.1rem; }
}

/* roulang page: category1 */
/* ===== Design Variables ===== */
        :root {
            --primary: #e74c3c;
            --primary-dark: #c0392b;
            --primary-light: #fadbd8;
            --secondary: #2c3e50;
            --secondary-light: #34495e;
            --accent: #f39c12;
            --accent-light: #fdebd0;
            --bg: #f8f9fa;
            --bg-dark: #1a1a2e;
            --bg-card: #ffffff;
            --text: #2c3e50;
            --text-light: #7f8c8d;
            --text-white: #ffffff;
            --border: #e0e0e0;
            --border-light: #f0f0f0;
            --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
            --shadow-hover: 0 12px 40px rgba(0, 0, 0, 0.14);
            --radius: 16px;
            --radius-sm: 10px;
            --radius-lg: 24px;
            --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            --font-sans: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', system-ui, -apple-system, sans-serif;
            --max-w: 1200px;
            --header-h: 72px;
            --spacer: 80px;
        }

        /* ===== Reset & Base ===== */
        *,
        *::before,
        *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        html {
            scroll-behavior: smooth;
            -webkit-text-size-adjust: 100%;
        }

        body {
            font-family: var(--font-sans);
            font-size: 16px;
            line-height: 1.7;
            color: var(--text);
            background: var(--bg);
            padding-top: var(--header-h);
            -webkit-font-smoothing: antialiased;
        }

        a {
            color: var(--primary);
            text-decoration: none;
            transition: var(--transition);
        }
        a:hover {
            color: var(--primary-dark);
        }
        a:focus-visible {
            outline: 3px solid var(--primary);
            outline-offset: 2px;
            border-radius: 4px;
        }

        img {
            max-width: 100%;
            height: auto;
            display: block;
            border-radius: var(--radius-sm);
        }

        button,
        input,
        select,
        textarea {
            font-family: inherit;
            font-size: inherit;
            border: none;
            outline: none;
            transition: var(--transition);
        }

        button:focus-visible,
        input:focus-visible {
            outline: 3px solid var(--primary);
            outline-offset: 2px;
        }

        ul,
        ol {
            list-style: none;
        }

        .container {
            max-width: var(--max-w);
            margin: 0 auto;
            padding: 0 24px;
        }

        /* ===== Header / Nav ===== */
        .header {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: var(--header-h);
            background: rgba(255, 255, 255, 0.96);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border-bottom: 1px solid var(--border-light);
            z-index: 1000;
            box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
        }

        .header__inner {
            max-width: var(--max-w);
            margin: 0 auto;
            padding: 0 24px;
            height: 100%;
            display: flex;
            align-items: center;
            gap: 20px;
        }

        .header__logo {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 22px;
            font-weight: 800;
            color: var(--primary);
            flex-shrink: 0;
            transition: var(--transition);
        }
        .header__logo i {
            font-size: 26px;
            color: var(--primary);
        }
        .header__logo span {
            color: var(--secondary);
        }
        .header__logo:hover {
            transform: scale(1.02);
            color: var(--primary-dark);
        }

        .header__search {
            flex: 1;
            max-width: 420px;
            position: relative;
            display: flex;
            align-items: center;
            background: var(--bg);
            border-radius: 50px;
            padding: 0 16px;
            border: 2px solid transparent;
            transition: var(--transition);
        }
        .header__search:focus-within {
            border-color: var(--primary);
            background: #fff;
            box-shadow: 0 0 0 4px var(--primary-light);
        }
        .header__search i {
            color: var(--text-light);
            font-size: 16px;
            margin-right: 10px;
        }
        .header__search input {
            flex: 1;
            background: transparent;
            padding: 10px 0;
            color: var(--text);
            font-size: 15px;
            min-width: 0;
        }
        .header__search input::placeholder {
            color: var(--text-light);
            font-weight: 400;
        }

        .header__nav {
            display: flex;
            align-items: center;
            gap: 6px;
            margin-left: auto;
        }
        .header__nav a {
            padding: 8px 18px;
            border-radius: 50px;
            font-size: 15px;
            font-weight: 500;
            color: var(--text);
            transition: var(--transition);
            white-space: nowrap;
        }
        .header__nav a:hover {
            background: var(--primary-light);
            color: var(--primary-dark);
        }
        .header__nav a.active {
            background: var(--primary);
            color: #fff;
            box-shadow: 0 4px 12px rgba(231, 76, 60, 0.35);
        }

        .header__toggle {
            display: none;
            background: transparent;
            font-size: 24px;
            color: var(--text);
            padding: 8px 12px;
            border-radius: 10px;
            cursor: pointer;
            transition: var(--transition);
        }
        .header__toggle:hover {
            background: var(--bg);
        }

        /* ===== Mobile Nav ===== */
        @media (max-width: 900px) {
            .header__search {
                max-width: 200px;
            }
            .header__nav {
                position: fixed;
                top: var(--header-h);
                left: 0;
                width: 100%;
                background: rgba(255, 255, 255, 0.98);
                backdrop-filter: blur(12px);
                -webkit-backdrop-filter: blur(12px);
                flex-direction: column;
                padding: 16px 24px 24px;
                gap: 8px;
                box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
                transform: translateY(-120%);
                opacity: 0;
                pointer-events: none;
                transition: var(--transition);
                border-bottom: 2px solid var(--border-light);
            }
            .header__nav.open {
                transform: translateY(0);
                opacity: 1;
                pointer-events: auto;
            }
            .header__nav a {
                width: 100%;
                text-align: center;
                padding: 12px 18px;
                font-size: 16px;
            }
            .header__toggle {
                display: block;
            }
        }

        @media (max-width: 520px) {
            .header__inner {
                padding: 0 12px;
                gap: 10px;
            }
            .header__logo span {
                font-size: 16px;
            }
            .header__logo i {
                font-size: 20px;
            }
            .header__search {
                max-width: 140px;
                padding: 0 10px;
            }
            .header__search input {
                font-size: 13px;
                padding: 8px 0;
            }
            .header__search i {
                font-size: 14px;
                margin-right: 6px;
            }
        }

        /* ===== Hero / Banner ===== */
        .hero {
            background: linear-gradient(135deg, var(--secondary) 0%, var(--bg-dark) 100%);
            padding: 80px 0 60px;
            position: relative;
            overflow: hidden;
            min-height: 320px;
            display: flex;
            align-items: center;
        }
        .hero::before {
            content: '';
            position: absolute;
            inset: 0;
            background: url('/assets/images/backpic/back-1.png') center center / cover no-repeat;
            opacity: 0.20;
            mix-blend-mode: overlay;
        }
        .hero::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 80px;
            background: linear-gradient(to top, var(--bg), transparent);
        }
        .hero .container {
            position: relative;
            z-index: 2;
            text-align: center;
        }
        .hero__badge {
            display: inline-block;
            background: var(--accent);
            color: var(--secondary);
            padding: 6px 20px;
            border-radius: 50px;
            font-size: 14px;
            font-weight: 700;
            letter-spacing: 0.5px;
            margin-bottom: 20px;
            box-shadow: 0 4px 14px rgba(243, 156, 18, 0.35);
        }
        .hero__title {
            font-size: 48px;
            font-weight: 900;
            color: #fff;
            line-height: 1.15;
            margin-bottom: 16px;
            text-shadow: 0 2px 20px rgba(0, 0, 0, 0.25);
        }
        .hero__title span {
            color: var(--accent);
        }
        .hero__desc {
            font-size: 18px;
            color: rgba(255, 255, 255, 0.85);
            max-width: 680px;
            margin: 0 auto 28px;
            line-height: 1.7;
        }
        .hero__actions {
            display: flex;
            justify-content: center;
            gap: 16px;
            flex-wrap: wrap;
        }

        .btn {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            padding: 14px 34px;
            border-radius: 50px;
            font-size: 16px;
            font-weight: 600;
            background: var(--primary);
            color: #fff;
            box-shadow: 0 4px 16px rgba(231, 76, 60, 0.35);
            transition: var(--transition);
            cursor: pointer;
            border: none;
            line-height: 1.2;
        }
        .btn:hover {
            background: var(--primary-dark);
            box-shadow: 0 8px 28px rgba(231, 76, 60, 0.45);
            transform: translateY(-2px);
            color: #fff;
        }
        .btn:active {
            transform: translateY(0);
            box-shadow: 0 2px 8px rgba(231, 76, 60, 0.3);
        }
        .btn--outline {
            background: transparent;
            color: #fff;
            box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.5);
        }
        .btn--outline:hover {
            background: rgba(255, 255, 255, 0.12);
            box-shadow: inset 0 0 0 2px #fff;
            transform: translateY(-2px);
            color: #fff;
        }
        .btn--secondary {
            background: var(--secondary);
            box-shadow: 0 4px 16px rgba(44, 62, 80, 0.3);
        }
        .btn--secondary:hover {
            background: var(--secondary-light);
            box-shadow: 0 8px 28px rgba(44, 62, 80, 0.4);
        }

        @media (max-width: 768px) {
            .hero {
                padding: 60px 0 40px;
                min-height: 260px;
            }
            .hero__title {
                font-size: 34px;
            }
            .hero__desc {
                font-size: 16px;
            }
            .btn {
                padding: 12px 26px;
                font-size: 15px;
            }
        }
        @media (max-width: 520px) {
            .hero__title {
                font-size: 28px;
            }
            .hero__desc {
                font-size: 15px;
            }
            .hero__actions {
                flex-direction: column;
                align-items: center;
            }
            .btn {
                width: 100%;
                max-width: 280px;
                justify-content: center;
            }
        }

        /* ===== Section Shared ===== */
        .section {
            padding: var(--spacer) 0;
        }
        .section__header {
            text-align: center;
            margin-bottom: 48px;
        }
        .section__tag {
            display: inline-block;
            background: var(--primary-light);
            color: var(--primary-dark);
            padding: 4px 18px;
            border-radius: 50px;
            font-size: 14px;
            font-weight: 600;
            letter-spacing: 0.3px;
            margin-bottom: 12px;
        }
        .section__title {
            font-size: 36px;
            font-weight: 800;
            color: var(--secondary);
            line-height: 1.2;
            margin-bottom: 12px;
        }
        .section__title span {
            color: var(--primary);
        }
        .section__desc {
            font-size: 17px;
            color: var(--text-light);
            max-width: 620px;
            margin: 0 auto;
            line-height: 1.7;
        }

        @media (max-width: 768px) {
            .section {
                padding: 48px 0;
            }
            .section__title {
                font-size: 28px;
            }
            .section__desc {
                font-size: 16px;
            }
            .section__header {
                margin-bottom: 32px;
            }
        }

        /* ===== Cards Grid ===== */
        .card-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 28px;
        }
        .card {
            background: var(--bg-card);
            border-radius: var(--radius);
            box-shadow: var(--shadow);
            overflow: hidden;
            transition: var(--transition);
            display: flex;
            flex-direction: column;
        }
        .card:hover {
            box-shadow: var(--shadow-hover);
            transform: translateY(-6px);
        }
        .card__img {
            width: 100%;
            aspect-ratio: 16 / 10;
            object-fit: cover;
            display: block;
            background: var(--border-light);
        }
        .card__body {
            padding: 24px 22px 26px;
            flex: 1;
            display: flex;
            flex-direction: column;
        }
        .card__tag {
            display: inline-block;
            background: var(--primary-light);
            color: var(--primary-dark);
            font-size: 12px;
            font-weight: 700;
            padding: 3px 14px;
            border-radius: 50px;
            margin-bottom: 10px;
            align-self: flex-start;
            letter-spacing: 0.3px;
        }
        .card__tag--blue {
            background: #dbeafe;
            color: #1e40af;
        }
        .card__tag--green {
            background: #d1fae5;
            color: #065f46;
        }
        .card__tag--purple {
            background: #ede9fe;
            color: #5b21b6;
        }
        .card__tag--orange {
            background: var(--accent-light);
            color: #b45309;
        }
        .card__title {
            font-size: 19px;
            font-weight: 700;
            color: var(--secondary);
            margin-bottom: 8px;
            line-height: 1.35;
        }
        .card__title a {
            color: inherit;
        }
        .card__title a:hover {
            color: var(--primary);
        }
        .card__text {
            font-size: 15px;
            color: var(--text-light);
            line-height: 1.65;
            flex: 1;
            margin-bottom: 16px;
        }
        .card__meta {
            display: flex;
            align-items: center;
            gap: 16px;
            font-size: 13px;
            color: var(--text-light);
            border-top: 1px solid var(--border-light);
            padding-top: 14px;
            margin-top: auto;
        }
        .card__meta i {
            margin-right: 4px;
            color: var(--primary);
        }

        @media (max-width: 520px) {
            .card-grid {
                grid-template-columns: 1fr;
                gap: 20px;
            }
            .card__body {
                padding: 18px 16px 20px;
            }
            .card__title {
                font-size: 17px;
            }
        }

        /* ===== Sub Category Tabs ===== */
        .subnav {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            justify-content: center;
            margin-bottom: 40px;
        }
        .subnav a {
            padding: 10px 24px;
            border-radius: 50px;
            font-size: 15px;
            font-weight: 500;
            background: var(--bg-card);
            color: var(--text);
            box-shadow: var(--shadow);
            transition: var(--transition);
            border: 2px solid transparent;
        }
        .subnav a:hover {
            border-color: var(--primary);
            color: var(--primary-dark);
            transform: translateY(-2px);
        }
        .subnav a.active {
            background: var(--primary);
            color: #fff;
            border-color: var(--primary);
            box-shadow: 0 4px 16px rgba(231, 76, 60, 0.35);
        }

        /* ===== Stats ===== */
        .stats {
            background: var(--secondary);
            padding: 60px 0;
            position: relative;
        }
        .stats::before {
            content: '';
            position: absolute;
            inset: 0;
            background: url('/assets/images/backpic/back-2.png') center center / cover no-repeat;
            opacity: 0.10;
            mix-blend-mode: overlay;
        }
        .stats .container {
            position: relative;
            z-index: 2;
        }
        .stats__grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
            gap: 32px;
            text-align: center;
        }
        .stats__item {
            padding: 20px 10px;
        }
        .stats__num {
            font-size: 48px;
            font-weight: 900;
            color: var(--accent);
            line-height: 1.1;
            margin-bottom: 6px;
            letter-spacing: 1px;
        }
        .stats__label {
            font-size: 16px;
            color: rgba(255, 255, 255, 0.8);
            font-weight: 500;
        }

        @media (max-width: 768px) {
            .stats__num {
                font-size: 36px;
            }
            .stats__grid {
                gap: 20px;
            }
        }

        /* ===== FAQ ===== */
        .faq-list {
            max-width: 780px;
            margin: 0 auto;
            display: flex;
            flex-direction: column;
            gap: 12px;
        }
        .faq-item {
            background: var(--bg-card);
            border-radius: var(--radius-sm);
            box-shadow: var(--shadow);
            overflow: hidden;
            transition: var(--transition);
        }
        .faq-item:hover {
            box-shadow: var(--shadow-hover);
        }
        .faq-item__q {
            padding: 20px 24px;
            font-size: 17px;
            font-weight: 600;
            color: var(--secondary);
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 16px;
            transition: var(--transition);
            user-select: none;
        }
        .faq-item__q:hover {
            color: var(--primary);
        }
        .faq-item__q i {
            color: var(--primary);
            font-size: 18px;
            transition: var(--transition);
            flex-shrink: 0;
        }
        .faq-item.active .faq-item__q i {
            transform: rotate(180deg);
        }
        .faq-item__a {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.4s ease, padding 0.3s ease;
            padding: 0 24px;
            color: var(--text-light);
            font-size: 15px;
            line-height: 1.7;
        }
        .faq-item.active .faq-item__a {
            max-height: 300px;
            padding: 0 24px 20px;
        }

        @media (max-width: 520px) {
            .faq-item__q {
                font-size: 15px;
                padding: 16px 18px;
            }
            .faq-item__a {
                font-size: 14px;
                padding: 0 18px;
            }
            .faq-item.active .faq-item__a {
                padding: 0 18px 16px;
            }
        }

        /* ===== CTA ===== */
        .cta {
            background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
            padding: 64px 0;
            text-align: center;
            position: relative;
            overflow: hidden;
        }
        .cta::before {
            content: '';
            position: absolute;
            inset: 0;
            background: url('/assets/images/backpic/back-3.png') center center / cover no-repeat;
            opacity: 0.10;
            mix-blend-mode: overlay;
        }
        .cta .container {
            position: relative;
            z-index: 2;
        }
        .cta__title {
            font-size: 36px;
            font-weight: 800;
            color: #fff;
            margin-bottom: 12px;
        }
        .cta__desc {
            font-size: 18px;
            color: rgba(255, 255, 255, 0.9);
            max-width: 560px;
            margin: 0 auto 28px;
            line-height: 1.7;
        }
        .cta .btn--outline {
            box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.6);
        }
        .cta .btn--outline:hover {
            box-shadow: inset 0 0 0 2px #fff;
            background: rgba(255, 255, 255, 0.12);
        }

        @media (max-width: 768px) {
            .cta__title {
                font-size: 28px;
            }
            .cta__desc {
                font-size: 16px;
            }
        }

        /* ===== Breadcrumb ===== */
        .breadcrumb {
            padding: 18px 0 0;
            font-size: 14px;
            color: var(--text-light);
            display: flex;
            flex-wrap: wrap;
            gap: 6px 10px;
            align-items: center;
        }
        .breadcrumb a {
            color: var(--text-light);
        }
        .breadcrumb a:hover {
            color: var(--primary);
        }
        .breadcrumb span {
            color: var(--primary);
            font-weight: 500;
        }
        .breadcrumb i {
            font-size: 12px;
            color: var(--border);
        }

        /* ===== Footer ===== */
        .footer {
            background: var(--secondary);
            color: rgba(255, 255, 255, 0.85);
            padding: 56px 0 0;
        }
        .footer__grid {
            display: grid;
            grid-template-columns: 1.6fr 1fr 1fr 1fr;
            gap: 40px;
            padding-bottom: 40px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        }
        .footer__logo {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            font-size: 22px;
            font-weight: 800;
            color: #fff;
            margin-bottom: 14px;
            transition: var(--transition);
        }
        .footer__logo i {
            color: var(--accent);
        }
        .footer__logo:hover {
            color: var(--accent);
        }
        .footer__brand p {
            font-size: 15px;
            line-height: 1.7;
            color: rgba(255, 255, 255, 0.7);
            max-width: 360px;
        }
        .footer__col h4 {
            font-size: 16px;
            font-weight: 700;
            color: #fff;
            margin-bottom: 16px;
            letter-spacing: 0.3px;
        }
        .footer__col a {
            display: block;
            color: rgba(255, 255, 255, 0.7);
            font-size: 15px;
            padding: 4px 0;
            transition: var(--transition);
        }
        .footer__col a:hover {
            color: var(--accent);
            padding-left: 4px;
        }
        .footer__bottom {
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 12px;
            padding: 24px 0;
            font-size: 14px;
            color: rgba(255, 255, 255, 0.55);
        }
        .footer__bottom a {
            color: var(--accent);
        }
        .footer__bottom a:hover {
            text-decoration: underline;
        }

        @media (max-width: 900px) {
            .footer__grid {
                grid-template-columns: 1fr 1fr;
                gap: 32px;
            }
            .footer__brand {
                grid-column: 1 / -1;
            }
        }
        @media (max-width: 520px) {
            .footer__grid {
                grid-template-columns: 1fr;
                gap: 24px;
            }
            .footer__bottom {
                flex-direction: column;
                text-align: center;
            }
        }

        /* ===== Feature list (图文) ===== */
        .feature-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
            gap: 24px;
        }
        .feature-item {
            background: var(--bg-card);
            border-radius: var(--radius-sm);
            padding: 28px 24px;
            box-shadow: var(--shadow);
            text-align: center;
            transition: var(--transition);
            border-top: 4px solid var(--primary);
        }
        .feature-item:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-hover);
        }
        .feature-item__icon {
            font-size: 40px;
            color: var(--primary);
            margin-bottom: 14px;
        }
        .feature-item__title {
            font-size: 18px;
            font-weight: 700;
            color: var(--secondary);
            margin-bottom: 6px;
        }
        .feature-item__text {
            font-size: 15px;
            color: var(--text-light);
            line-height: 1.6;
        }

        /* ===== Guide List ===== */
        .guide-list {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 20px;
        }
        .guide-item {
            display: flex;
            gap: 18px;
            background: var(--bg-card);
            border-radius: var(--radius-sm);
            padding: 18px 20px;
            box-shadow: var(--shadow);
            transition: var(--transition);
            align-items: flex-start;
        }
        .guide-item:hover {
            box-shadow: var(--shadow-hover);
            transform: translateY(-3px);
        }
        .guide-item__num {
            font-size: 28px;
            font-weight: 900;
            color: var(--primary);
            line-height: 1;
            flex-shrink: 0;
            min-width: 40px;
        }
        .guide-item__body h4 {
            font-size: 17px;
            font-weight: 700;
            color: var(--secondary);
            margin-bottom: 4px;
        }
        .guide-item__body p {
            font-size: 14px;
            color: var(--text-light);
            line-height: 1.6;
        }

        @media (max-width: 768px) {
            .guide-list {
                grid-template-columns: 1fr;
            }
        }

        /* ===== Topic Card Special ===== */
        .topic-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
            gap: 24px;
        }
        .topic-card {
            border-radius: var(--radius);
            overflow: hidden;
            position: relative;
            aspect-ratio: 4 / 3;
            display: flex;
            align-items: flex-end;
            box-shadow: var(--shadow);
            transition: var(--transition);
        }
        .topic-card:hover {
            transform: scale(1.02);
            box-shadow: var(--shadow-hover);
        }
        .topic-card__bg {
            position: absolute;
            inset: 0;
            object-fit: cover;
            width: 100%;
            height: 100%;
            background: var(--secondary);
        }
        .topic-card__overlay {
            position: absolute;
            inset: 0;
            background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, transparent 60%);
        }
        .topic-card__body {
            position: relative;
            z-index: 2;
            padding: 24px 22px;
            color: #fff;
            width: 100%;
        }
        .topic-card__body h4 {
            font-size: 20px;
            font-weight: 700;
            margin-bottom: 4px;
        }
        .topic-card__body p {
            font-size: 14px;
            opacity: 0.85;
            line-height: 1.5;
            margin-bottom: 10px;
        }
        .topic-card__body .btn-tiny {
            display: inline-block;
            padding: 6px 18px;
            border-radius: 50px;
            background: var(--primary);
            color: #fff;
            font-size: 13px;
            font-weight: 600;
            transition: var(--transition);
        }
        .topic-card__body .btn-tiny:hover {
            background: var(--primary-dark);
            transform: translateY(-1px);
            color: #fff;
        }

        /* ===== Responsive Helpers ===== */
        @media (max-width: 768px) {
            :root {
                --spacer: 48px;
            }
        }
        @media (max-width: 520px) {
            .feature-grid {
                grid-template-columns: 1fr;
            }
            .topic-grid {
                grid-template-columns: 1fr;
            }
            .subnav a {
                padding: 8px 16px;
                font-size: 14px;
            }
        }

        /* ===== Smooth toggle for faq ===== */
        .faq-item__q {
            cursor: pointer;
        }

        /* ===== Extra spacing ===== */
        .mb-16 {
            margin-bottom: 16px;
        }
        .mt-16 {
            margin-top: 16px;
        }
        .text-center {
            text-align: center;
        }
