/* 主色调 – 微信绿 + 柔和中性色 */
:root {
    --primary: #07c160;
    --primary-dark: #059e4d;
    --secondary: #f59e0b;
    --gray-light: #f1f5f9;
    --gray-border: #e2e8f0;
    --text-muted: #64748b;
    --white: #ffffff;
    --shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.02);
}

/* 通用样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', 'Noto Sans', sans-serif;
}

body {
    background-color: #f9fafb;
    color: #1e293b;
    line-height: 1.5;
}

/* 头部样式 */
.header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
    border-bottom: 1px solid var(--gray-border);
}

.logo {
    font-size: 1.6rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary) 0%, #2b9c5c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

.navbar-nav .nav-link {
    margin-left: 1rem;
    color: #334155;
    font-weight: 500;
    transition: color 0.2s;
}

.navbar-nav .nav-link:hover {
    color: var(--primary);
}

/* 按钮通用 */
.btn {
    border-radius: 40px;
    font-weight: 600;
    transition: all 0.2s;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    box-shadow: 0 4px 12px rgba(7, 193, 96, 0.3);
    border: none;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(7, 193, 96, 0.4);
}

.btn-outline {
    background-color: transparent;
    border: 1.5px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background-color: rgba(7, 193, 96, 0.05);
    transform: translateY(-2px);
}

/* 区块通用 */
section {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: #0f172a;
}

.section-sub {
    text-align: center;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 3rem auto;
    font-size: 1.2rem;
}

/* 网格系统 */
.grid-2, .grid-3, .grid-4 {
    display: grid;
    gap: 2rem;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* 卡片通用 */
.card {
    background: var(--white);
    border-radius: 1.5rem;
    padding: 2rem 1.5rem;
    box-shadow: var(--shadow);
    transition: transform 0.2s;
    border: 1px solid rgba(0,0,0,0.02);
}

.card:hover {
    transform: translateY(-5px);
}

/* 英雄区 */
.hero {
    padding: 4rem 0;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.2rem;
    color: #0f172a;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 550px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image img {
    max-width: 100%;
    border-radius: 2rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-border);
}

        /* 平台介绍模块 */
        .platform-intro {
            background-color: var(--white);
            border-radius: 2.5rem;
            padding: 2.5rem;
            box-shadow: var(--shadow);
            border: 1px solid var(--gray-border);
        }
        .intro-stats {
            display: flex;
            flex-wrap: wrap;
            gap: 1.5rem;
            margin-top: 2rem;
            justify-content: space-between;
        }
        .stat-item {
            flex: 1 1 150px;
            text-align: center;
        }
        .stat-number {
            font-size: 2.5rem;
            font-weight: 800;
            color: var(--primary);
            line-height: 1.2;
        }
        .stat-label {
            color: var(--text-muted);
            font-weight: 500;
        }

/* 微信群二维码卡片区域 */
.qr-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.qr-card {
    background: var(--white);
    border-radius: 2rem;
    padding: 2rem 1.5rem 1.8rem;
    box-shadow: var(--shadow);
    text-align: center;
    border: 1px solid var(--gray-border);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .qr-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .qr-grid {
        grid-template-columns: 1fr;
    }
}

.qr-card img {
    width: 160px;
    height: 160px;
    object-fit: cover;
    margin: 0 auto 1rem;
    border-radius: 1rem;
    background: #f1f5f9;
    padding: 0.5rem;
}

.qr-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.qr-card .btn {
    margin-top: 1rem;
    width: 100%;
    padding: 0.7rem;
}

/* 微信文章展示卡片 */
.article-card {
    background: var(--white);
    border-radius: 1.5rem;
    padding: 1.8rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-border);
}

.article-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.6rem;
}

.article-card .meta {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
}

.article-card p {
    color: #334155;
    margin-bottom: 1.2rem;
}

.article-link {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

/* 常见问题 */
.faq-item {
    background: var(--white);
    border-radius: 1.2rem;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border: 1px solid var(--gray-border);
}

.faq-item h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #0f172a;
}

.faq-item p {
    color: var(--text-muted);
}

/* 页脚 */
.footer {
    background: #0f172a;
    color: #cbd5e1;
    padding: 3rem 0;
}

.footer h5 {
    color: #ffffff;
    margin-bottom: 1rem;
}

.footer a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s;
}

.footer a:hover {
    color: var(--primary);
}

.footer-keywords {
    color: #94a3b8;
    font-size: 0.95rem;
    max-width: 800px;
    margin: 1rem auto 0;
}

/* 高亮关键词点缀 */
.keyword-highlight {
    color: var(--primary);
    font-weight: 600;
    white-space: nowrap;
}

.text-muted {
    color: var(--text-muted);
}

/* 响应式 */
@media (max-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .hero .container { gap: 2rem; }
}

@media (max-width: 768px) {
    .hero .container { flex-direction: column; text-align: center; }
    .hero-content p { margin-left: auto; margin-right: auto; }
    .hero-buttons { justify-content: center; }
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    section { padding: 3rem 0; }
    .section-title { font-size: 1.8rem; }
}

@media (max-width: 480px) {
    .qr-card { max-width: 100%; }
}

/* 自定义样式 */
.feature-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(7, 193, 96, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    color: var(--primary);
}

.hover-shadow:hover {
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.hover-scale:hover {
    transform: scale(1.05);
    transition: all 0.3s;
}

.hover-text-primary:hover {
    color: var(--primary);
    transition: color 0.2s;
}