:root {
  --primary: #2563eb;
  --accent: #06b6d4;
  --bg: #f8fafc;
  --text: #0f172a;
  --card-bg: #ffffff;
  --shadow-sm: 0 2px 8px rgba(37, 99, 235, 0.08);
  --shadow-md: 0 6px 20px rgba(37, 99, 235, 0.12);
  --shadow-lg: 0 12px 32px rgba(37, 99, 235, 0.18);
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-full: 999px;
}

* {
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* 渐变光晕背景 */
body::before {
  content: '';
  position: fixed;
  top: -200px;
  left: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  border-radius: 50%;
}

body::after {
  content: '';
  position: fixed;
  bottom: -150px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  border-radius: 50%;
}

#main-wrapper {
  position: relative;
  z-index: 1;
}

/* 侧边栏 */
.sidebar {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: 220px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-right: 1px solid rgba(37, 99, 235, 0.08);
  padding: 24px 16px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  box-shadow: 2px 0 16px rgba(0, 0, 0, 0.03);
  transition: transform 0.3s ease;
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 900;
  color: var(--primary);
  text-decoration: none;
  padding: 8px 12px;
  margin-bottom: 32px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(6, 182, 212, 0.06));
  letter-spacing: -0.5px;
}

.sidebar-brand i {
  font-size: 24px;
  color: var(--accent);
}

.sidebar-nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: var(--radius-full);
  color: #475569;
  font-weight: 500;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.sidebar-nav a i {
  width: 20px;
  text-align: center;
  font-size: 15px;
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(6, 182, 212, 0.08));
  color: var(--primary);
  font-weight: 600;
}

.sidebar-footer {
  margin-top: 16px;
  padding: 12px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #f0f9ff, #f8fafc);
  text-align: center;
  font-size: 12px;
  color: #64748b;
}

/* 主内容区 */
.main-content {
  margin-left: 220px;
  padding: 0 32px 40px;
  min-height: 100vh;
}

/* 顶栏 */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0 16px;
  position: sticky;
  top: 0;
  background: rgba(248, 250, 252, 0.9);
  backdrop-filter: blur(12px);
  z-index: 100;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 22px;
  color: var(--text);
  cursor: pointer;
}

.search-box {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: var(--radius-full);
  padding: 8px 16px;
  gap: 8px;
  border: 1px solid rgba(37, 99, 235, 0.08);
  box-shadow: var(--shadow-sm);
  width: 320px;
}

.search-box i {
  color: #94a3b8;
  font-size: 14px;
}

.search-box input {
  border: none;
  outline: none;
  width: 100%;
  background: transparent;
  font-size: 14px;
  color: var(--text);
}

.btn-primary-custom {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border: none;
  border-radius: var(--radius-full);
  padding: 8px 20px;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
  transition: all 0.2s ease;
}

.btn-primary-custom:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.35);
}

/* Hero */
.hero-section {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: 8px 0 32px;
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 45%, #06b6d4 100%);
  box-shadow: var(--shadow-lg);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('{随机图片}') center/cover no-repeat;
  opacity: 0.25;
  mix-blend-mode: overlay;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 48px 32px;
  color: #fff;
  max-width: 800px;
}

.hero-content h1 {
  font-size: 42px;
  font-weight: 900;
  letter-spacing: -1px;
  margin-bottom: 16px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-content p {
  font-size: 17px;
  opacity: 0.95;
  margin-bottom: 24px;
  font-weight: 300;
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-full);
  padding: 6px 20px;
  font-size: 13px;
  font-weight: 500;
  backdrop-filter: blur(4px);
  margin-bottom: 20px;
}

/* 卡片 */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.feature-card {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(37, 99, 235, 0.05);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0.7;
}

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

.feature-card .icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(6, 182, 212, 0.1));
  color: var(--primary);
  font-size: 20px;
}

.feature-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 13px;
  color: #64748b;
  line-height: 1.6;
}

/* 瀑布流 */
.masonry-grid {
  column-count: 3;
  column-gap: 20px;
  margin-bottom: 40px;
}

.masonry-item {
  break-inside: avoid;
  margin-bottom: 20px;
  background: var(--card-bg);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(37, 99, 235, 0.05);
  transition: all 0.3s ease;
  display: inline-block;
  width: 100%;
}

