/* roulang page: index */
/* ===== 设计变量 ===== */
:root {
  --primary: #2b3a67;
  --primary-dark: #1e2a4a;
  --primary-light: #3b4a7a;
  --accent: #e8a33d;
  --accent-dark: #d18e2c;
  --accent-light: #f7c56c;
  --bg: #f5f7fa;
  --bg-alt: #eef1f5;
  --bg-dark: #141d2e;
  --surface: #ffffff;
  --text: #1e293b;
  --text-light: #64748b;
  --text-lighter: #94a3b8;
  --border: #e2e8f0;
  --border-dark: #cbd5e1;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 16px 40px rgba(0,0,0,0.12);
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
/* ===== 基础 Reset ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
input { font-family: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 700; line-height: 1.3; }
p { margin: 0; }
/* ===== 容器 ===== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
/* ===== 按钮 ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  border: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232, 163, 61, 0.35);
}
.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.6);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: #fff;
  transform: translateY(-2px);
}
.btn-sm {
  padding: 8px 20px;
  font-size: 14px;
}
.btn-dark {
  background: var(--primary);
  color: #fff;
}
.btn-dark:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(43, 58, 103, 0.35);
}
/* ===== Header ===== */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}
.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 0;
}
.logo {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(232, 163, 61, 0.2);
}
.header-search {
  flex: 1;
  max-width: 380px;
  position: relative;
}
.header-search form {
  position: relative;
}
.header-search .fa-search {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  color: var(--text-light);
  pointer-events: none;
}
.header-search input {
  width: 100%;
  padding: 10px 16px 10px 40px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--bg);
  font-size: 14px;
  color: var(--text);
  outline: none;
  transition: all var(--transition);
}
.header-search input:focus {
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(232, 163, 61, 0.15);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: var(--radius-sm);
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--text);
  transition: all var(--transition);
}
.menu-toggle:hover {
  background: var(--bg);
  border-color: var(--border-dark);
}
/* ===== 导航 Tabs ===== */
.header-nav {
  border-top: 1px solid var(--border);
  background: #fafbfc;
}
.nav-tabs {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.nav-tabs::-webkit-scrollbar { display: none; }
.nav-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-light);
  white-space: nowrap;
  transition: all var(--transition);
}
.nav-tab:hover {
  color: var(--primary);
  background: rgba(43, 58, 103, 0.06);
}
.nav-tab.active {
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}
/* ===== Hero ===== */
.hero {
  position: relative;
  background: linear-gradient(135deg, rgba(20, 29, 46, 0.92), rgba(43, 58, 103, 0.82)), url('/assets/images/backpic/back-1.png') center/cover no-repeat;
  color: #fff;
  padding: 100px 0 80px;
  text-align: center;
  overflow: hidden;
}
.hero-content {
  max-width: 760px;
  margin: 0 auto;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  border-radius: var(--radius-pill);
  background: rgba(232, 163, 61, 0.18);
  border: 1px solid rgba(232, 163, 61, 0.35);
  font-size: 13px;
  font-weight: 500;
  color: var(--accent-light);
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}
.hero-badge i {
  font-size: 12px;
}
.hero-title {
  font-size: 46px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin: 0 0 20px;
}
.hero-title .highlight {
  color: var(--accent);
}
.hero-subtitle {
  font-size: 17px;
  line-height: 1.75;
  color: rgba(255,255,255,0.85);
  margin: 0 0 36px;
}
.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 60px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.14);
}
.hero-stat {
  text-align: center;
}
.hero-stat-num {
  font-size: 28px;
  font-weight: 800;
  color: var(--accent);
}
.hero-stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  margin-top: 4px;
}
/* ===== Section 通用 ===== */
.section {
  padding: 80px 0;
}
.section-alt {
  background: var(--bg-alt);
}
.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}
.section-tag {
  display: inline-block;
  padding: 4px 16px;
  border-radius: var(--radius-pill);
  background: rgba(232, 163, 61, 0.12);
  color: #a67b1a;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}
.section-title {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  color: var(--text);
}
.section-subtitle {
  font-size: 16px;
  color: var(--text-light);
  line-height: 1.7;
  margin: 0;
}
/* ===== 核心特色 ===== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 36px 24px 32px;
  transition: all var(--transition);
  text-align: center;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.feature-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: #fff;
  font-size: 22px;
  box-shadow: 0 8px 20px rgba(43, 58, 103, 0.25);
}
.feature-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 10px;
  color: var(--text);
}
.feature-card p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.65;
  margin: 0;
}
/* ===== 分类入口 ===== */
.category-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.category-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.category-img {
  height: 220px;
  overflow: hidden;
  position: relative;
}
.category-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.category-card:hover .category-img img {
  transform: scale(1.05);
}
.category-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(20, 29, 46, 0.35));
}
.category-body {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.category-body h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 10px;
  color: var(--text);
}
.category-body p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.65;
  margin: 0 0 20px;
  flex: 1;
}
.category-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 12px;
  border-radius: var(--radius-pill);
  background: var(--bg);
  border: 1px solid var(--border);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-light);
  transition: all var(--transition);
}
.tag:hover {
  background: rgba(232, 163, 61, 0.1);
  border-color: var(--accent);
  color: #a67b1a;
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  transition: all var(--transition);
}
.link-arrow:hover {
  color: var(--accent);
  gap: 12px;
}
.link-arrow i {
  font-size: 12px;
}
/* ===== 最新资讯列表 ===== */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.post-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: all var(--transition);
}
.post-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
  border-color: transparent;
}
.post-cat {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  padding: 3px 12px;
  border-radius: var(--radius-pill);
  background: rgba(43, 58, 103, 0.08);
  color: var(--primary);
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 14px;
}
.post-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
  margin: 0 0 10px;
  color: var(--text);
}
.post-title a {
  transition: color var(--transition);
}
.post-title a:hover {
  color: var(--accent);
}
.post-desc {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.65;
  margin: 0 0 16px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.post-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-lighter);
  border-top: 1px solid var(--border);
  padding-top: 14px;
  margin-top: auto;
}
.post-meta i {
  font-size: 12px;
  margin-right: 4px;
}
.empty-tip {
  grid-column: 1 / -1;
  text-align: center;
  padding: 48px 0;
  background: var(--surface);
  border: 1px dashed var(--border-dark);
  border-radius: var(--radius);
  color: var(--text-light);
  font-size: 15px;
}
/* ===== 热门推荐 ===== */
.hot-section {
  background: var(--bg-dark);
  padding: 80px 0;
  position: relative;
  background-image: url('/assets/images/backpic/back-2.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
.hot-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(20, 29, 46, 0.92);
}
.hot-section .container {
  position: relative;
  z-index: 1;
}
.hot-section .section-title {
  color: #fff;
}
.hot-section .section-subtitle {
  color: rgba(255,255,255,0.6);
}
.hot-section .section-tag {
  background: rgba(232, 163, 61, 0.18);
  color: var(--accent-light);
}
.hot-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.hot-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
  backdrop-filter: blur(4px);
}
.hot-card:hover {
  transform: translateY(-4px);
  border-color: rgba(232, 163, 61, 0.4);
  background: rgba(255,255,255,0.1);
  box-shadow: 0 16px 40px rgba(0,0,0,0.3);
}
.hot-img {
  height: 150px;
  overflow: hidden;
}
.hot-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.hot-card:hover .hot-img img {
  transform: scale(1.06);
}
.hot-body {
  padding: 18px 20px 20px;
}
.hot-tag {
  display: inline-flex;
  padding: 2px 10px;
  border-radius: var(--radius-pill);
  background: rgba(232, 163, 61, 0.18);
  color: var(--accent-light);
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 10px;
}
.hot-body h3 {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 8px;
  line-height: 1.4;
}
.hot-body p {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  line-height: 1.55;
  margin: 0;
}
/* ===== 使用流程 ===== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.process-step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  position: relative;
  transition: all var(--transition);
}
.process-step:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  margin: 0 auto 16px;
  box-shadow: 0 6px 16px rgba(43, 58, 103, 0.3);
}
.process-step h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--text);
}
.process-step p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
  margin: 0;
}
/* ===== FAQ ===== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
}
.faq-item:hover {
  border-color: var(--border-dark);
  box-shadow: var(--shadow-sm);
}
.faq-item.active {
  border-color: var(--accent);
  box-shadow: 0 4px 20px rgba(232, 163, 61, 0.12);
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  background: none;
  border: none;
  text-align: left;
  transition: color var(--transition);
}
.faq-q:hover {
  color: var(--primary);
}
.faq-q .faq-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(43, 58, 103, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 13px;
  color: var(--primary);
  transition: all var(--transition);
}
.faq-item.active .faq-icon {
  transform: rotate(45deg);
  background: var(--accent);
  color: #fff;
}
.faq-a {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.3s ease;
}
.faq-item.active .faq-a {
  max-height: 300px;
  padding-bottom: 22px;
}
.faq-a p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
  margin: 0;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}
/* ===== CTA ===== */
.cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
  background-image: url('/assets/images/backpic/back-3.png');
  background-size: cover;
  background-position: center;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(30, 42, 74, 0.94), rgba(43, 58, 103, 0.88));
}
.cta-section .container {
  position: relative;
  z-index: 1;
}
.cta-section .section-title {
  color: #fff;
}
.cta-section .section-subtitle {
  color: rgba(255,255,255,0.75);
}
.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
  flex-wrap: wrap;
}
/* ===== Footer ===== */
.site-footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.65);
  padding: 64px 0 24px;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .logo {
  color: #fff;
  font-size: 20px;
  margin-bottom: 14px;
}
.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
  color: rgba(255,255,255,0.5);
}
.footer-col h4 {
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 18px;
  letter-spacing: 0.02em;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  transition: color var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.footer-links a i {
  font-size: 10px;
  color: var(--accent);
}
.footer-links a:hover {
  color: var(--accent);
}
.footer-bottom {
  padding-top: 24px;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.28);
  line-height: 1.6;
}
/* ===== 响应式 ===== */
@media (max-width: 1024px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .hot-grid { grid-template-columns: repeat(2, 1fr); }
  .posts-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-title { font-size: 38px; }
  .section { padding: 64px 0; }
  .hero { padding: 80px 0 64px; }
}
@media (max-width: 768px) {
  .header-search { display: none; }
  .menu-toggle { display: inline-flex; }
  .header-nav { display: none; }
  .header-nav.open { display: block; }
  .header-search.open {
    display: block;
    max-width: 100%;
    flex: 0 0 100%;
    order: 3;
  }
  .header-top { flex-wrap: wrap; }
  .category-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .hero { padding: 64px 0 48px; }
  .hero-title { font-size: 30px; }
  .hero-subtitle { font-size: 15px; }
  .hero-stats { gap: 32px; margin-top: 40px; padding-top: 24px; }
  .section-title { font-size: 26px; }
  .section-subtitle { font-size: 15px; }
  .section-head { margin-bottom: 32px; }
  .nav-tabs { padding: 8px 0; }
  .hot-section { background-attachment: scroll; }
  .cta-buttons .btn { width: 100%; }
}
@media (max-width: 520px) {
  .container { padding: 0 16px; }
  .feature-grid { grid-template-columns: 1fr; }
  .posts-grid { grid-template-columns: 1fr; }
  .hot-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; gap: 20px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .hero-title { font-size: 26px; }
  .logo { font-size: 18px; }
  .header-actions .btn-sm { padding: 8px 14px; font-size: 13px; }
  .category-img { height: 180px; }
  .section { padding: 48px 0; }
  .footer-top { gap: 24px; }
}

