/* roulang page: index */
:root {
  --primary: #1F6FA8;
  --primary-dark: #15507A;
  --secondary: #F29A3C;
  --secondary-dark: #E08420;
  --accent: #3FA36B;
  --bg: #F5F8FA;
  --surface: #FFFFFF;
  --text-1: #1F2933;
  --text-2: #5C6A7A;
  --text-3: #9AA8B6;
  --border: #E4E9EE;
  --font-main: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Helvetica Neue", Arial, sans-serif;
  --radius-card: 14px;
  --radius-btn: 10px;
  --radius-badge: 999px;
  --shadow-sm: 0 2px 8px rgba(31,111,168,.06);
  --shadow-lg: 0 16px 40px rgba(31,111,168,.10);
  --container-w: 1280px;
  --header-h: 64px;
  --mobile-header-h: 56px;
  --section-pad: 90px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-main);
  background: var(--bg);
  color: var(--text-1);
  font-size: 16px;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; display: block; }
ul, ol { margin: 0; padding: 0; }
.grid-container { max-width: var(--container-w); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 24px;
  border: none;
  border-radius: var(--radius-btn);
  font-size: 16px;
  font-weight: 500;
  font-family: var(--font-main);
  cursor: pointer;
  transition: all .25s ease;
  white-space: nowrap;
  text-decoration: none;
  outline: none;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-secondary { background: var(--secondary); color: #fff; }
.btn-secondary:hover { background: var(--secondary-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(242,154,60,.3); }
.btn-outline { background: rgba(255,255,255,.95); color: var(--primary); border: 1.5px solid var(--primary); }
.btn-outline:hover { background: rgba(31,111,168,.08); color: var(--primary-dark); transform: translateY(-2px); }
.btn-white { background: #fff; color: var(--primary-dark); }
.btn-white:hover { background: rgba(255,255,255,.9); color: var(--primary-dark); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.btn-sm { height: 40px; padding: 0 20px; font-size: 14px; }
.btn-block { width: 100%; }

.tag {
  display: inline-block;
  background: rgba(31,111,168,.1);
  color: var(--primary);
  font-size: 12px;
  font-weight: 600;
  padding: 3px 12px;
  border-radius: var(--radius-badge);
  line-height: 1.6;
}
.tag-light { background: var(--bg); color: var(--text-2); }

.cover-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(255,255,255,.92);
  color: var(--primary);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: var(--radius-badge);
  box-shadow: var(--shadow-sm);
  z-index: 2;
}
.cover-badge-hot { background: var(--secondary); color: #fff; }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 36px;
  gap: 16px;
  flex-wrap: wrap;
}
.section-head h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-1);
  margin: 0;
  line-height: 1.4;
}
.section-head h2::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 24px;
  background: var(--secondary);
  border-radius: 2px;
  margin-right: 12px;
  vertical-align: middle;
}
.section-sub { font-size: 15px; color: var(--text-2); margin: 6px 0 0; }
.section-more { font-size: 14px; font-weight: 500; color: var(--primary); }
.section-more i { transition: transform .2s; }
.section-more:hover i { transform: translateX(4px); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  height: var(--header-h);
}
.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.brand-icon {
  width: 36px;
  height: 36px;
  background: var(--primary);
  color: #fff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-en { font-size: 13px; font-weight: 800; letter-spacing: 1px; color: var(--primary); }
.brand-cn { font-size: 15px; font-weight: 600; color: var(--text-1); }
.main-nav { display: flex; align-items: center; }
.nav-list { display: flex; list-style: none; gap: 3 2px; margin: 0; }
.nav-link {
  position: relative;
  display: inline-block;
  padding: 8px 14px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-2);
  border-radius: 8px;
  transition: color .2s, background .2s;
}
.nav-link:hover { color: var(--primary); background: rgba(31,111,168,.05); }
.nav-link.active { color: var(--primary); font-weight: 600; }
.nav-link.active::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 20px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}
.header-actions { display: flex; align-items: center; gap: 12px; }
.search-box {
  position: relative;
  width: 200px;
  height: 38px;
  display: flex;
  align-items: center;
}
.search-box i {
  position: absolute;
  left: 13px;
  color: var(--text-3);
  font-size: 13px;
  pointer-events: none;
  z-index: 1;
}
.search-box input {
  width: 100%;
  height: 100%;
  padding: 0 14px 0 36px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg);
  font-size: 14px;
  font-family: var(--font-main);
  color: var(--text-1);
  transition: all .2s;
  outline: none;
}
.search-box input:focus {
  border-color: var(--primary);
  background: var(--surface);
  box-shadow: 0 0 0 3px rgba(31,111,168,.12);
}
.header-cta { flex-shrink: 0; }
.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 8px;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  color: var(--text-1);
  cursor: pointer;
  transition: background .2s;
}
.menu-toggle:hover { background: var(--bg); }
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--mobile-header-h);
  left: 0;
  right: 0;
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  z-index: 99;
  padding: 16px 20px 20px;
}
.mobile-menu.open { display: block; }
.mobile-menu ul { list-style: none; }
.mobile-menu li { border-bottom: 1px solid var(--border); }
.mobile-menu a {
  display: block;
  font-size: 18px;
  line-height: 48px;
  color: var(--text-1);
  font-weight: 500;
}
.mobile-menu a:hover { color: var(--primary); }
.mobile-menu a.active { color: var(--primary); font-weight: 600; }
.mobile-menu .btn { width: 100%; margin-top: 14px; }

