:root {
  --primary: #9f1239;
  --accent: #e11d48;
  --bg: #fafafa;
  --text: #3f0a1a;
  --border-light: rgba(159, 18, 57, 0.08);
  --shadow-sm: 0 2px 8px rgba(159, 18, 57, 0.06);
  --shadow-md: 0 6px 20px rgba(159, 18, 57, 0.10);
  --shadow-lg: 0 12px 32px rgba(159, 18, 57, 0.14);
  --radius: 8px;
}
* { margin:0; padding:0; box-sizing:border-box; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Noto Sans SC', 'Inter', sans-serif;
  line-height: 1.7;
  overflow-x: hidden;
}
h1,h2,h3,.brand-font {
  font-family: 'ZCOOL KuaiLe', 'Inter', cursive;
  letter-spacing: 0.5px;
}
/* 点阵背景装饰 */
.dot-bg {
  position: relative;
}
.dot-bg::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: radial-gradient(rgba(159,18,57,0.08) 1px, transparent 1px);
  background-size: 22px 22px;
  pointer-events: none;
  z-index: 0;
}
/* 滚动进度条 */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  z-index: 9999;
  width: 0%;
  transition: width 0.1s ease-out;
}
/* 导航 */
.navbar-custom {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  padding: 12px 0;
}
.navbar-brand {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--primary) !important;
  letter-spacing: 1px;
}
.navbar-brand i { color: var(--accent); margin-right: 6px; }
.nav-link {
  color: var(--text) !important;
  font-weight: 500;
  margin: 0 10px;
  position: relative;
  transition: color 0.3s;
}
.nav-link:hover { color: var(--primary) !important; }
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 0; height: 2px;
  background: var(--accent);
  transition: width 0.3s;
}
.nav-link:hover::after { width: 70%; }
.navbar-toggler { border-color: var(--primary); }
/* Hero */
.hero-section {
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero-section::after {
  content: '';
  position: absolute;
  right: -100px; top: -50px;
  width: 350px; height: 350px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(225,29,72,0.1), transparent 70%);
  z-index: 0;
}
.hero-content { position: relative; z-index: 1; }
.hero-title {
  font-size: 3.2rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1.2;
  margin-bottom: 20px;
}
.hero-subtitle {
  font-size: 1.2rem;
  color: #6b7280;
  max-width: 600px;
  margin: 0 auto 32px;
  font-weight: 300;
}
.btn-hero {
  padding: 12px 32px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  border: none;
  margin: 0 8px;
}
.btn-primary-custom {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-md);
}
.btn-primary-custom:hover {
  background: var(--accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  color: #fff;
}
.btn-outline-custom {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline-custom:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-3px);
}
/* 区块通用 */
.section-padding { padding: 80px 0; }
.section-tag {
  display: inline-block;
  background: rgba(225,29,72,0.1);
  color: var(--primary);
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 16px;
}
.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 16px;
}
.section-desc {
  color: #6b7280;
  max-width: 700px;
  margin: 0 auto 40px;
  font-size: 1.05rem;
}
/* 长文区块 */
.long-text-section {
  background: #fff;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}
.long-text-content {
  max-width: 800px;
  margin: 0 auto;
}
.long-text-content p {
  margin-bottom: 20px;
  font-size: 1.05rem;
  color: #4b5563;
}
.long-text-content .highlight {
  color: var(--primary);
  font-weight: 700;
}
/* 对比表格 */
.table-section {
  background: var(--bg);
}
.compare-table {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
}
.compare-table thead th {
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  padding: 18px 20px;
  border: none;
  font-size: 1.05rem;
}
.compare-table tbody td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-light);
  vertical-align: middle;
}
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table tbody tr:nth-child(even) { background: rgba(159,18,57,0.02); }
.table-badge {
  background: rgba(225,29,72,0.1);
  color: var(--primary);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}
