/* roulang page: index */
:root {
    --primary: #2563eb;
    --primary-dark: #1e40af;
    --accent: #f59e0b;
    --text: #1e293b;
    --text-muted: #64748b;
    --bg: #f8fafc;
    --border: #e2e8f0;
    --radius: 18px;
    --shadow: 0 10px 30px -6px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 40px -8px rgba(0, 0, 0, 0.15);
  }

  html { scroll-behavior: smooth; }

  body {
    font-family: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    text-rendering: optimizeLegibility;
  }

  a { color: inherit; }
  img { max-width: 100%; height: auto; }

  a:focus-visible,
  button:focus-visible,
  summary:focus-visible {
    outline: 3px solid #bfdbfe;
    outline-offset: 2px;
    border-radius: 8px;
  }

  /* ===== Header ===== */
  .desktop-header {
    backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  }

  .nav-link {
    color: #475569;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 10px;
    transition: all 0.25s ease;
    font-size: 15px;
  }
  .nav-link:hover {
    color: #1e40af;
    background: #eff6ff;
  }
  .nav-link.active {
    color: #1e40af;
    background: #eff6ff;
    font-weight: 600;
  }

  /* ===== Buttons ===== */
  .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary);
    color: #fff;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 12px;
    transition: all 0.25s ease;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
    border: none;
    cursor: pointer;
  }
  .btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(37, 99, 235, 0.45);
  }
  .btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.4);
  }
  .btn-lg {
    padding: 14px 28px;
    font-size: 16px;
    border-radius: 14px;
  }
  .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    color: #fff;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    transition: all 0.25s ease;
    cursor: pointer;
  }
  .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.28);
    transform: translateY(-2px);
  }
  .btn-secondary:active {
    transform: translateY(0);
  }
  .btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 14px;
    transition: all 0.25s ease;
    cursor: pointer;
  }
  .btn-outline:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.3);
  }
  .btn-outline:active {
    transform: translateY(0);
  }

  /* ===== Hero ===== */
  .hero-section {
    position: relative;
    background-image: url('/assets/images/backpic/back-1.png');
    background-size: cover;
    background-position: center;
    min-height: 600px;
    display: flex;
    align-items: center;
  }
  .hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.93) 0%, rgba(30, 41, 59, 0.85) 55%, rgba(37, 99, 235, 0.45) 100%);
  }
  .hero-card {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transform: rotate(1.5deg);
    transition: transform 0.4s ease;
  }
  .hero-card:hover {
    transform: rotate(0deg) scale(1.02);
  }

  .badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.02em;
    backdrop-filter: blur(6px);
  }
  .badge-light {
    display: inline-block;
    background: #fff;
    color: var(--primary);
    padding: 4px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  }
  .badge-accent {
    display: inline-block;
    background: #fef3c7;
    color: #b45309;
    padding: 4px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
  }

  /* ===== Section ===== */
  .section-head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
  }
  .section-head h2 {
    font-size: 30px;
    font-weight: 700;
    color: #0f172a;
    margin-top: 10px;
    letter-spacing: -0.01em;
    line-height: 1.35;
  }
  .section-head p {
    color: var(--text-muted);
    margin-top: 12px;
    font-size: 16px;
    line-height: 1.75;
  }
  .section-head.light h2 { color: #fff; }
  .section-head.light p { color: #cbd5e1; }
  .section-tag {
    display: inline-block;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 13px;
    font-weight: 600;
    padding: 5px 16px;
    border-radius: 999px;
    letter-spacing: 0.04em;
  }
  .section-head.light .section-tag {
    background: rgba(255, 255, 255, 0.12);
    color: #bfdbfe;
    border: 1px solid rgba(255, 255, 255, 0.2);
  }

  /* ===== Feature Cards ===== */
  .feature-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 30px 24px;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
  }
  .feature-card:hover {
    transform: translateY(-6px);
    border-color: #bfdbfe;
    box-shadow: var(--shadow-lg);
  }
  .feature-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, #dbeafe, #eff6ff);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 22px;
    margin-bottom: 18px;
    transition: all 0.3s ease;
  }
  .feature-card:hover .feature-icon {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #fff;
  }
  .feature-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: #0f172a;
  }
  .feature-card p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.75;
    margin-top: 8px;
  }

  /* ===== Cover Cards ===== */
  .cover-card {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    min-height: 320px;
    display: flex;
    align-items: flex-end;
    box-shadow: var(--shadow);
    transition: box-shadow 0.3s ease;
  }
  .cover-card:hover {
    box-shadow: var(--shadow-lg);
  }
  .cover-card > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
  }
  .cover-card:hover > img {
    transform: scale(1.05);
  }
  .cover-overlay {
    position: relative;
    z-index: 2;
    padding: 32px;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.05) 0%, rgba(15, 23, 42, 0.85) 100%);
    color: #fff;
    width: 100%;
  }
  .cover-overlay h3 {
    font-size: 22px;
    font-weight: 700;
    margin-top: 8px;
  }
  .cover-overlay p {
    color: #e2e8f0;
    font-size: 15px;
    line-height: 1.7;
    margin-top: 6px;
    max-width: 460px;
  }
  .cover-overlay .btn-primary {
    margin-top: 16px;
  }

  .info-card {
    border: 1px solid var(--border);
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
  }
  .info-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: #bfdbfe;
  }
  .info-card img {
    width: 100%;
    height: 130px;
    object-fit: cover;
    display: block;
  }

  /* ===== Steps ===== */
  .step-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 30px 26px;
    transition: all 0.3s ease;
    min-height: 190px;
  }
  .step-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.25);
  }
  .step-num {
    font-size: 36px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.18);
    letter-spacing: -0.02em;
    line-height: 1;
  }
  .step-card h3 {
    color: #fff;
    font-weight: 700;
    font-size: 17px;
    margin-top: 14px;
  }
  .step-card p {
    color: #cbd5e1;
    font-size: 14px;
    line-height: 1.75;
    margin-top: 8px;
  }

  /* ===== Stats ===== */
  .stats-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  }
  .stat-num {
    font-size: 42px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.03em;
    line-height: 1.2;
  }
  .stat-label {
    color: #94a3b8;
    font-size: 15px;
    margin-top: 8px;
  }

  /* ===== Post Cards ===== */
  .post-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 26px;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
  }
  .post-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: #bfdbfe;
  }
  .post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
  }
  .post-category {
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 999px;
    white-space: nowrap;
  }
  .post-date {
    color: #94a3b8;
    font-size: 13px;
    white-space: nowrap;
  }
  .post-title {
    font-size: 17px;
    font-weight: 700;
    color: #0f172a;
    margin-top: 14px;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .post-title a {
    transition: color 0.2s ease;
  }
  .post-title a:hover {
    color: var(--primary);
  }
  .post-summary {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.7;
    margin-top: 10px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .post-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
    margin-top: 18px;
    transition: gap 0.2s ease;
  }
  .post-link:hover {
    gap: 10px;
    color: var(--primary-dark);
  }

  /* ===== FAQ ===== */
  .faq-item {
    border: 1px solid var(--border);
    border-radius: 16px;
    margin-bottom: 14px;
    background: #fff;
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
  }
  .faq-item:hover {
    border-color: #bfdbfe;
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.06);
  }
  .faq-item details summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    cursor: pointer;
    font-weight: 600;
    color: #0f172a;
    font-size: 16px;
    list-style: none;
    user-select: none;
  }
  .faq-item details summary::-webkit-details-marker {
    display: none;
  }
  .faq-item details summary i {
    transition: transform 0.3s ease;
    color: #94a3b8;
  }
  .faq-item details[open] summary i {
    transform: rotate(180deg);
    color: var(--primary);
  }
  .faq-content {
    padding: 0 24px 24px;
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.8;
  }
  .faq-content p {
    margin-bottom: 8px;
  }

  /* ===== CTA ===== */
  .cta-section {
    position: relative;
    overflow: hidden;
  }
  .cta-bg {
    position: absolute;
    inset: 0;
    opacity: 0.12;
    background-image: url('/assets/images/backpic/back-2.png');
    background-size: cover;
    background-position: center;
  }

  /* ===== Footer ===== */
  .site-footer {
    background: #0f172a;
    color: #94a3b8;
  }
  .site-footer a {
    color: #94a3b8;
    transition: color 0.2s ease;
  }
  .site-footer a:hover {
    color: #fff;
  }
  .footer-title {
    color: #fff;
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 12px;
  }
  .footer-link-list li {
    margin-bottom: 8px;
    font-size: 14px;
  }

  /* ===== Mobile Bottom Tab ===== */
  .mobile-bottom-tab {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    border-top: 1px solid rgba(226, 232, 240, 0.9);
  }
  .mobile-bottom-tab a {
    color: #94a3b8;
    transition: color 0.2s ease;
  }
  .mobile-bottom-tab a.active {
    color: var(--primary);
  }
  .mobile-bottom-tab a.active i {
    transform: translateY(-1px);
  }
  .mobile-bottom-tab i {
    margin-bottom: 3px;
    font-size: 20px;
  }

  /* ===== Responsive ===== */
  @media (max-width: 767px) {
    body {
      padding-bottom: 64px;
    }
    .hero-section {
      min-height: 520px;
    }
    .section-head h2 {
      font-size: 24px;
    }
    .step-card {
      min-height: auto;
      padding: 24px 20px;
    }
    .stat-num {
      font-size: 30px;
    }
    .cover-card {
      min-height: 240px;
    }
    .cover-overlay {
      padding: 24px;
    }
    .cover-overlay h3 {
      font-size: 18px;
    }
    .cover-overlay p {
      font-size: 14px;
    }
    .btn-lg {
      padding: 12px 22px;
      font-size: 15px;
    }
    .btn-secondary {
      padding: 12px 22px;
      font-size: 15px;
    }
  }

  @media (min-width: 768px) and (max-width: 1023px) {
    .hero-section {
      min-height: 550px;
    }
    .step-card {
      min-height: 180px;
    }
  }

  @media (max-width: 520px) {
    .hero-section {
      min-height: 480px;
    }
    .hero-section h1 {
      font-size: 32px !important;
    }
    .footer-link-list {
      margin-bottom: 24px;
    }
  }