/* Hero */
.hero {
  min-height: 80vh;
  background: linear-gradient(115deg, rgba(21,80,122,.32) 0%, rgba(21,80,122,.18) 60%), url('/assets/images/backpic/back-1.webp') center/cover no-repeat;
  display: flex;
  align-items: center;
  padding: 72px 0;
  position: relative;
}
.hero-content { padding: 24px 0; }
.hero h1 {
  font-size: 34px;
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
  margin: 0 0 18px;
  max-width: 540px;
  text-shadow: 0 2px 12px rgba(0,0,0,.25);
}
.hero-sub {
  font-size: 17px;
  color: rgba(255,255,255,.92);
  line-height: 1.8;
  max-width: 500px;
  margin-bottom: 34px;
  text-shadow: 0 1px 6px rgba(0,0,0,.2);
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-card-wrap { position: relative; z-index: 2; }
.data-card {
  background: var(--surface);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-lg);
  padding: 30px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 16px;
}
.data-item { text-align: center; padding: 6px 0; }
.data-item .num {
  display: block;
  font-size: 28px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
}
.data-item .label {
  display: block;
  font-size: 13px;
  color: var(--text-2);
  margin-top: 4px;
}

/* Stats Bar */
.stats-bar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 44px 0;
}
.stat-item { text-align: center; padding: 10px 0; }
.stat-num {
  display: block;
  font-size: 36px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
}
.stat-label {
  display: block;
  font-size: 14px;
  color: var(--text-2);
  margin-top: 6px;
}

/* Latest Section */
.latest-section { padding: var(--section-pad) 0; }
.post-feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .25s;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.post-feature:hover { box-shadow: var(--shadow-lg); }
.post-cover { height: 220px; overflow: hidden; position: relative; }
.post-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.post-feature:hover .post-cover img { transform: scale(1.03); }
.post-body { padding: 24px; position: relative; flex: 1; display: flex; flex-direction: column; }
.post-body .tag { align-self: flex-start; margin-bottom: 8px; }
.post-body h3 { font-size: 20px; font-weight: 600; margin: 0 0 10px; line-height: 1.45; }
.post-body h3 a { color: var(--text-1); display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.post-body h3 a:hover { color: var(--primary); }
.post-body p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0 0 16px;
  flex: 1;
}
.post-time { font-size: 13px; color: var(--text-3); margin-top: auto; }
.post-item {
  position: relative;
  padding: 18px 16px 18px 18px;
  margin-bottom: 14px;
  border-left: 4px solid var(--primary);
  background: var(--surface);
  border-radius: 0 10px 10px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  border-right: 1px solid var(--border);
  transition: background .2s, box-shadow .2s;
}
.post-item:hover { background: var(--bg); box-shadow: var(--shadow-sm); }
.post-item h4 { font-size: 15px; font-weight: 600; margin: 0 0 6px; line-height: 1.45; }
.post-item h4 a { color: var(--text-1); display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.post-item h4 a:hover { color: var(--primary); }
.post-item p {
  font-size: 13px;
  color: var(--text-2);
  margin: 0 0 8px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.post-meta { display: flex; align-items: center; gap: 8px; }
.empty-state {
  border: 2px dashed var(--border);
  border-radius: var(--radius-card);
  padding: 64px 24px;
  text-align: center;
  color: var(--text-3);
  background: var(--surface);
  width: 100%;
}
.empty-state i { font-size: 42px; margin-bottom: 14px; display: block; color: var(--text-3); }
.empty-state p { margin: 0; font-size: 15px; }
.empty-state.mini { padding: 36px 20px; }

/* Projects */
.projects-section { padding: var(--section-pad) 0; background: var(--surface); }
.projects-section .cell { margin-bottom: 24px; }
.project-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .25s, transform .25s;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.project-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.project-cover { height: 200px; overflow: hidden; position: relative; }
.project-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.project-card:hover .project-cover img { transform: scale(1.03); }
.project-cover-sm { height: 140px; }
.project-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.project-body h3 { font-size: 18px; font-weight: 600; margin: 0 0 8px; line-height: 1.4; }
.project-body p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.6;
  margin: 0 0 14px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.project-foot { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--border); padding-top: 14px; }
.price { font-size: 15px; font-weight: 700; color: var(--secondary); }
.link-more { font-size: 14px; font-weight: 500; color: var(--primary); }
.link-more i { transition: transform .2s; display: inline-block; }
.link-more:hover i { transform: translateX(4px); }

/* Testimonials */
.testimonial-section { padding: var(--section-pad) 0; background: var(--bg); }
.testimonial-wrap { max-width: 800px; margin: 0 auto; position: relative; }
.testimonial-slide { display: none; opacity: 0; transition: opacity .4s; }
.testimonial-slide.is-active { display: block; opacity: 1; }
.testimonial-card {
  text-align: center;
  padding: 40px 36px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-sm);
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.testimonial-quote { font-size: 18px; color: var(--text-1); line-height: 1.8; margin: 14px 0 20px; }
.testimonial-author { font-size: 15px; font-weight: 600; color: var(--text-1); }
.testimonial-role { font-size: 13px; color: var(--text-2); }
.stars { color: var(--secondary); margin-top: 6px; font-size: 15px; letter-spacing: 2px; }
.testimonial-nav { display: flex; justify-content: center; align-items: center; gap: 16px; margin-top: 24px; }
.t-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-1);
  font-size: 15px;
  cursor: pointer;
  transition: all .2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.t-btn:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.testimonial-dots { display: flex; gap: 8px; margin-left: 20px; }
