:root {
    --primary: #16a34a;
    --accent: #84cc16;
    --bg: #f7fee7;
    --text: #1a2e05;
    --radius: 8px;
    --shadow: 0 2px 10px rgba(22, 163, 74, 0.06);
    --border: #e0ecd0;
  }

  * { box-sizing: border-box; }

  body {
    background-color: var(--bg);
    color: var(--text);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    line-height: 1.75;
    letter-spacing: 0.01em;
    overflow-x: hidden;
  }

  /* 点阵背景 */
  body::before {
    content: '';
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-image: radial-gradient(circle, rgba(22, 163, 74, 0.12) 1px, transparent 1px);
    background-size: 24px 24px;
    pointer-events: none;
    z-index: 0;
  }

  .container { position: relative; z-index: 1; }

  /* 细网格线点缀 */
  .dot-grid {
    background-image: radial-gradient(circle, rgba(132, 204, 22, 0.2) 1px, transparent 1px);
    background-size: 16px 16px;
  }

  /* 导航 */
  .navbar {
    background: rgba(247, 254, 231, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 0.8rem 0;
  }
  .navbar-brand {
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--text) !important;
    letter-spacing: -0.02em;
  }
  .navbar-brand i { color: var(--primary); margin-right: 0.4rem; }
  .navbar .nav-link {
    font-weight: 500;
    color: var(--text);
    margin: 0 0.5rem;
    padding: 0.4rem 0.6rem !important;
    border-radius: var(--radius);
    transition: all 0.2s;
  }
  .navbar .nav-link:hover {
    color: var(--primary);
    background: rgba(22, 163, 74, 0.06);
  }
  .navbar-toggler { border: 1px solid var(--border); }
  .navbar-toggler:focus { box-shadow: none; }

  /* Hero */
  .hero {
    padding: 4rem 0 3rem;
    position: relative;
  }
  .hero-badge {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.3rem 1rem;
    border-radius: 100px;
    margin-bottom: 1.2rem;
    letter-spacing: 0.03em;
  }
  .hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
  }
  .hero h1 .accent { color: var(--primary); }
  .hero .lead {
    font-size: 1.15rem;
    color: #4a5b3a;
    max-width: 640px;
    margin-bottom: 2rem;
  }

  /* 标签云 */
  .tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 2.5rem;
  }
  .tag-cloud .tag {
    background: #fff;
    border: 1px solid var(--border);
    color: var(--text);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.35rem 1rem;
    border-radius: 100px;
    transition: all 0.25s;
    animation: floatTag 6s ease-in-out infinite;
  }
  .tag-cloud .tag:nth-child(2) { animation-delay: 0.6s; }
  .tag-cloud .tag:nth-child(3) { animation-delay: 1.2s; }
  .tag-cloud .tag:nth-child(4) { animation-delay: 1.8s; }
  .tag-cloud .tag:nth-child(5) { animation-delay: 2.4s; }
  .tag-cloud .tag:nth-child(6) { animation-delay: 3.0s; }
  .tag-cloud .tag:nth-child(7) { animation-delay: 3.6s; }
  .tag-cloud .tag:nth-child(8) { animation-delay: 4.2s; }
  .tag-cloud .tag:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
  @keyframes floatTag {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
  }

  .hero-cta .btn {
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 100px;
    border: none;
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
  }
  .btn-primary-custom {
    background: var(--primary);
    color: #fff;
  }
  .btn-primary-custom::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent);
    transition: left 0.5s;
  }
  .btn-primary-custom:hover::after { left: 100%; }
  .btn-primary-custom:hover { background: #128a3d; color: #fff; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(22, 163, 74, 0.3); }
  .btn-outline-custom {
    background: transparent;
    border: 2px solid var(--primary) !important;
    color: var(--primary);
  }
  .btn-outline-custom:hover { background: var(--primary); color: #fff; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(22, 163, 74, 0.2); }

  /* 区块通用 */
  .section { padding: 4rem 0; }
  .section-title {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
    position: relative;
  }
  .section-sub {
    color: #5a6b4a;
    font-size: 1.05rem;
    margin-bottom: 2.5rem;
  }

  /* 特色卡片 */
  .feature-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem 1.5rem;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
    box-shadow: var(--shadow);
    height: 100%;
  }
  .feature-card.visible {
    opacity: 1;
    transform: translateY(0);
  }
  .feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 30px rgba(22, 163, 74, 0.12);
    border-color: var(--accent);
  }
  .feature-card .icon {
    width: 56px; height: 56px;
    background: rgba(22, 163, 74, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 1.2rem;
  }
  .feature-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
  }
  .feature-card p { color: #5a6b4a; font-size: 0.95rem; margin-bottom: 0; }

  /* FAQ */
  .accordion-item {
    background: #fff;
    border: 1px solid var(--border) !important;
    border-radius: var(--radius) !important;
    margin-bottom: 1rem;
    overflow: hidden;
  }
  .accordion-button {
    font-weight: 600;
    color: var(--text);
    background: #fff;
    padding: 1.2rem 1.5rem;
    font-size: 1rem;
  }
  .accordion-button:not(.collapsed) {
    background: rgba(22, 163, 74, 0.04);
    color: var(--primary);
  }
  .accordion-button:focus { box-shadow: none; }
  .accordion-body { padding: 1.2rem 1.5rem; color: #4a5b3a; line-height: 1.8; }

  /* 介绍-步骤条 */
  .step-section { position: relative; }
  .step-line {
    position: absolute;
    top: 60px; bottom: 60px;
    left: 28px;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary), var(--accent));
    opacity: 0.3;
  }
  .step-item {
    position: relative;
    padding-left: 70px;
    margin-bottom: 2.5rem;
    opacity: 0;
    transform: translateY(25px);
    transition: all 0.5s ease;
  }
  .step-item.visible { opacity: 1; transform: translateY(0); }
  .step-number {
    position: absolute;
    left: 0; top: 0;
    width: 56px; height: 56px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: 0 4px 14px rgba(22, 163, 74, 0.3);
  }
  .step-item h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.5rem; }
  .step-item p { color: #5a6b4a; }

  /* CTA */
  .cta-box {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 16px;
    padding: 3.5rem 2rem;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
  }
  .cta-box::before {
    content: '';
    position: absolute;
    top: -50%; right: -30%;
    width: 60%; height: 200%;
    background: rgba(255,255,255,0.08);
    transform: rotate(30deg);
  }
  .cta-box h2 { font-size: 2rem; font-weight: 800; margin-bottom: 1rem; }
  .cta-box p { opacity: 0.9; max-width: 600px; margin: 0 auto 2rem; }
  .cta-box .btn {
    background: #fff;
    color: var(--primary);
    font-weight: 700;
    padding: 0.9rem 2.5rem;
    border-radius: 100px;
    border: none;
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
  }
  .cta-box .btn::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(22, 163, 74, 0.15), transparent);
    transition: left 0.5s;
  }
  .cta-box .btn:hover::after { left: 100%; }
  .cta-box .btn:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(0,0,0,0.15); }

  /* 友链 */
  .friend-links {
    background: #fff;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 2.5rem 0;
  }
  .friend-links h5 {
    font-weight: 700;
    font-size: 1rem;
    color: var(--text);
    margin-bottom: 1rem;
  }
  .friend-links .links { color: #5a6b4a; font-size: 0.95rem; }

  /* 页脚 */
  footer {
    background: #f0f9e8;
    padding: 2.5rem 0 2rem;
    border-top: 1px solid var(--border);
  }
  footer .footer-brand {
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--text);
  }
  footer a {
    color: #5a6b4a;
    text-decoration: none;
    transition: color 0.2s;
  }
  footer a:hover { color: var(--primary); }
  footer .copyright { color: #7a8a6a; font-size: 0.9rem; margin-top: 1.5rem; }

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

  .img-lazy {
    background: #e8f3dc;
    opacity: 0;
    transition: opacity 0.4s;
  }
  .img-lazy.loaded { opacity: 1; }

  /* 延迟 */
  .delay-1 { transition-delay: 0.1s; }
  .delay-2 { transition-delay: 0.2s; }
  .delay-3 { transition-delay: 0.3s; }
  .delay-4 { transition-delay: 0.4s; }

  @media (max-width: 768px) {
    .hero { padding: 2.5rem 0 2rem; }
    .section { padding: 3rem 0; }
    .step-line { left: 24px; }
    .step-item { padding-left: 60px; }
    .step-number { width: 48px; height: 48px; font-size: 1rem; }
  }

/* --- 子页面追加 --- */
/* 确保 Bootstrap 组件不出现白底黑字，覆盖为本站配色 */
        .card, .card-body, .card-header, .card-footer {
            background: var(--bg);
            color: var(--text);
            border-color: var(--border);
        }
.list-group-item {
            background: var(--bg);
            color: var(--text);
            border-color: var(--border);
        }
.accordion-item, .accordion-button, .accordion-body {
            background: var(--bg);
            color: var(--text);
            border-color: var(--border);
        }
.form-control, .form-select {
            background: var(--bg);
            color: var(--text);
            border: 1px solid var(--border);
        }
.form-control::placeholder {
            color: #9ca88a;
        }
/* 排行榜专用微调 */
        .rank-badge {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 2.2rem;
            height: 2.2rem;
            border-radius: 50%;
            background: var(--primary);
            color: #fff;
            font-weight: 700;
            font-size: 1rem;
            margin-right: 0.6rem;
        }
.rank-card {
            transition: transform .2s, box-shadow .2s;
            border-left: 4px solid var(--primary);
        }
.rank-card:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow);
        }
