:root {
  --primary: #818cf8;
  --accent: #c084fc;
  --bg: #1e1b4b;
  --text: #e0e7ff;
  --card-bg: #26235a;
  --border-color: rgba(129, 140, 248, 0.25);
  --font-title: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  font-weight: 900;
  letter-spacing: -0.02em;
}

/* ===== 导航栏 ===== */
.navbar-custom {
  background: rgba(30, 27, 75, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  padding: 0.8rem 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.navbar-custom.sticky {
  position: sticky;
  top: 0;
}

.navbar-brand {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--text) !important;
  letter-spacing: -0.01em;
}

.navbar-brand i {
  color: var(--accent);
  margin-right: 0.3rem;
}

.nav-link {
  color: rgba(224, 231, 255, 0.8) !important;
  font-weight: 500;
  margin: 0 0.5rem;
  transition: color 0.2s;
}

.nav-link:hover {
  color: var(--primary) !important;
}

.navbar-toggler {
  border-color: var(--border-color);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(224,231,255,0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ===== Hero ===== */
.hero-section {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  border-bottom: 1px solid var(--border-color);
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120%;
  background-image: url('{随机图片}');
  background-size: cover;
  background-position: center;
  filter: brightness(0.35) saturate(1.2);
  z-index: 0;
  will-change: transform;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 2rem;
  max-width: 900px;
}

.hero-title {
  font-size: 4rem;
  font-weight: 900;
  color: #fff;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 300;
  margin-bottom: 2rem;
}

.hero-cta {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  padding: 0.8rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1.1rem;
  border: 2px solid transparent;
  transition: all 0.3s;
}

.hero-cta:hover {
  background: transparent;
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-3px);
}

/* ===== 区块通用 ===== */
.section-wrapper {
  padding: 5rem 0;
  position: relative;
}

.section-label {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: 2.8rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
  color: var(--text);
}

.section-subtitle {
  font-size: 1.15rem;
  color: rgba(224, 231, 255, 0.7);
  max-width: 700px;
  margin: 0 auto 3rem;
  font-weight: 300;
}

/* 波浪分割 */
.wave-divider {
  width: 100%;
  height: 60px;
  position: absolute;
  bottom: -1px;
  left: 0;
  z-index: 1;
}

/* ===== 特色区块 ===== */
.features-section {
  position: relative;
}

.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2.5rem 2rem;
  height: 100%;
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.3s;
  text-align: left;
}

.feature-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
  border-color: var(--primary);
}

.feature-icon {
  font-size: 2.2rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
  display: block;
}

.feature-card h3 {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 0.8rem;
}

.feature-card p {
  color: rgba(224, 231, 255, 0.8);
  font-size: 0.95rem;
  font-weight: 300;
  margin-bottom: 1rem;
}

.feature-data {
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  display: block;
  margin-top: 1rem;
}

/* ===== FAQ 折叠 ===== */
.faq-section {
  background: #1a1845;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.accordion-item {
  background: transparent;
  border: 1px solid var(--border-color) !important;
  border-radius: 8px !important;
  margin-bottom: 1rem;
  overflow: hidden;
}

.accordion-button {
  background: transparent;
  color: var(--text);
  font-weight: 700;
  font-size: 1.1rem;
  padding: 1.5rem 1.8rem;
  box-shadow: none;
}

.accordion-button:not(.collapsed) {
  background: rgba(129, 140, 248, 0.1);
  color: var(--primary);
}

.accordion-button:focus {
  box-shadow: none;
}

.accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23818cf8'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
  color: rgba(224, 231, 255, 0.8);
  padding: 1.2rem 1.8rem 1.8rem;
  font-weight: 300;
  line-height: 1.8;
}

/* ===== 介绍区块 ===== */
.intro-section {
  position: relative;
  border-bottom: 1px solid var(--border-color);
}

.intro-content {
  padding: 2rem 0;
}

.intro-text {
  font-size: 1.15rem;
  font-weight: 300;
  line-height: 2;
  color: rgba(224, 231, 255, 0.85);
}

.intro-highlight {
  color: var(--primary);
  font-weight: 600;
}