/* roulang page: article */
:root {
  --primary: #1e1b4b;
  --primary-light: #312e81;
  --primary-soft: #eef2ff;
  --accent: #f59e0b;
  --accent-soft: #fef3c7;
  --bg: #f8fafc;
  --bg-dark: #0f172a;
  --text: #1e293b;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --card-bg: #ffffff;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 2px 12px rgba(15, 23, 42, 0.06);
  --shadow: 0 6px 30px rgba(15, 23, 42, 0.1);
  --shadow-hover: 0 14px 40px rgba(15, 23, 42, 0.16);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

ul,
ol {
  list-style: none;
}

button,
input {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
  background: none;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ===== Header ===== */
.site-header {
  background: var(--bg-dark);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.logo-dot {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), #f97316);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.4);
  flex-shrink: 0;
}

.logo-dot::after {
  content: "PG";
  font-size: 14px;
  font-weight: 900;
  color: #fff;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.search-box {
  position: relative;
  display: flex;
  align-items: center;
}

.search-box input {
  width: 220px;
  height: 40px;
  border-radius: 40px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  padding: 0 42px 0 18px;
  font-size: 14px;
  transition: var(--transition);
}

.search-box input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.search-box input:focus {
  background: rgba(255, 255, 255, 0.16);
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.12);
}

.search-box i {
  position: absolute;
  right: 16px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  pointer-events: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 40px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #f97316);
  color: #fff;
  box-shadow: 0 4px 18px rgba(245, 158, 11, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(245, 158, 11, 0.45);
}

.btn-outline {
  border-color: rgba(255, 255, 255, 0.25);
  color: #fff;
  background: transparent;
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-lg {
  padding: 16px 40px;
  font-size: 17px;
}

/* ===== Nav Tabs ===== */
.header-nav {
  background: var(--bg-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 16px;
}

.nav-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.nav-tabs::-webkit-scrollbar {
  display: none;
}

.nav-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 40px;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.75);
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: var(--transition);
}

.nav-tab i {
  font-size: 14px;
}

.nav-tab:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  transform: translateY(-1px);
}

.nav-tab.active {
  background: linear-gradient(135deg, var(--accent), #f97316);
  color: #fff;
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.35);
}

/* ===== Page Banner ===== */
.page-banner {
  position: relative;
  padding: 80px 0 90px;
  background: url('/assets/images/backpic/back-1.png') center center / cover no-repeat;
  isolation: isolate;
}

.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.92), rgba(30, 27, 75, 0.78));
  z-index: -1;
}

