:root {
  --primary: #059669;
  --accent: #14b8a6;
  --bg: #f0fdfa;
  --text: #134e4a;
  --card-bg: #ffffff;
  --shadow: rgba(5, 150, 105, 0.08);
  --radius-card: 14px;
  --radius-pill: 50px;
  --radius-btn: 999px;
}

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

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: 'Inter', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  font-size: 14px;
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, .serif-title {
  font-family: 'Noto Serif SC', 'Source Han Serif SC', 'Songti SC', serif;
  font-weight: 700;
}

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

/* 布局 */
.app-wrapper { display: flex; min-height: 100vh; }

/* 左侧固定侧栏 */
.sidebar {
  width: 220px;
  flex-shrink: 0;
  background: var(--bg);
  border-right: 1px solid rgba(5, 150, 105, 0.1);
  padding: 24px 16px;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  z-index: 100;
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 900;
  color: var(--primary);
  padding: 8px 12px;
  margin-bottom: 30px;
  letter-spacing: 1px;
}

.sidebar-brand i { font-size: 24px; }

.sidebar-nav { list-style: none; }

.sidebar-nav li { margin-bottom: 4px; }

.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--radius-pill);
  color: var(--text);
  font-weight: 500;
  font-size: 14px;
  transition: all 0.25s;
}

.sidebar-nav a:hover, .sidebar-nav a.active {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 15px rgba(5, 150, 105, 0.25);
}

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

.sidebar-footer {
  margin-top: 40px;
  padding: 16px 12px;
  font-size: 12px;
  color: var(--text);
  opacity: 0.7;
  border-top: 1px solid rgba(5, 150, 105, 0.1);
}

/* 右侧主内容 */
.main-content { flex: 1; min-width: 0; padding: 0 30px 40px; }

/* 顶部移动端导航 */
.mobile-topbar {
  display: none;
  padding: 16px 20px;
  align-items: center;
  justify-content: space-between;
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 99;
  border-bottom: 1px solid rgba(5, 150, 105, 0.1);
}

.mobile-topbar .brand {
  font-size: 20px;
  font-weight: 900;
  color: var(--primary);
  font-family: 'Noto Serif SC', serif;
}

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

/* Hero 区块 */
.hero-section {
  padding: 60px 0 40px;
  text-align: center;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 30px;
}

.tag-cloud span {
  background: var(--card-bg);
  border: 1px solid rgba(5, 150, 105, 0.15);
  border-radius: var(--radius-pill);
  padding: 6px 18px;
  font-size: 13px;
  color: var(--primary);
  font-weight: 500;
  box-shadow: 0 2px 8px var(--shadow);
  animation: floatTag 3s ease-in-out infinite;
}

