/* roulang page: index */
:root {
  --primary: #2B5FA3;
  --primary-dark: #1E4E8C;
  --primary-light: #4A90C4;
  --secondary-light: #7FB3D5;
  --bg-page: #F7F9FB;
  --bg-card: #FFFFFF;
  --hero-start: #F0F5FA;
  --hero-end: #FFFFFF;
  --text-main: #2C3E50;
  --text-secondary: #5D6D7E;
  --text-muted: #85929E;
  --border: #E5EAF0;
  --success: #27AE60;
  --warning: #F39C12;
  --danger: #E74C3C;
  --radius-card: 12px;
  --radius-btn: 8px;
  --shadow-card: 0 2px 8px rgba(44,62,80,0.06);
  --shadow-hover: 0 8px 24px rgba(44,62,80,0.10);
  --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--primary-dark);
}

a:focus-visible,
button:focus-visible,
.btn:focus-visible {
  outline: 2px solid rgba(43, 95, 163, 0.4);
  outline-offset: 2px;
}

.container {
  max-width: 1200px;
  padding-left: 24px;
  padding-right: 24px;
}

.btn {
  border-radius: var(--radius-btn);
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 500;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.btn-primary {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  color: #fff;
}

.btn-primary:hover {
  background-color: #163D70;
  border-color: #163D70;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(30, 78, 140, 0.25);
}

.btn-outline-primary {
  background: transparent;
  border-color: var(--primary);
  color: var(--primary);
}

.btn-outline-primary:hover {
  background: var(--hero-start);
  border-color: var(--primary);
  color: var(--primary-dark);
  transform: translateY(-1px);
}

.btn-lg {
  padding: 14px 36px;
  font-size: 16px;
}

.btn.disabled,
.btn:disabled {
  background: var(--border);
  border-color: var(--border);
  color: #95A5A6;
}

.badge {
  border-radius: 16px;
  padding: 4px 14px;
  font-size: 13px;
  font-weight: 400;
  background: #EBF3FA;
  color: var(--primary);
}

/* Header */
.site-header {
  background: #fff;
  border-top: 2px solid #D6E4F0;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1030;
  transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
  box-shadow: 0 2px 8px rgba(44, 62, 80, 0.04);
}

.site-header .navbar {
  padding-top: 16px;
  padding-bottom: 16px;
}

.site-header .navbar-brand {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-main);
  letter-spacing: 0.5px;
}

.site-header .navbar-brand span {
  color: var(--primary);
  font-weight: 400;
  font-size: 14px;
  margin-left: 4px;
}

.custom-navbar .nav-link {
  font-size: 15px;
  font-weight: 500;
  color: #4D5F6E;
  padding: 8px 18px !important;
  position: relative;
  transition: color 0.2s ease;
}

.custom-navbar .nav-link:hover {
  color: var(--primary);
}

.custom-navbar .nav-link.active {
  color: var(--primary);
  font-weight: 600;
}

.custom-navbar .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
}

.nav-cta {
  padding: 8px 22px !important;
  font-size: 14px;
  border-radius: var(--radius-btn);
  border: 1px solid var(--primary);
  color: var(--primary);
  background: transparent;
  transition: all 0.2s ease;
}

.nav-cta:hover {
  background: var(--hero-start);
  color: var(--primary-dark);
  transform: translateY(-1px);
}

.navbar-toggler {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 6px 10px;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 3px rgba(43, 95, 163, 0.1);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='%232C3E50' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

@media (max-width: 991.98px) {
  .custom-navbar .navbar-collapse {
    background: #fff;
    border-radius: 12px;
    padding: 16px 20px;
    margin-top: 12px;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border);
  }

  .custom-navbar .nav-link {
    font-size: 18px;
    line-height: 48px;
    border-bottom: 1px solid var(--border);
    padding: 0 12px !important;
  }

  .custom-navbar .nav-link.active::after {
    display: none;
  }

  .custom-navbar .nav-link.active {
    color: var(--primary);
    background: var(--hero-start);
    border-radius: 8px;
  }

  .nav-cta {
    margin-top: 14px;
    width: 100%;
    text-align: center;
  }
}

/* Hero */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, var(--hero-start) 0%, var(--hero-end) 70%);
  padding: 100px 0 90px;
  min-height: 500px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('/assets/images/backpic/back-1.webp');
  background-size: cover;
  background-position: center;
  opacity: 0.05;
  z-index: 0;
}

.hero-section .container {
  position: relative;
  z-index: 1;
}

.hero-content {
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-block;
  background: rgba(43, 95, 163, 0.08);
  color: var(--primary);
  font-size: 13px;
  font-weight: 500;
  padding: 6px 18px;
  border-radius: 16px;
  letter-spacing: 1px;
  margin-bottom: 24px;
}

.hero-content h1 {
  font-size: 40px;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.3;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.hero-subtitle {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 640px;
  margin: 0 auto 36px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.hero-trust {
  display: flex;
  justify-content: center;
  gap: 36px;
  flex-wrap: wrap;
}

.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-secondary);
}

.hero-trust svg {
  width: 18px;
  height: 18px;
  stroke: var(--primary);
  stroke-width: 2;
}

@media (max-width: 767.98px) {
  .hero-section {
    padding: 72px 0 60px;
  }

  .hero-content h1 {
    font-size: 30px;
  }

  .hero-subtitle {
    font-size: 15px;
    text-align: left;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .hero-trust {
    gap: 18px;
  }
}

/* Section */
.site-section {
  padding: 90px 0;
}

.section-head {
  margin-bottom: 48px;
}

.section-head h2 {
  font-size: 30px;
  font-weight: 600;
  color: var(--text-main);
  position: relative;
  padding-left: 16px;
  margin-bottom: 12px;
  line-height: 1.4;
}

.section-head h2::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 3px;
  border-radius: 2px;
  background: var(--primary);
}

