/* roulang page: index */
:root {
  --primary: #0a1a33;
  --primary-soft: #122b4d;
  --accent: #ff5a1f;
  --accent-soft: #fff0e8;
  --accent-dark: #d64810;
  --bg: #f4f7fb;
  --bg-white: #ffffff;
  --text: #1a2433;
  --text-muted: #64748b;
  --border: #e3e9f2;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-sm: 10px;
  --shadow: 0 8px 30px rgba(10,26,51,0.07);
  --shadow-lg: 0 20px 50px rgba(10,26,51,0.13);
  --header-h: 74px;
  --section-pad: 96px;
  --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--font-main);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
button,
input {
  font-family: inherit;
  font-size: inherit;
  border: none;
  background: none;
  cursor: pointer;
}
ul,
ol {
  list-style: none;
}
:focus-visible {
  outline: 3px solid rgba(255,90,31,0.45);
  outline-offset: 2px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.4;
  transition: all 0.25s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 22px rgba(255,90,31,0.32);
}
.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(255,90,31,0.4);
}
.btn-primary:active {
  transform: translateY(0);
}
.btn-ghost {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.24);
  border-color: rgba(255,255,255,0.6);
  transform: translateY(-2px);
}
.btn-secondary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 8px 22px rgba(10,26,51,0.2);
}
.btn-secondary:hover {
  background: var(--primary-soft);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(10,26,51,0.28);
}
.btn-light {
  background: #fff;
  color: var(--primary);
  box-shadow: 0 8px 22px rgba(10,26,51,0.14);
}
.btn-light:hover {
  background: #f2f5fa;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(10,26,51,0.18);
}
.btn-outline-light {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.65);
}
.btn-outline-light:hover {
  background: rgba(255,255,255,0.14);
  transform: translateY(-2px);
}
.btn-sm {
  padding: 9px 20px;
  font-size: 14px;
}

/* ===== Section basic ===== */
.section {
  padding: var(--section-pad) 0;
}
.section-tag {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
}
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 42px;
}
.section-head h2 {
  font-size: 32px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.3;
  margin-top: 8px;
}
.section-head p {
  color: var(--text-muted);
  max-width: 620px;
  margin-top: 8px;
}
.link-more {
  color: var(--accent);
  font-weight: 600;
  white-space: nowrap;
  transition: gap 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.link-more:hover {
  gap: 8px;
}
@media (max-width: 768px) {
  .section {
    padding: 64px 0;
  }
  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .section-head h2 {
    font-size: 26px;
  }
}

/* ===== Header / Nav ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255,255,255,0.66);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,255,255,0.35);
  box-shadow: 0 2px 18px rgba(10,26,51,0.04);
  transition: background 0.35s ease, box-shadow 0.35s ease;
}
.site-header.scrolled {
  background: rgba(255,255,255,0.94);
  box-shadow: 0 4px 26px rgba(10,26,51,0.08);
  border-bottom-color: var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 20px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), #ff8b3d);
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: -1px;
  box-shadow: 0 6px 16px rgba(255,90,31,0.35);
}
.brand-text {
  font-size: 17px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 0.2px;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-link {
  display: inline-flex;
  align-items: center;
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  transition: background 0.25s, color 0.25s, box-shadow 0.25s;
}
.nav-link:hover {
  background: rgba(10,26,51,0.06);
  color: var(--primary);
}
.nav-link.active {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 6px 18px rgba(10,26,51,0.2);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(10,26,51,0.05);
  padding: 10px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--primary);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 60px) 0 70px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url('/assets/images/backpic/back-1.png') center center / cover no-repeat;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(6,14,28,0.88) 0%, rgba(10,26,51,0.72) 55%, rgba(18,35,60,0.58) 100%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 780px;
  margin: 0;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.22);
  color: rgba(255,255,255,0.92);
  font-size: 14px;
  font-weight: 500;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  margin-bottom: 24px;
}
.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(255,90,31,0.3);
}
.hero h1 {
  font-size: 54px;
  font-weight: 900;
  line-height: 1.18;
  color: #fff;
  letter-spacing: 1px;
  margin-bottom: 20px;
}
.hero-sub {
  font-size: 18px;
  line-height: 1.75;
  color: rgba(255,255,255,0.82);
  max-width: 620px;
  margin-bottom: 34px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 50px;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 700px;
}
.stat-card {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius);
  padding: 20px 16px;
  text-align: center;
  transition: background 0.3s, transform 0.3s;
}
.stat-card:hover {
  background: rgba(255,255,255,0.18);
  transform: translateY(-4px);
}
.stat-card strong {
  display: block;
  font-size: 30px;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 4px;
}
.stat-card span {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
}

/* ===== Intro ===== */
.section-intro {
  background: var(--bg-white);
}
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
}
.intro-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.intro-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 70%, rgba(6,14,28,0.25));
}
.intro-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 380px;
}
.intro-content {
  padding: 10px 0;
}
.intro-content h2 {
  font-size: 34px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.3;
  margin: 12px 0 18px;
}
.intro-content p {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 20px;
}
.intro-list {
  margin-bottom: 30px;
}
.intro-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  color: var(--text);
  font-weight: 500;
}
.intro-list li::before {
  content: "✓";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  margin-top: 4px;
}
@media (max-width: 960px) {
  .intro-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .intro-media img {
    min-height: 280px;
  }
}