.banner-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.breadcrumb a:hover {
  color: var(--accent);
}

.breadcrumb i {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
}

.banner-content h1 {
  font-size: 40px;
  font-weight: 800;
  color: #fff;
  line-height: 1.3;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.banner-desc {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
  max-width: 560px;
  line-height: 1.8;
}

/* ===== Article Layout ===== */
.article-section {
  padding: 70px 0 80px;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 48px;
  align-items: start;
}

.article-main {
  min-width: 0;
}

.article-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 48px 50px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(226, 232, 240, 0.6);
}

.article-title {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.4;
  color: var(--text);
  margin-bottom: 20px;
}

.article-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-bottom: 24px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--border);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  background: var(--primary-soft);
  color: var(--primary-light);
}

.badge-accent {
  background: var(--accent-soft);
  color: #b45309;
}

.meta-time,
.meta-read {
  font-size: 14px;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.article-content {
  font-size: 16px;
  line-height: 2;
  color: #334155;
}

.article-content h2,
.article-content h3,
.article-content h4 {
  margin: 32px 0 16px;
  color: var(--text);
  line-height: 1.4;
  font-weight: 700;
}

.article-content h2 {
  font-size: 24px;
  padding-left: 16px;
  border-left: 4px solid var(--accent);
}

.article-content h3 {
  font-size: 20px;
}

.article-content p {
  margin-bottom: 20px;
}

.article-content ul,
.article-content ol {
  margin-bottom: 20px;
  padding-left: 24px;
}

.article-content ul li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 8px;
}

.article-content ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.article-content ol li {
  padding-left: 6px;
  margin-bottom: 8px;
}

.article-content img {
  border-radius: var(--radius-md);
  margin: 24px 0;
  box-shadow: var(--shadow-sm);
}

.article-content blockquote {
  background: var(--primary-soft);
  border-left: 4px solid var(--primary-light);
  padding: 20px 24px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 24px 0;
  color: var(--text);
  font-style: italic;
}

.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 15px;
}

.article-content table th,
.article-content table td {
  padding: 12px 16px;
  border: 1px solid var(--border);
  text-align: left;
}

.article-content table th {
  background: var(--primary-soft);
  font-weight: 600;
}

.article-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 24px;
  margin-top: 32px;
  border-top: 1px solid var(--border);
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 13px;
  color: var(--text-muted);
  background: var(--bg);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.tag:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ===== Article Sidebar ===== */
.article-sidebar {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.sidebar-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(226, 232, 240, 0.6);
}

.sidebar-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--primary-soft);
  position: relative;
}