.section-head p {
  font-size: 15px;
  color: var(--text-secondary);
  max-width: 720px;
  margin-bottom: 0;
  line-height: 1.7;
}

@media (max-width: 767.98px) {
  .site-section {
    padding: 60px 0;
  }

  .section-head h2 {
    font-size: 24px;
  }
}

/* Directory */
.directory-section {
  background: var(--bg-page);
}

.directory-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.directory-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 32px 28px;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.directory-item:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.directory-icon {
  width: 48px;
  height: 48px;
  background: rgba(43, 95, 163, 0.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  transition: background 0.25s ease;
}

.directory-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--primary);
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.directory-item:hover .directory-icon {
  background: rgba(43, 95, 163, 0.14);
}

.directory-item h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
}

.directory-item h3 a {
  color: var(--text-main);
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.directory-item h3 a:hover {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.directory-item p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 0;
  line-height: 1.6;
}

@media (max-width: 991.98px) {
  .directory-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575.98px) {
  .directory-grid {
    grid-template-columns: 1fr;
  }
}

/* Featured Cards */
.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.featured-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.featured-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.featured-card .card-img {
  aspect-ratio: 16/9;
  overflow: hidden;
}

.featured-card .card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.featured-card:hover .card-img img {
  transform: scale(1.03);
}

.featured-card .card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.featured-card .card-tags {
  margin-bottom: 12px;
}

.featured-card .card-tags .tag {
  font-size: 12px;
  color: var(--primary);
  background: #EBF3FA;
  padding: 4px 12px;
  border-radius: 16px;
  margin-right: 6px;
}

.featured-card .card-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 10px;
  transition: color 0.2s ease;
}

.featured-card .card-title a {
  color: inherit;
}

.featured-card .card-title a:hover {
  color: var(--primary);
}

.featured-card .card-text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 16px;
}

.featured-card .card-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--primary);
}

.featured-card .card-link:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

@media (max-width: 991.98px) {
  .featured-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575.98px) {
  .featured-grid {
    grid-template-columns: 1fr;
  }
}

/* News */
.news-section {
  background: var(--bg-page);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.news-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.news-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.news-card .news-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-size: 13px;
  color: var(--text-muted);
}

.news-card .news-category {
  background: #EBF3FA;
  color: var(--primary);
  padding: 4px 14px;
  border-radius: 16px;
  font-size: 13px;
}

.news-card .news-title {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 8px;
  line-height: 1.5;
}

.news-card .news-title a {
  color: inherit;
}

.news-card .news-title a:hover {
  color: var(--primary);
}

.news-card .news-summary {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
  font-size: 15px;
  background: var(--bg-card);
  border-radius: var(--radius-card);
  border: 1px dashed var(--border);
}

@media (max-width: 767.98px) {
  .news-grid {
    grid-template-columns: 1fr;
  }

  .news-card .news-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}

/* Recommend */
.recommend-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.recommend-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.recommend-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

.recommend-card .rec-img {
  aspect-ratio: 16/9;
  overflow: hidden;
}

.recommend-card .rec-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.recommend-card:hover .rec-img img {
  transform: scale(1.03);
}

.recommend-card .rec-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.recommend-card .rec-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 8px;
  line-height: 1.5;
}

.recommend-card .rec-title a {
  color: inherit;
}

.recommend-card .rec-title a:hover {
  color: var(--primary);
}

.recommend-card .rec-text {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 0;
}

.recommend-card .rec-fav {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 1px solid var(--border);
  transition: all 0.2s ease;
}

.recommend-card .rec-fav svg {
  width: 16px;
  height: 16px;
  stroke: var(--text-muted);
  stroke-width: 2;
  fill: none;
  transition: all 0.2s ease;
}

.recommend-card .rec-fav:hover svg,
.recommend-card .rec-fav.active svg {
  stroke: var(--danger);
  fill: rgba(231, 76, 60, 0.15);
}

@media (max-width: 991.98px) {
  .recommend-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575.98px) {
  .recommend-grid {
    grid-template-columns: 1fr;
  }
}

/* FAQ */
.faq-section {
  background: var(--bg-page);
}

.faq-list {
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  margin-bottom: 16px;
  overflow: hidden;
  transition: box-shadow 0.25s ease;
}

.faq-item:hover {
  box-shadow: var(--shadow-card);
}

.faq-item-header {
  width: 100%;
  background: transparent;
  border: none;
  text-align: left;
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-main);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  transition: color 0.2s ease;
}

.faq-item-header:hover {
  color: var(--primary);
}

.faq-item-header .faq-icon {
  font-size: 20px;
  font-weight: 300;
  color: var(--primary);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item-header[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
}

.faq-item-body {
  padding: 0 24px 20px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

.faq-item-body p {
  margin-bottom: 0;
}

/* CTA */
.cta-section {
  padding: 80px 0;
}

.cta-box {
  background: var(--primary);
  border-radius: 16px;
  max-width: 860px;
  margin: 0 auto;
  padding: 56px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 160px;
  height: 160px;
  border: 2px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.cta-box::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: -60px;
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 50%;
}

.cta-box h2 {
  color: #fff;
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.cta-box p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 15px;
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
}

.btn-cta-light {
  background: #fff;
  color: var(--primary);
  border: 1px solid #fff;
  padding: 12px 30px;
  border-radius: var(--radius-btn);
  font-weight: 500;
  transition: all 0.2s ease;
}

.btn-cta-light:hover {
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary-dark);
  transform: translateY(-1px);
}

.btn-cta-outline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.7);
  padding: 12px 30px;
  border-radius: var(--radius-btn);
  font-weight: 500;
  transition: all 0.2s ease;
}