/* FAQ 手风琴 */
.faq-section { background: #fff; }
.accordion-item {
  border: 1px solid var(--border-light) !important;
  border-radius: var(--radius) !important;
  margin-bottom: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s;
}
.accordion-item:hover { box-shadow: var(--shadow-md); }
.accordion-button {
  font-weight: 600;
  color: var(--text);
  padding: 18px 24px;
  background: #fff;
}
.accordion-button:not(.collapsed) {
  background: rgba(159,18,57,0.03);
  color: var(--primary);
  box-shadow: none;
}
.accordion-button:focus { box-shadow: none; border-color: var(--primary); }
.accordion-body { padding: 20px 24px; color: #4b5563; }
/* 特色 */
.features-section {
  background: var(--bg);
  position: relative;
}
.feature-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}
.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.feature-icon {
  width: 64px; height: 64px;
  margin: 0 auto 20px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #fff;
}
.feature-card h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
}
.feature-card p { color: #6b7280; font-size: 0.95rem; }
/* CTA */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, #6b0f2a 100%);
  padding: 80px 0;
  color: #fff;
  position: relative;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: radial-gradient(rgba(255,255,255,0.1) 1px, transparent 1px);
  background-size: 20px 20px;
}
.cta-title { font-size: 2rem; font-weight: 800; margin-bottom: 16px; }
.cta-btn {
  background: #fff;
  color: var(--primary);
  padding: 14px 36px;
  border-radius: var(--radius);
  font-weight: 700;
  border: none;
  transition: all 0.3s;
  font-size: 1.1rem;
}
.cta-btn:hover { background: #f3f4f6; transform: translateY(-3px); box-shadow: 0 10px 30px rgba(0,0,0,0.2); color: var(--primary); }
/* 友情链接 */
.friend-links-section {
  background: #fff;
  border-top: 1px solid var(--border-light);
  padding: 40px 0;
}
.friend-title {
  font-size: 0.9rem;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
  font-weight: 600;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}
.friend-links a {
  color: #6b7280;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s;
}
.friend-links a:hover { color: var(--primary); }
/* 页脚 */
.footer {
  background: #2a0a12;
  color: #d1d5db;
  padding: 50px 0 30px;
}
.footer-brand {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}
.footer-brand i { color: var(--accent); margin-right: 8px; }
.footer-links a {
  color: #9ca3af;
  text-decoration: none;
  margin-right: 24px;
  transition: color 0.3s;
}
.footer-links a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  margin-top: 32px;
  font-size: 0.85rem;
  color: #6b7280;
}
/* 回到顶部 */
#backToTop {
  position: fixed;
  bottom: 30px; right: 30px;
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--primary);
  color: #fff;
  border: none;
  font-size: 1.2rem;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.4s ease;
  z-index: 999;
  cursor: pointer;
}
#backToTop.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
#backToTop:hover { background: var(--accent); }
/* 响应式 */
@media (max-width: 768px) {
  .hero-title { font-size: 2.2rem; }
  .section-title { font-size: 1.6rem; }
  .hero-section { padding: 70px 0 50px; }
  .section-padding { padding: 50px 0; }
  .navbar-nav { text-align: center; padding: 10px 0; }
  .nav-link { padding: 8px 0; }
  .compare-table thead th { font-size: 0.85rem; padding: 12px 10px; }
  .compare-table tbody td { padding: 12px 10px; font-size: 0.9rem; }
  .btn-hero { display: block; width: 80%; margin: 10px auto; }
  .footer-links a { display: inline-block; margin-bottom: 8px; }
}

/* --- 子页面追加 --- */
/* 确保本页没有 Bootstrap 白底黑字渗入 */
    .card, .card-body, .card-header, .card-footer,
    .form-control, .form-select, .accordion-item, .accordion-button, .accordion-body,
    .list-group-item, .modal-content, .dropdown-menu {
      background: transparent !important;
      color: var(--text) !important;
      border-color: var(--border-light) !important;
    }
/* 任何潜在白底都压掉 */
    body, .container, .row, [class*="col-"] {
      background-color: transparent;
    }
