:root {
  --primary: #2563eb;
  --accent: #06b6d4;
  --bg: #f8fafc;
  --text: #0f172a;
  --text-light: #64748b;
  --border: #e2e8f0;
  --radius: 8px;
  --shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow-hover: 0 8px 24px rgba(37, 99, 235, 0.08);
}

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

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

h1, h2, h3, h4, .font-serif-display {
  font-family: 'Inter', 'Source Han Serif SC', 'Songti SC', serif;
  font-weight: 800;
  letter-spacing: -0.01em;
}

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

/* 导航栏 */
.navbar-main {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(248, 250, 252, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.navbar-main.scrolled {
  background: rgba(248, 250, 252, 0.96);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--text) !important;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.navbar-brand i {
  color: var(--primary);
  font-size: 1.4rem;
}

.nav-link {
  color: var(--text) !important;
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  transition: color 0.2s;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 1rem;
  right: 1rem;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform 0.25s;
}

.nav-link:hover::after {
  transform: scaleX(1);
}

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

/* Hero */
.hero-section {
  position: relative;
  padding: 6rem 0 4rem;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(37,99,235,0.08) 0%, transparent 70%);
  border-radius: 50%;
  top: -100px;
  right: -50px;
  animation: floatGlow 8s ease-in-out infinite;
}

.hero-glow-two {
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(6,182,212,0.06) 0%, transparent 70%);
  border-radius: 50%;
  bottom: -50px;
  left: 10%;
  animation: floatGlow 6s ease-in-out 2s infinite;
}

@keyframes floatGlow {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-20px) scale(1.05); }
}

.hero-floating {
  position: absolute;
  font-size: 2rem;
  color: rgba(37, 99, 235, 0.1);
  animation: floatIcon 5s ease-in-out infinite;
}

@keyframes floatIcon {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-15px) rotate(3deg); }
}

.hero-title {
  font-size: 3.8rem;
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--text) 30%, var(--primary) 70%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.2rem;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-light);
  max-width: 560px;
  margin-bottom: 2rem;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary-custom {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 0.8rem 2rem;
  border-radius: var(--radius);
  font-weight: 600;
  transition: all 0.25s;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.btn-primary-custom:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.3);
  color: #fff;
}

.btn-outline-custom {
  background: transparent;
  border: 2px solid var(--border);
  color: var(--text);
  padding: 0.8rem 2rem;
  border-radius: var(--radius);
  font-weight: 600;
  transition: all 0.25s;
}

.btn-outline-custom:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

/* 统计 */
.stats-section {
  padding: 3rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: #fff;
}

.stat-item {
  text-align: center;
  padding: 1rem;
}

.stat-number {
  font-size: 2.6rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1.2;
}

.stat-label {
  color: var(--text-light);
  font-size: 0.9rem;
  font-weight: 500;
  margin-top: 0.3rem;
}

/* 时间线 */
.timeline-section {
  padding: 5rem 0;
}

.section-badge {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  background: rgba(37, 99, 235, 0.08);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.8rem;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.section-desc {
  color: var(--text-light);
  max-width: 600px;
  margin-bottom: 3rem;
}

.timeline-container {
  position: relative;
  padding: 1rem 0;
}

.timeline-container::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 20px;
  width: 3px;
  background: linear-gradient(180deg, var(--primary) 0%, var(--accent) 100%);
  border-radius: 4px;
}

.timeline-item {
  position: relative;
  padding-left: 3.5rem;
  padding-bottom: 2.5rem;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: 12px;
  top: 4px;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: #fff;
  border: 4px solid var(--primary);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
  z-index: 1;
}

.timeline-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: box-shadow 0.3s;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s;
}

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

.timeline-card:hover {
  box-shadow: var(--shadow-hover);
}

.timeline-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.timeline-card h3 i {
  color: var(--primary);
  font-size: 1.1rem;
}

.timeline-card p {
  color: var(--text-light);
  margin-bottom: 0;
  font-size: 0.95rem;
}

/* 特色标签页 */
.features-section {
  padding: 5rem 0;
  background: #fff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.nav-pills-custom .nav-link {
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-light);
  padding: 0.6rem 1.4rem;
  font-weight: 600;
  font-size: 0.9rem;
  margin-right: 0.6rem;
  transition: all 0.25s;
}

.nav-pills-custom .nav-link:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.nav-pills-custom .nav-link.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.feature-tab-content {
  padding: 2.5rem 0 0.5rem;
}

.feature-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  height: 100%;
  transition: transform 0.3s, box-shadow 0.3s;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease, box-shadow 0.3s;
}

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

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius);
  background: rgba(37, 99, 235, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
}

.feature-icon i {
  font-size: 1.4rem;
  color: var(--primary);
}

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

.feature-card p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* FAQ */
.faq-section {
  padding: 5rem 0;
}

.accordion-custom .accordion-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 0.8rem;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.accordion-custom .accordion-item:first-child {
  border-radius: var(--radius);
}

.accordion-custom .accordion-button {
  background: #fff;
  color: var(--text);
  font-weight: 600;
  font-size: 1rem;
  padding: 1.2rem 1.5rem;
  box-shadow: none;
}