/* roulang page: category1 */
:root {
  --brand-50: #eef2ff;
  --brand-100: #e0e7ff;
  --brand-200: #c7d2fe;
  --brand-300: #a5b4fc;
  --brand-400: #818cf8;
  --brand-500: #6366f1;
  --brand-600: #4f46e5;
  --brand-700: #4338ca;
  --brand-800: #3730a3;
  --brand-900: #312e81;
  --brand-950: #1e1b4b;
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --slate-950: #020617;
  --radius-sm: 0.375rem;
  --radius-md: 0.625rem;
  --radius-lg: 0.875rem;
  --radius-xl: 1.25rem;
  --shadow-card: 0 4px 24px rgba(30, 27, 75, 0.06);
  --shadow-card-hover: 0 12px 40px rgba(30, 27, 75, 0.12);
  --transition-base: all .25s ease;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.7;
  color: var(--slate-700);
  background: var(--slate-50);
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

/* 导航链接 */
.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  padding: .5rem .875rem;
  font-size: .9375rem;
  font-weight: 500;
  color: var(--slate-600);
  border-radius: var(--radius-md);
  transition: var(--transition-base);
}

.nav-link:hover {
  color: var(--brand-600);
  background: var(--brand-50);
}

.nav-link.active {
  color: var(--brand-700);
  font-weight: 600;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 3px;
  border-radius: 999px;
  background: var(--brand-500);
}