/* 导航高亮当前页 */
    .nav-link.active {
      color: var(--accent) !important;
      font-weight: 700;
    }
/* 小调整：让长文本更透气 */
    .long-text-content p {
      margin-bottom: 1.2rem;
      line-height: 1.9;
    }
/* 表格美化 */
    .compare-table td, .compare-table th {
      background-color: transparent;
    }
/* 确保所有文字颜色正确 */
    .section-title, .section-desc, .long-text-content, .compare-table, .faq-section {
      color: var(--text);
    }

/* --- 子页面追加 --- */
/* 确保所有Bootstrap组件继承本站配色，避免白块黑字 */
        .card, .card-body, .card-title, .card-text, .card-header, .card-footer,
        .form-control, .form-select, .form-label, .input-group-text,
        .table, .list-group-item, .accordion-item, .accordion-button, .accordion-body,
        .modal-content, .modal-header, .modal-body, .dropdown-menu, .dropdown-item,
        .nav-link, .navbar, .navbar-brand, .btn-light, .btn-outline-* {
            background: transparent;
            color: var(--text);
            border-color: var(--border-light);
        }
.form-control::placeholder {
            color: rgba(63, 10, 26, 0.4);
        }
/* 阅读指南专属步骤卡片 */
        .guide-step-card {
            background: #ffffff;
            border: 1px solid var(--border-light);
            border-radius: var(--radius);
            padding: 1.5rem;
            height: 100%;
            box-shadow: var(--shadow-sm);
            transition: transform .2s, box-shadow .2s;
        }
.guide-step-card:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-md);
        }
.guide-step-number {
            display: inline-block;
            width: 32px;
            height: 32px;
            line-height: 32px;
            text-align: center;
            background: var(--primary);
            color: #fff;
            border-radius: 50%;
            font-weight: 700;
            margin-bottom: 1rem;
        }
.guide-tip {
            background: rgba(159, 18, 57, 0.04);
            border-left: 4px solid var(--accent);
            padding: 1rem 1.2rem;
            border-radius: 0 var(--radius) var(--radius) 0;
            margin: 1.5rem 0;
            font-size: 0.95rem;
        }
.table-section .compare-table td {
            padding: 0.75rem 0.5rem;
        }
.guide-step-card {
                padding: 1rem;
            }

/* --- 子页面追加 --- */
/* 本页专属样式 */
    .disclaimer-hero {
      background: linear-gradient(135deg, rgba(159,18,57,0.06) 0%, rgba(225,29,72,0.04) 50%, rgba(159,18,57,0.08) 100%);
      border-bottom: 1px solid var(--border-light);
    }
.disclaimer-card {
      background: #ffffff;
      border: 1px solid var(--border-light);
      border-radius: var(--radius);
      box-shadow: var(--shadow-sm);
      padding: 2rem;
      margin-bottom: 1.5rem;
      transition: box-shadow 0.3s ease;
    }
.disclaimer-card:hover {
      box-shadow: var(--shadow-md);
    }
.disclaimer-icon {
      width: 48px;
      height: 48px;
      border-radius: 50%;
      background: rgba(159, 18, 57, 0.08);
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--primary);
      font-size: 1.2rem;
      margin-bottom: 1rem;
    }
.disclaimer-highlight {
      background: rgba(159, 18, 57, 0.03);
      border-left: 4px solid var(--primary);
      padding: 1.5rem;
      border-radius: 0 var(--radius) var(--radius) 0;
      margin: 1.5rem 0;
    }
.last-updated {
      display: inline-block;
      background: rgba(159, 18, 57, 0.06);
      color: var(--primary);
      padding: 0.3rem 1rem;
      border-radius: 20px;
      font-size: 0.85rem;
      font-weight: 500;
    }

/* --- Bootstrap 组件配色适配(程序自动补,避免白底黑字) --- */
.accordion-header { background:transparent !important; }