/* ===== Categories ===== */
.section-cats {
  background: linear-gradient(180deg, var(--bg) 0%, #eef2f8 100%);
}
.cat-card {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-white);
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.cat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.cat-media {
  min-height: 280px;
  position: relative;
  overflow: hidden;
}
.cat-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  transition: transform 0.5s ease;
}
.cat-card:hover .cat-media img {
  transform: scale(1.05);
}
.cat-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 55%, rgba(10,26,51,0.25));
}
.cat-body {
  padding: 44px 42px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
.cat-icon {
  font-size: 34px;
  margin-bottom: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: var(--accent-soft);
  color: var(--accent);
}
.cat-body h3 {
  font-size: 26px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 12px;
}
.cat-body p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 22px;
}
.cat-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-weight: 700;
  font-size: 15px;
  transition: gap 0.25s;
}
.cat-card:hover .cat-link {
  gap: 10px;
}
@media (max-width: 860px) {
  .cat-card {
    grid-template-columns: 1fr;
  }
  .cat-media {
    min-height: 220px;
  }
  .cat-body {
    padding: 30px 28px;
  }
}

/* ===== News ===== */
.section-news {
  background: var(--bg-white);
}
.news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.news-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-white);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  height: 100%;
}
.news-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(255,90,31,0.35);
}
.news-card-link {
  display: flex;
  flex-direction: column;
  padding: 28px 30px;
  height: 100%;
}
.news-badge {
  display: inline-flex;
  align-self: flex-start;
  padding: 4px 13px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 14px;
}
.news-card h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.45;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 18px;
  flex: 1;
}
.news-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  padding-top: 14px;
  color: var(--text-muted);
  font-size: 13px;
}
.news-meta em {
  font-style: normal;
  color: var(--accent);
  font-weight: 600;
}
.news-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 24px;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  color: var(--text-muted);
  font-size: 15px;
  background: var(--bg);
}
@media (max-width: 768px) {
  .news-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== Stats ===== */
.section-stats {
  background: var(--primary);
  position: relative;
  overflow: hidden;
}
.section-stats::before {
  content: "";
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  top: -200px;
  right: -120px;
}
.section-stats::after {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: rgba(255,90,31,0.12);
  bottom: -180px;
  left: -80px;
}
.stats-banner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  position: relative;
  z-index: 2;
}
.stat-block {
  text-align: center;
  padding: 30px 20px;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  transition: background 0.3s, transform 0.3s;
}
.stat-block:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-4px);
}
.stat-num {
  font-size: 42px;
  font-weight: 900;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 6px;
  letter-spacing: -0.5px;
}
.stat-label {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
}
@media (max-width: 900px) {
  .stats-banner {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 500px) {
  .stats-banner {
    grid-template-columns: 1fr;
  }
}

/* ===== Steps ===== */
.section-steps {
  background: var(--bg);
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.step-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 26px;
  position: relative;
  transition: box-shadow 0.3s, transform 0.3s;
}
.step-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  font-size: 17px;
  margin-bottom: 20px;
}
.step-card:nth-child(2) .step-num {
  background: var(--accent);
}
.step-card:nth-child(3) .step-num {
  background: #2563eb;
}
.step-card:nth-child(4) .step-num {
  background: #0d9488;
}
.step-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}
.step-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}
@media (max-width: 980px) {
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 540px) {
  .steps-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== Feature ===== */
.section-feature {
  background: var(--bg-white);
}
.feature-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
}
.feature-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 280px;
  transition: transform 0.3s, box-shadow 0.3s;
}
.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.feature-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}
.feature-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(6,14,28,0.82));
}
.feature-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 28px 30px;
  z-index: 2;
}
.feature-info .feature-tag {
  display: inline-block;
  padding: 3px 12px;
  background: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 12px;
  backdrop-filter: blur(6px);
}
.feature-info h3 {
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 8px;
}
.feature-info p {
  color: rgba(255,255,255,0.75);
  font-size: 14px;
  line-height: 1.6;
  max-width: 420px;
}
.feature-main {
  min-height: 460px;
}
.feature-split {
  display: grid;
  grid-template-rows: repeat(2, 1fr);
  gap: 24px;
}
@media (max-width: 860px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
  .feature-main {
    min-height: 340px;
  }
}

