:root {
  --primary: #2563eb;
  --accent: #06b6d4;
  --bg: #f8fafc;
  --text: #0f172a;
  --text-light: #64748b;
  --border-light: #e2e8f0;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.08);
  --radius: 8px;
}

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

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

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

h1, h2, h3, h4, h5, h6 {
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--text);
}

a { text-decoration: none; color: inherit; transition: all 0.25s ease; }

/* 导航吸顶 */
.navbar-wrap {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(248, 250, 252, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
}

.navbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  font-size: 1.75rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-light);
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
  border-radius: 2px;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}

.menu-toggle {
  display: none;
  font-size: 1.5rem;
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
}

/* Hero 双色块分屏 + 视差 */
.hero-section {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg);
}

.hero-half-left {
  position: absolute;
  top: 0; left: 0;
  width: 50%; height: 100%;
  background: var(--primary);
  z-index: 0;
}

.hero-half-right {
  position: absolute;
  top: 0; right: 0;
  width: 50%; height: 100%;
  background: var(--accent);
  z-index: 0;
}

/* 视差背景 */
.hero-bg-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 18rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.06);
  white-space: nowrap;
  z-index: 1;
  animation: parallaxBg 20s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes parallaxBg {
  0% { transform: translate(-50%, -50%) scale(1) rotate(0deg); }
  100% { transform: translate(-48%, -52%) scale(1.05) rotate(2deg); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(4px);
  color: #fff;
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  line-height: 1.2;
  text-shadow: 0 2px 20px rgba(0,0,0,0.15);
}

.hero-subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 540px;
  margin-bottom: 32px;
  font-weight: 300;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary-custom {
  background: #fff;
  color: var(--primary);
  font-weight: 700;
  padding: 14px 32px;
  border-radius: var(--radius);
  border: none;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.btn-primary-custom:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.btn-outline-light-custom {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.7);
  color: #fff;
  font-weight: 600;
  padding: 12px 30px;
  border-radius: var(--radius);
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-outline-light-custom:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

/* 打字机效果 */
.typewriter {
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  border-right: 3px solid #fff;
  animation: blink 0.8s step-end infinite;
}

@keyframes blink {
  0%, 100% { border-color: transparent; }
  50% { border-color: #fff; }
}

/* 通用区块 */
.section {
  padding: 96px 24px;
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-label {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
  background: rgba(37, 99, 235, 0.08);
  padding: 4px 12px;
  border-radius: 100px;
}

.section-title {
  font-size: 2.4rem;
  font-weight: 900;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 640px;
  margin-bottom: 48px;
  line-height: 1.8;
}

/* 特色对比表格 */
.compare-card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.compare-card:hover {
  transform: scale(1.02);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

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

.compare-table th {
  background: #f1f5f9;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 16px 20px;
  text-align: center;
  border-bottom: 2px solid var(--border-light);
}

.compare-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-light);
  text-align: center;
  font-size: 0.95rem;
}

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

.compare-table .col-feature {
  text-align: left;
  font-weight: 600;
  color: var(--text);
}

.compare-table .col-bad {
  color: #dc2626;
}

.compare-table .col-good {
  color: #16a34a;
  font-weight: 600;
}

.compare-table i {
  margin-right: 4px;
}

.mono-data {
  font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
  font-size: 0.9rem;
  font-weight: 600;
}

/* FAQ 折叠 */
.faq-item {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  margin-bottom: 16px;
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.05rem;
  user-select: none;
}

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

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

.faq-answer {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  color: var(--text-light);
  line-height: 1.8;
  font-size: 0.95rem;
}

.faq-item.active .faq-answer {
  padding: 0 24px 20px;
  max-height: 500px;
}

/* 介绍编号清单 */
.steps-list {
  counter-reset: step;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.step-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 24px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.step-item:hover {
  transform: scale(1.01);
  border-color: var(--accent);
}

.step-number {
  counter-increment: step;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  font-family: 'SF Mono', 'Consolas', monospace;
}

.step-number::before {
  content: counter(step, decimal-leading-zero);
}

.step-content h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
  font-weight: 700;
}

.step-content p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin: 0;
}

/* CTA */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  border-radius: 16px;
  padding: 64px 48px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.cta-section h2 {
  color: #fff;
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.cta-section p {
  color: rgba(255,255,255,0.9);
  font-size: 1.05rem;
  max-width: 500px;
  margin: 0 auto 32px;
}

.cta-btn {
  background: #fff;
  color: var(--primary);
  font-weight: 800;
  padding: 16px 40px;
  border-radius: var(--radius);
  font-size: 1.05rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}

/* 友情链接 */
.friend-links {
  background: #fff;
  border-top: 1px solid var(--border-light);
  padding: 48px 24px;
}

.friend-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 16px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.friend-links-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 2.2;
}

/* 页脚 */
.site-footer {
  background: var(--text);
  color: rgba(255,255,255,0.8);
  padding: 48px 24px 32px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
}

.footer-brand {
  font-size: 1.5rem;
  font-weight: 900;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}

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

.footer-desc {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  max-width: 300px;
  margin-top: 12px;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  font-weight: 500;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  text-align: center;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 40px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

/* 回到顶部 */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  border: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.4s ease;
  z-index: 999;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

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

/* 响应式 */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--bg);
    flex-direction: column;
    padding: 20px 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border-light);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    display: none;
  }

  .nav-links.open {
    display: flex;
  }

  .hero-half-left,
  .hero-half-right {
    width: 100%;
    height: 50%;
  }

  .hero-half-left { top: 0; }
  .hero-half-right { top: 50%; }

  .hero-title {
    font-size: 2.2rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .cta-section {
    padding: 48px 24px;
  }

  .compare-table th,
  .compare-table td {
    padding: 12px 10px;
    font-size: 0.85rem;
  }

  .step-item {
    flex-direction: column;
  }

  .hero-bg-text {
    font-size: 8rem;
  }
}