.accordion-custom .accordion-button:not(.collapsed) {
  background: rgba(37, 99, 235, 0.04);
  color: var(--primary);
}

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

.accordion-custom .accordion-body {
  padding: 1.2rem 1.5rem;
  color: var(--text-light);
  background: #fff;
  font-size: 0.95rem;
}

/* CTA */
.cta-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, rgba(37,99,235,0.04) 0%, rgba(6,182,212,0.04) 100%);
  border-top: 1px solid var(--border);
}

.cta-box {
  background: #fff;
  border-radius: var(--radius);
  padding: 3rem;
  text-align: center;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.cta-box h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.cta-box p {
  color: var(--text-light);
  max-width: 500px;
  margin: 0 auto 2rem;
}

/* 友情链接 */
.friends-section {
  padding: 3rem 0;
  border-top: 1px solid var(--border);
  background: #fff;
}

.friends-title {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-light);
  margin-bottom: 1rem;
}

.friends-links {
  color: var(--text-light);
  font-size: 0.9rem;
}

.friends-links a {
  color: var(--text-light);
  text-decoration: none;
  margin-right: 1.2rem;
  transition: color 0.2s;
}

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

/* Footer */
.footer-section {
  padding: 3rem 0 2rem;
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.footer-brand {
  font-size: 1.3rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

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

.footer-links a {
  color: var(--text-light);
  text-decoration: none;
  margin-right: 1.5rem;
  font-size: 0.9rem;
  transition: color 0.2s;
}

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

.footer-copy {
  color: var(--text-light);
  font-size: 0.85rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

/* 滚动渐显卡片 */
.reveal-card {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

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

/* 响应式 */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.4rem;
  }
  .stat-number {
    font-size: 1.8rem;
  }
  .section-title {
    font-size: 1.8rem;
  }
  .timeline-container::before {
    left: 15px;
  }
  .timeline-dot {
    left: 7px;
  }
  .timeline-item {
    padding-left: 3rem;
  }
  .cta-box {
    padding: 2rem;
  }
  .navbar-brand {
    font-size: 1.2rem;
  }
}

/* --- 子页面追加 --- */
/* 本页专属样式 */
    .about-hero {
      padding: 80px 0 60px;
      text-align: center;
      background: linear-gradient(180deg, rgba(37,99,235,0.04) 0%, transparent 100%);
    }
.about-hero h1 {
      font-size: 2.8rem;
      font-weight: 900;
      color: var(--text);
      margin-bottom: 20px;
      line-height: 1.2;
    }
.about-hero h1 span {
      color: var(--primary);
    }
.about-hero p {
      font-size: 1.15rem;
      color: var(--text-light);
      max-width: 700px;
      margin: 0 auto;
      line-height: 1.8;
    }
.about-section {
      padding: 50px 0;
    }
.about-card {
      background: #fff;
      border-radius: var(--radius);
      padding: 30px;
      height: 100%;
      border: 1px solid var(--border);
      box-shadow: var(--shadow);
      transition: all .3s ease;
    }
.about-card:hover {
      box-shadow: var(--shadow-hover);
      transform: translateY(-4px);
    }
.about-card .icon-wrap {
      width: 52px;
      height: 52px;
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 22px;
      margin-bottom: 18px;
      background: linear-gradient(135deg, rgba(37,99,235,.1), rgba(6,182,212,.1));
      color: var(--primary);
    }
.about-card h3 {
      font-size: 1.25rem;
      font-weight: 700;
      color: var(--text);
      margin-bottom: 12px;
    }
.about-card p {
      font-size: .95rem;
      color: var(--text-light);
      line-height: 1.8;
      margin: 0;
    }
.story-block {
      padding: 50px 0;
      border-top: 1px solid var(--border);
    }
.story-block .section-badge {
      margin-bottom: 15px;
    }
.story-content {
      max-width: 780px;
      margin: 0 auto;
      text-align: center;
    }
.story-content p {
      font-size: 1.05rem;
      color: var(--text-light);
      line-height: 2;
      margin-bottom: 20px;
    }
.story-content strong {
      color: var(--primary);
      font-weight: 600;
    }
.values-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
      gap: 24px;
      margin-top: 40px;
    }
.value-item {
      background: #fff;
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 24px;
      box-shadow: var(--shadow);
    }
.value-item .num {
      font-size: 2rem;
      font-weight: 900;
      background: linear-gradient(135deg, var(--primary), var(--accent));
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      margin-bottom: 8px;
    }
.value-item h4 {
      font-size: 1.1rem;
      font-weight: 700;
      color: var(--text);
      margin-bottom: 10px;
    }
.value-item p {
      font-size: .92rem;
      color: var(--text-light);
      line-height: 1.7;
      margin: 0;
    }
.join-block {
      padding: 60px 0;
      text-align: center;
    }
.join-block h2 {
      font-size: 2rem;
      font-weight: 800;
      color: var(--text);
      margin-bottom: 16px;
    }
.join-block p {
      color: var(--text-light);
      font-size: 1.05rem;
      max-width: 600px;
      margin: 0 auto 30px;
      line-height: 1.8;
    }

/* --- 子页面追加 --- */
.privacy-content {
            max-width: 900px;
            margin: 0 auto;
            padding: 2rem 1rem;
        }
.privacy-section {
            background: var(--bg);
            border: 1px solid var(--border);
            border-radius: var(--radius);
            padding: 2rem;
            margin-bottom: 1.5rem;
            box-shadow: var(--shadow);
            transition: box-shadow 0.3s ease;
        }
.privacy-section:hover {
            box-shadow: var(--shadow-hover);
        }
.privacy-section h2 {
            color: var(--primary);
            font-size: 1.4rem;
            font-weight: 700;
            margin-bottom: 1.2rem;
            padding-bottom: 0.8rem;
            border-bottom: 2px solid var(--border);
            display: flex;
            align-items: center;
            gap: 0.6rem;
        }
.privacy-section h2 i {
            color: var(--accent);
        }
.privacy-section p {
            color: var(--text-light);
            line-height: 1.8;
            margin-bottom: 1rem;
        }
.privacy-section ul {
            padding-left: 1.5rem;
            margin-bottom: 1rem;
        }
.privacy-section li {
            color: var(--text-light);
            line-height: 1.8;
            margin-bottom: 0.5rem;
        }
.privacy-section strong {
            color: var(--text);
        }
.privacy-highlight {
            background: rgba(37, 99, 235, 0.05);
            border-left: 4px solid var(--primary);
            padding: 1rem 1.5rem;
            border-radius: 0 var(--radius) var(--radius) 0;
            margin: 1.5rem 0;
        }
.privacy-highlight p {
            margin-bottom: 0.5rem;
            color: var(--text);
        }
.privacy-badge {
            display: inline-block;
            background: var(--primary);
            color: #fff;
            padding: 0.25rem 0.8rem;
            border-radius: 20px;
            font-size: 0.75rem;
            font-weight: 600;
            margin-left: 0.5rem;
            vertical-align: middle;
        }
.last-updated {
            color: var(--text-light);
            font-size: 0.9rem;
            text-align: right;
            margin-bottom: 2rem;
            font-style: italic;
        }
.privacy-section {
                padding: 1.5rem;
            }
.privacy-section h2 {
                font-size: 1.2rem;
            }

/* --- 子页面追加 --- */
.ranking-section {
      padding: 60px 0;
    }
.ranking-card {
      background: var(--bg);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 24px;
      margin-bottom: 16px;
      transition: all 0.3s ease;
      display: flex;
      align-items: center;
      gap: 24px;
    }
.ranking-card:hover {
      box-shadow: var(--shadow-hover);
      transform: translateY(-2px);
    }
.rank-number {
      font-size: 2rem;
      font-weight: 900;
      color: var(--primary);
      min-width: 60px;
      text-align: center;
      opacity: 0.8;
    }
.rank-number.top-3 {
      color: #f59e0b;
      font-size: 2.4rem;
      opacity: 1;
    }
.rank-info {
      flex: 1;
    }
.rank-info h3 {
      font-size: 1.2rem;
      font-weight: 700;
      margin-bottom: 8px;
      color: var(--text);
    }
.rank-info p {
      color: var(--text-light);
      font-size: 0.9rem;
      margin-bottom: 4px;
    }
.rank-tags {
      display: flex;
      gap: 8px;
      flex-wrap: wrap;
    }
.rank-tag {
      background: rgba(37, 99, 235, 0.1);
      color: var(--primary);
      padding: 4px 12px;
      border-radius: 20px;
      font-size: 0.8rem;
      font-weight: 600;
    }
.rank-stats {
      display: flex;
      gap: 24px;
      color: var(--text-light);
      font-size: 0.9rem;
      margin-top: 12px;
    }
.rank-stats i {
      color: var(--primary);
      margin-right: 6px;
    }
.rank-change {
      font-size: 0.9rem;
      font-weight: 600;
      color: var(--text-light);
    }
.rank-change.up { color: #10b981; }
.rank-change.down { color: #ef4444; }
.rank-change.same { color: var(--text-light); }
.podium-section {
      background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(6, 182, 212, 0.05) 100%);
      border-radius: var(--radius);
      padding: 40px 24px;
      margin-bottom: 40px;
    }
.podium-item {
      text-align: center;
      padding: 20px;
    }
.podium-item .rank-badge {
      font-size: 2.5rem;
      margin-bottom: 16px;
    }
.podium-item .podium-title {
      font-size: 1.1rem;
      font-weight: 700;
      color: var(--text);
      margin-bottom: 8px;
    }
.podium-item .podium-desc {
      color: var(--text-light);
      font-size: 0.9rem;
    }
.update-note {
      background: rgba(6, 182, 212, 0.1);
      border-left: 4px solid var(--accent);
      padding: 16px 20px;
      border-radius: 0 var(--radius) var(--radius) 0;
      margin-bottom: 32px;
    }
.update-note p {
      margin: 0;
      color: var(--text);
      font-size: 0.95rem;
    }
.update-note i {
      color: var(--accent);
      margin-right: 8px;
    }

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