:root {
    --primary-color: #f15b60;
    --primary-light: #ffeaea;
    --text-color: #333;
    --light-gray: #f8f8f8;
    --border-radius: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

body {
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏样式 */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    display: flex;
    align-items: center;
    font-weight: bold;
    font-size: 24px;
    color: var(--primary-color);
}

/* .logo i {
    margin-right: 10px;
    font-size: 28px;
} */
.logo img {
    width: 55px;
    height: auto;
    border-radius: 12px;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.cta-button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #e04a50;
}

/* 英雄区域样式 */
.hero {
    background-color: var(--primary-light);
    padding: 80px 0;
    text-align: center;
    border-radius: 0 0 var(--border-radius) var(--border-radius);
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--text-color);
}

.hero p {
    font-size: 20px;
    max-width: 650px;
    margin: 0 auto 30px;
    color: #666;
}

.slogan {
    background-color: white;
    display: inline-block;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 18px;
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: 30px;
    box-shadow: 0 4px 10px rgba(241, 91, 96, 0.1);
}

/* 服务区域样式 */
.services {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 36px;
    color: var(--text-color);
    margin-bottom: 15px;
}

.section-title p {
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.service-cards {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.service-card {
    flex: 1;
    min-width: 300px;
    background-color: white;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-icon {
    background-color: var(--primary-light);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.service-icon i {
    font-size: 30px;
    color: var(--primary-color);
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.service-card p {
    color: #666;
    margin-bottom: 20px;
}

/* 关于我们样式 */
.about {
    background-color: var(--light-gray);
    padding: 80px 0;
    border-radius: var(--border-radius);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* 社群区域样式 */
.community {
    padding: 80px 0;
    text-align: center;
}

.community-stats {
    display: flex;
    justify-content: space-around;
    margin: 50px 0;
    flex-wrap: wrap;
}

.stat {
    margin: 20px;
}

.stat-number {
    font-size: 48px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 18px;
    color: #666;
}

/* 下载区域样式 */
.download {
    background-color: var(--primary-color);
    color: white;
    padding: 80px 0;
    text-align: center;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.download h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.download p {
    max-width: 600px;
    margin: 0 auto 30px;
    font-size: 18px;
}

.app-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.app-button {
    background-color: white;
    color: var(--primary-color);
    padding: 15px 30px;
    border-radius: 10px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: transform 0.3s;
}

.app-button:hover {
    transform: translateY(-5px);
}

/* 页脚样式 */
footer {
    background-color: #333;
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.footer-column {
    flex: 1;
    min-width: 200px;
    margin-bottom: 30px;
}

.footer-column h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: white;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    color: white;
    font-size: 20px;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: var(--primary-color);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #444;
    color: #ccc;
    font-size: 14px;
}

/* 备案链接基础样式 */
.copyright .beian-link {
    color: #666; /* 使用与版权信息相似但可区分的颜色，如深灰色 */
    text-decoration: none; /* 默认去掉下划线 */
    font-size: 14px;
    margin: 0 5px; /* 添加一点左右边距，当有多个备案号时更美观 */
}

.copyright .beian-link:hover {
    color: #1890ff; /* 悬停时变为主题蓝色 */
    text-decoration: underline; /* 悬停时增加下划线，明确它是可点击的 */
}

/* 联系弹窗样式 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: white;
    border-radius: var(--border-radius);
    width: 90%;
    max-width: 800px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    animation: modalFadeIn 0.3s;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close-button {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #999;
    transition: color 0.3s;
}

.close-button:hover {
    color: var(--primary-color);
}

/* .modal-title {
            text-align: center;
            margin-bottom: 30px;
            color: var(--primary-color);
            font-size: 28px;
        }
        
        .contact-info {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }
        
        .contact-item {
            display: flex;
            align-items: center;
            gap: 15px;
            padding: 10px 0;
        }
        
        .contact-icon {
            background-color: var(--primary-light);
            width: 50px;
            height: 50px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }
        
        .contact-icon i {
            font-size: 20px;
            color: var(--primary-color);
        }
        
        .contact-details {
            flex: 1;
        }
        
        .contact-details h4 {
            margin-bottom: 5px;
            font-size: 18px;
        }
        
        .contact-details p {
            color: #666;
        } */

.qr-code {
    text-align: center;
    /* margin-top: 20px;
            padding-top: 20px; */
    /* border-top: 1px solid #eee; */
}

.qr-code h4 {
    margin-bottom: 15px;
    font-size: 18px;
}

.qr-placeholder {
    /* width: 180px;
            height: 180px; */
    border-radius: 10px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 14px;
}

.qr-placeholder img {
    width: 100%;
    height: auto;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        padding: 15px 0;
    }

    .nav-links {
        margin-top: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-links li {
        margin: 5px 10px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .about-content {
        flex-direction: column;
    }

    .service-cards {
        flex-direction: column;
    }
}