/* roulang page: index */
:root {
  --primary: #0b1527;
  --primary-light: #16233d;
  --secondary: #1e3a8a;
  --accent: #f59e0b;
  --accent-light: #fbbf24;
  --accent-dark: #d97706;
  --text: #1e293b;
  --text-light: #64748b;
  --text-muted: #94a3b8;
  --bg: #f5f7fa;
  --bg-alt: #eef1f6;
  --white: #ffffff;
  --border: #e2e8f0;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --shadow: 0 8px 28px rgba(11, 21, 39, 0.08);
  --shadow-lg: 0 16px 48px rgba(11, 21, 39, 0.14);
  --shadow-accent: 0 8px 24px rgba(245, 158, 11, 0.3);
  --transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --font-main: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input, textarea {
  font-family: inherit;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── 按钮 ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.02em;
  transition: var(--transition);
  white-space: nowrap;
  border: 2px solid transparent;
}

.btn-sm {
  padding: 9px 20px;
  font-size: 14px;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 16px;
}

.btn-primary {
  background: var(--accent);
  color: var(--primary);
  border-color: var(--accent);
}

.btn-primary:hover {
  background: var(--accent-light);
  border-color: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-accent);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.btn-dark:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

/* ── 徽章 ── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 14px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  background: rgba(245, 158, 11, 0.12);
  color: var(--accent-dark);
  border: 1px solid rgba(245, 158, 11, 0.25);
}

.badge i {
  font-size: 11px;
}

/* ── 页面头部导航 ── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(11, 21, 39, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: var(--transition);
}

.site-header.scrolled {
  background: rgba(11, 21, 39, 0.95);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), #f97316);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--primary);
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
}

.brand-name {
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.brand-tag {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-light);
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.3);
  vertical-align: middle;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0 auto;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  padding: 9px 18px;
  border-radius: 30px;
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.78);
  transition: var(--transition);
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.nav-link.active {
  color: var(--primary);
  background: var(--accent);
  font-weight: 600;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 600;
  color: #4ade80;
  background: rgba(74, 222, 128, 0.12);
  border: 1px solid rgba(74, 222, 128, 0.25);
}

.status-badge i {
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-size: 18px;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.2);
}

.nav-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ── Hero 首屏 ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 0 100px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  z-index: 0;
  transform: scale(1.02);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(11, 21, 39, 0.94) 0%, rgba(15, 32, 58, 0.88) 55%, rgba(20, 40, 70, 0.75) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 20px;
  border-radius: 40px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--accent-light);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  margin-bottom: 28px;
  backdrop-filter: blur(8px);
}

.hero-badge i {
  font-size: 14px;
}

.hero h1 {
  font-size: clamp(38px, 6vw, 72px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.hero h1 span {
  color: var(--accent);
}

.hero-desc {
  font-size: clamp(16px, 1.6vw, 19px);
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.8;
  max-width: 680px;
  margin: 0 auto 38px;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.stat-item {
  text-align: center;
}

.stat-item strong {
  display: block;
  font-size: 30px;
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}

.stat-item span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 4px;
  display: block;
}

/* ── 通用板块 ── */
.section {
  padding: 96px 0;
}

.section-alt {
  background: var(--white);
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}

.section-overline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent-dark);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-head h2 {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 800;
  color: var(--primary);
  line-height: 1.25;
  margin-bottom: 14px;
}

.section-head p {
  font-size: 16px;
  color: var(--text-light);
  line-height: 1.7;
}

/* ── 核心特征卡片 ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), transparent);
  opacity: 0;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 22px;
  background: rgba(245, 158, 11, 0.1);
  color: var(--accent-dark);
  transition: var(--transition);
}

.feature-card:hover .feature-icon {
  background: var(--accent);
  color: var(--primary);
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.3);
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
}

/* ── 分类入口 / 图文区块 ── */
.category-entry {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.category-media {
  position: relative;
  overflow: hidden;
  min-height: 320px;
}

.category-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.category-entry:hover .category-media img {
  transform: scale(1.04);
}

.category-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 21, 39, 0.35), transparent 60%);
}