.btn-cta-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  transform: translateY(-1px);
}

.share-bubble {
  display: none;
  position: absolute;
  bottom: 70px;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border-radius: 10px;
  box-shadow: var(--shadow-hover);
  padding: 12px 16px;
  z-index: 10;
  white-space: nowrap;
  gap: 8px;
}

.share-bubble.show {
  display: flex;
}

.share-bubble .share-item {
  font-size: 13px;
  color: var(--text-main);
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.share-bubble .share-item:hover {
  background: var(--hero-start);
  color: var(--primary);
}

@media (max-width: 575.98px) {
  .cta-box {
    padding: 40px 24px;
  }

  .cta-box h2 {
    font-size: 22px;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-buttons .btn {
    width: 100%;
  }
}

/* Footer */
.site-footer {
  background: #fff;
  border-top: 1px solid var(--border);
  padding: 56px 0 24px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

.footer-brand {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 12px;
}

.footer-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 280px;
}

.footer-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 14px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  font-size: 14px;
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #95A5A6;
  flex-wrap: wrap;
  gap: 8px;
}

@media (max-width: 991.98px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 575.98px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* roulang page: category1 */
:root {
  --primary: #2B5FA3;
  --primary-dark: #1E4E8C;
  --primary-deep: #163D70;
  --secondary: #4A90C4;
  --secondary-light: #7FB3D5;
  --bg: #F7F9FB;
  --card-bg: #FFFFFF;
  --text-main: #2C3E50;
  --text-secondary: #5D6D7E;
  --text-muted: #85929E;
  --border: #E5EAF0;
  --hero-start: #F0F5FA;
  --hero-end: #FFFFFF;
  --radius-lg: 12px;
  --radius-md: 8px;
  --shadow-sm: 0 2px 8px rgba(44, 62, 80, 0.06);
  --shadow-hover: 0 8px 24px rgba(44, 62, 80, 0.10);
  --transition: 0.25s ease;
  --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-main);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover {
  color: var(--primary-dark);
}
img {
  max-width: 100%;
  height: auto;
}
.container {
  max-width: 1200px;
  padding-left: 24px;
  padding-right: 24px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}
.btn:focus-visible {
  outline: 2px solid rgba(43, 95, 163, 0.4);
  outline-offset: 2px;
}
.btn-primary {
  background: var(--primary-dark);
  color: #fff;
  border-color: var(--primary-dark);
}
.btn-primary:hover {
  background: var(--primary-deep);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(30, 78, 140, 0.18);
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover {
  background: var(--hero-start);
  color: var(--primary-dark);
  transform: translateY(-1px);
}
.btn-light-solid {
  background: #fff;
  color: var(--primary-dark);
  border-color: #fff;
}
.btn-light-solid:hover {
  background: rgba(255, 255, 255, 0.92);
  color: var(--primary-deep);
  transform: translateY(-1px);
}
.btn-outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.7);
}
.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: #fff;
  transform: translateY(-1px);
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: #fff;
  border-top: 2px solid #D6E4F0;
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.site-header.scrolled {
  box-shadow: 0 2px 8px rgba(44, 62, 80, 0.04);
}
.custom-navbar {
  padding: 0;
  min-height: 72px;
}
.custom-navbar .navbar-brand {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-main);
  letter-spacing: 0.5px;
  padding: 0;
}
.custom-navbar .navbar-brand span {
  color: var(--primary);
  font-weight: 500;
}
.navbar-nav .nav-item {
  margin: 0 4px;
}
.navbar-nav .nav-link {
  font-size: 15px;
  font-weight: 500;
  color: #4D5F6E;
  padding: 8px 16px;
  border-radius: 6px;
  position: relative;
  transition: color var(--transition);
}
.navbar-nav .nav-link:hover {
  color: var(--primary);
}
.navbar-nav .nav-link.active {
  color: var(--primary);
}
.navbar-nav .nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}
.nav-cta {
  padding: 8px 20px;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid var(--primary);
  color: var(--primary);
  background: transparent;
  border-radius: 8px;
  transition: all var(--transition);
}
.nav-cta:hover {
  background: var(--hero-start);
  color: var(--primary-dark);
  border-color: var(--primary-dark);
}

/* ===== Category Hero ===== */
.category-hero {
  position: relative;
  padding: 72px 0 64px;
  background: linear-gradient(135deg, var(--hero-start) 0%, var(--hero-end) 100%);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('/assets/images/backpic/back-1.webp');
  background-size: cover;
  background-position: center;
  opacity: 0.05;
  pointer-events: none;
}
.category-hero .container {
  position: relative;
  z-index: 1;
}
.breadcrumb-nav {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.breadcrumb-nav a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition);
}
.breadcrumb-nav a:hover {
  color: var(--primary);
}
.breadcrumb-nav .sep {
  color: var(--border);
}
.breadcrumb-nav .current {
  color: var(--text-secondary);
  font-weight: 500;
}
.category-hero h1 {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-main);
  margin-bottom: 16px;
  letter-spacing: 1px;
}
.hero-subtitle {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-secondary);
  max-width: 640px;
  margin-bottom: 28px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ===== Page Directory Nav ===== */