.masonry-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.masonry-media {
  width: 100%;
  background: linear-gradient(135deg, #dbeafe, #cffafe);
  position: relative;
  overflow: hidden;
}

.masonry-media img {
  width: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.masonry-media img.loaded {
  opacity: 1;
}

.masonry-media .placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 28px;
  background: linear-gradient(135deg, #dbeafe, #cffafe);
}

.masonry-body {
  padding: 16px;
}

.masonry-body h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
  line-height: 1.4;
}

.masonry-body .meta {
  font-size: 12px;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 12px;
}

.masonry-body .meta i {
  margin-right: 3px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.tag-list span {
  background: rgba(37, 99, 235, 0.06);
  color: var(--primary);
  border-radius: var(--radius-full);
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 500;
}

/* 长文 */
.long-article {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 40px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(37, 99, 235, 0.05);
}

.long-article h2 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 8px;
}

.long-article .lead {
  color: #64748b;
  font-size: 15px;
  margin-bottom: 24px;
}

.accordion-item {
  border: 1px solid rgba(37, 99, 235, 0.1);
  border-radius: var(--radius-sm) !important;
  margin-bottom: 10px;
  overflow: hidden;
  background: #fff;
}

.accordion-header .accordion-button {
  font-weight: 600;
  font-size: 15px;
  color: var(--text);
  padding: 14px 20px;
  background: #f8fafc;
}

.accordion-button:not(.collapsed) {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.05), rgba(6, 182, 212, 0.04));
  color: var(--primary);
  box-shadow: none;
}

.accordion-body {
  font-size: 14px;
  color: #475569;
  line-height: 1.7;
}

/* FAQ */
.faq-section {
  margin-bottom: 40px;
}

.section-title {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-title i {
  color: var(--primary);
  background: rgba(37, 99, 235, 0.1);
  border-radius: var(--radius-full);
  padding: 10px;
  font-size: 18px;
}

/* CTA */
.cta-section {
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 50%, #06b6d4 100%);
  border-radius: var(--radius-lg);
  padding: 48px 32px;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.cta-section::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -40px;
  width: 160px;
  height: 160px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.cta-section h2 {
  color: #fff;
  font-size: 30px;
  font-weight: 900;
  margin-bottom: 12px;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
  margin-bottom: 24px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.cta-btn {
  display: inline-block;
  background: #fff;
  color: var(--primary);
  border-radius: var(--radius-full);
  padding: 12px 36px;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
  color: var(--primary);
}

/* 友情链接 */
.friend-links {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(37, 99, 235, 0.05);
}

.friend-links h5 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
}

.friend-links .link-row {
  font-size: 13px;
  color: #475569;
  line-height: 1.8;
}

/* 页脚 */
.footer {
  padding: 24px 0 40px;
  border-top: 1px solid rgba(37, 99, 235, 0.1);
  color: #64748b;
  font-size: 13px;
}

.footer a {
  color: #475569;
  text-decoration: none;
}

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

/* 数字动画 */
.stat-number {
  font-size: 32px;
  font-weight: 900;
  color: var(--primary);
  display: inline-block;
}

/* 响应式 */
@media (max-width: 991px) {
  .sidebar {
    transform: translateX(-100%);
  }
  
  .sidebar.open {
    transform: translateX(0);
  }
  
  .main-content {
    margin-left: 0;
    padding: 0 16px 32px;
  }
  
  .mobile-toggle {
    display: block;
  }
  
  .masonry-grid {
    column-count: 2;
  }
  
  .search-box {
    display: none;
  }
}

@media (max-width: 576px) {
  .masonry-grid {
    column-count: 1;
  }
  
  .hero-content h1 {
    font-size: 28px;
  }
  
  .hero-section {
    min-height: 300px;
  }
  
  .cta-section h2 {
    font-size: 24px;
  }
}

/* 图片懒加载渐显 */
.lazy-img {
  opacity: 0;
  transition: opacity 0.4s ease;
}

.lazy-img.loaded {
  opacity: 1;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.card-grid .feature-card,
.masonry-item,
.long-article,
.faq-section .card,
.cta-section {
  animation: fadeInUp 0.6s ease both;
}

.card-grid .feature-card:nth-child(1) { animation-delay: 0.05s; }
.card-grid .feature-card:nth-child(2) { animation-delay: 0.1s; }
.card-grid .feature-card:nth-child(3) { animation-delay: 0.15s; }
.card-grid .feature-card:nth-child(4) { animation-delay: 0.2s; }
.card-grid .feature-card:nth-child(5) { animation-delay: 0.25s; }
.card-grid .feature-card:nth-child(6) { animation-delay: 0.3s; }

/* --- 子页面追加 --- */
.faq-hero {
            background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(6, 182, 212, 0.05) 100%);
            border-radius: var(--radius-lg);
            padding: 3.5rem 2.5rem;
            margin-bottom: 2.5rem;
            position: relative;
            overflow: hidden;
        }
.faq-hero::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -20%;
            width: 400px;
            height: 400px;
            background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, transparent 70%);
            border-radius: 50%;
        }