.testimonial-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--border);
  cursor: pointer;
  transition: all .2s;
  padding: 0;
}
.testimonial-dot.is-active { background: var(--primary); width: 24px; border-radius: 999px; }

/* Guarantee */
.guarantee-section { padding: var(--section-pad) 0; background: var(--surface); }
.guarantee-grid { display: flex; flex-wrap: wrap; gap: 20px; }
.guarantee-item {
  flex: 1 1 180px;
  min-width: 160px;
  text-align: center;
  padding: 28px 16px;
  background: var(--bg);
  border-radius: var(--radius-card);
  border: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.guarantee-item:hover { border-color: var(--primary); box-shadow: var(--shadow-sm); }
.guarantee-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  background: rgba(31,111,168,.1);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}
.guarantee-item h3 { font-size: 16px; font-weight: 600; margin: 0 0 6px; }
.guarantee-item p { font-size: 13px; color: var(--text-2); margin: 0; }

/* CTA */
.cta-section {
  background: var(--primary-dark);
  padding: 68px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(255,255,255,.05);
}
.cta-section::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(255,255,255,.04);
}
.cta-inner { position: relative; z-index: 2; }
.cta-section h2 { font-size: 28px; font-weight: 700; color: #fff; margin: 0 0 12px; }
.cta-section p { font-size: 16px; color: rgba(255,255,255,.82); margin: 0 0 30px; }
.cta-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* FAQ */
.faq-section { padding: var(--section-pad) 0; background: var(--bg); }
.accordion {
  background: var(--surface);
  border-radius: var(--radius-card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  list-style: none;
}
.accordion-item { border-bottom: 1px solid var(--border); }
.accordion-item:last-child { border-bottom: none; }
.accordion-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-1);
  background: var(--surface);
  cursor: pointer;
  transition: background .2s;
  text-decoration: none;
}
.accordion-title:hover { background: rgba(31,111,168,.04); }
.accordion-title::after {
  content: '\f078';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 13px;
  color: var(--text-3);
  transition: transform .25s;
  flex-shrink: 0;
}
.accordion-item.is-active .accordion-title::after { transform: rotate(180deg); }
.accordion-content {
  padding: 0 24px 20px;
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.8;
  background: var(--bg);
  border-top: 1px solid var(--border);
}