.sidebar-card h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 40px;
  height: 2px;
  background: var(--accent);
}

.sidebar-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sidebar-links a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 15px;
  transition: var(--transition);
}

.sidebar-links a:hover {
  background: var(--primary-soft);
  color: var(--primary-light);
  transform: translateX(4px);
}

.sidebar-links a i {
  font-size: 13px;
  color: var(--accent);
  width: 16px;
  text-align: center;
}

.mini-card {
  display: flex;
  gap: 14px;
  padding: 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  border: 1px solid transparent;
}

.mini-card + .mini-card {
  border-top-color: var(--border);
}

.mini-card:hover {
  background: var(--bg);
  border-color: var(--border);
  transform: translateX(4px);
}

.mini-card img {
  width: 80px;
  height: 64px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.mini-card-info {
  min-width: 0;
}

.mini-card-info h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mini-card-info span {
  font-size: 13px;
  color: var(--text-muted);
}

.cta-card {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  border: none;
}

.cta-card h3 {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.15);
}

.cta-card p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 20px;
  line-height: 1.8;
}

.cta-card .btn {
  width: 100%;
}

/* ===== Related Section ===== */
.related-section {
  padding: 80px 0;
  background: #fff;
  border-top: 1px solid var(--border);
}

.section-head {
  text-align: center;
  margin-bottom: 44px;
}

.section-head h2 {
  font-size: 32px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 12px;
}

.section-head p {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
}

.section-head .sub-line {
  width: 48px;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--accent), #f97316);
  margin: 18px auto 0;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.related-card {
  display: flex;
  gap: 24px;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--bg);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.related-card:hover {
  background: #fff;
  border-color: var(--accent);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.related-card img {
  width: 200px;
  height: 140px;
  object-fit: cover;
  border-radius: var(--radius-md);
  flex-shrink: 0;
}

.related-card-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.related-card-body h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.4;
}

.related-card-body p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.related-card-body .link-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-weight: 600;
  font-size: 14px;
  margin-top: 12px;
}

.related-card-body .link-more i {
  font-size: 12px;
  transition: var(--transition);
}

.related-card:hover .link-more i {
  transform: translateX(4px);
}

/* ===== CTA Section ===== */
.cta-section {
  padding: 80px 0;
  background: url('/assets/images/backpic/back-2.png') center center / cover no-repeat;
  position: relative;
  isolation: isolate;
}

.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.9);
  z-index: -1;
}

.cta-box {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  color: #fff;
}

.cta-box h2 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 18px;
  letter-spacing: 1px;
}

.cta-box p {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 32px;
  line-height: 1.8;
}

.cta-btns {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ===== Not Found ===== */
.not-found {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 60px 48px;
  box-shadow: var(--shadow-sm);
  text-align: center;
  border: 1px solid var(--border);
}

.not-found i {
  font-size: 56px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.not-found h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}

.not-found p {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 28px;
}

/* ===== Footer ===== */
.site-footer {
  background: var(--bg-dark);
  color: #94a3b8;
  padding: 60px 0 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .logo {
  color: #fff;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 15px;
  line-height: 1.8;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.6);
  max-width: 360px;
}

.footer-col h4 {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}

.footer-col h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 28px;
  height: 3px;
  border-radius: 3px;
  background: var(--accent);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 15px;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--accent);
  padding-left: 4px;
}

.footer-links a i {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.3);
}

.footer-bottom {
  padding: 24px 0;
  text-align: center;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.6);
}

.footer-bottom a:hover {
  color: var(--accent);
}

/* focus 状态 */
a:focus,
button:focus,
input:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-sidebar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .cta-card {
    grid-column: span 2;
  }

  .related-card {
    flex-direction: column;
  }

  .related-card img {
    width: 100%;
    height: 180px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }

  .header-top {
    height: 64px;
  }

  .logo {
    font-size: 18px;
  }

  .logo-dot {
    width: 32px;
    height: 32px;
    border-radius: 10px;
  }

  .logo-dot::after {
    font-size: 12px;
  }

  .search-box {
    display: none;
  }

  .header-actions .btn {
    padding: 10px 18px;
    font-size: 14px;
  }

  .banner-content h1 {
    font-size: 30px;
  }

  .article-card {
    padding: 32px 28px;
  }

  .article-title {
    font-size: 26px;
  }

  .article-sidebar {
    grid-template-columns: 1fr;
  }

  .cta-card {
    grid-column: span 1;
  }

  .related-grid {
    grid-template-columns: 1fr;
  }

  .cta-section {
    padding: 60px 0;
  }

  .cta-box h2 {
    font-size: 28px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .page-banner {
    padding: 56px 0 64px;
  }
}