.faq-hero h1 {
            font-size: 2.4rem;
            font-weight: 800;
            color: var(--text);
            margin-bottom: 1rem;
            position: relative;
            z-index: 1;
        }
.faq-hero p {
            font-size: 1.05rem;
            color: #64748b;
            max-width: 700px;
            position: relative;
            z-index: 1;
        }
.faq-list {
            max-width: 900px;
            margin: 0 auto;
        }
.faq-item {
            background: var(--card-bg);
            border-radius: var(--radius-md);
            padding: 1.8rem 2rem;
            margin-bottom: 1.2rem;
            box-shadow: var(--shadow-sm);
            border-left: 4px solid var(--primary);
            transition: all 0.3s ease;
        }
.faq-item:hover {
            box-shadow: var(--shadow-md);
            transform: translateX(4px);
        }
.faq-item h3 {
            font-size: 1.1rem;
            font-weight: 700;
            color: var(--text);
            margin-bottom: 0.8rem;
            display: flex;
            align-items: center;
            gap: 0.7rem;
        }
.faq-item h3 i {
            color: var(--primary);
            font-size: 1rem;
            width: 24px;
            text-align: center;
        }
.faq-item p {
            color: #475569;
            font-size: 0.95rem;
            line-height: 1.7;
            margin: 0;
            padding-left: 2.2rem;
        }
.faq-section-title {
            font-size: 1.6rem;
            font-weight: 800;
            color: var(--text);
            margin: 3rem 0 1.5rem;
            padding-bottom: 0.8rem;
            border-bottom: 2px solid rgba(37, 99, 235, 0.15);
            position: relative;
        }
.faq-section-title::after {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 0;
            width: 60px;
            height: 2px;
            background: var(--primary);
        }
.faq-section-title i {
            color: var(--primary);
            margin-right: 0.6rem;
        }
.faq-contact-box {
            background: linear-gradient(135deg, rgba(37, 99, 235, 0.05), rgba(6, 182, 212, 0.05));
            border-radius: var(--radius-md);
            padding: 2rem;
            margin-top: 3rem;
            text-align: center;
        }
.faq-contact-box h3 {
            font-size: 1.2rem;
            font-weight: 700;
            color: var(--text);
            margin-bottom: 0.8rem;
        }
.faq-contact-box p {
            color: #64748b;
            margin-bottom: 1.2rem;
        }
.faq-hero {
                padding: 2.5rem 1.5rem;
            }
.faq-hero h1 {
                font-size: 1.8rem;
            }
.faq-item {
                padding: 1.4rem 1.2rem;
            }
.faq-item p {
                padding-left: 0;
            }

/* --- 子页面追加 --- */
/* 登录页专属样式 —— 自动合并进站点CSS */
    .login-section {
      padding: 60px 0;
    }
.login-wrap {
      max-width: 480px;
      margin: 0 auto;
    }
.login-card {
      background: var(--card-bg);
      border-radius: var(--radius-md);
      box-shadow: var(--shadow-md);
      padding: 40px 36px;
      border: 1px solid rgba(37, 99, 235, 0.08);
    }
.login-header {
      text-align: center;
      margin-bottom: 32px;
    }