/* 按钮 */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .625rem 1.375rem;
  font-size: .9375rem;
  font-weight: 600;
  color: #fff;
  background: var(--brand-600);
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  box-shadow: 0 4px 14px rgba(79, 70, 229, .35);
  transition: var(--transition-base);
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--brand-700);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(79, 70, 229, .4);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(79, 70, 229, .3);
}

.btn-primary:focus-visible,
.nav-link:focus-visible,
.tab-item:focus-visible,
.card-link:focus-visible {
  outline: 3px solid rgba(79, 70, 229, .45);
  outline-offset: 2px;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .625rem 1.375rem;
  font-size: .9375rem;
  font-weight: 600;
  color: var(--slate-700);
  background: rgba(255, 255, 255, .9);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .05);
  transition: var(--transition-base);
  cursor: pointer;
  backdrop-filter: blur(4px);
}

.btn-secondary:hover {
  background: #fff;
  border-color: var(--brand-200);
  color: var(--brand-600);
  transform: translateY(-1px);
}

.btn-light {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .625rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--brand-700);
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 16px rgba(0, 0, 0, .15);
  transition: var(--transition-base);
}

.btn-light:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, .2);
}

/* 标签块 */
.badge {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  padding: .3125rem .875rem;
  font-size: .8125rem;
  font-weight: 600;
  color: var(--brand-100);
  background: rgba(255, 255, 255, .15);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 999px;
  backdrop-filter: blur(8px);
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  font-size: .8125rem;
  font-weight: 700;
  color: var(--brand-600);
  letter-spacing: .08em;
  text-transform: uppercase;
}