@keyframes floatTag {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.hero-title {
  font-size: 42px;
  font-weight: 900;
  margin-bottom: 16px;
  color: var(--text);
}

.hero-subtitle {
  font-size: 18px;
  max-width: 650px;
  margin: 0 auto 30px;
  color: var(--text);
  opacity: 0.8;
}

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

.btn-pill {
  border-radius: var(--radius-btn);
  padding: 12px 32px;
  font-weight: 600;
  font-size: 15px;
  border: none;
  transition: all 0.3s;
}

.btn-primary-pill { background: var(--primary); color: #fff; box-shadow: 0 4px 15px rgba(5, 150, 105, 0.3); }
.btn-primary-pill:hover { background: var(--accent); color: #fff; transform: translateY(-2px); }
.btn-outline-pill { background: transparent; border: 2px solid var(--primary); color: var(--primary); }
.btn-outline-pill:hover { background: var(--primary); color: #fff; }

/* 通用区块 */
.section-block { padding: 45px 0 20px; }

.section-title {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 8px;
  position: relative;
  padding-bottom: 12px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--primary);
  border-radius: 3px;
}

.section-desc { color: var(--text); opacity: 0.7; margin-bottom: 25px; font-size: 14px; }

/* 长文介绍 */
.intro-text {
  background: var(--card-bg);
  border-radius: var(--radius-card);
  padding: 30px;
  box-shadow: 0 4px 20px var(--shadow);
  margin-bottom: 30px;
  border-left: 4px solid var(--primary);
}

.intro-text p { margin-bottom: 16px; font-size: 15px; }

.intro-text p:last-child { margin-bottom: 0; }

/* 对比表格 */
.compare-table {
  background: var(--card-bg);
  border-radius: var(--radius-card);
  padding: 20px;
  box-shadow: 0 4px 20px var(--shadow);
  overflow-x: auto;
}

.compare-table table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 14px;
}

.compare-table th {
  background: var(--primary);
  color: #fff;
  padding: 14px 18px;
  font-weight: 600;
  text-align: center;
}

.compare-table td {
  padding: 12px 18px;
  text-align: center;
  border-bottom: 1px solid rgba(5, 150, 105, 0.08);
}

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

.compare-table td:first-child { font-weight: 600; color: var(--primary); }

.compare-table .fa-check { color: var(--primary); }
.compare-table .fa-times { color: #dc2626; opacity: 0.6; }

/* FAQ 手风琴 */
.accordion-custom { background: transparent; }

.accordion-item {
  background: var(--card-bg);
  border: 1px solid rgba(5, 150, 105, 0.1) !important;
  border-radius: 14px !important;
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px var(--shadow);
}

.accordion-button {
  background: var(--card-bg);
  color: var(--text);
  font-weight: 600;
  font-size: 15px;
  padding: 16px 22px;
}

.accordion-button:not(.collapsed) {
  background: rgba(5, 150, 105, 0.05);
  color: var(--primary);
}

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

.accordion-body {
  padding: 18px 22px;
  color: var(--text);
  opacity: 0.85;
  font-size: 14px;
  line-height: 1.8;
}

/* 特色图标列表 */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

.feature-item {
  background: var(--card-bg);
  border-radius: var(--radius-card);
  padding: 24px 18px;
  text-align: center;
  box-shadow: 0 3px 15px var(--shadow);
  transition: all 0.3s;
}

.feature-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(5, 150, 105, 0.15);
}

.feature-item i {
  font-size: 32px;
  color: var(--primary);
  margin-bottom: 12px;
  display: inline-block;
}

.feature-item h4 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.feature-item p { font-size: 13px; opacity: 0.75; margin: 0; }

/* 瀑布流卡片 */
.waterfall-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
  margin-top: 10px;
}

.comic-card {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: 0 3px 12px var(--shadow);
  transition: all 0.35s;
  aspect-ratio: 3/4;
  background: #e6f7f4;
  cursor: pointer;
}

.comic-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  opacity: 0;
  animation: fadeInImg 0.5s forwards;
}

.comic-card:hover img { transform: scale(1.08); }

.comic-card .overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(19, 78, 74, 0.9), transparent);
  padding: 30px 12px 12px;
  color: #fff;
  opacity: 0;
  transition: opacity 0.35s;
}

.comic-card:hover .overlay { opacity: 1; }

.comic-card .overlay h5 { font-size: 14px; margin-bottom: 2px; font-weight: 600; }
.comic-card .overlay p { font-size: 12px; opacity: 0.8; margin: 0; }

@keyframes fadeInImg {
  to { opacity: 1; }
}

/* CTA 区块 */
.cta-section {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 20px;
  padding: 50px 30px;
  text-align: center;
  margin: 40px 0;
  color: #fff;
}

.cta-section h2 { font-size: 28px; margin-bottom: 14px; }
.cta-section p { font-size: 15px; margin-bottom: 25px; opacity: 0.95; }
.cta-section .btn-pill { background: #fff; color: var(--primary); box-shadow: 0 4px 20px rgba(0,0,0,0.1); }
.cta-section .btn-pill:hover { background: #f0fdfa; transform: translateY(-2px); }

/* 友情链接 */
.friend-links {
  padding: 30px 0;
  border-top: 1px solid rgba(5, 150, 105, 0.1);
  margin-top: 20px;
}

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

.friend-links .links-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}

.friend-links a {
  font-size: 13px;
  opacity: 0.8;
}

/* 页脚 */
.footer {
  padding: 30px 0 40px;
  border-top: 1px solid rgba(5, 150, 105, 0.1);
  color: var(--text);
  opacity: 0.75;
  font-size: 13px;
}

.footer .copyright { margin-bottom: 5px; }

.footer .links { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-bottom: 10px; }
.footer .links a { font-size: 13px; }

/* 数字动画 */
.count-number { font-weight: 800; color: var(--primary); }

/* 滚动条 */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; opacity: 0.5; }

