/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Hero 区域样式 */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.hero-content {
    margin-bottom: 40px;
}

.hero h1 {
    font-size: 40px;
    margin-bottom: 20px;
    color: #666;
}

.hero p {
    font-size: 20px;
    color: #666;
    margin-bottom: 30px;
}

.hero-image {
    width: 100%;
    max-width: none;
}

.product-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* 下载按钮样式 - 首页 hero 区域 */
.download-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
    align-items: center;
}

.download-buttons .download-btn img {
    width: 24px;
    height: 24px;
    margin-right: 8px;
}

.download-btn {
    background-color: #333;
    color: white;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: background-color 0.2s ease;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 280px;
}

.download-btn:hover {
    background-color: #555;
}

/* 功能区域样式 */
.features-section {
    padding: 60px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.features-section h2 {
    font-size: 36px;
    text-align: center;
    margin-bottom: 60px;
    color: #333;
}

.feature-items {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
}

.feature-item.reverse {
    flex-direction: row-reverse;
}

.feature-image {
    flex: 1.2;
    max-width: 55%;
}

.feature-img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.feature-content {
    flex: 1;
    max-width: 45%;
}

.feature-content h3 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #333;
}

.feature-content p {
    font-size: 18px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 15px;
}

.feature-content ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.feature-content li {
    font-size: 18px;
    color: #666;
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
}

.feature-content li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #333;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero {
        padding: 40px 10px;
    }
    
    .hero-content {
        margin-bottom: 30px;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .download-btn {
        padding: 10px 20px;
        font-size: 14px;
        max-width: 250px;
    }
    
    .features-section {
        padding: 40px 10px;
    }
    
    .features-section h2 {
        font-size: 28px;
        margin-bottom: 40px;
    }
    
    .feature-item {
        flex-direction: column-reverse;
        gap: 20px;
        margin-bottom: 40px;
    }
    
    .feature-item:nth-child(3),
    .feature-item:nth-child(4) {
        flex-direction: column;
    }
    
    .feature-image {
        max-width: 100%;
    }
    
    .feature-content {
        max-width: 100%;
        text-align: center;
    }
    
    .feature-content h3 {
        font-size: 24px;
    }
    
    .feature-content p {
        font-size: 16px;
    }
}

/* 图片预览弹窗样式 */
.image-preview-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
}

.image-preview-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.preview-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    cursor: pointer;
}

.preview-content {
    position: relative;
    width: 90%;
    max-width: 1200px;
    max-height: 90vh;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preview-content img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}