.category-info {
  padding: 52px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.category-info .badge {
  align-self: flex-start;
  margin-bottom: 16px;
}

.category-info h3 {
  font-size: 28px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 16px;
  line-height: 1.3;
}

.category-info p {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 28px;
}

.category-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.category-tags .tag {
  padding: 5px 14px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 500;
  background: var(--bg);
  color: var(--text-light);
  border: 1px solid var(--border);
}

.category-info .btn {
  align-self: flex-start;
}

/* ── 资讯列表 ── */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.news-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.news-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--secondary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s ease;
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(245, 158, 11, 0.3);
}

.news-card:hover::after {
  transform: scaleX(1);
}

.news-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.news-card .badge {
  font-size: 11px;
  padding: 3px 12px;
}

.news-date {
  font-size: 12px;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.news-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: auto;
}

.empty-tip {
  grid-column: 1 / -1;
  text-align: center;
  padding: 48px 24px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px dashed var(--border);
  color: var(--text-light);
  font-size: 15px;
}

/* ── 数据概览 ── */
.stats-section {
  background: var(--primary);
  background-image: url('/assets/images/backpic/back-2.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
  padding: 90px 0;
}

.stats-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(11, 21, 39, 0.88);
}

.stats-section .container {
  position: relative;
  z-index: 1;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stats-section .stat-item {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 36px 20px;
  backdrop-filter: blur(10px);
  transition: var(--transition);
}

.stats-section .stat-item:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-4px);
}

.stats-section .stat-icon {
  font-size: 26px;
  color: var(--accent);
  margin-bottom: 12px;
}

.stats-section .stat-item strong {
  font-size: 32px;
}

.stats-section .stat-item span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
}

/* ── 探索流程 ── */
.steps-wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  position: relative;
}

.steps-wrap::before {
  content: "";
  position: absolute;
  top: 34px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--border) 0, var(--border) 8px, transparent 8px, transparent 16px);
  z-index: 0;
}

.step-item {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 10px;
}

.step-node {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 800;
  color: var(--white);
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  margin: 0 auto 20px;
  box-shadow: 0 8px 24px rgba(30, 58, 138, 0.3);
  border: 4px solid var(--white);
  transition: var(--transition);
  position: relative;
}

.step-item:hover .step-node {
  transform: scale(1.08);
  box-shadow: 0 10px 32px rgba(30, 58, 138, 0.4);
}

.step-item h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}

.step-item p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
}

/* ── FAQ ── */
.faq-wrap {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  margin-bottom: 14px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: rgba(245, 158, 11, 0.4);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 26px;
  font-size: 16px;
  font-weight: 600;
  color: var(--primary);
  text-align: left;
  transition: var(--transition);
}

.faq-question i {
  font-size: 14px;
  color: var(--accent-dark);
  transition: transform 0.35s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  padding: 0 26px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.8;
}

.faq-item.active .faq-answer {
  max-height: 320px;
  padding: 0 26px 24px;
}

.faq-item.active {
  border-color: rgba(245, 158, 11, 0.5);
  box-shadow: var(--shadow);
}

/* ── CTA 区块 ── */
.cta-section {
  position: relative;
  padding: 100px 0;
  background: var(--primary);
  overflow: hidden;
  text-align: center;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -30%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.12);
  filter: blur(60px);
}

.cta-section::after {
  content: "";
  position: absolute;
  bottom: -60%;
  left: -20%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(30, 58, 138, 0.4);
  filter: blur(60px);
}

.cta-section .container {
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
}

.cta-section p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

/* ── 页脚 ── */
.site-footer {
  background: var(--primary);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 60px 0 30px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
  flex-wrap: wrap;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand {
  max-width: 340px;
}

.footer-brand .brand {
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
}

.footer-links h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 18px;
  letter-spacing: 0.05em;
}

.footer-links a {
  display: block;
  padding: 6px 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--accent);
  padding-left: 6px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.45);
  margin-left: 18px;
}

.footer-bottom a:hover {
  color: var(--accent);
}

/* ── 响应式 ── */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps-wrap {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 24px;
  }
  .steps-wrap::before {
    display: none;
  }
  .category-entry {
    grid-template-columns: 1fr;
  }
  .category-media {
    min-height: 240px;
  }
}

