:root {
  --primary: #818cf8;
  --accent: #c084fc;
  --bg: #1e1b4b;
  --text: #e0e7ff;
  --text-dim: #a5b4fc;
  --border-color: rgba(129, 140, 248, 0.25);
  --card-bg: rgba(129, 140, 248, 0.06);
}

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

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: 'Inter', '思源黑体', 'Noto Sans SC', sans-serif;
  line-height: 1.75;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: '思源宋体', 'Noto Serif SC', serif;
  font-weight: 700;
  color: #fff;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover {
  color: var(--accent);
}

/* 噪点纹理 */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.03;
  z-index: 9999;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* 导航 */
.navbar {
  background: rgba(30, 27, 75, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  padding: 0.75rem 0;
  z-index: 1000;
}

.navbar-brand {
  font-family: '思源宋体', serif;
  font-weight: 800;
  font-size: 1.6rem;
  color: #fff;
  letter-spacing: 1px;
}

.navbar-brand i {
  color: var(--primary);
  margin-right: 4px;
}

.navbar-nav .nav-link {
  color: var(--text);
  font-weight: 500;
  padding: 0.5rem 1rem;
  margin: 0 0.25rem;
  border-radius: 6px;
  transition: all 0.2s;
}

.navbar-nav .nav-link:hover {
  color: var(--accent);
  background: rgba(192, 132, 252, 0.1);
}

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

.navbar-toggler-icon {
  filter: invert(1) brightness(1.5);
}

/* Hero */
.hero {
  padding: 5rem 0 4rem;
  position: relative;
  border-bottom: 1px solid var(--border-color);
  background: radial-gradient(ellipse at 30% 20%, rgba(129, 140, 248, 0.15) 0%, transparent 50%),
              radial-gradient(ellipse at 80% 80%, rgba(192, 132, 252, 0.1) 0%, transparent 50%);
}

.hero h1 {
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 1.2rem;
  letter-spacing: 1px;
}

.hero h1 .highlight {
  color: var(--accent);
  border-bottom: 3px solid var(--accent);
  display: inline-block;
  padding-bottom: 4px;
}

.hero .subtitle {
  font-size: 1.2rem;
  color: var(--text-dim);
  max-width: 640px;
  margin-bottom: 2rem;
  line-height: 1.8;
}

.btn-hero {
  padding: 0.7rem 2.2rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 1rem;
  border: 1.5px solid var(--border-color);
  background: transparent;
  color: var(--text);
  transition: all 0.2s;
  margin-right: 0.8rem;
  margin-bottom: 0.5rem;
}

.btn-hero.primary {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.btn-hero.primary:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.btn-hero:hover {
  background: rgba(129, 140, 248, 0.15);
  border-color: var(--primary);
}

/* 区块通用 */
.section {
  padding: 4.5rem 0;
  border-bottom: 1px solid var(--border-color);
}

.section-header {
  margin-bottom: 3rem;
}

.section-header .eyebrow {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  display: block;
}

.section-header h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 0.6rem;
}

.section-header p {
  color: var(--text-dim);
  max-width: 600px;
}

/* 特色标签页 */
.feature-tabs {
  margin-top: 1.5rem;
}

.tab-panel {
  display: none;
  padding: 1.5rem 0;
}

.tab-panel.active {
  display: block;
}

.tab-btn {
  background: transparent;
  border: 1.5px solid var(--border-color);
  color: var(--text);
  padding: 0.5rem 1.5rem;
  border-radius: 4px;
  font-weight: 500;
  margin-right: 0.6rem;
  margin-bottom: 0.5rem;
  transition: all 0.2s;
}

.tab-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.tab-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.feature-card {
  background: var(--card-bg);
  border: 1.5px solid var(--border-color);
  border-radius: 8px;
  padding: 1.8rem 1.5rem;
  transition: transform 0.3s, box-shadow 0.3s;
  opacity: 0;
  transform: translateY(30px);
}

.feature-card.visible {
  opacity: 1;
  transform: translateY(0);
}

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

.feature-card i {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 1rem;
  display: block;
}

.feature-card h4 {
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
  font-weight: 700;
}

.feature-card p {
  color: var(--text-dim);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* 长文时间线 */
.timeline {
  position: relative;
  padding: 2rem 0;
  margin-top: 1rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border-color);
}

.timeline-item {
  position: relative;
  padding-left: 60px;
  margin-bottom: 2.5rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 12px;
  top: 8px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--bg);
  border: 3px solid var(--primary);
}