@media (max-width: 520px) {
  .container {
    padding: 0 16px;
  }

  .logo span:not(.logo-dot) {
    font-size: 16px;
  }

  .logo-dot {
    width: 28px;
    height: 28px;
    border-radius: 8px;
  }

  .logo-dot::after {
    font-size: 10px;
  }

  .header-actions .btn {
    padding: 8px 14px;
    font-size: 13px;
  }

  .nav-tab {
    padding: 8px 14px;
    font-size: 14px;
  }

  .banner-content h1 {
    font-size: 24px;
  }

  .banner-desc {
    font-size: 15px;
  }

  .article-card {
    padding: 24px 18px;
  }

  .article-title {
    font-size: 22px;
  }

  .article-meta {
    gap: 8px;
  }

  .meta-read {
    display: none;
  }

  .article-content {
    font-size: 15px;
  }

  .article-content h2 {
    font-size: 20px;
  }

  .cta-btns {
    flex-direction: column;
  }

  .cta-btns .btn {
    width: 100%;
  }

  .related-card {
    padding: 18px;
  }

  .related-card img {
    height: 140px;
  }

  .footer-bottom {
    font-size: 13px;
    line-height: 1.6;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* roulang page: category1 */
/* ============ 设计变量 ============ */
:root {
  --bg: #0a0e17;
  --bg-soft: #111926;
  --bg-deep: #070b12;
  --card: #161f30;
  --card-hover: #1b263a;
  --primary: #ffc145;
  --primary-dark: #e6a92f;
  --secondary: #5b8def;
  --secondary-dark: #3d6fd6;
  --text: #e8edf4;
  --text-weak: #8b99ae;
  --text-muted: #5f6c80;
  --border: #232f45;
  --border-light: #2e3c55;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow: 0 14px 34px rgba(0, 0, 0, 0.38);
  --shadow-sm: 0 6px 16px rgba(0, 0, 0, 0.25);
  --transition: 0.25s ease;
  --max-w: 1200px;
  --header-h: 68px;
  --font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

/* ============ 基础 Reset ============ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}
ul,
ol {
  list-style: none;
}
button,
input {
  font-family: inherit;
  font-size: inherit;
}
button {
  cursor: pointer;
  border: none;
  background: none;
}
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ============ 容器 ============ */
.container {
  width: min(var(--max-w), 92%);
  margin-left: auto;
  margin-right: auto;
}

/* ============ 页头 ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 14, 23, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.header-top {
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.header-top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 20px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--text);
  white-space: nowrap;
}
.logo-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 4px rgba(255, 193, 69, 0.18), 0 0 18px rgba(255, 193, 69, 0.5);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.header-search {
  display: flex;
  align-items: center;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 8px 6px 16px;
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 250px;
}
.header-search:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 193, 69, 0.12);
}
.header-search input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text);
  font-size: 0.9rem;
}
.header-search input::placeholder {
  color: var(--text-weak);
}
.header-search button {
  color: var(--text-weak);
  padding: 6px 10px;
  border-radius: 50%;
  transition: color var(--transition), background var(--transition);
}
.header-search button:hover {
  color: var(--primary);
  background: rgba(255, 193, 69, 0.1);
}

/* 导航 Tabs */
.header-nav {
  position: relative;
}
.nav-tabs {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 0;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.nav-tabs::-webkit-scrollbar {
  display: none;
}
.nav-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-weak);
  white-space: nowrap;
  border: 1px solid transparent;
  transition: all var(--transition);
}
.nav-tab i {
  font-size: 0.9rem;
  opacity: 0.8;
}
.nav-tab:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}
.nav-tab.active {
  color: var(--bg);
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 4px 14px rgba(255, 193, 69, 0.28);
}
.nav-tab.active i {
  opacity: 1;
}

/* ============ 页面 Hero ============ */
.page-hero {
  position: relative;
  padding: 88px 0 72px;
  background-image: linear-gradient(135deg, rgba(13, 18, 28, 0.82), rgba(7, 11, 18, 0.94)), url("/assets/images/backpic/back-1.png");
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid var(--border);
}
.page-hero-inner {
  max-width: 800px;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-weak);
  margin-bottom: 22px;
}
.breadcrumb a {
  color: var(--text-weak);
}
.breadcrumb a:hover {
  color: var(--primary);
}
.breadcrumb .sep {
  color: var(--text-muted);
}
.breadcrumb .current {
  color: var(--primary);
  font-weight: 600;
}
.page-hero h1 {
  font-size: clamp(2rem, 4.6vw, 3.2rem);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: 1px;
  margin-bottom: 18px;
  color: var(--text);
}
.page-hero h1 span {
  color: var(--primary);
}
.page-hero p {
  font-size: 1.06rem;
  color: var(--text-weak);
  line-height: 1.8;
  margin-bottom: 30px;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hero-meta .meta-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-weak);
}
.hero-meta .meta-item i {
  color: var(--primary);
}

/* ============ 子分类标签 ============ */
.cat-tabs-section {
  padding: 48px 0 0;
}
.cat-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.cat-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--border);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-weak);
  transition: all var(--transition);
}
.cat-tab i {
  font-size: 0.8rem;
}
.cat-tab:hover {
  color: var(--text);
  border-color: var(--primary);
  transform: translateY(-2px);
}
.cat-tab.active {
  background: var(--primary);
  color: var(--bg);
  border-color: var(--primary);
  font-weight: 700;
}

/* ============ 攻略卡片网格 ============ */
.section {
  padding: 60px 0;
}
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 32px;
}
.section-header .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.section-header h2 {
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  font-weight: 800;
  line-height: 1.3;
}
.section-header p {
  color: var(--text-weak);
  font-size: 0.95rem;
  max-width: 500px;
  margin-top: 6px;
}
.section-link {
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
}
.section-link:hover {
  color: var(--primary-dark);
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.guide-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.guide-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: var(--border-light);
}
.guide-card-cover {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.guide-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.guide-card:hover .guide-card-cover img {
  transform: scale(1.04);
}
.guide-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(7, 11, 18, 0.7));
}
.guide-card-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(10, 14, 23, 0.72);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text);
}
.guide-card-tag.hot {
  background: var(--primary);
  color: var(--bg);
  border-color: var(--primary);
}
.guide-card-body {
  padding: 22px 22px 24px;
}
.guide-card-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.45;
  margin-bottom: 10px;
  color: var(--text);
}
.guide-card-body h3 a:hover {
  color: var(--primary);
}
.guide-card-desc {
  font-size: 0.88rem;
  color: var(--text-weak);
  line-height: 1.65;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.guide-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--text-muted);
}
.guide-card-meta .views i {
  margin-right: 4px;
}