@media (max-width: 768px) {
  .site-header .nav-wrap {
    height: 68px;
  }
  .nav-toggle {
    display: flex;
  }
  .main-nav {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--primary);
    padding: 20px 24px;
    gap: 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transform: translateY(-120%);
    transition: transform 0.4s ease;
    opacity: 0;
    visibility: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  }
  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .main-nav .nav-link {
    width: 100%;
    justify-content: center;
    padding: 14px;
    font-size: 16px;
  }
  .status-badge {
    display: none;
  }
  .nav-actions .btn {
    padding: 9px 16px;
    font-size: 13px;
  }
  .hero {
    min-height: auto;
    padding: 110px 0 70px;
  }
  .hero-stats {
    gap: 24px;
    margin-top: 40px;
    padding-top: 28px;
  }
  .section {
    padding: 64px 0;
  }
  .category-info {
    padding: 36px 28px;
  }
}

@media (max-width: 520px) {
  .container {
    padding: 0 16px;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .news-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .steps-wrap {
    grid-template-columns: 1fr;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .brand-name {
    font-size: 19px;
  }
  .brand-tag {
    display: none;
  }
  .section-head h2 {
    font-size: 26px;
  }
  .footer-top {
    flex-direction: column;
    gap: 32px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* roulang page: category1 */
:root {
  --primary: #14213d;
  --primary-light: #1f3155;
  --primary-dark: #0c1425;
  --accent: #f0a500;
  --accent-light: #ffb703;
  --accent-dark: #d18f00;
  --bg: #f6f8fb;
  --white: #ffffff;
  --text: #1a2332;
  --text-light: #5a6b82;
  --text-muted: #8a9bb0;
  --border: #e2e8f0;
  --shadow: 0 4px 20px rgba(20, 33, 61, 0.08);
  --shadow-lg: 0 16px 48px rgba(20, 33, 61, 0.14);
  --radius: 18px;
  --radius-sm: 10px;
  --transition: all 0.3s ease;
  --container: 1200px;
  --header-h: 76px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

img {
  max-width: 100%;
  display: block;
}

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  transition: var(--transition);
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--accent);
  color: var(--primary);
}

.btn-primary:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(240, 165, 0, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

.btn-light {
  background: var(--white);
  color: var(--primary);
}

.btn-light:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.25);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 14px;
}

/* 标签 */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-tag::before {
  content: "";
  width: 28px;
  height: 3px;
  background: var(--accent);
  border-radius: 4px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(20, 33, 61, 0.04);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: var(--accent);
  border-radius: 12px;
  font-size: 18px;
  box-shadow: 0 4px 12px rgba(20, 33, 61, 0.2);
}

.brand-name {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 0.5px;
}

.brand-tag {
  font-size: 12px;
  font-weight: 600;
  padding: 3px 10px;
  background: var(--accent);
  color: var(--primary);
  border-radius: 20px;
  letter-spacing: 0.5px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  padding: 8px 18px;
  border-radius: 40px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--primary);
  background: rgba(20, 33, 61, 0.06);
}

.nav-link.active {
  background: var(--primary);
  color: var(--white);
  font-weight: 600;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  color: #0e7a3d;
  background: #e6f7ee;
  border: 1px solid #b7ecd0;
  border-radius: 30px;
}

.status-badge i {
  font-size: 12px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--primary);
  color: var(--white);
  font-size: 18px;
  transition: var(--transition);
}

.nav-toggle:hover {
  background: var(--primary-light);
}

/* Hero */
.page-hero {
  position: relative;
  padding: 100px 0 80px;
  overflow: hidden;
  background: var(--primary);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.35;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(20, 33, 61, 0.96) 0%, rgba(20, 33, 61, 0.72) 50%, rgba(20, 33, 61, 0.4) 100%);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(240, 165, 0, 0.15);
  border: 1px solid rgba(240, 165, 0, 0.4);
  color: var(--accent-light);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 30px;
  margin-bottom: 20px;
}

.hero-tag i {
  font-size: 12px;
}

.page-hero h1 {
  font-size: 44px;
  line-height: 1.25;
  color: var(--white);
  font-weight: 800;
  margin-bottom: 18px;
  letter-spacing: 0.5px;
}