.section-tag::before {
  content: '';
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand-500), var(--brand-300));
}

.section-title {
  margin-top: .625rem;
  margin-bottom: 0;
  font-size: clamp(1.5rem, 3vw, 2.125rem);
  font-weight: 800;
  line-height: 1.25;
  color: var(--slate-900);
  letter-spacing: -0.01em;
}

/* 内容卡片 */
.content-card {
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: var(--transition-base);
}

.content-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--brand-200);
}

.card-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.content-card:hover .card-img-wrap img {
  transform: scale(1.04);
}

.card-img-overlay {
  position: absolute;
  top: .75rem;
  left: .75rem;
  z-index: 1;
}

.card-tag {
  display: inline-flex;
  align-items: center;
  padding: .25rem .625rem;
  font-size: .75rem;
  font-weight: 600;
  color: #fff;
  background: rgba(15, 23, 42, .55);
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 999px;
  backdrop-filter: blur(6px);
}

.card-body {
  padding: 1.5rem;
}

.card-body h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: .625rem;
  transition: color .2s;
}

.content-card:hover .card-body h3 {
  color: var(--brand-600);
}

.card-body p {
  font-size: .875rem;
  line-height: 1.7;
  color: var(--slate-500);
  margin-bottom: 1rem;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  font-size: .875rem;
  font-weight: 600;
  color: var(--brand-600);
  transition: gap .2s;
}

.card-link:hover {
  gap: .625rem;
}

/* 步骤列表 */
.step-item {
  position: relative;
  padding: 1rem 1rem 1rem 3.5rem;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  background: #fff;
  transition: var(--transition-base);
}

.step-item:hover {
  border-color: var(--brand-300);
  box-shadow: var(--shadow-card);
}

.step-num {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .875rem;
  font-weight: 800;
  color: var(--brand-600);
  background: var(--brand-50);
  border-radius: 999px;
}

/* 统计 */
.stat-block {
  border-radius: var(--radius-lg);
  padding: 1.75rem 1rem;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  text-align: center;
  transition: var(--transition-base);
}

.stat-block:hover {
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .2);
  transform: translateY(-3px);
}

.stat-num {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
}

.stat-label {
  margin-top: .375rem;
  font-size: .8125rem;
  color: rgba(255, 255, 255, .6);
}

/* FAQ */
.faq-item {
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: var(--transition-base);
  overflow: hidden;
}

.faq-item:hover {
  border-color: var(--brand-200);
  box-shadow: var(--shadow-card-hover);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.125rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-weight: 600;
  color: var(--slate-800);
  font-size: .9375rem;
  outline: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary .fa-chevron-down {
  flex-shrink: 0;
  color: var(--brand-500);
  transition: transform .25s ease;
}

.faq-item details[open] summary .fa-chevron-down {
  transform: rotate(180deg);
}

.faq-item .faq-answer {
  padding: 0 1.5rem 1.25rem;
  font-size: .875rem;
  line-height: 1.75;
  color: var(--slate-600);
}

.faq-item details[open] summary {
  border-bottom: 1px solid var(--slate-100);
}

/* 页脚 */
.site-footer {
  background: var(--slate-950);
}

.footer-title {
  font-size: .9375rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 1rem;
  letter-spacing: .02em;
}

.footer-link-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-link-list li {
  margin-bottom: .5rem;
}

.footer-link-list a {
  display: inline-flex;
  align-items: center;
  color: var(--slate-400);
  font-size: .875rem;
  transition: var(--transition-base);
}

.footer-link-list a:hover {
  color: var(--brand-300);
  transform: translateX(2px);
}

/* 移动端底部 Tab */
.mobile-tab-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-around;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(226, 232, 240, .9);
  padding: .375rem .25rem calc(.5rem + env(safe-area-inset-bottom, 0));
}