/* ============ 流程步骤 ============ */
.steps-section {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.step-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: all var(--transition);
}
.step-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 193, 69, 0.14);
  color: var(--primary);
  font-weight: 800;
  font-size: 1rem;
  margin-bottom: 18px;
  border: 1px solid rgba(255, 193, 69, 0.3);
}
.step-card h3 {
  font-size: 1.02rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.step-card p {
  font-size: 0.86rem;
  color: var(--text-weak);
  line-height: 1.65;
}

/* ============ 最新攻略列表 ============ */
.list-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.content-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-list-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}
.content-list-item:last-child {
  border-bottom: none;
}
.content-list-item:hover {
  padding-left: 8px;
}
.content-list-thumb {
  flex-shrink: 0;
  width: 110px;
  height: 78px;
  border-radius: var(--radius);
  overflow: hidden;
}
.content-list-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.content-list-item:hover .content-list-thumb img {
  transform: scale(1.06);
}
.content-list-body {
  flex: 1;
}
.content-list-body h3 {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 6px;
}
.content-list-body h3 a:hover {
  color: var(--primary);
}
.content-list-body .text {
  font-size: 0.84rem;
  color: var(--text-weak);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 8px;
}
.content-list-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.78rem;
  color: var(--text-muted);
}
.content-list-meta i {
  font-size: 0.72rem;
  margin-right: 4px;
}

/* ============ FAQ ============ */
.faq-section {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.faq-list {
  max-width: 820px;
  margin: 0 auto;
}
.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 14px;
  overflow: hidden;
  transition: border-color var(--transition);
}
.faq-item:hover {
  border-color: var(--border-light);
}
.faq-item.open {
  border-color: var(--primary);
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  transition: color var(--transition);
}
.faq-question:hover {
  color: var(--primary);
}
.faq-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-weak);
  font-size: 0.8rem;
  transition: all var(--transition);
}
.faq-item.open .faq-icon {
  background: var(--primary);
  color: var(--bg);
  transform: rotate(45deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.3s ease;
  padding: 0 24px;
  font-size: 0.92rem;
  color: var(--text-weak);
  line-height: 1.75;
}
.faq-item.open .faq-answer {
  max-height: 220px;
  padding: 0 24px 22px;
}

/* ============ CTA ============ */
.cta-section {
  padding: 64px 0;
}
.cta-box {
  position: relative;
  background-image: linear-gradient(135deg, rgba(13, 18, 28, 0.84), rgba(7, 11, 18, 0.92)), url("/assets/images/backpic/back-3.png");
  background-size: cover;
  background-position: center;
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  text-align: center;
  border: 1px solid var(--border);
  overflow: hidden;
}
.cta-box h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 12px;
}
.cta-box p {
  color: var(--text-weak);
  max-width: 520px;
  margin: 0 auto 28px;
  font-size: 0.98rem;
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

/* ============ 按钮 ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: all var(--transition);
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--primary);
  color: var(--bg);
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(255, 193, 69, 0.3);
}
.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border-light);
}
.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

/* ============ 页脚 ============ */
.site-footer {
  background: var(--bg-deep);
  border-top: 2px solid var(--border);
  padding: 60px 0 0;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}
.footer-brand .logo {
  margin-bottom: 16px;
}
.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-weak);
  line-height: 1.75;
  margin-top: 12px;
}
.footer-col h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text);
  position: relative;
  padding-bottom: 10px;
}
.footer-col h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 28px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}
.footer-links li {
  margin-bottom: 10px;
}
.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-weak);
  transition: all var(--transition);
}
.footer-links a i {
  font-size: 0.7rem;
  color: var(--text-muted);
  transition: transform var(--transition), color var(--transition);
}
.footer-links a:hover {
  color: var(--primary);
  padding-left: 4px;
}
.footer-links a:hover i {
  color: var(--primary);
  transform: translateX(3px);
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding: 20px 0;
  font-size: 0.82rem;
  color: var(--text-muted);
}
.footer-bottom p {
  margin: 0;
}

/* ============ 响应式 ============ */
@media (max-width: 1024px) {
  .guide-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
  .list-layout {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 768px) {
  .header-top-inner {
    height: 60px;
  }
  .header-search {
    width: 180px;
  }
  .page-hero {
    padding: 60px 0 50px;
  }
  .section {
    padding: 44px 0;
  }
  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 24px;
  }
  .guide-grid {
    gap: 16px;
  }
  .cta-box {
    padding: 36px 24px;
  }
}
@media (max-width: 520px) {
  .header-top-inner {
    flex-wrap: wrap;
    height: auto;
    padding: 10px 0;
    gap: 10px;
  }
  .header-search {
    width: 100%;
    order: 3;
  }
  .nav-tab {
    padding: 7px 14px;
    font-size: 0.88rem;
  }
  .guide-grid {
    grid-template-columns: 1fr;
  }
  .steps-grid {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .cta-actions {
    flex-direction: column;
  }
  .cta-actions .btn {
    justify-content: center;
  }
  .hero-meta {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* roulang page: category2 */
:root {
    --primary: #1e2a4a;
    --primary-light: #2d3f6e;
    --primary-soft: #eef1f8;
    --accent: #f59e0b;
    --accent-hover: #d97706;
    --accent-soft: #fef3c7;
    --bg: #f6f7fb;
    --white: #ffffff;
    --text: #1e293b;
    --text-muted: #64748b;
    --border: #e2e8f0;
    --radius: 16px;
    --radius-sm: 10px;
    --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 20px 45px rgba(15, 23, 42, 0.12);
    --shadow-accent: 0 10px 25px rgba(245, 158, 11, 0.25);
    --transition: all 0.3s ease;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    line-height: 1.7;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

ul, ol {
    list-style: none;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    border: none;
    outline: none;
    background: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- 按钮 ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.4;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--accent);
    color: var(--white);
    box-shadow: var(--shadow-accent);
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(245, 158, 11, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255, 255, 255, 0.45);
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
}

.btn-ghost {
    background: var(--primary-soft);
    color: var(--primary);
}

.btn-ghost:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.btn:focus-visible {
    outline: 3px solid rgba(245, 158, 11, 0.4);
    outline-offset: 2px;
}

/* ---------- 标签/徽章 ---------- */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    background: var(--accent-soft);
    color: var(--accent-hover);
}

.badge-light {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    backdrop-filter: blur(6px);
}

.tag {
    display: inline-block;
    padding: 3px 12px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 500;
    background: var(--primary-soft);
    color: var(--primary-light);
    border: 1px solid #dce3f2;
    transition: var(--transition);
}

.tag:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.tag-accent {
    background: var(--accent-soft);
    color: var(--accent-hover);
    border-color: #fde68a;
}

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--white);
    box-shadow: 0 2px 18px rgba(15, 23, 42, 0.06);
}