.page-hero .hero-desc {
  font-size: 17px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 30px;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.hero-meta {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
}

.hero-meta i {
  color: var(--accent);
}

.hero-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  padding: 28px;
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-lg);
}

.hero-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: rgba(231, 76, 60, 0.8);
  color: #fff;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.live-badge i {
  font-size: 8px;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero-card h3 {
  font-size: 20px;
  color: var(--white);
  margin-bottom: 12px;
  line-height: 1.5;
}

.hero-card p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  margin-bottom: 20px;
}

.hero-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 18px;
}

.hero-card-meta span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* 分类介绍 */
.intro-section {
  padding: 90px 0;
  background: var(--white);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.intro-image {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.intro-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.intro-badge {
  position: absolute;
  bottom: 18px;
  left: 18px;
  background: rgba(20, 33, 61, 0.88);
  border: 1px solid rgba(240, 165, 0, 0.5);
  color: var(--accent-light);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 30px;
  backdrop-filter: blur(8px);
}

.intro-content h2 {
  font-size: 32px;
  line-height: 1.3;
  color: var(--primary);
  margin-bottom: 16px;
  font-weight: 800;
}

.intro-content > p {
  color: var(--text-light);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 24px;
}

.feature-list {
  display: grid;
  gap: 12px;
  margin-bottom: 30px;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  color: var(--text);
  transition: var(--transition);
}

.feature-list li:hover {
  border-color: var(--accent);
  background: rgba(240, 165, 0, 0.05);
}

.feature-list li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 13px;
  color: var(--accent);
  flex-shrink: 0;
}

.intro-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.intro-stats div {
  text-align: center;
  padding: 20px 10px;
  background: var(--primary);
  border-radius: var(--radius-sm);
  color: var(--white);
}

.intro-stats strong {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 4px;
}

.intro-stats span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}

/* 资讯分类卡片 */
.categories-section {
  padding: 90px 0;
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.section-head .section-tag {
  justify-content: center;
}

.section-head h2 {
  font-size: 34px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.3;
  margin-bottom: 12px;
}

.section-head p {
  color: var(--text-light);
  font-size: 16px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.resource-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.resource-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(240, 165, 0, 0.4);
}

.card-image {
  position: relative;
  height: 180px;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.resource-card:hover .card-image img {
  transform: scale(1.06);
}

.card-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20, 33, 61, 0.4), transparent 60%);
}

.card-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-tag {
  display: inline-block;
  background: var(--primary);
  color: var(--accent-light);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
  align-self: flex-start;
}

.card-body h3 {
  font-size: 19px;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.4;
}

.card-body p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.65;
  margin-bottom: 16px;
  flex: 1;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-dark);
}

.card-link i {
  transition: transform 0.3s ease;
}

.resource-card:hover .card-link i {
  transform: translateX(4px);
}

/* 路径流程 */
.route-section {
  padding: 90px 0;
  background: var(--primary);
  background-image: url("/assets/images/backpic/back-2.png");
  background-size: cover;
  background-attachment: fixed;
  position: relative;
}

.route-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(20, 33, 61, 0.92);
}

.route-section .container {
  position: relative;
  z-index: 2;
}

.route-section .section-tag {
  justify-content: center;
  width: 100%;
}

.route-section .section-tag::before {
  display: none;
}

.route-section .section-head {
  margin-bottom: 56px;
}

.route-section .section-head h2 {
  color: var(--white);
}

.route-section .section-head p {
  color: rgba(255, 255, 255, 0.7);
}

.route-list {
  display: flex;
  align-items: stretch;
  gap: 0;
}

.route-item {
  flex: 1;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 36px 30px;
  backdrop-filter: blur(10px);
  transition: var(--transition);
  position: relative;
}

.route-item:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-4px);
  border-color: rgba(240, 165, 0, 0.4);
}

.route-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--primary);
  font-weight: 800;
  font-size: 18px;
  margin-bottom: 20px;
}

.route-item h3 {
  color: var(--white);
  font-size: 19px;
  margin-bottom: 10px;
  font-weight: 700;
}

.route-item p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  line-height: 1.65;
  margin-bottom: 20px;
}