/* ===== FAQ ===== */
.section-faq {
  background: var(--bg);
}
.faq-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 60px;
  align-items: start;
}
.faq-head h2 {
  font-size: 32px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.3;
  margin-top: 12px;
}
.faq-head p {
  color: var(--text-muted);
  margin-top: 12px;
  line-height: 1.7;
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.faq-item {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: box-shadow 0.3s, border-color 0.3s;
}
.faq-item[open] {
  box-shadow: var(--shadow);
  border-color: rgba(255,90,31,0.3);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: color 0.2s;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  font-size: 24px;
  font-weight: 400;
  color: var(--accent);
  transition: transform 0.3s;
}
.faq-item[open] summary::after {
  content: "−";
  transform: rotate(180deg);
}
.faq-item summary:hover {
  color: var(--primary);
}
.faq-answer {
  padding: 0 24px 22px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.75;
}
@media (max-width: 900px) {
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

/* ===== CTA ===== */
.cta {
  position: relative;
  padding: 90px 0;
  overflow: hidden;
  background: url('/assets/images/backpic/back-2.png') center center / cover no-repeat;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(10,26,51,0.92), rgba(10,26,51,0.6));
}
.cta-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}
.cta-inner h2 {
  font-size: 36px;
  font-weight: 900;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 16px;
}
.cta-inner p {
  color: rgba(255,255,255,0.8);
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 32px;
}
.cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}
@media (max-width: 640px) {
  .cta-inner h2 {
    font-size: 28px;
  }
}