/* --- 子页面追加 --- */
/* 仅补充本页特有结构，不重复造轮子 */
    .about-hero { background: linear-gradient(135deg, var(--bg) 0%, #eef2ff 100%); }
.stat-card { background: rgba(255,255,255,0.6); backdrop-filter: blur(4px); border: 1px solid var(--border-light); border-radius: var(--radius); padding: 1.5rem 1rem; transition: transform 0.2s ease; }
.stat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.stat-number { font-size: 2.2rem; font-weight: 800; color: var(--primary); line-height: 1; }
.stat-label { color: var(--text-light); font-size: 0.9rem; margin-top: 0.4rem; }
.timeline-item { position: relative; padding-left: 2rem; margin-bottom: 2rem; border-left: 2px solid var(--border-light); }
.timeline-item::before { content: "🍜"; position: absolute; left: -1rem; top: 0; background: var(--bg); font-size: 1.4rem; }
.timeline-title { font-weight: 700; color: var(--text); margin-bottom: 0.2rem; }
.timeline-text { color: var(--text-light); font-size: 0.95rem; }
.principle-icon { font-size: 2rem; color: var(--accent); margin-bottom: 0.8rem; }
.principle-card { background: rgba(255,255,255,0.5); border: 1px solid var(--border-light); border-radius: var(--radius); padding: 1.8rem 1.2rem; height: 100%; }
.principle-card:hover { box-shadow: var(--shadow-md); }
/* 覆盖 Bootstrap 可能出现的白底（保守做法） */
    .card, .card-body { background: transparent; color: var(--text); border: none; }
.list-group-item { background: transparent; color: var(--text); border-color: var(--border-light); }
.form-control, .form-select { background: rgba(255,255,255,0.7); border-color: var(--border-light); color: var(--text); }
.form-control::placeholder { color: var(--text-light); }

/* --- 子页面追加 --- */
/* 隐私政策页专属样式 */
        .privacy-hero {
            background: linear-gradient(135deg, var(--bg) 0%, #e0f2fe 100%);
            border-bottom: 1px solid var(--border-light);
            padding: 80px 0 40px;
            position: relative;
            overflow: hidden;
        }
.privacy-hero::after {
            content: '';
            position: absolute;
            top: -50%;
            right: -20%;
            width: 500px;
            height: 500px;
            background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, transparent 70%);
            border-radius: 50%;
        }
.privacy-hero .hero-content {
            position: relative;
            z-index: 1;
        }
.privacy-content {
            max-width: 860px;
            margin: 0 auto;
            padding: 60px 0;
        }
.privacy-section {
            margin-bottom: 48px;
            padding: 32px;
            background: #fff;
            border-radius: var(--radius);
            box-shadow: var(--shadow-sm);
            border: 1px solid var(--border-light);
            transition: box-shadow 0.3s ease;
        }
.privacy-section:hover {
            box-shadow: var(--shadow-md);
        }
.privacy-section h2 {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--text);
            margin-bottom: 20px;
            padding-bottom: 12px;
            border-bottom: 2px solid var(--primary);
            display: inline-block;
        }
.privacy-section h3 {
            font-size: 1.15rem;
            font-weight: 600;
            color: var(--text);
            margin: 20px 0 12px;
        }
.privacy-section p, .privacy-section li {
            color: var(--text-light);
            line-height: 1.8;
            font-size: 0.95rem;
        }
.privacy-section ul, .privacy-section ol {
            padding-left: 24px;
            margin-bottom: 16px;
        }
.privacy-section li {
            margin-bottom: 8px;
        }
.privacy-section strong {
            color: var(--text);
            font-weight: 600;
        }
.privacy-section .highlight-box {
            background: rgba(37, 99, 235, 0.05);
            border-left: 4px solid var(--primary);
            padding: 16px 20px;
            border-radius: 0 var(--radius) var(--radius) 0;
            margin: 20px 0;
        }
.privacy-section .highlight-box p {
            margin-bottom: 0;
            color: var(--text);
        }
.privacy-meta {
            font-size: 0.85rem;
            color: var(--text-light);
            text-align: center;
            margin-top: 48px;
            padding-top: 24px;
            border-top: 1px solid var(--border-light);
        }
.privacy-meta a {
            color: var(--primary);
            text-decoration: none;
        }
.privacy-meta a:hover {
            text-decoration: underline;
        }
.badge-updated {
            display: inline-block;
            background: var(--accent);
            color: #fff;
            font-size: 0.75rem;
            font-weight: 600;
            padding: 4px 12px;
            border-radius: 20px;
            margin-bottom: 16px;
            letter-spacing: 0.5px;
        }
.privacy-hero {
                padding: 60px 0 30px;
            }
.privacy-content {
                padding: 40px 16px;
            }
.privacy-section {
                padding: 24px 20px;
            }
.privacy-section h2 {
                font-size: 1.3rem;
            }

/* --- 子页面追加 --- */
/* 本页额外补充,不影响全局变量 */
        .legal-section { background: var(--bg); }
.legal-card { background: #ffffff; border: 1px solid var(--border-light); border-radius: var(--radius); padding: 1.8rem 2rem; box-shadow: var(--shadow-sm); margin-bottom: 2rem; }
.legal-card h2 { color: var(--primary); font-weight: 700; font-size: 1.5rem; margin-bottom: 1rem; border-left: 4px solid var(--accent); padding-left: 1rem; }
.legal-card h3 { color: var(--text); font-weight: 600; font-size: 1.2rem; margin-top: 1.5rem; margin-bottom: .5rem; }
.legal-card p, .legal-card li { color: var(--text-light); font-size: .95rem; line-height: 1.8; }
.legal-card a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.legal-card a:hover { color: var(--accent); }
.highlight { background: rgba(6,182,212,.08); padding: .2rem .6rem; border-radius: 6px; font-weight: 500; color: var(--text); }
/* 覆盖 Bootstrap 可能引入的卡片白底 */
        .legal-card, .legal-card * { background-color: transparent; }
.legal-card { background: #fff; }
/* 确保列表样式 */
        .legal-card ul { padding-left: 1.2rem; }
.legal-card li { list-style-type: disc; }

/* --- 子页面追加 --- */
/* 页面专属微调，沿用站点CSS变量 */
        .guide-hero {
            background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(6, 182, 212, 0.05));
            border-bottom: 1px solid var(--border-light);
        }
.guide-card-custom {
            background: #ffffff;
            border: 1px solid var(--border-light);
            border-radius: var(--radius);
            box-shadow: var(--shadow-sm);
            padding: 1.5rem 1.25rem;
            height: 100%;
            transition: box-shadow 0.2s;
        }
.guide-card-custom:hover {
            box-shadow: var(--shadow-md);
        }
.guide-card-custom i {
            color: var(--primary);
            font-size: 1.8rem;
            margin-bottom: 0.5rem;
        }
.guide-card-custom h3 {
            font-size: 1.3rem;
            font-weight: 600;
            color: var(--text);
            margin-top: 0.25rem;
        }
.guide-card-custom p {
            color: var(--text-light);
            font-size: 0.95rem;
            line-height: 1.6;
        }
.step-list {
            list-style: none;
            padding-left: 0;
        }
.step-list li {
            display: flex;
            gap: 0.75rem;
            margin-bottom: 1rem;
            align-items: flex-start;
        }
.guide-meta {
            background: rgba(37, 99, 235, 0.05);
            border-radius: var(--radius);
            padding: 1.5rem;
            border-left: 4px solid var(--primary);
        }
/* bootstrap组件覆盖——保证深色/浅色正常 */
        .navbar, .navbar-expand-lg, .navbar-light, .navbar-nav, .nav-link {
            background: transparent !important;
            color: var(--text) !important;
        }
.nav-link:focus, .nav-link:hover {
            color: var(--primary) !important;
        }
.accordion-item {
            background: transparent !important;
            border: 1px solid var(--border-light) !important;
        }
.accordion-button {
            background: rgba(37, 99, 235, 0.02) !important;
            color: var(--text) !important;
            border-bottom: 1px solid var(--border-light) !important;
        }
.accordion-button:not(.collapsed) {
            background: rgba(37, 99, 235, 0.06) !important;
            color: var(--primary) !important;
        }
.accordion-body {
            background: transparent !important;
            color: var(--text) !important;
        }

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