.timeline-item h4 {
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
  color: #fff;
}

.timeline-item p {
  color: var(--text-dim);
  line-height: 1.8;
}

.timeline-item .badge {
  background: rgba(129, 140, 248, 0.15);
  color: var(--primary);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 0.2rem 0.8rem;
  font-size: 0.8rem;
  margin-right: 0.5rem;
  display: inline-block;
  margin-top: 0.4rem;
}

/* 对比表格 */
.compare-table-wrap {
  margin-top: 2rem;
  border: 1.5px solid var(--border-color);
  border-radius: 8px;
  overflow-x: auto;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 700px;
}

.compare-table th,
.compare-table td {
  padding: 1rem 1.5rem;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
}

.compare-table th {
  background: rgba(129, 140, 248, 0.08);
  font-weight: 600;
  color: #fff;
  font-size: 0.95rem;
}

.compare-table td {
  color: var(--text-dim);
  font-size: 0.95rem;
}

.compare-table tr:last-child td {
  border-bottom: none;
}

.compare-table .highlight-col {
  background: rgba(192, 132, 252, 0.08);
  color: var(--accent);
  font-weight: 600;
}

.compare-table .fa-check {
  color: var(--primary);
}

.compare-table .fa-times {
  color: rgba(255, 99, 99, 0.7);
}

/* FAQ */
.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1.5px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 1rem;
  overflow: hidden;
  background: var(--card-bg);
}

.faq-question {
  padding: 1.2rem 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: #fff;
  transition: background 0.2s;
  font-size: 1.05rem;
}

.faq-question:hover {
  background: rgba(129, 140, 248, 0.1);
}

.faq-question i {
  color: var(--primary);
  transition: transform 0.3s;
  font-size: 0.9rem;
}

.faq-item.open .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--text-dim);
  line-height: 1.8;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding-bottom: 1.2rem;
  padding-top: 0.2rem;
}

/* CTA */
.cta-section {
  padding: 4.5rem 0;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
  background: radial-gradient(ellipse at center, rgba(192, 132, 252, 0.1) 0%, transparent 70%);
}

.cta-section h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.cta-section p {
  color: var(--text-dim);
  max-width: 600px;
  margin: 0 auto 2rem;
  font-size: 1.05rem;
}

/* 友链区 */
.friend-links {
  padding: 3rem 0;
  border-bottom: 1px solid var(--border-color);
}

.friend-links h5 {
  font-size: 1.1rem;
  margin-bottom: 1.2rem;
  color: var(--text-dim);
}

.friend-links .link-item {
  display: inline-block;
  margin-right: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--text-dim);
  border-bottom: 1px dashed var(--border-color);
  padding-bottom: 2px;
  transition: color 0.2s;
}

.friend-links .link-item:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* 页脚 */
footer {
  padding: 2.5rem 0;
  background: rgba(0, 0, 0, 0.2);
}

footer p {
  color: var(--text-dim);
  font-size: 0.9rem;
}

footer .footer-links {
  margin-bottom: 1rem;
}

footer .footer-links a {
  color: var(--text-dim);
  margin: 0 1rem;
  font-size: 0.9rem;
}

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

/* 回到顶部 */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: var(--primary);
  color: #fff;
  border: none;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  cursor: pointer;
  z-index: 999;
  box-shadow: 0 4px 16px rgba(129, 140, 248, 0.4);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--accent);
  transform: translateY(-3px);
}

/* 响应式 */
@media (max-width: 768px) {
  .hero {
    padding: 3.5rem 0 3rem;
  }
  .hero h1 {
    font-size: 2.2rem;
  }
  .hero .subtitle {
    font-size: 1rem;
  }
  .section {
    padding: 3rem 0;
  }
  .section-header h2 {
    font-size: 1.8rem;
  }
  .navbar-brand {
    font-size: 1.3rem;
  }
  .timeline-item {
    padding-left: 50px;
  }
  .back-to-top {
    bottom: 1.2rem;
    right: 1.2rem;
  }
}