.login-header .login-icon {
      width: 64px;
      height: 64px;
      border-radius: var(--radius-full);
      background: linear-gradient(135deg, var(--primary), var(--accent));
      display: inline-flex;
      align-items: center;
      justify-content: center;
      color: #fff;
      font-size: 28px;
      margin-bottom: 18px;
      box-shadow: var(--shadow-md);
    }
.login-header h1 {
      font-size: 1.65rem;
      font-weight: 800;
      color: var(--text);
      margin-bottom: 8px;
    }
.login-header p {
      color: #64748b;
      font-size: 0.95rem;
      margin: 0;
    }
.form-group {
      margin-bottom: 20px;
    }
.form-group label {
      display: block;
      font-weight: 600;
      color: var(--text);
      margin-bottom: 8px;
      font-size: 0.9rem;
    }
.form-group input {
      width: 100%;
      padding: 13px 16px;
      border: 1.5px solid #e2e8f0;
      border-radius: var(--radius-sm);
      font-size: 0.95rem;
      transition: all 0.3s ease;
      background: #f8fafc;
      color: var(--text);
    }
.form-group input:focus {
      outline: none;
      border-color: var(--primary);
      box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
      background: #fff;
    }
.form-group input::placeholder {
      color: #94a3b8;
    }
.form-options {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 22px;
      font-size: 0.88rem;
    }
.form-options .remember {
      display: flex;
      align-items: center;
      gap: 8px;
      color: #64748b;
    }
.form-options input[type="checkbox"] {
      accent-color: var(--primary);
      width: 16px;
      height: 16px;
    }
.form-options a {
      color: var(--primary);
      text-decoration: none;
      font-weight: 500;
    }
.form-options a:hover {
      text-decoration: underline;
    }
.btn-login {
      width: 100%;
      padding: 14px;
      background: linear-gradient(135deg, var(--primary), var(--accent));
      color: #fff;
      border: none;
      border-radius: var(--radius-sm);
      font-weight: 700;
      font-size: 1rem;
      cursor: pointer;
      transition: all 0.3s ease;
      box-shadow: var(--shadow-sm);
    }
.btn-login:hover {
      transform: translateY(-2px);
      box-shadow: var(--shadow-md);
    }
.divider {
      display: flex;
      align-items: center;
      gap: 16px;
      margin: 28px 0;
      color: #94a3b8;
      font-size: 0.85rem;
    }
.divider::before,
    .divider::after {
      content: '';
      flex: 1;
      height: 1px;
      background: #e2e8f0;
    }
.social-login {
      display: flex;
      gap: 16px;
    }
.social-btn {
      flex: 1;
      padding: 12px;
      border: 1.5px solid #e2e8f0;
      border-radius: var(--radius-sm);
      background: #fff;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      font-weight: 500;
      color: var(--text);
      font-size: 0.9rem;
      transition: all 0.3s ease;
      cursor: pointer;
    }
.social-btn:hover {
      border-color: var(--primary);
      background: #f0f4ff;
    }
.social-btn i {
      font-size: 1.1rem;
    }
.register-link {
      text-align: center;
      margin-top: 24px;
      color: #64748b;
      font-size: 0.92rem;
    }
.register-link a {
      color: var(--primary);
      font-weight: 600;
      text-decoration: none;
    }
.register-link a:hover {
      text-decoration: underline;
    }
.login-perks {
      margin-top: 40px;
      text-align: center;
      background: #f0f4ff;
      border-radius: var(--radius-md);
      padding: 28px 24px;
      border: 1px solid rgba(37, 99, 235, 0.08);
    }
.login-perks h3 {
      font-size: 1.1rem;
      font-weight: 700;
      color: var(--text);
      margin-bottom: 12px;
    }
.perk-list {
      display: flex;
      justify-content: center;
      flex-wrap: wrap;
      gap: 20px;
      margin-top: 16px;
    }
.perk-item {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 0.9rem;
      color: #475569;
    }
.perk-item i {
      color: var(--primary);
    }
.login-section { padding: 40px 0; }
.login-card { padding: 32px 24px; }
.login-header h1 { font-size: 1.4rem; }
.social-login { flex-direction: column; }
.perk-list { flex-direction: column; align-items: center; gap: 12px; }