.header-top {
    border-bottom: 1px solid var(--border);
    background: var(--white);
}

.header-top-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.3px;
    transition: var(--transition);
}

.logo:hover {
    color: var(--accent);
}

.logo-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.2);
}

.header-tools {
    display: flex;
    align-items: center;
    gap: 16px;
}

.search-form {
    display: flex;
    align-items: center;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 50px;
    padding: 5px 6px 5px 16px;
    transition: var(--transition);
    width: 260px;
}

.search-form:focus-within {
    border-color: var(--accent);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.12);
}

.search-form input {
    flex: 1;
    font-size: 14px;
    color: var(--text);
    background: transparent;
    padding: 5px 0;
}

.search-form input::placeholder {
    color: var(--text-muted);
}

.search-form button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    cursor: pointer;
    transition: var(--transition);
    font-size: 14px;
}

.search-form button:hover {
    background: var(--accent);
}

.header-nav {
    background: var(--primary);
}

.nav-tabs {
    display: flex;
    align-items: center;
    gap: 6px;
    min-height: 50px;
    overflow-x: auto;
    scrollbar-width: none;
}

.nav-tabs::-webkit-scrollbar {
    display: none;
}

.nav-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 22px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.82);
    white-space: nowrap;
    transition: var(--transition);
}

.nav-tab i {
    font-size: 14px;
    opacity: 0.8;
}

.nav-tab:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.nav-tab.active {
    background: var(--accent);
    color: var(--white);
    box-shadow: var(--shadow-accent);
}

/* ---------- Page Hero ---------- */
.page-hero {
    position: relative;
    color: var(--white);
    padding: 96px 0 88px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(30, 42, 74, 0.94) 0%, rgba(45, 63, 110, 0.78) 55%, rgba(245, 158, 11, 0.35) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 760px;
}

.page-hero .badge {
    margin-bottom: 18px;
}

.page-hero h1 {
    font-size: 46px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 18px;
}

.page-hero p {
    font-size: 17px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 28px;
}

.hero-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
}

.hero-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* ---------- Section 通用 ---------- */
.section {
    padding: 84px 0;
}

.section-label {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 10px;
}

.section-title {
    font-size: 34px;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.3px;
    line-height: 1.25;
    margin-bottom: 14px;
}

.section-sub {
    font-size: 16px;
    color: var(--text-muted);
    max-width: 640px;
    line-height: 1.7;
}

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.section-head.center {
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.section-head.center .section-sub {
    text-align: center;
}

/* ---------- Intro 板块 ---------- */
.intro-section {
    background: var(--white);
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}

.intro-copy p {
    color: var(--text-muted);
    font-size: 16px;
    margin-bottom: 16px;
}

.intro-copy strong {
    color: var(--text);
    font-weight: 700;
}

.intro-points {
    margin-top: 22px;
    display: grid;
    gap: 14px;
}

.intro-point {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 16px 18px;
    transition: var(--transition);
}

.intro-point:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.intro-point i {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-soft);
    color: var(--primary);
    border-radius: 12px;
    font-size: 17px;
}

.intro-point h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 4px;
}

.intro-point p {
    font-size: 14px;
    margin: 0;
}

.intro-visual {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.intro-visual img {
    width: 100%;
    object-fit: cover;
    aspect-ratio: 4 / 3;
}

.intro-card-float {
    position: absolute;
    left: 18px;
    bottom: 18px;
    right: 18px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border-radius: var(--radius-sm);
    padding: 16px 20px;
    box-shadow: var(--shadow);
}

.intro-card-float .float-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 4px;
}

.intro-card-float .float-desc {
    font-size: 12px;
    color: var(--text-muted);
}

/* ---------- 卡片网格 ---------- */
.cards-section {
    background: var(--bg);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.card-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.card-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.card-cover {
    position: relative;
    overflow: hidden;
    height: 180px;
}

.card-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card-item:hover .card-cover img {
    transform: scale(1.06);
}

.card-cover .badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--accent-hover);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.card-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-body h3 {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text);
    line-height: 1.4;
}

.card-body p {
    font-size: 14px;
    color: var(--text-muted);
    flex: 1;
    line-height: 1.7;
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 18px;
    font-size: 14px;
    font-weight: 600;
    color: var(--accent-hover);
}