/* 响应式 */
@media (max-width: 992px) {
  .sidebar { display: none; }
  .mobile-topbar { display: flex; }
  .main-content { padding: 0 16px 40px; }
  .hero-title { font-size: 32px; }
}

@media (max-width: 768px) {
  .hero-section { padding: 40px 0 20px; }
  .section-block { padding: 30px 0 10px; }
  .section-title { font-size: 22px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .waterfall-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .intro-text { padding: 20px; }
  .cta-section { padding: 35px 20px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 26px; }
  .hero-subtitle { font-size: 15px; }
  .feature-grid { grid-template-columns: 1fr; }
}

/* --- 子页面追加 --- */
/* 本页专属微调样式 */
        .about-hero {
            background: linear-gradient(135deg, rgba(5,150,105,0.08) 0%, rgba(20,184,166,0.04) 100%);
            border-radius: var(--radius-card);
            padding: 2.5rem 2rem;
            margin-bottom: 2rem;
        }
.about-hero h1 {
            font-weight: 800;
            color: var(--primary);
            font-size: 2.2rem;
            margin-bottom: 0.8rem;
        }
.about-hero p {
            color: var(--text);
            font-size: 1.05rem;
            max-width: 720px;
            opacity: 0.9;
        }
.stat-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
            gap: 1rem;
            margin: 2rem 0;
        }
.stat-item {
            background: var(--card-bg);
            border: 1px solid rgba(5,150,105,0.12);
            border-radius: var(--radius-card);
            padding: 1.2rem 1rem;
            text-align: center;
            box-shadow: 0 4px 12px var(--shadow);
        }
.stat-number {
            font-size: 1.8rem;
            font-weight: 800;
            color: var(--primary);
            display: block;
        }
.stat-label {
            font-size: 0.85rem;
            color: var(--text);
            opacity: 0.8;
            margin-top: 0.2rem;
        }
.about-section {
            margin-bottom: 2.5rem;
        }
.about-section h2 {
            font-weight: 700;
            color: var(--primary);
            font-size: 1.5rem;
            margin-bottom: 1rem;
            padding-left: 0.9rem;
            border-left: 4px solid var(--accent);
        }
.about-section p, .about-section li {
            color: var(--text);
            line-height: 1.8;
            opacity: 0.92;
        }
.about-section ul {
            padding-left: 1.2rem;
        }
.about-section li {
            margin-bottom: 0.5rem;
        }
.feature-list {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
            gap: 1.2rem;
            margin: 1.5rem 0;
        }
.feature-item h3 {
            font-size: 1rem;
            font-weight: 700;
            color: var(--text);
            margin-bottom: 0.4rem;
        }
.timeline {
            position: relative;
            padding-left: 1.8rem;
            margin: 1.5rem 0;
        }
.timeline::before {
            content: '';
            position: absolute;
            left: 6px;
            top: 4px;
            bottom: 4px;
            width: 2px;
            background: rgba(5,150,105,0.2);
        }
.timeline-item {
            position: relative;
            margin-bottom: 1.2rem;
            padding-left: 0.8rem;
        }
.timeline-item::before {
            content: '';
            position: absolute;
            left: -1.7rem;
            top: 0.35rem;
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background: var(--primary);
            border: 2px solid var(--bg);
        }
.timeline-item .year {
            font-weight: 700;
            color: var(--primary);
            font-size: 0.95rem;
        }
.timeline-item p {
            margin-bottom: 0.2rem;
            font-size: 0.95rem;
        }
.highlight-box {
            background: rgba(5,150,105,0.06);
            border: 1px solid rgba(5,150,105,0.15);
            border-radius: var(--radius-card);
            padding: 1.2rem 1.5rem;
            margin: 1.5rem 0;
        }
.highlight-box p {
            margin-bottom: 0;
            font-weight: 500;
        }
.about-hero { padding: 1.8rem 1.2rem; }
.about-hero h1 { font-size: 1.7rem; }
.about-section h2 { font-size: 1.3rem; }