.page-dir-nav {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
  position: sticky;
  top: 72px;
  z-index: 1020;
}
.dir-nav-inner {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}
.dir-link {
  display: inline-flex;
  align-items: center;
  padding: 7px 18px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 999px;
  text-decoration: none;
  transition: all var(--transition);
}
.dir-link:hover {
  color: var(--primary);
  background: var(--hero-start);
  border-color: rgba(43, 95, 163, 0.2);
}
.dir-link.active {
  color: #fff;
  background: var(--primary);
  border-color: var(--primary);
}

/* ===== Section Base ===== */
.content-group {
  padding: 72px 0;
}
.content-group:nth-of-type(even) {
  background: #fff;
}
.section-head {
  margin-bottom: 40px;
}
.section-head .sec-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--secondary);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.section-head h2 {
  font-size: 30px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-main);
  margin-bottom: 12px;
  padding-left: 14px;
  border-left: 3px solid var(--primary);
}
.section-head .sec-desc {
  font-size: 15px;
  color: var(--text-secondary);
  max-width: 560px;
  line-height: 1.7;
}

/* ===== Method Cards ===== */
.method-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  height: 100%;
}
.method-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(43, 95, 163, 0.18);
}
.m-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--hero-start);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--primary);
  font-size: 24px;
  transition: background var(--transition), color var(--transition);
}
.method-card:hover .m-card-icon {
  background: var(--primary);
  color: #fff;
}
.method-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 10px;
}
.method-card p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 0;
}

/* ===== Account Prep Split ===== */
.prep-wrap {
  display: flex;
  align-items: center;
  gap: 48px;
}
.prep-image {
  flex: 0 0 46%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.prep-image img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}
.prep-list {
  flex: 1;
  padding: 0;
  margin: 0;
  list-style: none;
}
.prep-list li {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}
.prep-list li:last-child {
  border-bottom: none;
}
.prep-list .prep-num {
  flex: 0 0 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--hero-start);
  color: var(--primary);
  font-size: 15px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}
.prep-list .prep-body h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 4px;
}
.prep-list .prep-body p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* ===== Troubleshooting Cards ===== */
.ts-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  height: 100%;
  position: relative;
  overflow: hidden;
}
.ts-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--primary);
  opacity: 0.15;
  transition: opacity var(--transition), width var(--transition);
}
.ts-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}
.ts-card:hover::before {
  opacity: 1;
  width: 4px;
}
.ts-card .ts-icon {
  font-size: 28px;
  color: var(--secondary);
  margin-bottom: 16px;
}
.ts-card h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 8px;
}
.ts-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
}

/* ===== FAQ ===== */
.faq-section {
  padding: 72px 0;
  background: #fff;
  border-top: 1px solid var(--border);
}
.faq-inner {
  max-width: 800px;
  margin: 0 auto;
}
.accordion-item {
  border: none;
  border-bottom: 1px solid var(--border);
  background: transparent;
}
.accordion-button {
  background: transparent;
  border-left: 3px solid var(--primary);
  font-size: 16px;
  font-weight: 500;
  color: var(--text-main);
  padding: 20px 16px;
  box-shadow: none !important;
  transition: background var(--transition);
}
.accordion-button:not(.collapsed) {
  background: var(--hero-start);
  color: var(--primary-dark);
}
.accordion-button:focus {
  box-shadow: none;
  outline: 2px solid rgba(43, 95, 163, 0.3);
  outline-offset: -2px;
}
.accordion-button::after {
  content: "+";
  background-image: none !important;
  font-size: 24px;
  font-weight: 300;
  color: var(--primary);
  transform: none;
  transition: transform 0.3s ease;
  width: auto;
  height: auto;
  line-height: 1;
}
.accordion-button:not(.collapsed)::after {
  transform: rotate(45deg);
  color: var(--primary-dark);
}
.accordion-body {
  padding: 8px 16px 24px 20px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-secondary);
  background: var(--hero-start);
  border-radius: 0 0 8px 8px;
}

/* ===== CTA ===== */
.cta-section {
  padding: 72px 0;
  background: var(--primary);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
}
.cta-section::after {
  content: "";
  position: absolute;
  bottom: -80px;
  left: 10%;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
}
.cta-inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}
.cta-inner h2 {
  font-size: 30px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 12px;
}
.cta-inner p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 28px;
  line-height: 1.7;
}
.cta-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== Footer ===== */
.site-footer {
  background: #fff;
  border-top: 1px solid var(--border);
  padding: 56px 0 24px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--border);
}
.footer-brand {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 8px;
}
.footer-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
  max-width: 280px;
}
.footer-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 14px;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li {
  margin-bottom: 10px;
}
.footer-links a {
  font-size: 14px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--transition);
}
.footer-links a:hover {
  color: var(--primary);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  font-size: 13px;
  color: #95A5A6;
  flex-wrap: wrap;
  gap: 8px;
}