/* ===== Footer ===== */
.site-footer {
  background: #08121f;
  color: rgba(255,255,255,0.65);
  padding-top: 72px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  padding-bottom: 52px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand {
  max-width: 380px;
}
.footer-brand .brand-text {
  color: #fff;
}
.footer-brand p {
  margin-top: 18px;
  font-size: 14px;
  line-height: 1.8;
}
.footer-links h4 {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 18px;
}
.footer-links a {
  display: block;
  padding: 6px 0;
  color: rgba(255,255,255,0.62);
  font-size: 14px;
  transition: color 0.25s, padding-left 0.25s;
}
.footer-links a:hover {
  color: var(--accent);
  padding-left: 6px;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 28px 0 32px;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}
.footer-bottom a {
  color: rgba(255,255,255,0.5);
}
.footer-bottom a:hover {
  color: var(--accent);
}
@media (max-width: 700px) {
  .footer-top {
    flex-direction: column;
    gap: 36px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: center;
  }
}

/* ===== Responsive Extra ===== */
@media (max-width: 860px) {
  .nav-toggle {
    display: flex;
  }
  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 16px 40px rgba(10,26,51,0.14);
    padding: 16px 20px 20px;
    gap: 4px;
    display: none;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
  .site-nav.open {
    display: flex;
  }
  .nav-link {
    padding: 14px 20px;
    justify-content: center;
    border-radius: 12px;
  }
  .nav-link + .nav-link {
    margin-top: 4px;
  }
  .nav-actions .btn-sm {
    display: none;
  }
  .hero-inner {
    margin: 0 auto;
  }
  .hero h1 {
    font-size: 38px;
  }
  .hero-sub {
    font-size: 16px;
  }
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 520px) {
  .container {
    padding: 0 18px;
  }
  .hero {
    padding-top: calc(var(--header-h) + 40px);
    padding-bottom: 48px;
  }
  .hero h1 {
    font-size: 31px;
  }
  .hero-stats {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .stat-card {
    padding: 14px 10px;
  }
  .stat-card strong {
    font-size: 24px;
  }
  .btn {
    padding: 12px 22px;
    font-size: 14px;
  }
}

/* roulang page: article */
:root {
    --primary: #0e3b34;
    --primary-dark: #092a25;
    --primary-light: #1a5c50;
    --accent: #d4a72c;
    --accent-soft: #f0e4c2;
    --bg: #f4f7f6;
    --bg-alt: #e9efec;
    --text: #1c2b27;
    --text-light: #5b6b66;
    --border: #dce5e2;
    --radius: 16px;
    --radius-sm: 10px;
    --shadow: 0 8px 30px rgba(14, 59, 52, 0.08);
    --shadow-hover: 0 14px 44px rgba(14, 59, 52, 0.14);
    --header-bg: rgba(255, 255, 255, 0.72);
    --header-border: rgba(255, 255, 255, 0.35);
    --header-solid: rgba(255, 255, 255, 0.95);
    --max-w: 1200px;
    --space-section: 80px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}
body {
    font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}
img {
    max-width: 100%;
    display: block;
    height: auto;
}
a {
    color: inherit;
    text-decoration: none;
}
ul,
ol {
    list-style: none;
}
button,
input {
    font-family: inherit;
    font-size: inherit;
    border: none;
    background: none;
    cursor: pointer;
}
.container {
    width: 100%;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 24px;
}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition);
    letter-spacing: 0.02em;
}
.btn-primary {
    background: var(--accent);
    color: #0e3b34;
    border: 1px solid transparent;
}
.btn-primary:hover {
    background: var(--accent-soft);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(212, 167, 44, 0.35);
}
.btn-outline {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.7);
}
.btn-outline:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: #fff;
    transform: translateY(-2px);
}
.btn-sm {
    padding: 8px 20px;
    font-size: 14px;
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--header-bg);
    backdrop-filter: saturate(180%) blur(18px);
    -webkit-backdrop-filter: saturate(180%) blur(18px);
    border-bottom: 1px solid var(--header-border);
    transition: var(--transition);
}
.site-header.scrolled {
    background: var(--header-solid);
    box-shadow: 0 4px 30px rgba(14, 59, 52, 0.08);
    border-bottom-color: rgba(220, 229, 226, 0.6);
}
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    gap: 24px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.brand-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    border-radius: 12px;
    letter-spacing: 0.02em;
    box-shadow: 0 4px 16px rgba(14, 59, 52, 0.25);
}
.brand-text {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    white-space: nowrap;
    letter-spacing: 0.01em;
}
.site-nav {
    display: flex;
    gap: 8px;
    align-items: center;
}
.nav-link {
    padding: 9px 18px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text);
    border-radius: 40px;
    transition: var(--transition);
    position: relative;
}
.nav-link:hover {
    background: rgba(14, 59, 52, 0.06);
    color: var(--primary);
}
.nav-link.active {
    background: var(--primary);
    color: #fff;
    font-weight: 600;
    box-shadow: 0 4px 14px rgba(14, 59, 52, 0.2);
}
.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(14, 59, 52, 0.08);
    padding: 8px;
}
.nav-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--primary);
    border-radius: 4px;
    transition: var(--transition);
}
.nav-toggle:hover {
    background: rgba(14, 59, 52, 0.14);
}
.nav-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.nav-toggle.open span:nth-child(2) {
    opacity: 0;
}
.nav-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Page Banner */
.page-banner {
    position: relative;
    padding: 160px 0 72px;
    background: url('/assets/images/backpic/back-1.png') center/cover no-repeat;
    background-attachment: fixed;
    display: flex;
    align-items: center;
}
.page-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(9, 42, 37, 0.88) 0%, rgba(14, 59, 52, 0.72) 50%, rgba(14, 59, 52, 0.35) 100%);
}
.banner-content {
    position: relative;
    z-index: 2;
    color: #fff;
    max-width: 720px;
}
.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 18px;
}
.breadcrumb a {
    color: rgba(255, 255, 255, 0.85);
    transition: var(--transition);
}
.breadcrumb a:hover {
    color: var(--accent);
}
.breadcrumb .sep {
    color: rgba(255, 255, 255, 0.4);
}
.breadcrumb .current {
    color: var(--accent);
    font-weight: 500;
    max-width: 260px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.banner-title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: 0.01em;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}
.banner-sub {
    margin-top: 12px;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.75);
    max-width: 560px;
}
.banner-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 20px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}
.banner-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.banner-meta i {
    font-style: normal;
    color: var(--accent);
}