.tag-sm {
            background: rgba(132, 204, 22, 0.12);
            color: var(--primary);
            font-size: .75rem;
            padding: .2rem .6rem;
            border-radius: 20px;
            font-weight: 500;
        }
.rating-stars i {
            color: #fbbf24;
            font-size: .85rem;
        }
.friend-links a {
            color: var(--primary);
            text-decoration: none;
        }
.friend-links a:hover {
            text-decoration: underline;
        }

/* --- 子页面追加 --- */
/* 确保所有 bootstrap 卡片/表单在深色背景上依然清晰 */
        .card, .card-body, .form-control, .form-select, .input-group-text {
            background-color: rgba(247, 254, 231, 0.9) !important; /* 柔和的浅底色，贴合站点 */
            color: #1a2e05 !important;
            border-color: #e0ecd0 !important;
        }
.card-title, .card-text {
            color: #1a2e05 !important;
        }
.btn-light {
            background-color: var(--primary) !important;
            border-color: var(--primary) !important;
            color: #fff !important;
        }
/* 让导航在浅色背景上保持视觉一致 */
        .navbar {
            background-color: var(--bg) !important;
        }
.navbar-brand, .nav-link {
            color: var(--text) !important;
        }
.nav-link.active {
            font-weight: 700;
            color: var(--primary) !important;
        }