/* ===== Responsive ===== */
@media (max-width: 991.98px) {
  .custom-navbar {
    min-height: 60px;
  }
  .navbar-collapse {
    background: #fff;
    padding: 16px 0;
    border-top: 1px solid var(--border);
    margin-top: 10px;
  }
  .navbar-nav .nav-link {
    font-size: 18px;
    line-height: 48px;
    padding: 0 16px;
    border-bottom: 1px solid #f0f3f7;
  }
  .navbar-nav .nav-link.active::after {
    display: none;
  }
  .nav-item {
    width: 100%;
  }
  .nav-cta {
    margin: 16px 0 0;
    width: 100%;
    justify-content: center;
  }
  .navbar-toggler {
    border: none;
    padding: 4px 8px;
  }
  .navbar-toggler:focus {
    box-shadow: none;
    outline: 2px solid rgba(43, 95, 163, 0.3);
  }
  .page-dir-nav {
    top: 60px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .dir-nav-inner {
    flex-wrap: nowrap;
    width: max-content;
  }
  .category-hero {
    padding: 48px 0 40px;
  }
  .category-hero h1 {
    font-size: 30px;
  }
  .prep-wrap {
    flex-direction: column;
    gap: 32px;
  }
  .prep-image {
    flex: none;
    width: 100%;
  }
  .prep-image img {
    height: 220px;
  }
  .content-group {
    padding: 56px 0;
  }
  .faq-section {
    padding: 56px 0;
  }
  .cta-section {
    padding: 56px 0;
  }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}
@media (max-width: 575.98px) {
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }
  .category-hero h1 {
    font-size: 28px;
  }
  .hero-subtitle {
    font-size: 15px;
  }
  .hero-actions {
    flex-direction: column;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .section-head h2 {
    font-size: 22px;
  }
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .cta-inner h2 {
    font-size: 24px;
  }
  .cta-btns {
    flex-direction: column;
  }
  .cta-btns .btn {
    width: 100%;
  }
  .method-card {
    padding: 24px 20px;
  }
  .ts-card {
    padding: 24px 20px;
  }
}

/* roulang page: article */
:root {
            --primary: #2B5FA3;
            --primary-dark: #1E4E8C;
            --primary-darker: #163D70;
            --secondary: #4A90C4;
            --secondary-light: #7FB3D5;
            --bg-body: #F7F9FB;
            --bg-card: #FFFFFF;
            --bg-hero: #F0F5FA;
            --text-main: #2C3E50;
            --text-sub: #5D6D7E;
            --text-weak: #85929E;
            --border: #E5EAF0;
            --success: #27AE60;
            --warning: #F39C12;
            --danger: #E74C3C;
            --radius-card: 12px;
            --radius-btn: 8px;
            --radius-tag: 6px;
            --shadow-card: 0 2px 8px rgba(44, 62, 80, 0.06);
            --shadow-hover: 0 8px 24px rgba(44, 62, 80, 0.10);
            --font-main: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
            --transition: 0.25s ease;
        }

        *,
        *::before,
        *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: var(--font-main);
            font-size: 16px;
            line-height: 1.7;
            color: var(--text-main);
            background: var(--bg-body);
            -webkit-font-smoothing: antialiased;
        }

        a {
            color: var(--primary);
            text-decoration: none;
            transition: color var(--transition), background var(--transition), border-color var(--transition), box-shadow var(--transition);
        }

        a:hover {
            color: var(--primary-dark);
        }

        img {
            max-width: 100%;
            height: auto;
            display: block;
        }

        button {
            font-family: var(--font-main);
        }

        .container {
            max-width: 1200px;
            padding-left: 24px;
            padding-right: 24px;
        }

        /* ===== Header 导航 ===== */
        .site-header {
            position: sticky;
            top: 0;
            z-index: 1000;
            background: rgba(255, 255, 255, 0.96);
            backdrop-filter: blur(8px);
            border-top: 2px solid #D6E4F0;
            border-bottom: 1px solid var(--border);
            box-shadow: 0 2px 8px rgba(44, 62, 80, 0.04);
        }

        .custom-navbar {
            min-height: 72px;
        }

        .navbar-brand {
            font-size: 22px;
            font-weight: 700;
            color: var(--text-main) !important;
            letter-spacing: -0.3px;
        }

        .navbar-brand span {
            color: var(--primary);
            font-weight: 600;
            margin-left: 2px;
        }

        .navbar-brand:hover {
            color: var(--primary) !important;
        }

        .custom-navbar .nav-link {
            font-size: 15px;
            font-weight: 500;
            color: #4D5F6E;
            padding: 8px 16px !important;
            position: relative;
            border-radius: var(--radius-tag);
            transition: color var(--transition), background var(--transition);
        }

        .custom-navbar .nav-link:hover {
            color: var(--primary);
            background: var(--bg-hero);
        }

        .custom-navbar .nav-link.active {
            color: var(--primary);
            font-weight: 600;
        }

        .custom-navbar .nav-link.active::after {
            content: '';
            display: block;
            width: 6px;
            height: 6px;
            background: var(--primary);
            border-radius: 50%;
            margin: 3px auto 0;
        }

        .custom-navbar .nav-link:focus-visible {
            outline: 2px solid rgba(43, 95, 163, 0.4);
            outline-offset: 2px;
        }

        .navbar-toggler {
            border: none;
            padding: 6px 10px;
        }

        .navbar-toggler:focus {
            box-shadow: none;
            outline: 2px solid rgba(43, 95, 163, 0.4);
            border-radius: var(--radius-btn);
        }

        .navbar-toggler-icon {
            background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%232B5FA3' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
        }

        .nav-cta {
            border: 1px solid var(--primary);
            color: var(--primary);
            border-radius: var(--radius-btn);
            padding: 8px 20px;
            font-size: 14px;
            font-weight: 500;
            background: transparent;
            transition: var(--transition);
        }

        .nav-cta:hover {
            background: var(--bg-hero);
            color: var(--primary-dark);
            transform: translateY(-1px);
        }

        .nav-cta:focus-visible {
            outline: 2px solid rgba(43, 95, 163, 0.4);
            outline-offset: 2px;
        }

        /* ===== 面包屑 ===== */
        .page-breadcrumb {
            background: var(--bg-body);
            padding: 16px 0;
            border-bottom: 1px solid var(--border);
        }

        .page-breadcrumb .breadcrumb {
            margin: 0;
        }

        .page-breadcrumb .breadcrumb-item {
            font-size: 13px;
            color: var(--text-weak);
        }

        .page-breadcrumb .breadcrumb-item a {
            color: var(--text-sub);
        }

        .page-breadcrumb .breadcrumb-item a:hover {
            color: var(--primary);
        }

        .page-breadcrumb .breadcrumb-item.active {
            color: var(--text-weak);
            max-width: 280px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .page-breadcrumb .breadcrumb-item+.breadcrumb-item::before {
            color: var(--border);
        }

        /* ===== 文章主体 ===== */
        .article-main-section {
            padding: 48px 0 72px;
            background: linear-gradient(180deg, var(--bg-hero) 0%, var(--bg-body) 220px);
        }

        .article-wrap {
            max-width: 880px;
            margin: 0 auto;
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: var(--radius-card);
            box-shadow: var(--shadow-card);
            padding: 48px 56px;
            transition: box-shadow var(--transition);
        }

        .article-wrap:hover {
            box-shadow: var(--shadow-hover);
        }

        .article-header {
            max-width: 720px;
            margin: 0 auto;
            text-align: center;
            padding-bottom: 32px;
            border-bottom: 1px solid var(--border);
            margin-bottom: 36px;
        }

        .article-header h1 {
            font-size: 32px;
            font-weight: 700;
            line-height: 1.35;
            color: var(--text-main);
            margin-bottom: 12px;
            letter-spacing: -0.3px;
        }

        .article-subtitle {
            font-size: 14px;
            color: var(--text-weak);
            margin-bottom: 16px;
        }

        .article-meta {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 8px 20px;
            font-size: 13px;
            color: var(--text-sub);
        }

        .meta-item {
            display: inline-flex;
            align-items: center;
            gap: 6px;
        }

        .meta-item i {
            color: var(--secondary);
            font-size: 15px;
        }

        /* ===== 正文排版 ===== */
        .article-content {
            max-width: 720px;
            margin: 0 auto;
            font-size: 16px;
            line-height: 1.8;
            color: #333;
        }

        .article-content p {
            margin-bottom: 24px;
        }

        .article-content h2 {
            font-size: 26px;
            font-weight: 600;
            color: var(--text-main);
            margin: 44px 0 20px;
            padding-bottom: 10px;
            border-bottom: 1px solid var(--border);
        }

        .article-content h3 {
            font-size: 20px;
            font-weight: 600;
            color: var(--text-main);
            margin: 32px 0 16px;
        }

        .article-content h4 {
            font-size: 17px;
            font-weight: 600;
            color: var(--text-main);
            margin: 24px 0 12px;
        }

        .article-content img {
            max-width: 100%;
            border-radius: 8px;
            margin: 24px auto;
            display: block;
        }

        .article-content blockquote {
            border-left: 3px solid var(--primary);
            background: var(--bg-hero);
            padding: 16px 20px;
            margin: 28px 0;
            border-radius: 0 8px 8px 0;
            color: var(--text-sub);
            font-size: 15px;
        }

        .article-content ul,
        .article-content ol {
            margin-bottom: 28px;
            padding-left: 24px;
        }

        .article-content li {
            margin-bottom: 8px;
        }

        .article-content a {
            color: var(--primary);
            text-decoration: underline;
            text-underline-offset: 3px;
        }

        .article-content a:hover {
            color: var(--primary-darker);
            text-decoration-thickness: 2px;
        }

        .article-content table {
            width: 100%;
            border-collapse: collapse;
            margin: 28px 0;
            font-size: 14px;
        }

        .article-content th,
        .article-content td {
            border: 1px solid var(--border);
            padding: 12px 16px;
            text-align: left;
            background: var(--bg-card);
        }

        .article-content th {
            background: var(--bg-hero);
            font-weight: 600;
            color: var(--text-main);
        }

        .article-content code {
            background: var(--bg-hero);
            padding: 3px 8px;
            border-radius: 4px;
            font-size: 14px;
            color: var(--primary-dark);
        }

        .article-content pre {
            background: var(--text-main);
            color: #F0F5FA;
            padding: 20px;
            border-radius: 8px;
            overflow-x: auto;
            margin: 28px 0;
            font-size: 14px;
            line-height: 1.7;
        }

        .article-content .table-wrap {
            overflow-x: auto;
        }

        /* ===== 文章分享行 ===== */
        .article-share-row {
            max-width: 720px;
            margin: 40px auto 0;
            padding-top: 24px;
            border-top: 1px solid var(--border);
            display: flex;
            align-items: center;
            gap: 12px;
            flex-wrap: wrap;
            position: relative;
        }

        .share-label {
            font-size: 14px;
            color: var(--text-sub);
            margin-right: 4px;
        }

        .btn-share {
            border: 1px solid var(--border);
            background: var(--bg-card);
            color: var(--text-sub);
            border-radius: var(--radius-btn);
            padding: 7px 16px;
            font-size: 13px;
            transition: var(--transition);
            display: inline-flex;
            align-items: center;
            gap: 6px;
        }

        .btn-share:hover {
            border-color: var(--primary);
            color: var(--primary);
            background: var(--bg-hero);
        }

        .btn-share.active {
            background: var(--primary);
            border-color: var(--primary);
            color: #fff;
        }

        .btn-share:focus-visible {
            outline: 2px solid rgba(43, 95, 163, 0.4);
            outline-offset: 2px;
        }

        .share-pop {
            position: absolute;
            top: 100%;
            right: 0;
            margin-top: 10px;
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: var(--radius-card);
            box-shadow: var(--shadow-hover);
            padding: 12px;
            display: none;
            min-width: 180px;
            z-index: 100;
        }

        .share-pop.show {
            display: block;
        }

        .share-pop-item {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 8px 12px;
            border-radius: var(--radius-tag);
            font-size: 14px;
            color: var(--text-main) !important;
            text-decoration: none !important;
            width: 100%;
            border: none;
            background: transparent;
            cursor: pointer;
            transition: background var(--transition);
        }

        .share-pop-item:hover {
            background: var(--bg-hero);
            color: var(--primary) !important;
        }

        .share-pop-item i {
            font-size: 18px;
            color: var(--primary);
        }

        /* ===== 上一篇/下一篇 ===== */
        .article-pager {
            max-width: 720px;
            margin: 32px auto 0;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 20px;
        }

        .pager-link {
            display: flex;
            flex-direction: column;
            gap: 4px;
            padding: 18px 20px;
            background: var(--bg-body);
            border: 1px solid var(--border);
            border-radius: var(--radius-card);
            transition: var(--transition);
        }

        .pager-link:hover {
            border-color: var(--primary);
            background: var(--bg-hero);
            transform: translateY(-2px);
            box-shadow: var(--shadow-card);
        }

        .pager-link.next {
            text-align: right;
        }

        .pager-label {
            font-size: 12px;
            color: var(--text-weak);
            letter-spacing: 1px;
        }

        .pager-title {
            font-size: 14px;
            font-weight: 500;
            color: var(--text-main);
            line-height: 1.5;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .pager-link:hover .pager-title {
            color: var(--primary);
        }

        /* ===== 内容未找到 ===== */
        .article-notfound {
            max-width: 720px;
            margin: 0 auto;
            text-align: center;
            padding: 80px 32px;
        }

        .article-notfound i {
            font-size: 64px;
            color: var(--border);
            display: block;
            margin-bottom: 24px;
        }

        .article-notfound h1 {
            font-size: 28px;
            font-weight: 600;
            color: var(--text-main);
            margin-bottom: 12px;
        }

        .article-notfound p {
            font-size: 15px;
            color: var(--text-sub);
            margin-bottom: 24px;
        }

        /* ===== 相关推荐 ===== */
        .related-section {
            padding: 72px 0;
            background: var(--bg-body);
        }

        .section-heading {
            text-align: center;
            margin-bottom: 40px;
        }

        .section-heading h2 {
            font-size: 30px;
            font-weight: 600;
            color: var(--text-main);
            position: relative;
            display: inline-block;
            padding-bottom: 12px;
            margin-bottom: 12px;
        }

        .section-heading h2::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 40px;
            height: 3px;
            border-radius: 2px;
            background: var(--primary);
        }

        .section-heading p {
            font-size: 15px;
            color: var(--text-sub);
            max-width: 560px;
            margin: 0 auto;
        }

        .related-card {
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: var(--radius-card);
            overflow: hidden;
            height: 100%;
            transition: var(--transition);
        }

        .related-card:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-hover);
            border-color: transparent;
        }

        .related-thumb {
            position: relative;
            aspect-ratio: 16/9;
            overflow: hidden;
            background: var(--bg-hero);
        }

        .related-thumb img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .card-tag {
            position: absolute;
            top: 12px;
            left: 12px;
            background: rgba(255, 255, 255, 0.92);
            backdrop-filter: blur(4px);
            color: var(--primary);
            font-size: 12px;
            font-weight: 500;
            padding: 4px 12px;
            border-radius: 16px;
            box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
        }

        .related-body {
            padding: 24px;
        }

        .related-body h3 {
            font-size: 17px;
            font-weight: 600;
            line-height: 1.5;
            margin-bottom: 10px;
        }

        .related-body h3 a {
            color: var(--text-main);
        }

        .related-body h3 a:hover {
            color: var(--primary);
        }

        .related-body p {
            font-size: 14px;
            color: var(--text-sub);
            line-height: 1.6;
            margin-bottom: 16px;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .related-meta {
            display: flex;
            align-items: center;
            justify-content: space-between;
            font-size: 13px;
            color: var(--text-weak);
        }

        .text-link {
            color: var(--primary);
            font-weight: 500;
            display: inline-flex;
            align-items: center;
            gap: 4px;
        }

        .text-link:hover {
            color: var(--primary-darker);
        }

        /* ===== CTA 区 ===== */
        .cta-section {
            background: var(--primary);
            color: #fff;
            padding: 72px 0;
            position: relative;
            overflow: hidden;
        }

        .cta-section::before {
            content: '';
            position: absolute;
            top: -40%;
            right: -10%;
            width: 420px;
            height: 420px;
            background: rgba(255, 255, 255, 0.06);
            border-radius: 50%;
        }

        .cta-section::after {
            content: '';
            position: absolute;
            bottom: -60%;
            left: 5%;
            width: 300px;
            height: 300px;
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 50%;
        }

        .cta-inner {
            max-width: 640px;
            margin: 0 auto;
            text-align: center;
            position: relative;
            z-index: 2;
        }

        .cta-inner h2 {
            font-size: 30px;
            font-weight: 700;
            margin-bottom: 12px;
            letter-spacing: -0.3px;
        }

        .cta-inner p {
            font-size: 15px;
            color: rgba(255, 255, 255, 0.85);
            margin-bottom: 28px;
        }

        .cta-buttons {
            display: flex;
            justify-content: center;
            gap: 16px;
            flex-wrap: wrap;
        }

        .btn-cta-white {
            background: #fff;
            color: var(--primary-dark) !important;
            border: 1px solid #fff;
            border-radius: var(--radius-btn);
            padding: 12px 28px;
            font-size: 15px;
            font-weight: 600;
            transition: var(--transition);
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }

        .btn-cta-white:hover {
            background: var(--bg-hero);
            transform: translateY(-1px);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
        }

        .btn-cta-outline {
            background: transparent;
            color: #fff;
            border: 1px solid rgba(255, 255, 255, 0.6);
            border-radius: var(--radius-btn);
            padding: 12px 28px;
            font-size: 15px;
            font-weight: 500;
            transition: var(--transition);
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }

        .btn-cta-outline:hover {
            background: rgba(255, 255, 255, 0.1);
            border-color: #fff;
            transform: translateY(-1px);
        }

        .btn-cta-white:focus-visible,
        .btn-cta-outline:focus-visible {
            outline: 3px solid rgba(255, 255, 255, 0.5);
            outline-offset: 2px;
        }

        /* ===== 页脚 ===== */
        .site-footer {
            background: #fff;
            border-top: 1px solid var(--border);
            padding: 56px 0 0;
        }

        .footer-inner {
            display: grid;
            grid-template-columns: 1.6fr 1fr 1fr 1fr;
            gap: 40px;
            margin-bottom: 40px;
        }

        .footer-brand {
            font-size: 18px;
            font-weight: 700;
            color: var(--text-main);
            margin-bottom: 12px;
        }

        .footer-brand span {
            color: var(--primary);
        }

        .footer-desc {
            font-size: 14px;
            color: var(--text-weak);
            line-height: 1.6;
            max-width: 260px;
        }

        .footer-title {
            font-size: 15px;
            font-weight: 600;
            color: var(--text-main);
            margin-bottom: 16px;
        }

        .footer-links {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .footer-links li {
            margin-bottom: 10px;
        }

        .footer-links a {
            font-size: 14px;
            color: var(--text-sub);
        }

        .footer-links a:hover {
            color: var(--primary);
        }

        .footer-bottom {
            border-top: 1px solid var(--border);
            padding: 20px 0;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 8px;
        }

        .footer-bottom span {
            font-size: 13px;
            color: #95A5A6;
        }

        /* ===== 响应式 ===== */
        @media (max-width: 991.98px) {
            .custom-navbar .navbar-collapse {
                padding: 16px 0;
                border-top: 1px solid var(--border);
                margin-top: 8px;
            }

            .custom-navbar .nav-link {
                padding: 14px 0 !important;
                font-size: 16px;
                border-bottom: 1px solid var(--border);
                border-radius: 0;
            }

            .custom-navbar .nav-link.active::after {
                display: inline-block;
                width: 6px;
                height: 6px;
                margin: 0 0 2px 8px;
                vertical-align: middle;
            }

            .custom-navbar .nav-cta {
                display: block;
                text-align: center;
                margin-top: 16px;
                padding: 12px;
            }

            .footer-inner {
                grid-template-columns: 1fr 1fr;
                gap: 32px;
            }

            .footer-desc {
                max-width: none;
            }
        }

        @media (max-width: 767.98px) {
            .article-wrap {
                padding: 32px 20px;
                border-radius: 8px;
                border-left: none;
                border-right: none;
            }

            .article-header {
                padding-bottom: 24px;
                margin-bottom: 28px;
            }

            .article-header h1 {
                font-size: 26px;
            }

            .article-content {
                font-size: 15px;
                line-height: 1.75;
            }

            .article-content h2 {
                font-size: 22px;
                margin: 36px 0 16px;
            }

            .article-content h3 {
                font-size: 18px;
            }

            .article-content blockquote {
                padding: 14px 16px;
                font-size: 14px;
            }

            .article-content table {
                font-size: 13px;
            }

            .article-content th,
            .article-content td {
                padding: 8px 10px;
            }

            .article-pager {
                grid-template-columns: 1fr;
            }

            .pager-link.next {
                text-align: left;
            }

            .related-section {
                padding: 48px 0;
            }

            .section-heading h2 {
                font-size: 24px;
            }

            .cta-section {
                padding: 48px 0;
            }

            .cta-inner h2 {
                font-size: 24px;
            }

            .cta-buttons {
                flex-direction: column;
                align-items: center;
            }

            .btn-cta-white,
            .btn-cta-outline {
                width: 100%;
                justify-content: center;
                padding: 14px 24px;
            }

            .page-breadcrumb .breadcrumb-item.active {
                max-width: 180px;
            }
        }

        @media (max-width: 575.98px) {
            .footer-inner {
                grid-template-columns: 1fr;
                gap: 24px;
            }

            .footer-bottom {
                flex-direction: column;
                text-align: center;
                padding: 16px 0;
            }

            .article-share-row {
                justify-content: center;
            }

            .share-pop {
                right: auto;
                left: 50%;
                transform: translateX(-50%);
                min-width: 200px;
            }
        }

        @media (max-width: 520px) {
            .custom-navbar {
                min-height: 60px;
            }

            .navbar-brand {
                font-size: 19px;
            }
        }