/* Footer */
.site-footer { background: #162B3A; color: #C8D4DE; padding: 60px 0 0; }
.footer-col { margin-bottom: 32px; }
.footer-brand .footer-logo { font-size: 20px; font-weight: 700; color: #fff; display: flex; align-items: center; gap: 8px; }
.footer-brand .footer-logo i { color: var(--secondary); font-size: 18px; }
.footer-brand p { font-size: 14px; line-height: 1.7; margin-top: 12px; max-width: 300px; }
.footer-col h4 { font-size: 15px; font-weight: 600; color: #fff; margin: 0 0 14px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: #C8D4DE; font-size: 14px; }
.footer-col a:hover { color: #fff; }
.footer-col p { font-size: 14px; margin-bottom: 8px; display: flex; align-items: flex-start; gap: 8px; }
.footer-col p i { margin-top: 5px; color: var(--secondary); width: 16px; text-align: center; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  margin-top: 32px;
  padding: 18px 0;
  text-align: center;
  font-size: 13px;
  color: #8FA3B4;
}
.footer-bottom a { color: #8FA3B4; }
.footer-bottom a:hover { color: #fff; }

/* Responsive */
@media (max-width: 1024px) {
  :root { --section-pad: 64px; }
  .hero h1 { font-size: 30px; }
  .search-box { width: 160px; }
  .nav-list { gap: 8px; }
  .nav-link { padding: 8px 10px; font-size: 14px; }
}

@media (max-width: 768px) {
  .site-header { height: var(--mobile-header-h); }
  .site-header-inner { height: var(--mobile-header-h); gap: 8px; }
  .main-nav { display: none; }
  .search-box {
    width: 40px;
    height: 40px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface);
    justify-content: center;
    cursor: pointer;
    position: relative;
  }
  .search-box i { position: static; color: var(--text-1); font-size: 15px; pointer-events: auto; }
  .search-box input {
    display: none;
    position: fixed;
    top: calc(var(--mobile-header-h) + 8px);
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 32px);
    height: 46px;
    border-radius: 10px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    z-index: 98;
    padding: 0 16px 0 40px;
    background: var(--surface);
  }
  .search-box.open input { display: block; }
  .search-box.open i {
    position: fixed;
    top: calc(var(--mobile-header-h) + 19px);
    left: 36px;
    z-index: 99;
    color: var(--text-2);
    pointer-events: none;
  }
  .header-cta { height: 40px; padding: 0 16px; font-size: 14px; }
  .menu-toggle { display: inline-flex; }
  .hero { min-height: auto; padding: 48px 0; }
  .hero h1 { font-size: 26px; }
  .hero-sub { font-size: 16px; }
  .data-card { margin-top: 12px; padding: 22px 16px; gap: 16px; }
  .data-item .num { font-size: 22px; }
  .stat-num { font-size: 28px; }
  .section-head h2 { font-size: 22px; }
  .post-cover { height: 180px; }
  .cta-section h2 { font-size: 24px; }
  .cta-actions .btn { width: 100%; max-width: 300px; }
}

@media (max-width: 640px) {
  :root { --section-pad: 48px; }
  .hero-actions .btn { width: 100%; }
  .projects-section .cell { margin-bottom: 16px; }
  .project-cover { height: 180px; }
  .project-cover-sm { height: 160px; }
  .guarantee-item { flex: 0 0 100%; max-width: 100%; }
  .testimonial-card { padding: 28px 20px 20px; }
  .testimonial-quote { font-size: 16px; }
  .accordion-title { padding: 16px 18px; font-size: 15px; }
  .accordion-content { padding: 0 18px 18px; }
  .footer-col { margin-bottom: 24px; }
}

/* roulang page: category1 */
:root {
  --primary: #1F6FA8;
  --primary-dark: #15507A;
  --secondary: #F29A3C;
  --accent: #3FA36B;
  --bg: #F5F8FA;
  --surface: #FFFFFF;
  --text-1: #1F2933;
  --text-2: #5C6A7A;
  --text-3: #9AA8B6;
  --border: #E4E9EE;
  --shadow-sm: 0 2px 8px rgba(31,111,168,.06);
  --shadow-lg: 0 16px 40px rgba(31,111,168,.10);
  --font-main: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Helvetica Neue", Arial, sans-serif;
  --radius-card: 14px;
  --radius-btn: 10px;
  --radius-badge: 999px;
}

*, *::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.9;
  background: var(--bg);
  color: var(--text-1);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color .2s ease;
}

a:hover {
  color: var(--primary-dark);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input {
  font-family: inherit;
}

.grid-container {
  max-width: 1280px;
  padding-left: 4%;
  padding-right: 4%;
}

/* ===== 按钮体系 ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 26px;
  border-radius: var(--radius-btn);
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  border: 1.5px solid transparent;
  transition: all .25s ease;
  white-space: nowrap;
}

.btn i {
  margin-right: 6px;
  font-size: 14px;
}

.btn:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(31,111,168,.20);
}

.btn-primary:active {
  transform: translateY(1px);
  box-shadow: none;
}

.btn-secondary {
  background: var(--secondary);
  color: #fff;
}

.btn-secondary:hover {
  background: #e08724;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(242,156,60,.28);
}

.btn-secondary:active {
  transform: translateY(1px);
  box-shadow: none;
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline:hover {
  background: rgba(31,111,168,.08);
  color: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-outline:active {
  transform: translateY(1px);
}

.btn-lg {
  height: 52px;
  padding: 0 36px;
  font-size: 18px;
}

.btn-full {
  width: 100%;
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid var(--border);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.header-logo {
  flex-shrink: 0;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 17px;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo-en {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 1px;
}

.logo-cn {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-1);
  letter-spacing: .5px;
}

.main-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
}

.nav-link {
  display: inline-block;
  padding: 20px 14px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-1);
  position: relative;
  transition: color .2s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 12px;
  height: 2px;
  border-radius: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .25s ease;
}

.nav-link:hover {
  color: var(--primary);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.nav-link.active {
  color: var(--primary);
  font-weight: 600;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-search {
  position: relative;
}

.header-search input {
  width: 200px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: var(--radius-btn);
  padding: 0 38px 0 12px;
  font-size: 13px;
  background: var(--bg);
  color: var(--text-1);
  transition: all .25s ease;
}

.header-search input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(31,111,168,.12);
  background: #fff;
}

.header-search .search-btn {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-2);
  font-size: 13px;
  transition: color .2s, background .2s;
}

.header-search .search-btn:hover {
  background: rgba(31,111,168,.1);
  color: var(--primary);
}

.header-cta {
  height: 38px;
  padding: 0 20px;
  font-size: 14px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--bg);
  color: var(--text-1);
  font-size: 18px;
  align-items: center;
  justify-content: center;
  transition: background .2s;
}

.menu-toggle:hover {
  background: rgba(31,111,168,.1);
}

.nav-mobile-cta {
  display: none;
}

/* ===== Hero（分类页头） ===== */
.category-hero {
  position: relative;
  background: var(--bg);
  padding: 72px 0 64px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('/assets/images/backpic/back-1.webp');
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(21,80,122,.82) 0%, rgba(21,80,122,.55) 60%, rgba(21,80,122,.35) 100%);
  z-index: 1;
}

.category-hero .grid-container {
  position: relative;
  z-index: 2;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,.8);
  margin-bottom: 22px;
}

.breadcrumb a {
  color: rgba(255,255,255,.8);
  transition: color .2s;
}

.breadcrumb a:hover {
  color: #fff;
}

.breadcrumb-sep {
  opacity: .6;
}

.category-hero h1 {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
  margin-bottom: 16px;
}

.hero-subtitle {
  font-size: 16px;
  line-height: 1.9;
  color: rgba(255,255,255,.92);
  max-width: 520px;
  margin-bottom: 28px;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-aside {
  display: flex;
  justify-content: flex-end;
}

.hero-card {
  background: var(--surface);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-lg);
  padding: 28px 30px;
  width: 100%;
  max-width: 380px;
  transition: transform .3s ease;
}

.hero-card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-card-title i {
  color: var(--secondary);
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  font-size: 14px;
  color: var(--text-1);
  border-bottom: 1px dashed var(--border);
}

.feature-list li:last-child {
  border-bottom: none;
}

.feature-list li i {
  color: var(--accent);
  font-size: 15px;
  flex-shrink: 0;
}

.hero-card-footer {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.hero-card-footer .stat-number {
  font-size: 28px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.hero-card-footer .stat-label {
  font-size: 13px;
  color: var(--text-2);
}

/* ===== Section 通用 ===== */
.section {
  padding: 80px 0;
}

.section-alt {
  background: var(--surface);
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.section-head .section-tag {
  margin-bottom: 10px;
}

.section-head h2 {
  font-size: 26px;
  font-weight: 700;
  color: var(--text-1);
  line-height: 1.4;
  margin-bottom: 12px;
}

.section-head p {
  font-size: 15px;
  color: var(--text-2);
}

.section-tag {
  display: inline-block;
  padding: 4px 14px;
  border-radius: var(--radius-badge);
  background: rgba(31,111,168,.08);
  color: var(--primary);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .5px;
  text-transform: uppercase;
}

/* ===== 分类介绍 ===== */
.cat-intro {
  background: var(--surface);
}

.intro-img {
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-lg);
  width: 100%;
  height: 380px;
  object-fit: cover;
}

.intro-text .section-tag {
  margin-bottom: 10px;
}

.intro-text h2 {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 20px;
}

.intro-text p {
  font-size: 15px;
  color: var(--text-2);
  margin-bottom: 16px;
  line-height: 1.9;
}

.intro-btn {
  margin-top: 12px;
}

.check-list {
  margin: 18px 0;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  font-size: 14px;
  color: var(--text-1);
}

.check-list li::before {
  content: "\f058";
  font-family: "Font Awesome 6 Free";
  font-weight: 400;
  color: var(--accent);
  font-size: 15px;
}

/* ===== 课程卡片 ===== */
.courses {
  background: var(--bg);
}

.course-cell {
  margin-bottom: 24px;
}

.course-card {
  background: var(--surface);
  border-radius: var(--radius-card);
  border: 1px solid var(--border);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: box-shadow .3s ease, transform .3s ease;
}

.course-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.card-img {
  position: relative;
  overflow: hidden;
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.course-card:hover .card-img img {
  transform: scale(1.03);
}

.course-card-large .card-img {
  height: 220px;
}

.course-card .card-img {
  height: 160px;
}

.card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  display: inline-block;
  padding: 4px 12px;
  background: var(--secondary);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  border-radius: var(--radius-badge);
  box-shadow: 0 4px 12px rgba(242,156,60,.3);
}

.card-badge.green {
  background: var(--accent);
  box-shadow: 0 4px 12px rgba(63,163,107,.25);
}

.card-body {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-body h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-1);
}

.course-card-large .card-body h3 {
  font-size: 20px;
}

.card-body p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 16px;
  flex: 1;
}

.card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-3);
  margin-bottom: 12px;
}