/* 滚动渐显 */
.scroll-visible {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* --- 子页面追加 --- */
/* 本页专属微调 —— 与首页风格完全一致，仅补充关于页特有细节 */
    .about-hero {
      padding: 4rem 0 3rem;
      text-align: center;
      border-bottom: 1px solid var(--border-color);
    }
.about-hero h1 {
      font-size: 2.8rem;
      font-weight: 800;
      background: linear-gradient(135deg, var(--primary), var(--accent));
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      letter-spacing: -0.02em;
      margin-bottom: 1rem;
    }
.about-hero .lead {
      color: var(--text-dim);
      max-width: 720px;
      margin: 0 auto;
      font-size: 1.1rem;
      font-weight: 400;
    }
.feature-card h3 {
      font-size: 1.25rem;
      font-weight: 600;
      color: var(--text);
      margin-bottom: 0.6rem;
    }
.timeline-item:last-child {
      border-bottom: none;
    }
.timeline-item .year {
      font-weight: 700;
      color: var(--primary);
      min-width: 80px;
      font-size: 1.1rem;
    }
.timeline-item .desc {
      color: var(--text-dim);
    }
.timeline-item .desc strong {
      color: var(--text);
      font-weight: 600;
    }
.compare-table th, .compare-table td {
      padding: 1rem 1.2rem;
      text-align: left;
      border-bottom: 1px solid var(--border-color);
      color: var(--text);
    }
.compare-table td:first-child {
      font-weight: 600;
      color: var(--text);
    }
.navbar .nav-link.active {
      color: var(--accent) !important;
      font-weight: 600;
    }

/* --- 子页面追加 --- */
/* 本页专属样式 */
    .disclaimer-hero {
      padding: 60px 0 40px;
      text-align: center;
    }
.disclaimer-hero h1 {
      font-size: 2.2rem;
      font-weight: 800;
      color: var(--text);
      margin-bottom: 16px;
    }
.disclaimer-hero p {
      color: var(--text-dim);
      max-width: 700px;
      margin: 0 auto;
      font-size: 1rem;
      line-height: 1.7;
    }
.disclaimer-content {
      padding: 20px 0 60px;
    }
.disclaimer-block {
      background: var(--card-bg);
      border: 1px solid var(--border-color);
      border-radius: 12px;
      padding: 32px;
      margin-bottom: 28px;
    }
.disclaimer-block h2 {
      font-size: 1.4rem;
      font-weight: 700;
      color: var(--primary);
      margin-bottom: 16px;
      display: flex;
      align-items: center;
      gap: 10px;
    }
.disclaimer-block h2 i {
      font-size: 1.2rem;
      color: var(--accent);
    }
.disclaimer-block p {
      color: var(--text);
      line-height: 1.8;
      margin-bottom: 14px;
      font-size: 0.95rem;
    }
.disclaimer-block ul {
      color: var(--text);
      padding-left: 20px;
      margin-bottom: 14px;
    }
.disclaimer-block ul li {
      line-height: 1.8;
      font-size: 0.95rem;
      margin-bottom: 6px;
    }
.disclaimer-block ul li::marker {
      color: var(--accent);
    }
.disclaimer-block .highlight {
      color: var(--accent);
      font-weight: 600;
    }
.disclaimer-block .text-muted {
      color: var(--text-dim) !important;
    }
.last-updated {
      text-align: center;
      color: var(--text-dim);
      font-size: 0.85rem;
      margin-top: 20px;
      padding-top: 20px;
      border-top: 1px solid var(--border-color);
    }
.disclaimer-hero h1 {
        font-size: 1.6rem;
      }
.disclaimer-block {
        padding: 22px;
      }

/* --- 子页面追加 --- */
/* 覆盖 Bootstrap 组件默认白底黑字, 与站点配色统一 */
    .card, .card-body, .card-header, .card-footer,
    .form-control, .form-select, .accordion-item, .accordion-button,
    .list-group-item, .modal-content {
      background: var(--card-bg);
      color: var(--text);
      border-color: var(--border-color);
    }
.accordion-button:not(.collapsed) {
      background: rgba(129, 140, 248, 0.15);
      color: var(--text);
    }
.accordion-button::after {
      filter: invert(1) brightness(1.5);
    }
.form-control::placeholder {
      color: rgba(255,255,255,0.4);
    }
/* 导航栏高亮当前页 */
    .navbar-nav .nav-link.active {
      color: var(--accent) !important;
      font-weight: 700;
    }
/* 指南步骤卡片等自定义样式 */
    .guide-step-card {
      background: var(--card-bg);
      border: 1px solid var(--border-color);
      border-radius: 16px;
      padding: 1.8rem 1.5rem;
      transition: transform .2s ease, box-shadow .2s;
      height: 100%;
    }
.guide-step-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 12px 24px rgba(129, 140, 248, 0.15);
    }