@media (min-width: 768px) {
  .mobile-tab-bar {
    display: none;
  }
}

.tab-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: .375rem .75rem;
  font-size: .6875rem;
  font-weight: 500;
  color: var(--slate-500);
  border-radius: var(--radius-md);
  transition: var(--transition-base);
  cursor: pointer;
  min-width: 4.5rem;
}

.tab-item i {
  font-size: 1.125rem;
}

.tab-item:hover {
  color: var(--brand-500);
  background: var(--brand-50);
}

.tab-item.active {
  color: var(--brand-600);
  font-weight: 700;
  background: var(--brand-50);
}

.tab-item.active i {
  transform: scale(1.05);
}

/* 移动端底部留白 */
@media (max-width: 767px) {
  body {
    padding-bottom: calc(64px + env(safe-area-inset-bottom, 0));
  }
}

/* 分类页 Hero */
.category-hero {
  position: relative;
  overflow: hidden;
  background: var(--slate-900);
}

.category-hero::after {
  content: '';
  position: absolute;
  right: -15%;
  bottom: -20%;
  width: 40%;
  height: 70%;
  background: radial-gradient(circle, rgba(99, 102, 241, .35) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

/* 内页通用区块间距 */
.section-padding {
  padding: 3.5rem 0;
}

@media (min-width: 768px) {
  .section-padding {
    padding: 5rem 0;
  }
}

/* 焦点可见 */
a:focus-visible {
  outline: 3px solid rgba(79, 70, 229, .45);
  outline-offset: 2px;
}

/* 搜索框 */
.search-input {
  width: 100%;
  padding: .8125rem 2.75rem .8125rem 1.125rem;
  font-size: .9375rem;
  color: var(--slate-700);
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .04);
  transition: var(--transition-base);
}

.search-input:focus {
  outline: none;
  border-color: var(--brand-400);
  box-shadow: 0 0 0 4px rgba(99, 102, 241, .15);
}

.search-input::placeholder {
  color: var(--slate-400);
}

.search-btn {
  position: absolute;
  right: .375rem;
  top: 50%;
  transform: translateY(-50%);
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-600);
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition-base);
}

.search-btn:hover {
  background: var(--brand-700);
}