.route-progress {
  height: 4px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  overflow: hidden;
}

.route-progress span {
  display: block;
  height: 100%;
  background: var(--accent);
  border-radius: 4px;
}

.route-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  flex-shrink: 0;
  color: var(--accent);
  font-size: 20px;
}

/* 最新资讯 */
.news-section {
  padding: 90px 0;
  background: var(--white);
}

.news-list {
  display: grid;
  gap: 16px;
  max-width: 960px;
  margin: 0 auto;
}

.news-item {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 24px 28px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
}

.news-item:hover {
  border-color: rgba(240, 165, 0, 0.5);
  background: var(--white);
  box-shadow: var(--shadow);
  transform: translateX(4px);
}

.news-date {
  text-align: center;
  padding: 10px 14px;
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}

.news-info h3 {
  font-size: 17px;
  color: var(--text);
  font-weight: 600;
  margin-bottom: 6px;
  line-height: 1.5;
}

.news-info p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-dark);
  background: rgba(240, 165, 0, 0.1);
  padding: 2px 10px;
  border-radius: 20px;
  margin-bottom: 8px;
}

.news-read {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  white-space: nowrap;
}

.news-read i {
  transition: transform 0.3s ease;
}

.news-item:hover .news-read i {
  transform: translateX(4px);
}

/* FAQ */
.faq-section {
  padding: 90px 0;
}

.faq-wrap {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: 16px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: rgba(240, 165, 0, 0.4);
}

.faq-question {
  padding: 22px 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  color: var(--primary);
}

.faq-question i {
  color: var(--accent);
  font-size: 16px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-answer-inner {
  padding: 0 26px 24px;
  color: var(--text-light);
  font-size: 15px;
  line-height: 1.75;
  border-top: 1px solid var(--border);
  padding-top: 16px;
  margin-top: 0;
}

.faq-item.active .faq-answer {
  max-height: 260px;
}

/* CTA */
.cta-section {
  padding: 0 0 90px;
}

.cta-box {
  position: relative;
  background: var(--primary);
  border-radius: 24px;
  padding: 64px 48px;
  text-align: center;
  overflow: hidden;
  background-image: url("/assets/images/backpic/back-3.png");
  background-size: cover;
  background-position: center;
}

.cta-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(20, 33, 61, 0.94), rgba(20, 33, 61, 0.75));
}

.cta-box > * {
  position: relative;
  z-index: 2;
}

.cta-box h2 {
  font-size: 32px;
  color: var(--white);
  font-weight: 800;
  margin-bottom: 14px;
}

.cta-box p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
  max-width: 520px;
  margin: 0 auto 30px;
}

.cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Footer */
.site-footer {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 0 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .brand {
  margin-bottom: 18px;
}

.footer-brand .brand-icon {
  background: rgba(255, 255, 255, 0.1);
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.8;
  max-width: 420px;
  color: rgba(255, 255, 255, 0.6);
}

.footer-links h4 {
  font-size: 16px;
  color: var(--white);
  margin-bottom: 16px;
  font-weight: 600;
}

.footer-links a {
  display: block;
  padding: 6px 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 24px 0;
  flex-wrap: wrap;
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  margin-left: 20px;
}

.footer-bottom a:hover {
  color: var(--accent);
}

/* 响应式 */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-card {
    max-width: 480px;
  }

  .category-grid {
    grid-template-columns: 2fr 2fr;
  }

  .route-list {
    flex-wrap: wrap;
  }

  .route-item {
    flex: 1 1 45%;
  }

  .route-arrow {
    display: none;
  }

  .intro-grid {
    gap: 40px;
  }

  .intro-image img {
    height: 360px;
  }
}