/* Article Section */
.article-section {
    padding: 64px 0 56px;
}
.article-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: start;
}
.article-main {
    min-width: 0;
}
.article-card {
    background: #fff;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    padding: 40px;
}
.article-card h1 {
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 800;
    line-height: 1.35;
    color: var(--primary);
    margin-bottom: 14px;
}
.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    font-size: 14px;
    color: var(--text-light);
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 28px;
}
.article-meta .tag {
    display: inline-flex;
    align-items: center;
    padding: 4px 14px;
    background: var(--primary);
    color: #fff;
    font-size: 13px;
    border-radius: 30px;
    font-weight: 500;
}
.article-meta .date {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.article-content {
    font-size: 16px;
    line-height: 1.9;
    color: #34413d;
    overflow-wrap: break-word;
}
.article-content p {
    margin-bottom: 22px;
}
.article-content h2,
.article-content h3 {
    color: var(--primary);
    margin: 32px 0 14px;
    line-height: 1.4;
}
.article-content h2 {
    font-size: 22px;
}
.article-content h3 {
    font-size: 18px;
}
.article-content ul,
.article-content ol {
    margin: 16px 0 22px 20px;
    padding: 0;
}
.article-content li {
    margin-bottom: 8px;
}
.article-content ul li {
    list-style: disc;
}
.article-content ol li {
    list-style: decimal;
}
.article-content a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.article-content img,
.article-content figure {
    border-radius: var(--radius-sm);
    margin: 24px 0;
    width: 100%;
}
.article-content blockquote {
    border-left: 4px solid var(--accent);
    background: var(--bg);
    padding: 16px 20px;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    margin: 24px 0;
    color: var(--text-light);
    font-style: italic;
}
.article-not-found {
    text-align: center;
    padding: 80px 40px;
    background: #fff;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}
.article-not-found .icon {
    font-size: 56px;
    margin-bottom: 16px;
    color: var(--accent);
}
.article-not-found h2 {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 10px;
}
.article-not-found p {
    color: var(--text-light);
    margin-bottom: 28px;
}

/* Sidebar */
.article-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.side-card {
    background: #fff;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    padding: 24px;
}
.side-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--accent);
    display: inline-block;
}
.info-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.info-list li {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    background: var(--bg);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
}
.info-list .label {
    color: var(--text-light);
}
.info-list .value {
    font-weight: 600;
    color: var(--primary);
}
.side-news li {
    padding: 12px 0;
    border-bottom: 1px dashed var(--border);
}
.side-news li:last-child {
    border-bottom: none;
}
.side-news a {
    display: block;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    color: var(--text);
    transition: var(--transition);
}
.side-news a:hover {
    color: var(--accent);
    transform: translateX(4px);
}
.side-news .date {
    font-size: 12px;
    color: var(--text-light);
    margin-top: 4px;
}

/* Related Section */
.related-section {
    padding: 56px 0;
    background: var(--bg-alt);
}
.section-head {
    text-align: center;
    margin-bottom: 40px;
}
.section-head .subline {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 8px;
    background: var(--accent-soft);
    padding: 4px 16px;
    border-radius: 30px;
}
.section-head h2 {
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 800;
    color: var(--primary);
    line-height: 1.3;
}
.section-head p {
    margin-top: 10px;
    color: var(--text-light);
    font-size: 15px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}
.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.news-card {
    background: #fff;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}
.news-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-6px);
    border-color: rgba(14, 59, 52, 0.25);
}
.news-card .thumb {
    position: relative;
    height: 180px;
    overflow: hidden;
    background: var(--bg-alt);
}
.news-card .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.news-card:hover .thumb img {
    transform: scale(1.06);
}
.news-card .thumb .tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(14, 59, 52, 0.85);
    backdrop-filter: blur(6px);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 14px;
    border-radius: 20px;
}
.news-card .body {
    padding: 18px 20px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.news-card .body h3 {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
    color: var(--text);
    margin-bottom: 8px;
    transition: var(--transition);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-card:hover .body h3 {
    color: var(--primary);
}
.news-card .body p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-card .meta {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--text-light);
}

/* FAQ */
.faq-section {
    padding: var(--space-section) 0;
}
.faq-wrap {
    max-width: 840px;
    margin: 0 auto;
}
.faq-item {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 16px;
    transition: var(--transition);
    overflow: hidden;
}
.faq-item:hover {
    border-color: rgba(14, 59, 52, 0.25);
    box-shadow: var(--shadow);
}
.faq-q {
    width: 100%;
    text-align: left;
    padding: 22px 28px;
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 14px;
    transition: var(--transition);
}
.faq-q::before {
    content: 'Q';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    background: var(--primary);
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    border-radius: 10px;
}
.faq-q::after {
    content: '+';
    margin-left: auto;
    font-size: 22px;
    font-weight: 300;
    color: var(--accent);
    transition: var(--transition);
}
.faq-item.open .faq-q::after {
    transform: rotate(45deg);
}
.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    padding: 0 28px;
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.8;
}
.faq-item.open .faq-a {
    max-height: 400px;
    padding-bottom: 24px;
}

/* CTA */
.cta-section {
    padding: 0 0 80px;
}
.cta-box {
    position: relative;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 24px;
    padding: 56px 48px;
    overflow: hidden;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}
.cta-box::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 260px;
    height: 260px;
    background: rgba(212, 167, 44, 0.15);
    border-radius: 50%;
}
.cta-box::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: 30%;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 50%;
}
.cta-info {
    position: relative;
    z-index: 2;
    flex: 1;
}
.cta-info h2 {
    font-size: clamp(22px, 3vw, 30px);
    font-weight: 800;
    margin-bottom: 10px;
}
.cta-info p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.75);
    max-width: 480px;
}
.cta-actions {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 14px;
    flex-shrink: 0;
}