.card-meta .price {
  font-size: 16px;
  font-weight: 800;
  color: var(--secondary);
}

.meta-dot {
  opacity: .5;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  transition: gap .2s ease, color .2s;
}

.card-link:hover {
  gap: 10px;
  color: var(--primary-dark);
}

.card-link i {
  font-size: 12px;
}

/* ===== 适用场景 ===== */
.scenarios {
  background: var(--surface);
}

.scenario-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 32px 28px;
  text-align: center;
  height: 100%;
  transition: transform .3s ease, box-shadow .3s ease;
}

.scenario-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.scenario-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 18px;
  background: rgba(31,111,168,.08);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--primary);
  transition: background .3s, color .3s;
}

.scenario-card:hover .scenario-icon {
  background: var(--primary);
  color: #fff;
}

.scenario-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.scenario-card p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.8;
}

/* ===== 训练流程 ===== */
.process {
  background: var(--bg);
}

.process-step {
  text-align: center;
  padding: 20px 14px;
  position: relative;
}

.process-num {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 800;
  box-shadow: 0 8px 24px rgba(31,111,168,.22);
  position: relative;
  z-index: 1;
}

.process-step::after {
  content: "";
  position: absolute;
  top: 49px;
  left: calc(50% + 45px);
  width: calc(100% - 90px);
  height: 2px;
  background: linear-gradient(90deg, var(--primary), rgba(31,111,168,.2));
  z-index: 0;
}

.process-step:last-child::after {
  display: none;
}

.process-step h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

.process-step p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.7;
  max-width: 220px;
  margin: 0 auto;
}

/* ===== FAQ ===== */
.faq {
  background: var(--surface);
}

.faq-wrap {
  max-width: 860px;
  margin: 0 auto;
}

.faq-guide {
  margin-bottom: 28px;
}

.faq-guide h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.faq-guide p {
  font-size: 14px;
  color: var(--text-2);
}

.accordion {
  background: var(--surface);
  border-radius: var(--radius-card);
  border: 1px solid var(--border);
  overflow: hidden;
}

.accordion-item {
  border-bottom: 1px solid var(--border);
}

.accordion-item:last-child {
  border-bottom: none;
}

.accordion-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-1);
  padding: 20px 24px;
  background: #fff;
  transition: background .25s, color .25s;
}

.accordion-title::after {
  content: "\f078";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 13px;
  color: var(--text-3);
  transition: transform .3s ease;
}

.accordion-title:hover {
  background: rgba(31,111,168,.04);
  color: var(--primary);
}