/* --- 子页面追加 --- */
/* 页面专属样式 */
        .register-hero {
            background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
            border-radius: var(--radius-lg);
            padding: 60px 40px;
            color: #fff;
            margin-bottom: 50px;
            position: relative;
            overflow: hidden;
        }
.register-hero::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -20%;
            width: 400px;
            height: 400px;
            background: rgba(255,255,255,0.1);
            border-radius: 50%;
        }
.register-hero h1 {
            font-size: 2.8rem;
            font-weight: 800;
            margin-bottom: 20px;
            position: relative;
            z-index: 1;
        }
.register-hero p {
            font-size: 1.2rem;
            opacity: 0.95;
            max-width: 600px;
            position: relative;
            z-index: 1;
        }
.register-card {
            background: var(--card-bg);
            border-radius: var(--radius-md);
            padding: 40px;
            box-shadow: var(--shadow-md);
            border: 1px solid rgba(37, 99, 235, 0.1);
        }
.form-label {
            color: var(--text);
            font-weight: 600;
            margin-bottom: 8px;
        }
.form-control {
            background: #f8fafc;
            border: 1px solid #e2e8f0;
            border-radius: var(--radius-sm);
            padding: 12px 16px;
            color: var(--text);
            transition: all 0.3s ease;
        }
.form-control:focus {
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
            background: #fff;
        }
.form-control::placeholder {
            color: #94a3b8;
        }
.benefit-item {
            display: flex;
            align-items: flex-start;
            gap: 15px;
            padding: 20px;
            background: #f8fafc;
            border-radius: var(--radius-sm);
            margin-bottom: 15px;
            transition: all 0.3s ease;
            border: 1px solid rgba(37, 99, 235, 0.08);
        }
.benefit-item:hover {
            transform: translateX(5px);
            box-shadow: var(--shadow-sm);
            border-color: var(--primary);
        }
.benefit-icon {
            width: 48px;
            height: 48px;
            min-width: 48px;
            border-radius: var(--radius-sm);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.3rem;
            background: linear-gradient(135deg, var(--primary), var(--accent));
            color: #fff;
        }
.benefit-text h4 {
            font-size: 1.1rem;
            font-weight: 700;
            color: var(--text);
            margin-bottom: 5px;
        }
.benefit-text p {
            font-size: 0.9rem;
            color: #64748b;
            line-height: 1.6;
            margin: 0;
        }
.steps-wrapper {
            position: relative;
            padding: 20px 0;
        }
.step-item {
            position: relative;
            padding-left: 60px;
            padding-bottom: 35px;
            border-left: 3px solid var(--primary);
        }
.step-item:last-child {
            border-left-color: transparent;
            padding-bottom: 0;
        }
.step-number {
            position: absolute;
            left: -24px;
            top: 0;
            width: 45px;
            height: 45px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--primary), var(--accent));
            color: #fff;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            font-size: 1.2rem;
            box-shadow: var(--shadow-sm);
        }
.step-content {
            background: var(--card-bg);
            padding: 20px;
            border-radius: var(--radius-sm);
            box-shadow: var(--shadow-sm);
            border: 1px solid rgba(37, 99, 235, 0.08);
        }
.step-content h4 {
            font-size: 1.1rem;
            font-weight: 700;
            color: var(--text);
            margin-bottom: 8px;
        }
.step-content p {
            font-size: 0.9rem;
            color: #64748b;
            line-height: 1.6;
            margin: 0;
        }
.agreement-check {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 0.9rem;
            color: #64748b;
            margin: 20px 0;
        }
.agreement-check input[type="checkbox"] {
            width: 18px;
            height: 18px;
            accent-color: var(--primary);
        }
.agreement-check a {
            color: var(--primary);
            text-decoration: underline;
        }
.btn-register {
            width: 100%;
            padding: 14px;
            font-size: 1.1rem;
            font-weight: 600;
            background: linear-gradient(135deg, var(--primary), var(--accent));
            color: #fff;
            border: none;
            border-radius: var(--radius-sm);
            transition: all 0.3s ease;
            box-shadow: var(--shadow-sm);
        }
.btn-register:hover {
            transform: translateY(-2px);
            box-shadow: var(--shadow-md);
        }