/* roulang page: article */
:root {
      --brand-50: #eef2ff;
      --brand-100: #e0e7ff;
      --brand-200: #c7d2fe;
      --brand-500: #6366f1;
      --brand-600: #4f46e5;
      --brand-700: #4338ca;
      --brand-800: #3730a3;
      --brand-900: #312e81;
      --text-color: #1e293b;
      --muted-color: #64748b;
      --border-color: #e2e8f0;
      --bg-soft: #f8fafc;
      --radius: 16px;
      --shadow-card: 0 1px 3px rgba(15, 23, 42, 0.05), 0 10px 30px rgba(15, 23, 42, 0.06);
      --shadow-hover: 0 8px 30px rgba(79, 70, 229, 0.14);
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
      background: var(--bg-soft);
      color: var(--text-color);
      line-height: 1.7;
      -webkit-font-smoothing: antialiased;
    }

    a,
    button,
    input,
    select,
    textarea {
      transition: all 0.2s ease;
    }

    a {
      text-decoration: none;
      color: inherit;
    }

    img {
      max-width: 100%;
      height: auto;
      display: block;
    }

    .desktop-header {
      background: rgba(255, 255, 255, 0.86);
      backdrop-filter: blur(14px);
      border-bottom: 1px solid rgba(226, 232, 240, 0.8);
      transition: box-shadow 0.2s ease;
    }

    .desktop-header.scrolled {
      box-shadow: 0 6px 24px rgba(15, 23, 42, 0.06);
    }

    .nav-link {
      display: inline-flex;
      align-items: center;
      gap: 0.45rem;
      padding: 0.55rem 1.05rem;
      border-radius: 9999px;
      font-size: 0.92rem;
      font-weight: 600;
      color: #475569;
      transition: all 0.2s ease;
    }

    .nav-link:hover {
      color: var(--brand-700);
      background: var(--brand-50);
    }

    .nav-link.active {
      color: var(--brand-700);
      background: var(--brand-50);
    }

    .nav-link:focus-visible,
    .btn-primary:focus-visible,
    .btn-soft:focus-visible,
    .tab-item:focus-visible {
      outline: 2px solid var(--brand-500);
      outline-offset: 2px;
    }

    .btn-primary {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 0.5rem;
      padding: 0.65rem 1.3rem;
      border-radius: 9999px;
      background: var(--brand-600);
      color: #fff;
      font-weight: 700;
      font-size: 0.9rem;
      box-shadow: 0 4px 16px rgba(79, 70, 229, 0.28);
      transition: all 0.2s ease;
    }

    .btn-primary:hover {
      background: var(--brand-700);
      transform: translateY(-1px);
      box-shadow: 0 8px 24px rgba(79, 70, 229, 0.35);
    }

    .btn-primary:active {
      transform: translateY(0);
    }

    .btn-soft {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 0.5rem;
      padding: 0.65rem 1.3rem;
      border-radius: 9999px;
      background: var(--brand-50);
      color: var(--brand-700);
      font-weight: 700;
      font-size: 0.9rem;
      border: 1px solid var(--brand-200);
      transition: all 0.2s ease;
    }

    .btn-soft:hover {
      background: var(--brand-100);
      color: var(--brand-800);
      border-color: var(--brand-300);
      transform: translateY(-1px);
    }

    .badge {
      display: inline-flex;
      align-items: center;
      gap: 0.35rem;
      padding: 0.35rem 0.9rem;
      border-radius: 9999px;
      background: rgba(255, 255, 255, 0.14);
      border: 1px solid rgba(255, 255, 255, 0.24);
      color: #fff;
      font-size: 0.78rem;
      font-weight: 600;
      backdrop-filter: blur(6px);
    }

    .badge-outline {
      background: transparent;
      border-color: rgba(255, 255, 255, 0.35);
    }

    .tag {
      display: inline-flex;
      align-items: center;
      gap: 0.3rem;
      padding: 0.3rem 0.85rem;
      border-radius: 9999px;
      background: #f1f5f9;
      border: 1px solid var(--border-color);
      color: #475569;
      font-size: 0.75rem;
      font-weight: 600;
      transition: all 0.2s ease;
    }

    .tag:hover {
      background: var(--brand-50);
      color: var(--brand-700);
      border-color: var(--brand-200);
    }

    .tag-brand {
      background: var(--brand-50);
      color: var(--brand-700);
      border-color: var(--brand-200);
    }

    .section-label {
      display: inline-flex;
      align-items: center;
      gap: 0.45rem;
      padding: 0.3rem 0.95rem;
      border-radius: 9999px;
      background: var(--brand-50);
      color: var(--brand-700);
      font-size: 0.78rem;
      font-weight: 700;
      letter-spacing: 0.05em;
    }

    .section-label::before {
      content: '';
      width: 6px;
      height: 6px;
      border-radius: 9999px;
      background: var(--brand-600);
    }

    .info-card {
      background: #fff;
      border-radius: var(--radius);
      border: 1px solid var(--border-color);
      box-shadow: var(--shadow-card);
      transition: box-shadow 0.25s ease;
    }

    .info-card:hover {
      box-shadow: var(--shadow-hover);
    }

    .article-meta-list {
      margin-top: 1.1rem;
      display: grid;
      gap: 0.85rem;
    }

    .article-meta-list li {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1rem;
      font-size: 0.86rem;
      border-bottom: 1px dashed var(--border-color);
      padding-bottom: 0.75rem;
    }

    .article-meta-list li:last-child {
      border-bottom: none;
      padding-bottom: 0;
    }

    .article-meta-list span {
      color: var(--muted-color);
    }

    .article-meta-list strong {
      color: var(--text-color);
      font-weight: 600;
      text-align: right;
    }

    .cover-card {
      transition: transform 0.25s ease, box-shadow 0.25s ease;
    }

    .cover-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 16px 40px rgba(15, 23, 42, 0.1);
    }

    .article-content {
      font-size: 1.02rem;
      line-height: 1.9;
      color: #334155;
    }

    .article-content h2 {
      font-size: 1.55rem;
      font-weight: 800;
      color: #0f172a;
      margin-top: 2.2rem;
      margin-bottom: 1rem;
      padding-bottom: 0.6rem;
      border-bottom: 1px solid var(--border-color);
    }

    .article-content h3 {
      font-size: 1.25rem;
      font-weight: 700;
      color: #1e293b;
      margin-top: 1.8rem;
      margin-bottom: 0.8rem;
    }

    .article-content p {
      margin-bottom: 1.2rem;
    }

    .article-content ul,
    .article-content ol {
      margin: 1.1rem 0;
      padding-left: 1.4rem;
    }

    .article-content ul {
      list-style: disc;
    }

    .article-content ol {
      list-style: decimal;
    }

    .article-content li {
      margin-bottom: 0.5rem;
    }

    .article-content blockquote {
      border-left: 4px solid var(--brand-500);
      background: var(--brand-50);
      padding: 1rem 1.25rem;
      border-radius: 0 14px 14px 0;
      margin: 1.5rem 0;
      color: #475569;
    }

    .article-content blockquote p:last-child {
      margin-bottom: 0;
    }

    .article-content a {
      color: var(--brand-600);
      text-decoration: underline;
      text-underline-offset: 3px;
    }

    .article-content a:hover {
      color: var(--brand-800);
    }

    .article-content img {
      border-radius: 14px;
      margin: 1.6rem 0;
      box-shadow: var(--shadow-card);
    }

    .article-content table {
      width: 100%;
      border-collapse: collapse;
      margin: 1.5rem 0;
      font-size: 0.92rem;
    }

    .article-content th,
    .article-content td {
      border: 1px solid var(--border-color);
      padding: 0.7rem 0.9rem;
      text-align: left;
    }

    .article-content th {
      background: var(--bg-soft);
      font-weight: 700;
    }

    .faq-item {
      background: #fff;
      border: 1px solid var(--border-color);
      border-radius: 14px;
      overflow: hidden;
      box-shadow: var(--shadow-card);
      transition: box-shadow 0.25s ease;
    }

    .faq-item:hover {
      box-shadow: var(--shadow-hover);
    }

    .faq-item summary {
      list-style: none;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1rem;
      padding: 1.15rem 1.35rem;
      font-weight: 700;
      font-size: 0.95rem;
      color: var(--text-color);
      cursor: pointer;
    }

    .faq-item summary::-webkit-details-marker {
      display: none;
    }

    .faq-item summary i {
      color: var(--brand-500);
      transition: transform 0.3s ease;
      font-size: 0.85rem;
      flex-shrink: 0;
    }

    .faq-item[open] summary i {
      transform: rotate(180deg);
    }

    .faq-answer {
      padding: 0 1.35rem 1.25rem;
      color: var(--muted-color);
      line-height: 1.8;
      font-size: 0.92rem;
    }

    .footer-title {
      color: #fff;
      font-weight: 700;
      margin-bottom: 1rem;
      font-size: 1rem;
      letter-spacing: 0.04em;
    }

    .footer-link-list {
      list-style: none;
      padding: 0;
      margin: 0;
    }

    .footer-link-list li {
      margin-bottom: 0.7rem;
      font-size: 0.88rem;
      color: #94a3b8;
    }

    .footer-link-list a {
      color: #94a3b8;
      display: inline-flex;
      align-items: center;
      transition: color 0.2s ease;
    }

    .footer-link-list a:hover {
      color: #fff;
    }

    .mobile-tab {
      background: rgba(255, 255, 255, 0.94);
      backdrop-filter: blur(14px);
      border-top: 1px solid var(--border-color);
      padding-bottom: env(safe-area-inset-bottom);
    }

    .tab-item {
      flex: 1;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 4px;
      padding: 10px 4px;
      font-size: 10px;
      font-weight: 600;
      color: #94a3b8;
      transition: color 0.2s ease;
    }

    .tab-item i {
      font-size: 18px;
    }

    .tab-item.active,
    .tab-item:active {
      color: var(--brand-600);
    }

    @media (min-width: 768px) {
      .mobile-tab {
        display: none;
      }
    }

    @media (max-width: 520px) {
      .article-content {
        font-size: 0.98rem;
      }

      .article-content h2 {
        font-size: 1.3rem;
      }

      .faq-item summary {
        font-size: 0.88rem;
        padding: 1rem 1.1rem;
      }

      .faq-answer {
        padding: 0 1.1rem 1.1rem;
      }
    }