.accordion-item.is-active > .accordion-title::after {
  transform: rotate(180deg);
}

.accordion-content {
  padding: 0 24px 20px;
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.9;
}

.accordion-content p {
  margin: 0;
}

/* ===== CTA ===== */
.cta-section {
  background: var(--primary);
  position: relative;
  overflow: hidden;
  padding: 72px 0;
}

.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top right, rgba(255,255,255,.12) 0%, transparent 60%), radial-gradient(ellipse at bottom left, rgba(0,0,0,.08) 0%, transparent 50%);
}

.cta-box {
  position: relative;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.cta-box h2 {
  font-size: 26px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
}

.cta-box p {
  font-size: 15px;
  color: rgba(255,255,255,.85);
  margin-bottom: 30px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.cta-buttons .btn-white {
  background: #fff;
  color: var(--primary);
}

.cta-buttons .btn-white:hover {
  background: #f0f5f8;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0,0,0,.18);
}

.cta-buttons .btn-outline-light {
  border-color: rgba(255,255,255,.8);
  color: #fff;
}

.cta-buttons .btn-outline-light:hover {
  background: rgba(255,255,255,.12);
  color: #fff;
}

/* ===== Footer ===== */
.site-footer {
  background: #162B3A;
  color: #C8D4DE;
  padding: 60px 0 0;
  font-size: 14px;
}

.site-footer h4 {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 18px;
}

.site-footer a {
  color: #C8D4DE;
  transition: color .2s;
}

.site-footer a:hover {
  color: #fff;
}

.footer-col {
  margin-bottom: 30px;
}

.footer-brand .footer-logo {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.footer-brand .footer-logo i {
  color: var(--secondary);
}

.footer-brand p {
  line-height: 1.8;
  margin-bottom: 0;
  font-size: 14px;
  max-width: 300px;
}

.site-footer ul li {
  margin-bottom: 10px;
}

.site-footer ul li a {
  font-size: 14px;
}

.footer-contact p {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 14px;
}

.footer-contact i {
  margin-top: 5px;
  color: var(--secondary);
  font-size: 14px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 20px 0;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,.5);
  margin-top: 30px;
}

.footer-bottom p {
  margin: 0;
}

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
  .section {
    padding: 64px 0;
  }

  .process-step::after {
    display: none;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 48px 0;
  }

  .site-header {
    height: 56px;
  }

  .header-row {
    height: 56px;
  }

  .logo-icon {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }

  .logo-en {
    font-size: 13px;
  }

  .logo-cn {
    font-size: 12px;
  }

  .header-search {
    display: none;
  }

  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: 56px;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    padding: 0 16px 20px;
    display: none;
    z-index: 99;
    flex-direction: column;
    align-items: stretch;
  }

  .main-nav.open {
    display: block;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-link {
    display: block;
    padding: 0;
    line-height: 50px;
    font-size: 18px;
    border-bottom: 1px solid var(--border);
  }

  .nav-link::after {
    display: none;
  }

  .nav-link.active {
    color: var(--primary);
  }

  .nav-mobile-cta {
    display: block;
    padding-top: 16px;
  }

  .category-hero {
    padding: 48px 0;
  }

  .category-hero h1 {
    font-size: 26px;
  }

  .hero-subtitle {
    font-size: 15px;
  }

  .hero-aside {
    margin-top: 30px;
  }

  .hero-card {
    max-width: 100%;
  }

  .intro-img {
    height: 260px;
    margin-bottom: 24px;
  }

  .course-card-large .card-img {
    height: 180px;
  }

  .course-card .card-img {
    height: 160px;
  }

  .cta-section {
    padding: 48px 0;
  }

  .cta-buttons .btn {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 40px 0;
  }

  .section-head {
    margin-bottom: 32px;
  }

  .section-head h2 {
    font-size: 22px;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .btn {
    height: 44px;
  }
}

/* ===== 通用辅助 ===== */
.text-center {
  text-align: center;
}

.mt-16 {
  margin-top: 16px;
}

.mb-24 {
  margin-bottom: 24px;
}

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* roulang page: article */
:root {
  --primary: #1F6FA8;
  --primary-dark: #15507A;
  --secondary: #F29A3C;
  --accent: #3FA36B;
  --bg: #F5F8FA;
  --surface: #FFFFFF;
  --text-1: #1F2933;
  --text-2: #5C6A7A;
  --text-3: #9AA8B6;
  --border: #E4E9EE;
  --shadow-sm: 0 2px 8px rgba(31,111,168,.06);
  --shadow-lg: 0 16px 40px rgba(31,111,168,.10);
  --radius: 14px;
  --radius-btn: 10px;
  --radius-badge: 999px;
  --font-main: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Helvetica Neue", Arial, sans-serif;
}

*, *::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.9;
  color: var(--text-1);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary-dark); }
button, input { font-family: var(--font-main); font-size: 16px; }
ul, ol { list-style: none; }

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  border-radius: 4px;
}

.grid-container {
  max-width: 1280px;
  padding-left: 4%;
  padding-right: 4%;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 24px;
  border-radius: var(--radius-btn);
  font-size: 16px;
  font-weight: 600;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s, background-color .2s, color .2s;
  white-space: nowrap;
  text-align: center;
}