@media (max-width: 768px) {
  :root {
    --header-h: 64px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    display: none;
  }

  .main-nav.open {
    display: flex;
  }

  .nav-link {
    padding: 14px 16px;
    border-radius: 10px;
  }

  .status-badge {
    display: none;
  }

  .brand-name {
    font-size: 18px;
  }

  .page-hero {
    padding: 64px 0 60px;
  }

  .page-hero h1 {
    font-size: 30px;
  }

  .hero-meta {
    gap: 14px;
  }

  .intro-grid {
    grid-template-columns: 1fr;
  }

  .category-grid {
    grid-template-columns: 1fr;
  }

  .route-list {
    flex-direction: column;
  }

  .route-item {
    flex: 1 1 100%;
  }

  .news-item {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .news-date {
    text-align: left;
    padding: 6px 14px;
  }

  .news-read {
    justify-self: start;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .cta-box {
    padding: 40px 24px;
  }

  .cta-box h2 {
    font-size: 24px;
  }

  .intro-stats {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 520px) {
  .container {
    padding: 0 16px;
  }

  .page-hero h1 {
    font-size: 24px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .section-head h2 {
    font-size: 26px;
  }

  .intro-content h2 {
    font-size: 24px;
  }

  .category-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-bottom a {
    margin: 0 10px;
  }

  .cta-actions .btn {
    width: 100%;
  }

  .brand-tag {
    display: none;
  }
}

/* roulang page: article */
:root {
    --primary: #e85d04;
    --primary-hover: #c94d02;
    --primary-soft: #fff3ec;
    --accent: #0ea5e9;
    --dark: #0c1626;
    --dark-2: #16263d;
    --bg: #f5f7fb;
    --white: #ffffff;
    --text: #1e293b;
    --muted: #6b7a90;
    --border: #e5eaf1;
    --radius: 16px;
    --radius-sm: 10px;
    --radius-lg: 24px;
    --shadow: 0 4px 20px rgba(12, 22, 38, 0.07);
    --shadow-lg: 0 12px 44px rgba(12, 22, 38, 0.12);
    --header-h: 76px;
    --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", Roboto, sans-serif;
}
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
a {
    text-decoration: none;
    color: inherit;
    transition: color .2s;
}
img {
    max-width: 100%;
    display: block;
}
button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}
.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header Nav */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(12, 22, 38, 0.94);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-h);
    gap: 20px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.brand-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), #ff8a3d);
    border-radius: 10px;
    color: #fff;
    font-size: 18px;
    box-shadow: 0 4px 14px rgba(232, 93, 4, 0.35);
}
.brand-name {
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    letter-spacing: .5px;
}
.brand-tag {
    font-size: 11px;
    font-weight: 600;
    padding: 3px 8px;
    background: rgba(232, 93, 4, 0.15);
    color: #ff9a55;
    border-radius: 999px;
    border: 1px solid rgba(232, 93, 4, 0.3);
}
.main-nav {
    display: flex;
    gap: 4px;
}
.nav-link {
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.72);
    transition: all .2s;
}
.nav-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}
.nav-link.active {
    color: #fff;
    background: rgba(232, 93, 4, 0.22);
}
.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}
.status-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #4ade80;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(74, 222, 128, 0.1);
    border: 1px solid rgba(74, 222, 128, 0.2);
    white-space: nowrap;
}
.status-badge i {
    font-size: 12px;
}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    transition: all .25s;
    border: none;
    cursor: pointer;
}
.btn-primary {
    background: linear-gradient(135deg, var(--primary), #ff6a1a);
    color: #fff;
    box-shadow: 0 4px 14px rgba(232, 93, 4, 0.35);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(232, 93, 4, 0.45);
}
.btn-outline {
    border: 1px solid var(--border);
    color: var(--text);
    background: var(--white);
}
.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-soft);
}
.btn-sm {
    padding: 7px 16px;
    font-size: 13px;
}
.nav-toggle {
    display: none;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    color: #fff;
    font-size: 18px;
    background: rgba(255, 255, 255, 0.08);
    align-items: center;
    justify-content: center;
}

