:root {
  --primary: #9f1239;
  --accent: #e11d48;
  --bg: #fafafa;
  --text: #3f0a1a;
  --border-color: #3f0a1a;
  --white: #ffffff;
  --shadow: 6px 6px 0px rgba(63, 10, 26, 0.2);
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  border-radius: 0 !important;
}
body {
  background-color: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-weight: 400;
  line-height: 1.75;
}
h1, h2, h3, h4, h5, h6 {
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
a {
  text-decoration: none;
  color: inherit;
}
.navbar {
  background-color: var(--bg);
  border-bottom: 3px solid var(--border-color);
  padding: 0.8rem 0;
}
.navbar-brand {
  font-weight: 900;
  font-size: 1.6rem;
  color: var(--primary);
  letter-spacing: -0.03em;
}
.navbar-nav .nav-link {
  font-weight: 600;
  color: var(--text);
  padding: 0.5rem 1rem;
  transition: color 0.2s, background-color 0.2s;
  margin-left: 4px;
}
.navbar-nav .nav-link:hover {
  color: var(--accent);
  background-color: rgba(225, 29, 72, 0.06);
}
.navbar-toggler {
  border: 2px solid var(--border-color);
}
.navbar-toggler:focus {
  box-shadow: none;
}
.hero-section {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--white);
  padding: 5rem 0 4rem;
  border-bottom: 4px solid var(--border-color);
  position: relative;
  overflow: hidden;
}
.hero-title {
  font-size: 3.2rem;
  font-weight: 900;
  margin-bottom: 1rem;
  color: var(--white);
}
.hero-subtitle {
  font-size: 1.2rem;
  font-weight: 300;
  opacity: 0.9;
  max-width: 640px;
  line-height: 1.8;
}
.hero-badge {
  display: inline-block;
  background-color: var(--white);
  color: var(--primary);
  padding: 0.35rem 1rem;
  font-weight: 700;
  font-size: 0.85rem;
  border: 2px solid var(--border-color);
  margin-bottom: 1.5rem;
  box-shadow: 4px 4px 0 rgba(63, 10, 26, 0.2);
}
.typewriter-cursor {
  display: inline-block;
  width: 4px;
  background-color: var(--white);
  margin-left: 4px;
  animation: blink 0.8s infinite;
  border: none;
}
@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}
.stats-section {
  padding: 4rem 0;
  border-bottom: 3px solid var(--border-color);
  background-color: var(--bg);
}
.stat-item {
  text-align: center;
  padding: 1.8rem 0.8rem;
  background-color: var(--white);
  border: 3px solid var(--border-color);
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.stat-item:hover {
  transform: scale(1.03);
  border-color: var(--accent);
}
.stat-number {
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1.2;
}
.stat-label {
  font-weight: 600;
  color: var(--text);
  margin-top: 0.4rem;
  letter-spacing: 0.02em;
}
.steps-section {
  padding: 4rem 0;
  background-color: var(--bg);
}
.section-title {
  font-size: 2rem;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
  border-bottom: 4px solid var(--accent);
  padding-bottom: 0.4rem;
}
.step-card {
  background-color: var(--white);
  border: 3px solid var(--border-color);
  box-shadow: var(--shadow);
  padding: 2rem 1.5rem;
  height: 100%;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.step-card:hover {
  transform: scale(1.02);
  border-color: var(--accent);
}
.step-number {
  font-size: 3rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 1rem;
}
.step-card h4 {
  font-weight: 700;
  margin-bottom: 0.8rem;
}
.features-section {
  padding: 4rem 0;
  background-color: var(--bg);
}
.feature-item {
  background-color: var(--white);
  border: 3px solid var(--border-color);
  box-shadow: var(--shadow);
  padding: 1.8rem 1.2rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: flex-start;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.feature-item:hover {
  transform: scale(1.02);
  border-color: var(--accent);
}
.feature-icon {
  background-color: var(--primary);
  color: var(--white);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-right: 1.2rem;
  flex-shrink: 0;
  border: 2px solid var(--border-color);
}
.feature-item h5 {
  font-weight: 700;
  margin-bottom: 0.4rem;
}
.feature-item p {
  margin-bottom: 0;
  color: var(--text);
  opacity: 0.85;
}
.faq-section {
  padding: 4rem 0;
  background-color: var(--bg);
}
.accordion-item {
  background-color: var(--white);
  border: 3px solid var(--border-color);
  margin-bottom: 1rem;
  box-shadow: 4px 4px 0 rgba(63, 10, 26, 0.08);
}
.accordion-button {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
  padding: 1.2rem 1.4rem;
  background-color: transparent;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s;
}
.accordion-button:not(.collapsed) {
  color: var(--primary);
  border-bottom-color: var(--accent);
  background-color: rgba(159, 18, 57, 0.04);
}
.accordion-button:focus {
  box-shadow: none;
}
.accordion-body {
  padding: 1.2rem 1.4rem;
  color: var(--text);
  border-top: 2px solid var(--border-color);
  background-color: #fff;
}
.cta-section {
  padding: 4rem 0;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--white);
  border-top: 4px solid var(--border-color);
}
.cta-title {
  font-size: 2.2rem;
  font-weight: 900;
  margin-bottom: 1rem;
}
.cta-btn {
  display: inline-block;
  background-color: var(--white);
  color: var(--primary);
  padding: 0.8rem 2rem;
  font-weight: 800;
  font-size: 1.1rem;
  border: 3px solid var(--border-color);
  box-shadow: 5px 5px 0 rgba(63, 10, 26, 0.2);
  transition: transform 0.2s, box-shadow 0.2s;
}
.cta-btn:hover {
  transform: translate(3px, 3px);
  box-shadow: 2px 2px 0 rgba(63, 10, 26, 0.2);
}
.friend-links {
  background-color: var(--bg);
  padding: 2.5rem 0;
  border-top: 3px solid var(--border-color);
}
.friend-links h6 {
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
}
.footer {
  background-color: #2a0a16;
  color: rgba(255, 255, 255, 0.7);
  padding: 2.5rem 0;
  border-top: 4px solid var(--accent);
}
.footer a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s;
}
.footer a:hover {
  color: var(--white);
}
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  background-color: var(--primary);
  color: var(--white);
  border: 3px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s, transform 0.2s;
  cursor: pointer;
  z-index: 999;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.2);
}
.back-to-top.show {
  opacity: 1;
  visibility: visible;
}
.back-to-top:hover {
  transform: scale(1.05);
  background-color: var(--accent);
}
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.2rem;
  }
  .hero-subtitle {
    font-size: 1rem;
  }
  .stat-number {
    font-size: 2rem;
  }
  .section-title {
    font-size: 1.6rem;
  }
}

