/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft Yahei", Arial, sans-serif;
}

/* 基础样式 */
body {
    color: #333;
    line-height: 1.6;
    background-color: #f8f9fa;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.primary-btn {
    background-color: #007bff;
    color: #fff;
}

.primary-btn:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
}

/* 页头样式 */
.header {
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 999;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 24px;
    color: #007bff;
}

.main-nav ul {
    display: flex;
    gap: 30px;
}

.main-nav a {
    font-size: 16px;
    color: #555;
    font-weight: 500;
}

.main-nav a:hover {
    color: #007bff;
}

/* 横幅样式 */
.hero {
    background-color: #e9ecef;
    padding: 60px 0;
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 40px;
}

.hero-content {
    flex: 1;
}

.hero-content h2 {
    font-size: 36px;
    margin-bottom: 15px;
    color: #222;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 25px;
    color: #666;
}

.hero-img {
    flex: 1;
}

.hero-img img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* 通用区块标题样式 */
.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h3 {
    font-size: 28px;
    margin-bottom: 10px;
    color: #222;
}

.section-title p {
    font-size: 16px;
    color: #666;
}

/* 核心功能区块样式 */
.features {
    padding: 80px 0;
    background-color: #fff;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    padding: 30px 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.feature-card i {
    font-size: 36px;
    color: #007bff;
    margin-bottom: 15px;
}

.feature-card h4 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #333;
}

.feature-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
}

/* 下载区域样式 */
.download {
    padding: 80px 0;
    background-color: #e9ecef;
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.download-card {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 30px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.download-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.download-card img {
    width: 60px;
    height: 60px;
}

.download-card i {
    font-size: 60px;
    color: #007bff;
}

.download-text h4 {
    font-size: 20px;
    color: #333;
    margin-bottom: 5px;
}

.download-text p {
    font-size: 14px;
    color: #666;
}

/* 体验优势区块样式 */
.advantages {
    padding: 80px 0;
    background-color: #fff;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.advantage-card {
    padding: 30px 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.advantage-card i {
    font-size: 36px;
    color: #28a745;
    margin-bottom: 15px;
}

.advantage-card h4 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #333;
}

.advantage-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
}

/* 页尾样式 */
.footer {
    background-color: #343a40;
    color: #fff;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 30px;
}

.footer-col h4 {
    font-size: 18px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #007bff;
    display: inline-block;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col a {
    color: #ccc;
}

.footer-col a:hover {
    color: #007bff;
}

.qrcode img {
    width: 120px;
    height: 120px;
    border-radius: 8px;
}

.footer-links {
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #444;
}

.footer-links a {
    color: #007bff;
    font-size: 16px;
}

.footer-links a:hover {
    text-decoration: underline;
}

.copyright {
    text-align: center;
    color: #ccc;
    font-size: 14px;
}

/* 响应式适配 */
@media (max-width: 992px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
    }
    
    .features-grid,
    .advantages-grid,
    .download-grid,
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .main-nav ul {
        gap: 15px;
    }
    
    .features-grid,
    .advantages-grid,
    .download-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-content h2 {
        font-size: 28px;
    }
}