/* Article Hero */
.article-hero {
    position: relative;
    padding: 80px 0 64px;
    background: linear-gradient(135deg, rgba(12, 22, 38, 0.92), rgba(18, 32, 52, 0.85)), url('/assets/images/backpic/back-2.png') center center / cover no-repeat;
    color: #fff;
}
.article-hero .container {
    position: relative;
    z-index: 2;
    max-width: 960px;
}
.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 18px;
}
.breadcrumb a {
    color: rgba(255, 255, 255, 0.75);
    transition: color .2s;
}
.breadcrumb a:hover {
    color: var(--primary);
}
.breadcrumb .sep {
    color: rgba(255, 255, 255, 0.3);
    font-size: 11px;
}
.article-cat {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    color: #ff9a55;
    background: rgba(232, 93, 4, 0.16);
    border: 1px solid rgba(232, 93, 4, 0.35);
    padding: 6px 14px;
    border-radius: 999px;
    letter-spacing: .5px;
}
.article-title {
    font-size: 36px;
    line-height: 1.3;
    font-weight: 800;
    margin: 18px 0 14px;
    letter-spacing: -0.5px;
}
.article-desc {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.72);
    max-width: 800px;
    line-height: 1.75;
}
.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 22px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}
.article-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.article-meta i {
    color: rgba(255, 255, 255, 0.4);
}

/* Article Main */
.article-main {
    padding: 48px 0 64px;
}
.article-wrap {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 32px;
    align-items: start;
}
.article-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 44px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(228, 232, 240, 0.6);
}
.article-content {
    font-size: 16px;
    line-height: 1.88;
    color: #2d3748;
}
.article-content h2,
.article-content h3,
.article-content h4 {
    margin: 30px 0 14px;
    line-height: 1.4;
    color: var(--dark);
    font-weight: 700;
}
.article-content h2 {
    font-size: 24px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}
.article-content h3 {
    font-size: 20px;
}
.article-content h4 {
    font-size: 17px;
}
.article-content p {
    margin: 14px 0;
}
.article-content img {
    border-radius: var(--radius);
    margin: 22px auto;
    box-shadow: var(--shadow);
}
.article-content ul,
.article-content ol {
    margin: 14px 0;
    padding-left: 24px;
}
.article-content li {
    margin-bottom: 8px;
}
.article-content blockquote {
    border-left: 4px solid var(--primary);
    background: var(--primary-soft);
    padding: 16px 20px;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    margin: 22px 0;
    font-size: 15px;
    color: #4a5568;
}
.article-content a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.article-content strong {
    font-weight: 700;
    color: var(--dark);
}
.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 14px;
}
.article-content table th,
.article-content table td {
    padding: 10px 14px;
    border: 1px solid var(--border);
    text-align: left;
}
.article-content table th {
    background: var(--primary-soft);
    font-weight: 600;
}

/* Not Found */
.not-found-box {
    text-align: center;
    padding: 60px 24px;
}
.not-found-box i {
    font-size: 44px;
    color: var(--muted);
    margin-bottom: 18px;
    opacity: 0.5;
}
.not-found-box h2 {
    font-size: 24px;
    color: var(--dark);
    margin-bottom: 10px;
}
.not-found-box p {
    color: var(--muted);
    margin-bottom: 24px;
}

/* Sidebar */
.article-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.side-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(228, 232, 240, 0.55);
}
.side-card h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary);
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--dark);
}
.side-card h3 i {
    color: var(--primary);
}
.info-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.info-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}
.info-list li span {
    color: var(--muted);
}
.info-list li em {
    font-style: normal;
    font-weight: 600;
    color: var(--text);
    text-align: right;
}
.side-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.side-list a {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 8px 0;
    font-size: 14px;
    line-height: 1.55;
    color: var(--text);
    border-bottom: 1px dashed var(--border);
    transition: color .2s;
}
.side-list a:last-child {
    border-bottom: none;
}
.side-list a:hover {
    color: var(--primary);
}
.side-list .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary);
    flex-shrink: 0;
    margin-top: 8px;
    opacity: 0.6;
}
.side-list a:hover .dot {
    opacity: 1;
}