/* --- 子页面追加 --- */
/* 本页专属样式 —— 覆盖 Bootstrap 组件配色 */
        .about-page { background: var(--bg); color: var(--text); }
.about-hero { background: linear-gradient(135deg, #3f0a1a 0%, #9f1239 100%); color: #fff; padding: 80px 0 60px; position: relative; overflow: hidden; }
.about-hero::before { content: ''; position: absolute; top: -50px; right: -50px; width: 200px; height: 200px; border-radius: 50%; background: rgba(225, 29, 72, 0.3); }
.about-hero::after { content: ''; position: absolute; bottom: -80px; left: 20px; width: 250px; height: 250px; border-radius: 50%; background: rgba(255, 255, 255, 0.05); }
.about-hero h1 { font-weight: 900; font-size: 2.8rem; margin-bottom: 20px; position: relative; z-index: 2; }
.about-hero p { font-size: 1.2rem; opacity: 0.9; max-width: 700px; position: relative; z-index: 2; }
.about-section { padding: 70px 0; }
.about-section:nth-child(even) { background: rgba(159, 18, 57, 0.03); }
.section-tag { display: inline-block; background: var(--primary); color: #fff; padding: 5px 16px; border-radius: 20px; font-size: 0.85rem; font-weight: 600; letter-spacing: 1px; margin-bottom: 20px; }
.about-card { background: var(--white); border: 2px solid var(--border-color); border-radius: 12px; padding: 30px; height: 100%; transition: transform 0.3s, box-shadow 0.3s; }
.about-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.about-card i { font-size: 2.2rem; color: var(--accent); margin-bottom: 15px; }
.about-card h3 { font-weight: 700; font-size: 1.2rem; margin-bottom: 12px; color: var(--primary); }
.about-card p { color: var(--text); font-size: 0.95rem; line-height: 1.8; }
.about-value { background: var(--white); border-left: 4px solid var(--accent); padding: 20px 25px; margin-bottom: 20px; border-radius: 0 8px 8px 0; }
.about-value h4 { font-weight: 700; color: var(--primary); margin-bottom: 8px; font-size: 1.05rem; }
.about-value p { color: var(--text); font-size: 0.95rem; line-height: 1.7; }
.stat-box { text-align: center; padding: 20px; }
.stat-box .number { font-size: 2.5rem; font-weight: 900; color: var(--primary); display: block; }
.stat-box .label { font-size: 0.9rem; color: var(--text); opacity: 0.8; }
.about-cta { background: var(--primary); color: #fff; padding: 60px 0; text-align: center; }
.about-cta h2 { font-weight: 800; font-size: 2rem; margin-bottom: 15px; }
.about-cta p { opacity: 0.9; margin-bottom: 25px; font-size: 1.1rem; }
.about-cta .btn { background: #fff; color: var(--primary); font-weight: 700; padding: 12px 30px; border-radius: 30px; text-decoration: none; border: none; transition: transform 0.3s; }
.about-cta .btn:hover { transform: scale(1.05); }
.footer-links a { color: rgba(255,255,255,0.8); text-decoration: none; margin: 0 15px; }
.footer-links a:hover { color: #fff; }
.about-hero h1 { font-size: 2rem; }
.about-hero p { font-size: 1rem; }
.about-section { padding: 50px 0; }

/* --- 子页面追加 --- */
/* 确保所有 Bootstrap 组件继承本站深色/浅色风格，避免白块 */
    .card, .card-body, .card-header, .card-footer,
    .list-group-item, .accordion-item, .accordion-button, .accordion-body,
    .form-control, .form-select, .modal-content, .dropdown-menu, .dropdown-item {
      background-color: var(--bg) !important;
      color: var(--text) !important;
      border-color: var(--border-color) !important;
    }
.accordion-button::after {
      filter: brightness(0.8);
    }
/* 链接默认颜色加深，符合本站强调色 */
    a {
      color: var(--accent);
    }
/* 小标题左侧装饰线，呼应首页特色 */
    .disclaimer-section-title {
      border-left: 5px solid var(--accent);
      padding-left: 1rem;
      font-weight: 800;
      letter-spacing: -0.01em;
    }
/* 让引用块更像“瓜田告示” */
    .notice-block {
      background: rgba(225, 29, 72, 0.06);
      border: 1px dashed var(--accent);
      border-radius: 12px;
      padding: 1.5rem;
      box-shadow: var(--shadow);
    }
/* 页面主标题 */
    .page-header {
      background: linear-gradient(145deg, rgba(159,18,57,0.08), rgba(225,29,72,0.02));
      border-bottom: 3px solid var(--primary);
    }
/* 导航当前页高亮（与首页“关于我们”高亮逻辑一致） */
    .navbar-nav .nav-link.active {
      color: var(--accent) !important;
      font-weight: 800;
      text-decoration: underline wavy var(--accent) 2px;
    }

/* --- 子页面追加 --- */
.privacy-content { max-width: 900px; margin: 0 auto; padding: 60px 0 80px; }
.privacy-content h1 { font-size: 2.5rem; font-weight: 900; color: var(--text); margin-bottom: 20px; line-height: 1.2; }
.privacy-content h2 { font-size: 1.6rem; font-weight: 800; color: var(--primary); margin-top: 50px; margin-bottom: 20px; }
.privacy-content h3 { font-size: 1.2rem; font-weight: 700; color: var(--text); margin-top: 30px; margin-bottom: 15px; }
.privacy-content p { font-size: 1rem; line-height: 1.8; color: var(--text); opacity: 0.9; margin-bottom: 15px; }
.privacy-content ul { padding-left: 20px; margin-bottom: 20px; }
.privacy-content li { font-size: 1rem; line-height: 1.8; color: var(--text); opacity: 0.9; margin-bottom: 8px; }
.privacy-content .privacy-badge { display: inline-block; background: var(--primary); color: var(--white); padding: 8px 20px; border-radius: 50px; font-size: 0.9rem; font-weight: 600; margin-bottom: 30px; }
.privacy-content .highlight-box { background: rgba(159, 18, 57, 0.08); border-left: 4px solid var(--primary); padding: 20px 25px; margin: 30px 0; border-radius: 0 12px 12px 0; }
.privacy-content .highlight-box p { margin-bottom: 0; }
.privacy-content .update-date { color: var(--primary); font-weight: 600; font-size: 0.95rem; margin-top: 40px; padding-top: 20px; border-top: 2px solid var(--border-color); }
.privacy-content .contact-links { display: flex; flex-wrap: wrap; gap: 15px; margin-top: 20px; }
.privacy-content .contact-link { display: inline-flex; align-items: center; gap: 8px; background: var(--primary); color: var(--white); padding: 10px 24px; border-radius: 50px; font-weight: 600; font-size: 0.95rem; transition: all 0.3s ease; }
.privacy-content .contact-link:hover { background: var(--accent); color: var(--white); transform: translateY(-2px); box-shadow: 0 4px 15px rgba(225, 29, 72, 0.3); }
.privacy-content .contact-link i { font-size: 1rem; }
.privacy-content .section-divider { height: 2px; background: linear-gradient(90deg, var(--primary) 0%, transparent 100%); margin: 40px 0; opacity: 0.3; }
.privacy-content .table-of-contents { background: rgba(159, 18, 57, 0.05); padding: 25px 30px; border-radius: 12px; margin: 30px 0; }
.privacy-content .table-of-contents h3 { margin-top: 0; font-size: 1.1rem; }
.privacy-content .table-of-contents ul { list-style: none; padding-left: 0; margin-bottom: 0; }
.privacy-content .table-of-contents li { padding: 6px 0; }
.privacy-content .table-of-contents a { color: var(--primary); text-decoration: none; font-weight: 500; transition: color 0.3s ease; }
.privacy-content .table-of-contents a:hover { color: var(--accent); text-decoration: underline; }
.privacy-content { padding: 40px 0 60px; }
.privacy-content h1 { font-size: 1.8rem; }
.privacy-content h2 { font-size: 1.3rem; }
.privacy-content .contact-links { flex-direction: column; }

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