.btn-register:active {
            transform: translateY(0);
        }
.login-link {
            text-align: center;
            margin-top: 20px;
            font-size: 0.95rem;
            color: #64748b;
        }
.login-link a {
            color: var(--primary);
            font-weight: 600;
            text-decoration: underline;
        }
.stats-row {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 20px;
            margin: 40px 0;
        }
.stat-item {
            text-align: center;
            padding: 25px;
            background: var(--card-bg);
            border-radius: var(--radius-md);
            box-shadow: var(--shadow-sm);
            border: 1px solid rgba(37, 99, 235, 0.08);
        }
.stat-label {
            font-size: 0.9rem;
            color: #64748b;
            margin-top: 5px;
        }
.register-hero {
                padding: 40px 20px;
            }
.register-hero h1 {
                font-size: 2rem;
            }
.register-card {
                padding: 25px;
            }
.stats-row {
                grid-template-columns: repeat(3, 1fr);
                gap: 10px;
            }
.benefit-item {
                padding: 15px;
            }
.stats-row {
                grid-template-columns: 1fr;
            }

/* --- 子页面追加 --- */
/* 关于页专用卡片 */
        .about-hero {
            background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
            border-radius: var(--radius-lg);
            padding: 60px 40px;
            margin: 30px 0 50px;
            color: #fff;
            position: relative;
            overflow: hidden;
        }
.about-hero::after {
            content: '💬';
            position: absolute;
            right: 40px;
            bottom: 20px;
            font-size: 120px;
            opacity: 0.15;
            transform: rotate(-15deg);
        }
.about-hero h1 {
            font-size: 2.6rem;
            font-weight: 800;
            margin-bottom: 16px;
            max-width: 600px;
        }
.about-hero p {
            font-size: 1.15rem;
            opacity: 0.95;
            max-width: 520px;
            line-height: 1.7;
        }
.story-card {
            background: var(--card-bg);
            border-radius: var(--radius-md);
            padding: 32px;
            margin-bottom: 30px;
            box-shadow: var(--shadow-sm);
            border-left: 4px solid var(--primary);
            transition: box-shadow 0.3s ease;
        }
.story-card:hover {
            box-shadow: var(--shadow-md);
        }
.story-card h2 {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--primary);
            margin-bottom: 16px;
        }
.story-card p {
            color: var(--text);
            line-height: 1.8;
            margin-bottom: 14px;
        }
.timeline-item {
            position: relative;
            padding-left: 36px;
            margin-bottom: 28px;
        }
.timeline-item::before {
            content: '';
            position: absolute;
            left: 0;
            top: 8px;
            width: 14px;
            height: 14px;
            border-radius: 50%;
            background: var(--primary);
            border: 3px solid var(--bg);
        }
.timeline-item::after {
            content: '';
            position: absolute;
            left: 6px;
            top: 28px;
            width: 2px;
            height: calc(100% + 10px);
            background: linear-gradient(to bottom, var(--primary), var(--accent));
        }
.timeline-item:last-child::after {
            display: none;
        }
.timeline-year {
            font-weight: 800;
            color: var(--primary);
            font-size: 1.1rem;
            display: block;
            margin-bottom: 4px;
        }
.timeline-text {
            color: var(--text);
            line-height: 1.6;
        }
.feature-badge {
            display: inline-block;
            background: rgba(37, 99, 235, 0.08);
            color: var(--primary);
            padding: 4px 14px;
            border-radius: var(--radius-full);
            font-size: 0.85rem;
            font-weight: 600;
            margin-right: 8px;
            margin-bottom: 8px;
        }
.stat-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
            gap: 20px;
            margin: 40px 0;
        }
.quote-block {
            background: rgba(6, 182, 212, 0.06);
            border-radius: var(--radius-md);
            padding: 28px 32px;
            margin: 30px 0;
            border-left: 4px solid var(--accent);
        }
.quote-block p {
            font-size: 1.1rem;
            font-style: italic;
            color: var(--text);
            margin-bottom: 8px;
        }
.quote-author {
            font-weight: 600;
            color: var(--primary);
            font-size: 0.9rem;
        }
.value-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
            gap: 20px;
            margin: 30px 0;
        }