/* Related Section */
.related-section {
    padding: 60px 0;
    background: var(--white);
    border-top: 1px solid var(--border);
}
.section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
    flex-wrap: wrap;
    gap: 12px;
}
.section-title {
    font-size: 26px;
    font-weight: 800;
    position: relative;
    padding-left: 16px;
    color: var(--dark);
}
.section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    bottom: 4px;
    width: 5px;
    background: var(--primary);
    border-radius: 4px;
}
.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.related-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all .3s;
    display: block;
}
.related-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(232, 93, 4, 0.25);
}
.related-card-img {
    height: 180px;
    overflow: hidden;
    position: relative;
}
.related-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s;
}
.related-card:hover .related-card-img img {
    transform: scale(1.05);
}
.related-card-body {
    padding: 20px;
}
.related-card-tag {
    font-size: 12px;
    color: var(--primary);
    font-weight: 600;
    letter-spacing: .3px;
}
.related-card h3 {
    font-size: 16px;
    font-weight: 700;
    margin-top: 8px;
    line-height: 1.5;
    color: var(--dark);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.related-card p {
    font-size: 13px;
    color: var(--muted);
    margin-top: 8px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.related-card-date {
    display: block;
    font-size: 12px;
    color: #9aa8b8;
    margin-top: 12px;
}
.related-card-date i {
    margin-right: 4px;
}

/* CTA Section */
.cta-section {
    padding: 64px 0;
    background: var(--bg);
}
.cta-box {
    background: linear-gradient(135deg, rgba(12, 22, 38, 0.94), rgba(22, 38, 61, 0.92)), url('/assets/images/backpic/back-3.png') center center / cover no-repeat;
    border-radius: var(--radius-lg);
    padding: 56px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.cta-box h2 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 12px;
}
.cta-box p {
    color: rgba(255, 255, 255, 0.72);
    max-width: 600px;
    margin: 0 auto 28px;
    font-size: 15px;
    line-height: 1.7;
}
.cta-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

/* Footer */
.site-footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.6);
    padding: 56px 0 24px;
}
.footer-top {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    flex-wrap: wrap;
}
.footer-brand {
    max-width: 380px;
}
.footer-brand .brand-name {
    color: #fff;
}
.footer-brand .brand-tag {
    color: #ff9a55;
}
.footer-brand p {
    margin-top: 16px;
    font-size: 14px;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.5);
}
.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 140px;
}
.footer-links h4 {
    color: #fff;
    font-size: 16px;
    margin-bottom: 8px;
}
.footer-links a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.55);
    transition: color .2s;
}
.footer-links a:hover {
    color: var(--primary);
}
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
    flex-wrap: wrap;
    gap: 12px;
}
.footer-bottom a {
    color: rgba(255, 255, 255, 0.5);
    margin-left: 16px;
    font-size: 13px;
}
.footer-bottom a:hover {
    color: var(--primary);
}

/* Responsive */
@media (max-width: 1024px) {
    .article-wrap {
        grid-template-columns: 1fr;
    }
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .article-sidebar {
        flex-direction: row;
        flex-wrap: wrap;
    }
    .side-card {
        flex: 1;
        min-width: 240px;
    }
}
@media (max-width: 768px) {
    .main-nav {
        display: none;
        position: absolute;
        top: var(--header-h);
        left: 0;
        right: 0;
        background: rgba(12, 22, 38, 0.97);
        flex-direction: column;
        padding: 16px 24px;
        gap: 6px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    }
    .main-nav.open {
        display: flex;
    }
    .nav-toggle {
        display: flex;
    }
    .status-badge {
        display: none;
    }
    .article-title {
        font-size: 28px;
    }
    .article-hero {
        padding: 56px 0 40px;
    }
    .article-card {
        padding: 28px;
    }
    .cta-box {
        padding: 36px 24px;
    }
    .cta-box h2 {
        font-size: 22px;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    .footer-bottom a {
        margin: 0 8px;
    }
}
@media (max-width: 520px) {
    .related-grid {
        grid-template-columns: 1fr;
    }
    .container {
        padding: 0 16px;
    }
    .brand-tag {
        display: none;
    }
    .brand-name {
        font-size: 17px;
    }
    .article-card {
        padding: 20px;
        border-radius: 18px;
    }
    .article-title {
        font-size: 24px;
    }
    .article-desc {
        font-size: 15px;
    }
    .article-meta {
        gap: 12px;
        font-size: 13px;
    }
    .article-sidebar {
        flex-direction: column;
    }
    .related-card-img {
        height: 160px;
    }
    .cta-box {
        border-radius: 18px;
        padding: 28px 18px;
    }
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    .cta-actions .btn {
        width: 100%;
        justify-content: center;
    }
}