.intro-stats {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--accent);
  display: block;
  line-height: 1.2;
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(224, 231, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ===== CTA ===== */
.cta-section {
  position: relative;
  text-align: center;
  padding: 6rem 0;
  background: linear-gradient(180deg, var(--bg) 0%, #151237 100%);
}

.cta-title {
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
}

.cta-subtitle {
  font-size: 1.2rem;
  color: rgba(224, 231, 255, 0.8);
  margin-bottom: 2.5rem;
  font-weight: 300;
}

.btn-cta {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  padding: 1rem 3rem;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1.1rem;
  border: 2px solid transparent;
  transition: all 0.3s;
}

.btn-cta:hover {
  background: transparent;
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-3px);
}

/* ===== 友情链接 ===== */
.friend-links {
  padding: 3rem 0;
  border-top: 1px solid var(--border-color);
  background: #1a1845;
}

.friend-links h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: rgba(224, 231, 255, 0.6);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.friend-links .links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 2rem;
}

.friend-links .links a {
  color: rgba(224, 231, 255, 0.7);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.friend-links .links a:hover {
  color: var(--primary);
}

/* ===== 页脚 ===== */
.footer {
  padding: 3rem 0 2rem;
  background: #151237;
  border-top: 1px solid var(--border-color);
}

.footer-brand {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--text);
  margin-bottom: 1rem;
}

.footer-brand i {
  color: var(--accent);
}

.footer-text {
  color: rgba(224, 231, 255, 0.5);
  font-size: 0.9rem;
  font-weight: 300;
}

.footer-links {
  margin-top: 1.5rem;
}

.footer-links a {
  color: rgba(224, 231, 255, 0.6);
  text-decoration: none;
  margin: 0 1rem;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--primary);
}

.copyright {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  color: rgba(224, 231, 255, 0.4);
  font-size: 0.85rem;
}

/* ===== 动效 ===== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== 响应式 ===== */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  .hero-subtitle {
    font-size: 1.1rem;
  }
  .section-title {
    font-size: 2rem;
  }
  .section-wrapper {
    padding: 3.5rem 0;
  }
  .cta-title {
    font-size: 2.2rem;
  }
  .stat-number {
    font-size: 2rem;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2rem;
  }
  .feature-card {
    padding: 1.8rem 1.5rem;
  }
}

/* 斜切分割 */
.zigzag {
  position: relative;
}

.zigzag::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 30px;
  background: linear-gradient(135deg, var(--bg) 0%, var(--bg) 50%, transparent 50%, transparent 100%);
  background-size: 30px 30px;
  z-index: 2;
}

/* --- 子页面追加 --- */
/* 本页专属小范围样式（会自动合并进站点CSS） */
        .about-hero { padding: 120px 0 80px; text-align: center; }
.about-hero .about-hero-title { font-size: 2.8rem; font-weight: 900; letter-spacing: -0.02em; }
.about-section { padding: 70px 0; }
.about-section:nth-of-type(even) { background: rgba(129, 140, 248, 0.04); }
.about-card { background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 16px; padding: 32px; height: 100%; transition: transform .25s ease, box-shadow .25s ease; }
.about-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,.2); }
.about-icon { font-size: 2.2rem; color: var(--accent); margin-bottom: 18px; }
.about-list { list-style: none; padding-left: 0; }
.about-list li { padding: 8px 0; border-bottom: 1px solid rgba(129,140,248,.1); display: flex; align-items: flex-start; gap: 10px; }
.about-list li:last-child { border-bottom: none; }
.about-list i { color: var(--accent); margin-top: 4px; font-size: .9rem; }
.about-highlight { color: var(--accent); font-weight: 600; }
.about-quote { border-left: 3px solid var(--accent); padding-left: 20px; font-style: italic; color: var(--text); opacity: .85; margin: 24px 0; }
.about-meta { color: var(--text); opacity: .65; font-size: .95rem; }
.about-divider { width: 60px; height: 3px; background: linear-gradient(90deg, var(--primary), var(--accent)); border-radius: 3px; margin: 20px 0; }
.about-img-wrap { border-radius: 16px; overflow: hidden; border: 1px solid var(--border-color); }
.about-img-wrap img { width: 100%; height: auto; display: block; }