.value-card {
            background: var(--card-bg);
            border-radius: var(--radius-md);
            padding: 24px;
            box-shadow: var(--shadow-sm);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
.value-card:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-md);
        }
.value-icon {
            font-size: 2rem;
            margin-bottom: 14px;
            display: block;
        }
.value-card h3 {
            font-size: 1.15rem;
            font-weight: 700;
            color: var(--text);
            margin-bottom: 10px;
        }
.value-card p {
            font-size: 0.95rem;
            color: var(--text);
            opacity: 0.85;
            line-height: 1.6;
        }
.join-banner {
            background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(6, 182, 212, 0.08));
            border-radius: var(--radius-lg);
            padding: 48px 40px;
            text-align: center;
            margin: 50px 0 30px;
            border: 1px dashed var(--primary);
        }
.join-banner h2 {
            font-size: 1.8rem;
            font-weight: 800;
            color: var(--primary);
            margin-bottom: 16px;
        }
.join-banner p {
            font-size: 1.05rem;
            color: var(--text);
            max-width: 600px;
            margin: 0 auto 24px;
            line-height: 1.7;
        }
/* 导航高亮当前页 */
        .sidebar-nav a[href="/about.html"] {
            background: var(--primary);
            color: #fff;
            border-radius: var(--radius-full);
        }

/* --- 子页面追加 --- */
/* 子页面专用微调，仅覆盖或扩展，继承主站风格 */
        .legal-wrap {
            max-width: 880px;
            margin: 0 auto;
        }
.legal-section {
            background: var(--card-bg);
            border-radius: var(--radius-md);
            padding: 2.2rem;
            box-shadow: var(--shadow-sm);
            margin-bottom: 2rem;
            border-left: 4px solid var(--primary);
        }
.legal-section h2 {
            color: var(--primary);
            font-weight: 700;
            font-size: 1.5rem;
            margin-bottom: 1.25rem;
            letter-spacing: -0.01em;
        }
.legal-section h3 {
            font-size: 1.15rem;
            font-weight: 600;
            margin-top: 1.5rem;
            margin-bottom: 0.75rem;
            color: var(--text);
        }
.legal-section p, .legal-section li {
            font-size: 0.95rem;
            line-height: 1.7;
            color: var(--text);
        }
.legal-section ul {
            padding-left: 1.4rem;
        }
.legal-section li {
            margin-bottom: 0.6rem;
        }
.legal-highlight {
            background: rgba(37, 99, 235, 0.06);
            padding: 0.5rem 1rem;
            border-radius: var(--radius-sm);
            border-left: 3px solid var(--accent);
            font-weight: 500;
        }
.text-muted-soft {
            color: rgba(15, 23, 42, 0.7);
        }
.badge-custom {
            display: inline-block;
            background: var(--primary);
            color: #fff;
            font-size: 0.7rem;
            padding: 0.2rem 0.7rem;
            border-radius: var(--radius-full);
            letter-spacing: 0.3px;
            vertical-align: middle;
            margin-left: 8px;
        }
/* 覆盖 Bootstrap 可能的卡片等 (实际上未用 .card 但以防万一) */
        .card, .card-body { background: var(--card-bg); color: var(--text); border-color: transparent; }

/* --- 子页面追加 --- */
/* 隐私政策页专属样式 */
        .privacy-hero {
            background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
            border-radius: var(--radius-lg);
            padding: 60px 40px;
            color: #fff;
            margin-bottom: 40px;
            position: relative;
            overflow: hidden;
        }
.privacy-hero::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -30%;
            width: 400px;
            height: 400px;
            background: rgba(255,255,255,0.1);
            border-radius: 50%;
        }
.privacy-hero h1 {
            font-size: 2.5rem;
            font-weight: 800;
            margin-bottom: 15px;
            position: relative;
            z-index: 1;
        }
.privacy-hero p {
            font-size: 1.1rem;
            opacity: 0.95;
            max-width: 700px;
            position: relative;
            z-index: 1;
        }
.privacy-section {
            background: var(--card-bg);
            border-radius: var(--radius-md);
            padding: 40px;
            margin-bottom: 30px;
            box-shadow: var(--shadow-sm);
            border: 1px solid rgba(37, 99, 235, 0.08);
        }