.navbar-toggler-icon {
            filter: invert(30%) sepia(30%) saturate(500%) hue-rotate(50deg);
        }
/* 轻微阴影 */
        .form-section {
            box-shadow: var(--shadow);
        }

/* --- 子页面追加 --- */
/* 本页专属样式(与首页CSS变量保持一致) */
        .about-hero {
            padding: 80px 0 40px;
            background: linear-gradient(135deg, rgba(22, 163, 74, 0.08) 0%, rgba(132, 204, 22, 0.05) 100%);
        }
.about-card {
            background: rgba(255, 255, 255, 0.7);
            border: 1px solid var(--border);
            border-radius: var(--radius);
            padding: 32px;
            height: 100%;
            transition: all 0.3s ease;
            backdrop-filter: blur(5px);
        }
.about-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 8px 24px rgba(22, 163, 74, 0.12);
            border-color: var(--primary);
        }
.about-icon {
            font-size: 2.5rem;
            color: var(--primary);
            margin-bottom: 16px;
        }
.about-icon .fa-solid {
            color: var(--primary);
        }
.value-item {
            display: flex;
            align-items: flex-start;
            gap: 12px;
            padding: 12px 0;
            border-bottom: 1px solid rgba(22, 163, 74, 0.1);
        }
.value-item:last-child {
            border-bottom: none;
        }
.value-item i {
            color: var(--primary);
            margin-top: 4px;
        }
.timeline-item {
            position: relative;
            padding-left: 40px;
            padding-bottom: 32px;
            border-left: 2px solid rgba(22, 163, 74, 0.2);
        }
.timeline-item::before {
            content: '';
            position: absolute;
            left: -8px;
            top: 4px;
            width: 14px;
            height: 14px;
            border-radius: 50%;
            background: var(--primary);
            border: 3px solid #fff;
            box-shadow: 0 2px 8px rgba(22, 163, 74, 0.3);
        }
.timeline-item:last-child {
            border-left-color: transparent;
        }
.timeline-year {
            font-weight: 700;
            color: var(--primary);
            font-size: 1.1rem;
        }
.highlight-text {
            color: var(--primary);
            font-weight: 600;
        }
.feature-list {
            list-style: none;
            padding: 0;
        }
.feature-list li {
            padding: 8px 0;
            display: flex;
            align-items: center;
            gap: 10px;
        }
.feature-list li i {
            color: var(--accent);
        }
.stats-row {
            background: rgba(255, 255, 255, 0.5);
            border: 1px solid var(--border);
            border-radius: var(--radius);
            padding: 24px;
            margin-bottom: 24px;
        }