/* --- 子页面追加 --- */
.disclaimer-section { padding: 80px 0 60px; }
.disclaimer-title { color: var(--primary); font-weight: 700; margin-bottom: 30px; position: relative; padding-left: 18px; }
.disclaimer-title::before { content: ''; position: absolute; left: 0; top: 4px; bottom: 4px; width: 4px; background: linear-gradient(180deg, var(--primary), var(--accent)); border-radius: 2px; }
.disclaimer-card { background: rgba(38, 35, 90, 0.5); border: 1px solid var(--border-color); border-radius: 12px; padding: 28px 30px; margin-bottom: 24px; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.disclaimer-card:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(129, 140, 248, 0.15); }
.disclaimer-card h3 { color: var(--primary); font-size: 1.15rem; font-weight: 700; margin-bottom: 14px; }
.disclaimer-card p { color: var(--text); font-size: 0.92rem; line-height: 1.75; margin-bottom: 10px; }
.disclaimer-card p:last-child { margin-bottom: 0; }
.disclaimer-card ul { padding-left: 20px; margin-bottom: 10px; }
.disclaimer-card ul li { color: var(--text); font-size: 0.92rem; line-height: 1.75; margin-bottom: 6px; }
.update-tag { display: inline-block; background: rgba(129, 140, 248, 0.15); color: var(--primary); padding: 3px 12px; border-radius: 20px; font-size: 0.8rem; margin-bottom: 20px; border: 1px solid var(--border-color); }
.highlight-text { color: var(--accent); font-weight: 600; }
.contact-email { color: var(--primary); text-decoration: none; border-bottom: 1px dashed var(--primary); }
.contact-email:hover { color: var(--accent); border-bottom-color: var(--accent); }
.disclaimer-section { padding: 50px 0 40px; }
.disclaimer-card { padding: 22px 20px; }

/* --- 子页面追加 --- */
.privacy-section {
            padding: 3rem 0;
        }
.privacy-container {
            max-width: 900px;
            margin: 0 auto;
        }
.privacy-block {
            background: var(--card-bg);
            border: 1px solid var(--border-color);
            border-radius: 12px;
            padding: 2rem;
            margin-bottom: 2rem;
        }
.privacy-block h2 {
            color: var(--primary);
            font-weight: 700;
            font-size: 1.5rem;
            margin-bottom: 1rem;
            display: flex;
            align-items: center;
            gap: 0.75rem;
        }
.privacy-block h2 i {
            font-size: 1.25rem;
            color: var(--accent);
        }
.privacy-block p, .privacy-block li {
            color: var(--text);
            line-height: 1.8;
            font-size: 0.95rem;
        }
.privacy-block ul, .privacy-block ol {
            padding-left: 1.25rem;
            margin-bottom: 1rem;
        }
.privacy-block li {
            margin-bottom: 0.5rem;
        }
.privacy-highlight {
            background: rgba(129, 140, 248, 0.08);
            border-left: 3px solid var(--primary);
            padding: 1rem 1.25rem;
            border-radius: 0 8px 8px 0;
            margin: 1.5rem 0;
        }
.privacy-highlight p {
            margin-bottom: 0.25rem;
        }
.privacy-updated {
            color: var(--accent);
            font-size: 0.9rem;
            font-weight: 500;
            margin-bottom: 2rem;
            display: inline-block;
            background: rgba(192, 132, 252, 0.1);
            padding: 0.4rem 1rem;
            border-radius: 50px;
        }
.privacy-contact-box {
            background: rgba(129, 140, 248, 0.06);
            border: 1px solid var(--border-color);
            border-radius: 10px;
            padding: 1.5rem;
            margin-top: 1rem;
        }
.privacy-contact-box a {
            color: var(--accent);
            text-decoration: underline;
            word-break: break-all;
        }
.privacy-contact-box a:hover {
            color: var(--primary);
        }
.privacy-block {
                padding: 1.5rem;
            }
.privacy-block h2 {
                font-size: 1.25rem;
            }

/* --- 子页面追加 --- */
/* 保证所有卡片/列表继承深色风格, 覆盖 bootstrap 可能引入的白底 */
    .sitemap-card, .sitemap-list-group, .list-group-item, .card, .card-body {
      background: var(--card-bg);
      color: var(--text);
      border-color: var(--border-color);
    }
.list-group-item {
      background: transparent;
      border-color: var(--border-color);
      color: var(--text);
    }
.list-group-item a {
      color: var(--primary);
      text-decoration: none;
      font-weight: 500;
    }
.list-group-item a:hover {
      color: var(--accent);
      text-decoration: underline;
    }
.sitemap-section-title {
      border-left: 4px solid var(--accent);
      padding-left: 0.75rem;
    }
/* 确保手风琴/表单等不用bootstrap组件, 无白底 */
    .breadcrumb-nav {
      background: transparent;
    }
/* 图标占位 */
    .icon-sitemap {
      color: var(--accent);
      margin-right: 0.4rem;
    }

/* --- Bootstrap 组件配色适配(程序自动补,避免白底黑字) --- */
.table { color:#e0e7ff !important; border-color:rgba(255,255,255,.12) !important; --bs-table-bg:transparent !important; --bs-table-color:#e0e7ff !important; }
.accordion-header { background:transparent !important; }
.breadcrumb { color:#e0e7ff !important; }