/* Footer */
.site-footer {
    background: var(--primary-dark);
    color: rgba(255, 255, 255, 0.7);
    padding-top: 56px;
}
.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-brand .brand-footer {
    margin-bottom: 14px;
}
.footer-brand .brand-mark {
    background: var(--accent);
    color: var(--primary-dark);
}
.footer-brand .brand-text {
    color: #fff;
}
.footer-brand p {
    font-size: 14px;
    line-height: 1.7;
    max-width: 360px;
    margin-top: 12px;
    color: rgba(255, 255, 255, 0.55);
}
.footer-links h4 {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
    letter-spacing: 0.05em;
}
.footer-links a {
    display: block;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.55);
    padding: 6px 0;
    transition: var(--transition);
}
.footer-links a:hover {
    color: var(--accent);
    padding-left: 6px;
}
.footer-bottom {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding: 20px 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* Scroll */
.scroll-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 8px 24px rgba(14, 59, 52, 0.25);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}
.scroll-top.show {
    opacity: 1;
    visibility: visible;
}
.scroll-top:hover {
    background: var(--primary-light);
    transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 1024px) {
    :root {
        --space-section: 60px;
    }
    .article-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .cta-box {
        flex-direction: column;
        align-items: flex-start;
        padding: 40px 32px;
    }
}
@media (max-width: 768px) {
    .nav-inner {
        height: 64px;
    }
    .brand-text {
        font-size: 16px;
    }
    .site-nav {
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--header-solid);
        backdrop-filter: saturate(180%) blur(18px);
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        padding: 16px 24px;
        border-bottom: 1px solid var(--border);
        box-shadow: 0 20px 40px rgba(14, 59, 52, 0.12);
        transform: translateY(-110%);
        transition: var(--transition);
        z-index: 999;
    }
    .site-nav.open {
        transform: translateY(0);
    }
    .nav-link {
        display: block;
        padding: 14px 18px;
        border-radius: 12px;
    }
    .nav-toggle {
        display: flex;
    }
    .page-banner {
        padding: 130px 0 48px;
        background-attachment: scroll;
    }
    .footer-top {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .related-grid {
        grid-template-columns: 1fr;
    }
    .article-card {
        padding: 24px;
    }
    .cta-actions {
        flex-direction: column;
        width: 100%;
    }
    .cta-actions .btn {
        width: 100%;
    }
}
@media (max-width: 520px) {
    .container {
        padding: 0 16px;
    }
    .nav-actions .btn {
        display: none;
    }
    .brand-text {
        font-size: 14px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .page-banner {
        padding: 120px 0 40px;
    }
    .banner-title {
        font-size: 24px;
    }
    .banner-sub {
        font-size: 14px;
    }
    .article-meta {
        gap: 10px;
    }
    .article-card {
        padding: 20px;
    }
    .article-content {
        font-size: 15px;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        justify-content: center;
    }
}

/* roulang page: category1 */
/* ========== 设计变量 ========== */
:root {
  --primary: #2563eb;
  --primary-dark: #1e40af;
  --primary-light: #eff6ff;
  --accent: #f59e0b;
  --accent-light: #fef3c7;
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --bg-dark: #0f172a;
  --text: #0f172a;
  --text-weak: #64748b;
  --text-muted: #94a3b8;
  --border: #e2e8f0;
  --border-light: #f1f5f9;
  --radius: 18px;
  --radius-sm: 10px;
  --radius-lg: 28px;
  --shadow-sm: 0 4px 16px rgba(15, 23, 42, 0.06);
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.09);
  --shadow-lg: 0 24px 60px rgba(15, 23, 42, 0.14);
  --spacer: 84px;
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

/* ========== Reset / Base ========== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s ease;
}

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

input, textarea, select {
  font-family: inherit;
  font-size: 14px;
}

ul, ol {
  list-style: none;
}

::selection {
  background: var(--primary);
  color: #fff;
}

::placeholder {
  color: var(--text-muted);
}

:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.4);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ========== 通用容器 ========== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: var(--spacer) 0;
}

.section-head {
  max-width: 720px;
  margin: 0 auto 52px;
  text-align: center;
}

.section-head h2 {
  font-size: 34px;
  line-height: 1.3;
  letter-spacing: -0.5px;
  margin-bottom: 14px;
  color: var(--text);
}

.section-head p {
  color: var(--text-weak);
  font-size: 16px;
  line-height: 1.8;
}

.section-tag {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  padding: 6px 18px;
  border-radius: 100px;
  margin-bottom: 16px;
  text-transform: uppercase;
}

/* ========== 按钮 ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  padding: 13px 26px;
  border-radius: 100px;
  transition: all 0.28s ease;
  white-space: nowrap;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.25);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(37, 99, 235, 0.32);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.65);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
  transform: translateY(-2px);
}

.btn-white {
  background: #fff;
  color: var(--primary);
}

.btn-white:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

.btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.75);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 9px 20px;
  font-size: 14px;
}

/* ========== Header / 玻璃导航 ========== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.65);
  transition: background 0.35s ease, box-shadow 0.35s ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-mark {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #2563eb, #1e40af);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.5px;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.28);
}

.brand-text {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav-link {
  position: relative;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-weak);
  padding: 8px 2px;
  transition: color 0.25s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.28s 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;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  padding: 0 10px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 20px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ========== 内页 Page Hero ========== */
.page-hero {
  position: relative;
  padding: 186px 0 104px;
  background: linear-gradient(135deg, rgba(2, 6, 23, 0.82), rgba(30, 64, 175, 0.55)),
              url('/assets/images/backpic/back-1.png') center center / cover no-repeat;
  color: #fff;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 40%, rgba(37, 99, 235, 0.16), transparent 60%);
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

.hero-tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  padding: 7px 18px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.page-hero h1 {
  font-size: 46px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 18px;
  max-width: 680px;
}

.page-hero p {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.82);
  max-width: 620px;
  line-height: 1.8;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 42px;
}

.hero-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  border-radius: 100px;
  padding: 7px 16px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* ========== 栏目介绍 ========== */
.about-section {
  background: var(--bg);
  border-bottom: 1px solid var(--border-light);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: center;
}

.about-panel {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.92), rgba(30, 64, 175, 0.82)),
              url('/assets/images/backpic/back-2.png') center center / cover no-repeat;
  color: #fff;
  padding: 44px 40px;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: var(--shadow-lg);
}