.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--primary-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: var(--secondary);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-secondary:hover {
  background: #E07E1B;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(242,154,60,.25);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover {
  background: rgba(31,111,168,.08);
  color: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-lg {
  height: 52px;
  padding: 0 36px;
  font-size: 17px;
  border-radius: 12px;
}

.badge {
  display: inline-block;
  padding: 4px 14px;
  border-radius: var(--radius-badge);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.6;
}
.badge-primary { background: rgba(31,111,168,.10); color: var(--primary); }
.badge-secondary { background: rgba(242,154,60,.15); color: #C96C12; }
.badge-accent { background: rgba(63,163,107,.12); color: var(--accent); }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(31,111,168,.08);
  color: var(--primary);
  font-size: 13px;
  padding: 6px 16px;
  border-radius: var(--radius-badge);
  font-weight: 500;
  transition: background .2s, color .2s;
}
.tag:hover { background: rgba(31,111,168,.16); color: var(--primary-dark); }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 32px;
  gap: 16px;
  flex-wrap: wrap;
}
.section-head h2 {
  font-size: 26px;
  font-weight: 700;
  color: var(--text-1);
  line-height: 1.4;
  position: relative;
  padding-left: 14px;
}
.section-head h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 4px;
  border-radius: 2px;
  background: var(--secondary);
}
.section-link {
  font-size: 14px;
  color: var(--text-2);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color .2s, gap .2s;
}
.section-link:hover { color: var(--primary); gap: 10px; }

/* ===== Header ===== */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 100;
  height: 64px;
}
.header-inner {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.brand-icon {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(31,111,168,.10);
  color: var(--primary);
  font-size: 18px;
  border-radius: 10px;
}
.brand-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-1);
  letter-spacing: .3px;
  white-space: nowrap;
}
.brand-name small {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 1.2px;
  line-height: 1.2;
}

.main-nav { flex: 1; display: flex; justify-content: center; }
.nav-list { display: flex; gap: 8px; }
.nav-link {
  display: inline-block;
  padding: 10px 16px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-2);
  border-radius: 8px;
  position: relative;
  transition: color .2s, background-color .2s;
}
.nav-link:hover { color: var(--primary); background: rgba(31,111,168,.05); }
.nav-link.active {
  color: var(--primary);
  font-weight: 600;
}
.nav-link.active::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg);
  border: 1.5px solid transparent;
  border-radius: var(--radius-btn);
  height: 40px;
  padding: 0 14px;
  transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.search-box:focus-within {
  background: var(--surface);
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(31,111,168,.10);
}
.search-box i { color: var(--text-3); font-size: 14px; }
.search-box input {
  border: none;
  background: transparent;
  outline: none;
  font-size: 14px;
  width: 150px;
  color: var(--text-1);
}
.search-box input::placeholder { color: var(--text-3); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-btn);
  font-size: 19px;
  color: var(--text-1);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: background-color .2s;
}
.nav-toggle:hover { background: var(--bg); }

/* ===== Article Page ===== */
.article-main { padding: 32px 0 0; }

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: var(--text-3);
  margin-bottom: 20px;
}
.breadcrumb a { color: var(--text-2); transition: color .2s; }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb i { font-size: 10px; color: var(--text-3); }
.breadcrumb span {
  color: var(--text-2);
  max-width: 420px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.article-header {
  max-width: 900px;
  margin: 0 auto;
  padding: 24px 0 28px;
  text-align: center;
}
.article-h1 {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-1);
  margin-bottom: 16px;
}
.article-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 13px;
  color: var(--text-3);
}
.meta-item { display: inline-flex; align-items: center; gap: 6px; }
.meta-item i { font-size: 13px; }
.meta-item .badge { margin-left: -2px; }

.article-body-wrap {
  max-width: 760px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 32px 40px 40px;
}

.article-body { font-size: 17px; line-height: 1.9; color: var(--text-1); }
.article-body > p {
  text-indent: 2em;
  margin-bottom: 24px;
}
.article-body p { margin-bottom: 20px; }
.article-body h2 {
  font-size: 24px;
  font-weight: 700;
  margin: 32px 0 16px;
  color: var(--text-1);
  line-height: 1.4;
}
.article-body h3 {
  font-size: 20px;
  font-weight: 600;
  margin: 28px 0 12px;
  color: var(--text-1);
}
.article-body img {
  border-radius: 8px;
  margin: 20px 0;
  box-shadow: var(--shadow-sm);
}
.article-body blockquote {
  border-left: 4px solid var(--primary);
  background: var(--bg);
  padding: 16px 20px;
  margin: 24px 0;
  border-radius: 0 8px 8px 0;
  color: var(--text-2);
  font-style: normal;
}
.article-body blockquote p { text-indent: 0; margin-bottom: 0; }
.article-body ul, .article-body ol {
  padding-left: 24px;
  margin: 20px 0;
}
.article-body ul { list-style: disc; }
.article-body ol { list-style: decimal; }
.article-body li { margin-bottom: 8px; }
.article-body a { font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 15px;
}
.article-body th, .article-body td {
  border: 1px solid var(--border);
  padding: 10px 14px;
  text-align: left;
}
.article-body th { background: var(--bg); font-weight: 600; }
.article-body tr:hover td { background: rgba(31,111,168,.04); }