.card-link:hover {
    gap: 10px;
    color: var(--primary);
}

/* ---------- 功能矩阵 ---------- */
.matrix-section {
    background: var(--primary);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.matrix-section::before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: rgba(245, 158, 11, 0.1);
    top: -120px;
    right: -100px;
}

.matrix-section::after {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    bottom: -80px;
    left: 10%;
}

.matrix-section .section-title {
    color: var(--white);
}

.matrix-section .section-sub {
    color: rgba(255, 255, 255, 0.7);
}

.matrix-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    position: relative;
    z-index: 2;
}

.matrix-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
    padding: 28px 22px;
    transition: var(--transition);
    backdrop-filter: blur(8px);
}

.matrix-card:hover {
    background: rgba(255, 255, 255, 0.13);
    border-color: var(--accent);
    transform: translateY(-4px);
}

.matrix-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--accent);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 21px;
    margin-bottom: 18px;
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.25);
}

.matrix-card h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
}

.matrix-card p {
    font-size: 13px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.75);
}

/* ---------- 流程 ---------- */
.steps-section {
    background: var(--white);
}

.steps-wrapper {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    position: relative;
    margin-top: 20px;
}

.steps-wrapper::before {
    content: "";
    position: absolute;
    top: 36px;
    left: 5%;
    right: 5%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--primary-light));
    z-index: 0;
    opacity: 0.35;
}

.step-item {
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 0 12px;
}

.step-num {
    width: 72px;
    height: 72px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: var(--white);
    border: 3px solid var(--accent);
    color: var(--accent);
    font-size: 22px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 6px rgba(245, 158, 11, 0.1);
    transition: var(--transition);
}

.step-item:hover .step-num {
    background: var(--accent);
    color: var(--white);
    box-shadow: 0 0 0 8px rgba(245, 158, 11, 0.15);
}

.step-item h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text);
}

.step-item p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ---------- 数据统计 ---------- */
.stats-section {
    background: var(--bg);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.stat-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 30px 24px;
    text-align: center;
    transition: var(--transition);
}

.stat-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow);
    transform: translateY(-4px);
}

.stat-num {
    font-size: 40px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.2;
    margin-bottom: 6px;
}

.stat-num span {
    color: var(--accent);
}

.stat-label {
    font-size: 14px;
    color: var(--text-muted);
}

/* ---------- FAQ ---------- */
.faq-section {
    background: var(--white);
}

.faq-list {
    max-width: 820px;
    margin: 0 auto;
    display: grid;
    gap: 14px;
}

.faq-item {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item[open] {
    border-color: var(--accent);
    box-shadow: var(--shadow);
}

.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 24px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    color: var(--text);
    list-style: none;
    transition: var(--transition);
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "\f067";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 14px;
    color: var(--accent);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-soft);
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
    background: var(--accent);
    color: var(--white);
}

.faq-item summary:hover {
    color: var(--accent-hover);
}

.faq-answer {
    padding: 0 24px 20px;
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.75;
    border-top: 1px dashed var(--border);
    padding-top: 14px;
}

/* ---------- CTA ---------- */
.cta-section {
    position: relative;
    padding: 90px 0;
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
}

.cta-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(30, 42, 74, 0.92), rgba(45, 63, 110, 0.8));
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 640px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 14px;
}

.cta-content p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 28px;
}

.cta-btns {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ---------- Footer ---------- */
.site-footer {
    background: var(--primary);
    color: rgba(255, 255, 255, 0.75);
    padding: 56px 0 28px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-brand .logo {
    color: var(--white);
    font-size: 22px;
    margin-bottom: 14px;
}

.footer-brand .logo .logo-dot {
    background: var(--accent);
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.6);
    max-width: 340px;
}

.footer-col h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
    position: relative;
    padding-bottom: 8px;
}

.footer-col h4::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 24px;
    height: 3px;
    border-radius: 2px;
    background: var(--accent);
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.65);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.footer-links a i {
    font-size: 10px;
    color: var(--accent);
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 4px;
}

.footer-bottom {
    padding-top: 24px;
    text-align: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
}

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .matrix-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .steps-wrapper {
        grid-template-columns: repeat(3, 1fr);
        gap: 32px 16px;
    }
    .steps-wrapper::before {
        display: none;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .intro-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
}

@media (max-width: 768px) {
    .header-top-inner {
        height: auto;
        padding: 14px 0;
        flex-direction: column;
        gap: 12px;
    }
    .header-tools {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
    }
    .search-form {
        width: 100%;
        max-width: 320px;
    }
    .page-hero {
        padding: 70px 0 60px;
    }
    .page-hero h1 {
        font-size: 34px;
    }
    .section {
        padding: 60px 0;
    }
    .section-title {
        font-size: 27px;
    }
    .footer-top {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .nav-tab {
        padding: 8px 16px;
        font-size: 14px;
    }
}

@media (max-width: 520px) {
    .container {
        padding: 0 18px;
    }
    .cards-grid {
        grid-template-columns: 1fr;
    }
    .matrix-grid {
        grid-template-columns: 1fr;
    }
    .stats-grid {
        grid-template-columns: 1fr;
    }
    .steps-wrapper {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .page-hero h1 {
        font-size: 28px;
    }
    .page-hero p {
        font-size: 15px;
    }
    .cta-content h2 {
        font-size: 25px;
    }
    .hero-meta {
        gap: 12px;
        font-size: 12px;
    }
    .section-head {
        flex-direction: column;
        align-items: flex-start;
    }
    .section-head.center {
        align-items: center;
    }
}