.about-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.55), transparent 50%);
  z-index: 0;
}

.about-panel > * {
  position: relative;
  z-index: 1;
}

.panel-stat {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 6px;
}

.panel-label {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 14px;
}

.panel-note {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  max-width: 260px;
  line-height: 1.7;
}

.about-content .section-tag {
  margin-bottom: 14px;
}

.about-content h2 {
  font-size: 32px;
  line-height: 1.35;
  letter-spacing: -0.5px;
  margin-bottom: 18px;
  color: var(--text);
}

.about-content p {
  color: var(--text-weak);
  line-height: 1.85;
  margin-bottom: 20px;
}

.about-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 22px;
  margin-top: 26px;
}

.about-point {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}

.about-point::before {
  content: "";
  flex-shrink: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 9px;
}

/* ========== 赛事类型卡片 ========== */
.topic-section {
  background: var(--bg-soft);
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.topic-card {
  background: var(--bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.topic-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
  border-color: rgba(37, 99, 235, 0.2);
}

.topic-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-light), #dbeafe);
  color: var(--primary);
  font-size: 18px;
  font-weight: 800;
  border-radius: 16px;
}

.topic-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}

.topic-card p {
  font-size: 14px;
  color: var(--text-weak);
  line-height: 1.7;
}

/* ========== 最新资讯列表 ========== */
.latest-section {
  background: var(--bg);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.news-card {
  background: var(--bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.35s ease, transform 0.35s ease;
}

.news-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}

.news-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.news-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.news-card:hover .news-media img {
  transform: scale(1.05);
}

.news-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 5px 14px;
  border-radius: 100px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.1);
}

.news-body {
  padding: 24px 24px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.news-body h3 {
  font-size: 17px;
  line-height: 1.55;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
  transition: color 0.25s ease;
}

.news-card:hover .news-body h3 {
  color: var(--primary);
}

.news-body p {
  font-size: 14px;
  color: var(--text-weak);
  line-height: 1.75;
  margin-bottom: 18px;
  flex: 1;
}

.news-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
}

.read-more {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.25s ease;
}

.read-more:hover {
  gap: 8px;
}

.read-more::after {
  content: "→";
  font-size: 14px;
}

/* ========== 观赛指南 / 流程 ========== */
.guide-section {
  position: relative;
  background: linear-gradient(135deg, rgba(2, 6, 23, 0.88), rgba(30, 64, 175, 0.68)),
              url('/assets/images/backpic/back-3.png') center center / cover no-repeat;
  color: #fff;
}

.guide-section .section-head h2 {
  color: #fff;
}

.guide-section .section-head p {
  color: rgba(255, 255, 255, 0.72);
}

.guide-section .section-tag {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.step-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius);
  padding: 34px 28px;
  transition: background 0.3s ease, transform 0.3s ease;
}

