/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏 */
.navbar {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #007bff;
}

.nav-links {
    display: flex;
    gap: 20px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #007bff;
}

/* 英雄区 */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 100px 0;
    text-align: center;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    line-height: 1.3;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.btn.primary {
    background-color: #fff;
    color: #007bff;
}

.btn.primary:hover {
    background-color: transparent;
    color: #fff;
    border-color: #fff;
}

.btn.secondary {
    background-color: transparent;
    color: #fff;
    border-color: #fff;
}

.btn.secondary:hover {
    background-color: #fff;
    color: #007bff;
}

/* 通用区块样式 */
.section {
    padding: 80px 0;
}

.section.bg-light {
    background-color: #f9f9f9;
}

.section h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    text-align: center;
    color: #333;
}

.content {
    max-width: 800px;
    margin: 0 auto;
}

.content p {
    margin-bottom: 20px;
    font-size: 1.05rem;
    line-height: 1.8;
}

.list {
    margin: 20px 0;
    padding-left: 20px;
}

.list li {
    margin-bottom: 10px;
    line-height: 1.6;
}

/* 二维码部分 */
.qrcode-section {
    text-align: center;
    margin-top: 40px;
    padding: 30px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.qrcode-section h3 {
    margin-bottom: 15px;
    color: #333;
}

.qrcode {
    margin: 20px 0;
}

.qrcode img {
    border: 1px solid #ddd;
    border-radius: 10px;
    transition: transform 0.3s;
}

.qrcode img:hover {
    transform: scale(1.05);
}

.note {
    font-size: 0.9rem;
    color: #666;
    margin-top: 10px;
}

/* 页脚 */
.footer {
    background-color: #333;
    color: #fff;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: #007bff;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #444;
    font-size: 0.9rem;
    color: #ddd;
}

.footer-bottom p {
    margin-bottom: 10px;
}

/* 网站地图导航 */
.sitemap-nav {
    background-color: #f9f9f9;
    padding: 60px 0;
}

.sitemap-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.sitemap-section {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.sitemap-section h3 {
    margin-bottom: 15px;
    color: #007bff;
    font-size: 1.1rem;
}

.sitemap-section ul {
    list-style: none;
}

.sitemap-section ul li {
    margin-bottom: 10px;
}

.sitemap-section ul li a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
    display: block;
    padding: 5px 0;
}

.sitemap-section ul li a:hover {
    color: #007bff;
    padding-left: 10px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .navbar .container {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .section {
        padding: 60px 0;
    }

    .section h2 {
        font-size: 1.8rem;
    }

    .sitemap-links {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    .btn {
        padding: 10px 25px;
        font-size: 0.9rem;
    }

    .section h2 {
        font-size: 1.5rem;
    }

    .content p {
        font-size: 1rem;
    }

    .sitemap-section {
        padding: 15px;
    }
}