.stat-item {
            text-align: center;
            padding: 16px;
        }
.stat-number {
            font-size: 2.2rem;
            font-weight: 800;
            color: var(--primary);
            line-height: 1;
        }
.stat-label {
            font-size: 0.9rem;
            color: var(--text);
            opacity: 0.8;
            margin-top: 8px;
        }
.about-section-title {
            font-size: 1.6rem;
            font-weight: 700;
            color: var(--text);
            margin-bottom: 24px;
            position: relative;
            padding-bottom: 12px;
        }
.about-section-title::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 40px;
            height: 3px;
            background: var(--primary);
            border-radius: 2px;
        }
.about-section-sub {
            font-size: 1rem;
            color: var(--text);
            opacity: 0.7;
            margin-bottom: 32px;
            line-height: 1.6;
        }

/* --- 子页面追加 --- */
/* 页面专属微调 */
        .disclaimer-section {
            padding: 60px 0;
        }
.disclaimer-card {
            background: #fff;
            border: 1px solid var(--border);
            border-radius: var(--radius);
            padding: 32px 40px;
            margin-bottom: 24px;
            box-shadow: var(--shadow);
            transition: transform .2s ease;
        }
.disclaimer-card:hover {
            transform: translateY(-2px);
        }
.disclaimer-card h2 {
            font-size: 1.4rem;
            font-weight: 700;
            color: var(--primary);
            margin-bottom: 16px;
            display: flex;
            align-items: center;
            gap: 10px;
        }
.disclaimer-card h2 i {
            font-size: 1.2rem;
            color: var(--accent);
        }
.disclaimer-card p {
            color: var(--text);
            line-height: 1.8;
            font-size: .95rem;
            margin-bottom: 12px;
        }
.disclaimer-card ul {
            padding-left: 20px;
            color: var(--text);
            line-height: 1.8;
        }
.disclaimer-card ul li {
            margin-bottom: 6px;
            font-size: .95rem;
        }
.highlight-box {
            background: rgba(22, 163, 74, .06);
            border-left: 4px solid var(--primary);
            padding: 16px 20px;
            border-radius: 0 var(--radius) var(--radius) 0;
            margin: 20px 0;
            font-size: .95rem;
            line-height: 1.7;
            color: var(--text);
        }
.hero-small {
            background: linear-gradient(135deg, #f0f9e8 0%, #f7fee7 100%);
            padding: 80px 0 40px;
            border-bottom: 1px solid var(--border);
        }
.hero-small .hero-badge {
            display: inline-block;
            background: rgba(22, 163, 74, .1);
            color: var(--primary);
            padding: 6px 16px;
            border-radius: 50px;
            font-size: .85rem;
            font-weight: 600;
            margin-bottom: 16px;
        }
.hero-small h1 {
            font-size: 2.2rem;
            font-weight: 800;
            color: var(--text);
            margin-bottom: 16px;
        }
.hero-small p {
            font-size: 1.1rem;
            color: #4a5568;
            max-width: 700px;
            line-height: 1.7;
        }
.last-updated {
            font-size: .85rem;
            color: #6b7280;
            margin-top: 12px;
        }
.back-home {
            display: inline-block;
            margin-top: 20px;
            color: var(--primary);
            text-decoration: none;
            font-weight: 600;
            font-size: .95rem;
        }
.back-home:hover {
            color: var(--accent);
        }

/* --- 子页面追加 --- */
/* 确保 Bootstrap 组件配色与站点一致（若用到 .card/.form 等） */
        .card, .card-body {
            background: var(--bg);
            color: var(--text);
            border-color: var(--border);
        }
.accordion-button, .accordion-item {
            background: var(--bg);
            color: var(--text);
            border-color: var(--border);
        }
/* 指南页特有步骤线增强 */
        .guide-steps .step-item {
            background: rgba(255,255,255,0.6);
            border-left: 4px solid var(--primary);
            border-radius: 0 var(--radius) var(--radius) 0;
            box-shadow: var(--shadow);
        }
.guide-steps .step-number {
            background: var(--primary);
            color: #fff;
            font-weight: 700;
        }
.guide-tip {
            background: rgba(132, 204, 22, 0.1);
            border: 1px dashed var(--accent);
            border-radius: var(--radius);
        }
.guide-toc a {
            color: var(--text);
            text-decoration: none;
            border-bottom: 1px solid var(--border);
        }
.guide-toc a:hover {
            color: var(--primary);
            border-bottom-color: var(--primary);
        }

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