.step-card:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-6px);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  border-radius: 50%;
  margin-bottom: 18px;
  box-shadow: 0 6px 16px rgba(245, 158, 11, 0.3);
}

.step-card h3 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 10px;
}

.step-card p {
  font-size: 14px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.78);
}

/* ========== FAQ ========== */
.faq-section {
  background: var(--bg-soft);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.faq-item:hover {
  border-color: rgba(37, 99, 235, 0.22);
  box-shadow: var(--shadow-sm);
}

.faq-item summary {
  cursor: pointer;
  padding: 22px 26px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  position: relative;
  list-style: none;
  padding-right: 52px;
  transition: color 0.25s ease;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  color: var(--primary);
  font-weight: 400;
  transition: transform 0.3s ease;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-light);
  border-radius: 50%;
}

.faq-item details[open] summary::after {
  transform: translateY(-50%) rotate(135deg);
}

.faq-item details[open] summary {
  color: var(--primary);
}

.faq-answer {
  padding: 0 26px 24px;
  color: var(--text-weak);
  font-size: 15px;
  line-height: 1.85;
}

.faq-answer p {
  margin-bottom: 10px;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

/* ========== CTA ========== */
.cta-section {
  background: var(--bg);
}

.cta-box {
  position: relative;
  background: linear-gradient(135deg, #1d4ed8, #2563eb 55%, #3b82f6);
  border-radius: var(--radius-lg);
  padding: 64px 48px;
  text-align: center;
  color: #fff;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(37, 99, 235, 0.3);
}

.cta-box::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -20%;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.cta-box::after {
  content: "";
  position: absolute;
  bottom: -50%;
  left: -10%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
}

.cta-box > * {
  position: relative;
  z-index: 1;
}

.cta-box h2 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}

.cta-box p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 16px;
  max-width: 520px;
  margin: 0 auto 30px;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

/* ========== 页脚 ========== */
.site-footer {
  background: var(--bg-dark);
  color: rgba(255, 255, 255, 0.78);
  padding: 70px 0 32px;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .brand {
  margin-bottom: 18px;
}

.brand-footer .brand-mark {
  background: linear-gradient(135deg, #3b82f6, #1e40af);
  box-shadow: 0 6px 18px rgba(59, 130, 246, 0.25);
}

.brand-footer .brand-text {
  color: #fff;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.85;
  max-width: 320px;
  color: rgba(255, 255, 255, 0.6);
}

.footer-links h4 {
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 18px;
}

.footer-links a {
  display: block;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.62);
  margin-bottom: 10px;
  line-height: 1.7;
  transition: color 0.25s ease;
}

.footer-links a:hover {
  color: #60a5fa;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 28px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.42);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a:hover {
  color: #60a5fa;
}

/* ========== 响应式 ========== */
@media (max-width: 1024px) {
  :root {
    --spacer: 64px;
  }

  .topic-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .about-panel {
    min-height: 280px;
  }

  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }
}

@media (max-width: 768px) {
  :root {
    --spacer: 52px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    top: 72px;
    right: 0;
    width: min(360px, 88vw);
    height: auto;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 18px;
    border-bottom-left-radius: var(--radius);
    border: 1px solid var(--border-light);
    border-right: none;
    box-shadow: var(--shadow-lg);
    transform: translateX(110%);
    transition: transform 0.35s ease;
  }

  .site-nav.open {
    transform: translateX(0);
  }

  .nav-link {
    padding: 13px 16px;
    border-radius: var(--radius-sm);
  }

  .nav-link::after {
    display: none;
  }

  .nav-link:hover,
  .nav-link.active {
    background: var(--primary-light);
    color: var(--primary);
  }

  .nav-actions .btn {
    display: none;
  }

  .page-hero {
    padding: 150px 0 70px;
  }

  .page-hero h1 {
    font-size: 34px;
  }

  .page-hero p {
    font-size: 15px;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .cta-box {
    padding: 44px 26px;
  }

  .cta-box h2 {
    font-size: 26px;
  }

  .section-head h2 {
    font-size: 28px;
  }
}

@media (max-width: 520px) {
  .container {
    padding: 0 18px;
  }

  .brand-text {
    font-size: 15px;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
    font-size: 14px;
    border-radius: 10px;
  }

  .page-hero h1 {
    font-size: 28px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .topic-grid {
    grid-template-columns: 1fr;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }

  .about-points {
    grid-template-columns: 1fr;
  }

  .about-panel {
    padding: 32px 24px;
    min-height: 240px;
  }

  .panel-stat {
    font-size: 42px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-actions .btn {
    width: 100%;
  }
}