.step-num {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 38px;
      height: 38px;
      background: var(--primary);
      color: white;
      border-radius: 12px;
      font-weight: 700;
      margin-bottom: 1rem;
    }
.tip-box {
      background: rgba(192, 132, 252, 0.08);
      border-left: 4px solid var(--accent);
      padding: 1rem 1.2rem;
      border-radius: 0 12px 12px 0;
      margin: 1.8rem 0;
    }
.shortcut-key {
      background: rgba(129, 140, 248, 0.2);
      border: 1px solid var(--border-color);
      padding: 0.2rem 0.6rem;
      border-radius: 6px;
      font-family: monospace;
      font-size: 0.9em;
      color: var(--text);
    }
/* 导航品牌 保持完整连续 */
    .navbar-brand i {
      margin-right: 6px;
    }

/* --- 子页面追加 --- */
/* 隐私政策页面专属样式 */
    .privacy-hero {
      padding: 100px 0 60px;
      background: radial-gradient(ellipse at 30% 20%, rgba(129, 140, 248, 0.15) 0%, transparent 60%);
      text-align: center;
    }
.privacy-hero h1 {
      font-size: 2.6rem;
      font-weight: 800;
      margin-bottom: 16px;
    }
.privacy-hero .last-updated {
      color: var(--text-dim);
      font-size: 0.95rem;
    }
.privacy-section {
      padding: 40px 0;
    }
.privacy-card {
      background: var(--card-bg);
      border: 1px solid var(--border-color);
      border-radius: 16px;
      padding: 40px;
      margin-bottom: 30px;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
.privacy-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 12px 40px rgba(129, 140, 248, 0.12);
    }
.privacy-card h2 {
      font-size: 1.5rem;
      font-weight: 700;
      color: var(--primary);
      margin-bottom: 20px;
      display: flex;
      align-items: center;
      gap: 12px;
    }
.privacy-card h2 i {
      font-size: 1.2rem;
      color: var(--accent);
    }
.privacy-card h3 {
      font-size: 1.15rem;
      font-weight: 600;
      color: var(--text);
      margin-top: 24px;
      margin-bottom: 12px;
    }
.privacy-card p {
      color: var(--text-dim);
      line-height: 1.8;
      margin-bottom: 12px;
    }
.privacy-card ul {
      color: var(--text-dim);
      line-height: 1.9;
      padding-left: 20px;
      margin-bottom: 16px;
    }
.privacy-card li {
      margin-bottom: 6px;
    }
.privacy-card strong {
      color: var(--text);
    }
.privacy-badge {
      display: inline-block;
      background: rgba(129, 140, 248, 0.15);
      color: var(--primary);
      padding: 4px 14px;
      border-radius: 20px;
      font-size: 0.85rem;
      font-weight: 500;
      margin-right: 8px;
      margin-bottom: 8px;
      border: 1px solid var(--border-color);
    }
.contact-email {
      color: var(--accent);
      font-weight: 600;
      text-decoration: none;
      border-bottom: 1px dashed var(--accent);
      transition: all 0.3s ease;
    }
.contact-email:hover {
      color: var(--primary);
      border-bottom-style: solid;
    }
.table-of-contents {
      background: var(--card-bg);
      border: 1px solid var(--border-color);
      border-radius: 16px;
      padding: 30px;
      margin-bottom: 40px;
    }
.table-of-contents h3 {
      font-size: 1.1rem;
      font-weight: 600;
      color: var(--text);
      margin-bottom: 16px;
    }
.table-of-contents a {
      display: block;
      color: var(--text-dim);
      padding: 6px 0;
      text-decoration: none;
      transition: color 0.3s ease;
      font-size: 0.95rem;
    }
.table-of-contents a:hover {
      color: var(--primary);
    }
.table-of-contents a i {
      font-size: 0.75rem;
      margin-right: 8px;
      color: var(--accent);
    }
.privacy-hero h1 { font-size: 1.9rem; }
.privacy-card { padding: 28px 20px; }
.privacy-card h2 { font-size: 1.25rem; }

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