.privacy-section h2 {
            font-size: 1.6rem;
            font-weight: 700;
            color: var(--primary);
            margin-bottom: 20px;
            padding-bottom: 15px;
            border-bottom: 2px solid rgba(37, 99, 235, 0.1);
        }
.privacy-section h3 {
            font-size: 1.2rem;
            font-weight: 600;
            color: var(--text);
            margin-top: 25px;
            margin-bottom: 10px;
        }
.privacy-section p {
            color: #475569;
            line-height: 1.8;
            margin-bottom: 15px;
        }
.privacy-section ul {
            color: #475569;
            line-height: 1.8;
            padding-left: 20px;
            margin-bottom: 15px;
        }
.privacy-section li {
            margin-bottom: 8px;
        }
.privacy-section strong {
            color: var(--primary);
        }
.privacy-updated {
            background: rgba(37, 99, 235, 0.05);
            border-radius: var(--radius-sm);
            padding: 15px 20px;
            color: #64748b;
            font-size: 0.95rem;
            margin-bottom: 30px;
            display: flex;
            align-items: center;
            gap: 10px;
        }
.privacy-updated i {
            color: var(--primary);
        }
.privacy-highlight {
            background: rgba(6, 182, 212, 0.08);
            border-left: 4px solid var(--accent);
            padding: 20px;
            border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
            margin: 20px 0;
        }
.privacy-highlight p {
            margin-bottom: 0;
        }
.privacy-hero {
                padding: 40px 25px;
            }
.privacy-hero h1 {
                font-size: 1.8rem;
            }
.privacy-section {
                padding: 25px;
            }
.privacy-section h2 {
                font-size: 1.3rem;
            }

/* --- 子页面追加 --- */
/* 站点地图页面专属样式 */
        .sitemap-section {
            margin-bottom: 40px;
        }
.sitemap-section h2 {
            font-size: 1.6rem;
            font-weight: 700;
            margin-bottom: 20px;
            padding-left: 16px;
            border-left: 4px solid var(--primary);
        }
.sitemap-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 20px;
        }
.sitemap-card {
            background: var(--card-bg);
            border-radius: var(--radius-md);
            padding: 24px;
            box-shadow: var(--shadow-sm);
            transition: box-shadow 0.3s ease, transform 0.3s ease;
        }
.sitemap-card:hover {
            box-shadow: var(--shadow-md);
            transform: translateY(-3px);
        }
.sitemap-card h3 {
            font-size: 1.15rem;
            font-weight: 600;
            margin-bottom: 14px;
            display: flex;
            align-items: center;
            gap: 10px;
        }
.sitemap-card h3 i {
            color: var(--primary);
            font-size: 1.1rem;
        }
.sitemap-card ul {
            list-style: none;
            padding: 0;
            margin: 0;
        }
.sitemap-card ul li {
            padding: 8px 0;
            border-bottom: 1px dashed rgba(37, 99, 235, 0.1);
        }
.sitemap-card ul li:last-child {
            border-bottom: none;
        }
.sitemap-card ul li a {
            color: var(--text);
            text-decoration: none;
            font-size: 0.95rem;
            transition: color 0.2s;
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }
.sitemap-card ul li a:hover {
            color: var(--primary);
        }
.sitemap-card ul li a i {
            font-size: 0.8rem;
            color: var(--accent);
        }
.sitemap-note {
            background: linear-gradient(135deg, rgba(37, 99, 235, 0.05), rgba(6, 182, 212, 0.05));
            border-radius: var(--radius-md);
            padding: 24px;
            margin-top: 40px;
            border: 1px solid rgba(37, 99, 235, 0.15);
        }
.sitemap-note h3 {
            font-size: 1.2rem;
            font-weight: 600;
            margin-bottom: 12px;
            color: var(--primary);
        }
.sitemap-note p {
            color: var(--text);
            line-height: 1.7;
            margin-bottom: 8px;
        }
.sitemap-badge {
            display: inline-block;
            background: rgba(37, 99, 235, 0.1);
            color: var(--primary);
            padding: 4px 14px;
            border-radius: var(--radius-full);
            font-size: 0.85rem;
            font-weight: 600;
            margin-bottom: 16px;
        }