.article-empty {
  max-width: 760px;
  margin: 0 auto;
  background: var(--surface);
  border: 1.5px dashed var(--border);
  border-radius: var(--radius);
  padding: 56px 24px;
  text-align: center;
}
.article-empty i {
  font-size: 40px;
  color: var(--text-3);
  margin-bottom: 16px;
}
.article-empty p {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-1);
  margin-bottom: 6px;
}
.article-empty .empty-sub {
  font-size: 14px;
  color: var(--text-2);
  font-weight: 400;
  margin-bottom: 24px;
}

.article-tags {
  max-width: 760px;
  margin: 20px auto 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.prev-next {
  max-width: 760px;
  margin: 28px auto 0;
}
.prev-next-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
  height: 100%;
  transition: box-shadow .25s, transform .25s, border-color .2s;
}
.prev-next-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
  border-color: rgba(31,111,168,.25);
}
.prev-next-card--right { justify-content: flex-end; text-align: right; }
.pn-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(31,111,168,.08);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
  transition: background-color .2s, transform .2s;
}
.prev-next-card:hover .pn-arrow { background: var(--primary); color: #fff; }
.prev-next-card:hover .pn-arrow i:first-child { transform: translateX(-2px); }
.prev-next-card--right:hover .pn-arrow i { transform: translateX(2px); }
.pn-label {
  display: block;
  font-size: 12px;
  color: var(--text-3);
  margin-bottom: 2px;
}
.pn-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-1);
}

.related-section {
  padding: 72px 0 80px;
  background: var(--surface);
  margin-top: 56px;
  border-top: 1px solid var(--border);
}
.rec-card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  height: 100%;
  transition: box-shadow .25s, transform .25s, border-color .2s;
}
.rec-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: rgba(31,111,168,.25);
}
.rec-card-img {
  overflow: hidden;
  height: 180px;
}
.rec-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s;
}
.rec-card:hover .rec-card-img img { transform: scale(1.03); }
.rec-card-body { padding: 20px 20px 24px; }
.rec-card-body .badge { margin-bottom: 10px; }
.rec-card-body h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-1);
  line-height: 1.5;
  margin-bottom: 8px;
  transition: color .2s;
}
.rec-card:hover .rec-card-body h3 { color: var(--primary); }
.rec-card-body p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.rec-time {
  font-size: 13px;
  color: var(--text-3);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ===== CTA ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--primary-dark) 0%, #1B5B86 100%);
  padding: 72px 16px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: rgba(255,255,255,.05);
}
.cta-banner::after {
  content: "";
  position: absolute;
  bottom: -80px;
  left: -40px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255,255,255,.03);
}
.cta-inner {
  position: relative;
  z-index: 2;
  max-width: 680px;
  margin: 0 auto;
}
.cta-inner h2 {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
  line-height: 1.4;
}
.cta-inner p {
  font-size: 16px;
  color: rgba(255,255,255,.85);
  line-height: 1.8;
  margin-bottom: 28px;
}

/* ===== Footer ===== */
.site-footer {
  background: #162B3A;
  color: #C8D4DE;
  padding: 56px 0 0;
  font-size: 14px;
}
.footer-col { margin-bottom: 32px; }
.footer-brand { padding-right: 20px; }
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
}
.footer-logo i {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,.12);
  color: var(--secondary);
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}
.footer-brand p {
  color: #9FB3BF;
  line-height: 1.8;
  font-size: 14px;
}
.footer-col h4 {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 16px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a {
  color: #9FB3BF;
  transition: color .2s, padding-left .2s;
}
.footer-col ul a:hover { color: #fff; padding-left: 4px; }
.footer-col p {
  color: #9FB3BF;
  line-height: 1.8;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-col p i { width: 16px; color: var(--secondary); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.10);
  margin-top: 16px;
  padding: 20px 0;
  text-align: center;
  font-size: 13px;
  color: #8298A5;
}

/* ===== Responsive ===== */
@media (max-width: 1023px) {
  .header-inner { gap: 12px; }
  .search-box { display: none; }
  .nav-toggle { display: inline-flex; }
  .main-nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    padding: 8px 20px 20px;
    z-index: 99;
  }
  .main-nav.nav-open { display: block; }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-link {
    display: block;
    padding: 14px 8px;
    font-size: 17px;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
  }
  .nav-link::after { display: none; }
  .nav-link.active {
    color: var(--primary);
    background: rgba(31,111,168,.05);
    border-radius: 8px;
  }
}

@media (max-width: 639px) {
  .site-header { height: 56px; }
  .header-inner { height: 56px; }
  .brand-icon { width: 32px; height: 32px; font-size: 15px; }
  .brand-name { font-size: 16px; }
  .btn-cta { padding: 0 14px; font-size: 14px; height: 38px; }
  .nav-toggle { width: 38px; height: 38px; }

  .article-main { padding: 20px 0 0; }
  .article-header { padding: 16px 0 20px; }
  .article-h1 { font-size: 26px; }
  .article-meta { gap: 10px 16px; font-size: 12px; }

  .article-body-wrap { padding: 20px 18px 28px; }
  .article-body { font-size: 16px; }
  .article-body h2 { font-size: 21px; }
  .article-body h3 { font-size: 18px; }

  .breadcrumb span { max-width: 180px; }

  .related-section { padding: 48px 0 56px; }
  .section-head h2 { font-size: 22px; }
  .rec-card-img { height: 170px; }

  .cta-banner { padding: 52px 16px; }
  .cta-inner h2 { font-size: 24px; }

  .site-footer { padding: 40px 0 0; }
  .footer-col { margin-bottom: 24px; }
}