/* --- 子页面追加 --- */
/* 本页专属小样式 */
    .guide-step { display: flex; gap: 16px; margin-bottom: 20px; padding: 18px 20px; background: var(--card-bg); border-radius: var(--radius-card); box-shadow: 0 4px 12px var(--shadow); }
.guide-step-num { flex-shrink: 0; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; background: var(--primary); color: #fff; font-weight: 700; font-size: 18px; border-radius: 50%; }
.guide-step-body h3 { margin-bottom: 6px; font-size: 17px; font-weight: 700; color: var(--text); }
.guide-step-body p { margin: 0; font-size: 14px; line-height: 1.7; color: var(--text); opacity: .85; }
.tips-card { padding: 16px 18px; background: rgba(20, 184, 166, .08); border-left: 4px solid var(--accent); border-radius: 10px; margin-bottom: 14px; }
.tips-card i { color: var(--primary); margin-right: 8px; }
.tips-card span { font-size: 14px; color: var(--text); line-height: 1.7; }
.guide-step { flex-direction: column; gap: 10px; }

/* --- 子页面追加 --- */
/* 本页仅做少量覆盖：确保卡片/表格等组件与全局配色统一 (预防Bootstrap默认白底) */
        .card, .card-body, .card-header, .card-footer,
        .list-group-item, .accordion-item, .accordion-button, .accordion-body,
        .table, .form-control, .form-select {
            background-color: var(--card-bg, #ffffff);
            color: var(--text, #134e4a);
            border-color: rgba(5, 150, 105, 0.2);
        }
/* 小标题品牌色点缀 */
        .section-title i {
            color: var(--primary, #059669);
            margin-right: 0.5rem;
        }
.legal-highlight {
            background: rgba(20, 184, 166, 0.06);
            border-left: 4px solid var(--primary, #059669);
            padding: 1rem 1.5rem;
            border-radius: 0 var(--radius-card, 14px) var(--radius-card, 14px) 0;
        }
.footer-brand-name {
            white-space: nowrap;
        }
/* 确保品牌名连续不换行 */
        .brand-inline {
            display: inline-block;
            white-space: nowrap;
        }

/* --- 子页面追加 --- */
/* 覆盖 Bootstrap 组件配色，使其融合本站风格 */
        .form-control, .form-select {
            background-color: var(--card-bg);
            border: 1px solid rgba(5, 150, 105, 0.25);
            color: var(--text);
            border-radius: 12px;
            padding: 0.8rem 1rem;
            font-size: 0.95rem;
            transition: border-color 0.15s ease, box-shadow 0.15s ease;
        }
.form-control:focus, .form-select:focus {
            border-color: var(--primary);
            box-shadow: 0 0 0 0.2rem rgba(5, 150, 105, 0.12);
            background-color: #ffffff;
            color: #134e4a;
        }
.form-label {
            color: var(--text);
            font-weight: 600;
            font-size: 0.9rem;
            margin-bottom: 0.35rem;
        }
.input-group-text {
            background-color: rgba(5, 150, 105, 0.08);
            border: 1px solid rgba(5, 150, 105, 0.2);
            color: var(--primary);
            border-radius: 12px 0 0 12px;
        }
/* 让卡片背景融入站点 */
        .card, .card-body {
            background-color: var(--card-bg);
            border: 1px solid rgba(5, 150, 105, 0.12);
            border-radius: var(--radius-card);
            color: var(--text);
        }
.card-header, .card-footer {
            background-color: rgba(5, 150, 105, 0.04);
            border-bottom: 1px solid rgba(5, 150, 105, 0.08);
            color: var(--text);
        }
/* 列表组 */
        .list-group-item {
            background-color: var(--card-bg);
            border-color: rgba(5, 150, 105, 0.1);
            color: var(--text);
        }
/* 手风琴 */
        .accordion-item, .accordion-button {
            background-color: var(--card-bg);
            color: var(--text);
            border-color: rgba(5, 150, 105, 0.15);
        }
/* 表单元件占位符颜色 */
        .form-control::placeholder {
            color: rgba(19, 78, 74, 0.45);
        }
.form-select option {
            background-color: #ffffff;
            color: var(--text);
        }
/* 导航高亮当前页 */
        .sidebar-nav a.active {
            background: rgba(5, 150, 105, 0.12);
            color: var(--primary);
            font-weight: 600;
        }

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