/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏样式 */
.navbar {
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.app-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: contain;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #ff6b6b;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    margin-left: 30px;
    font-weight: 500;
}

/* 主横幅样式 */
.hero {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e8e 100%);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero .subtitle {
    font-size: 24px;
    margin-bottom: 40px;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    margin: 0 10px;
    transition: all 0.3s ease;
}

.btn-android {
    background: #333;
    color: white;
}

.btn-ios {
    background: white;
    color: #333;
}

/* 功能特点部分 */
.features {
    padding: 80px 0;
    background: #f8f9fa;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-item {
    text-align: center;
    padding: 30px;
}

.feature-item img {
    width: 240px;
    height: 240px;
    margin-bottom: 20px;
    object-fit: contain;
}

/* 应用截图部分 */
.screenshots {
    padding: 80px 0;
}

.screenshot-slider {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding: 20px 0;
    align-items: center;
}

.screenshot-slider img {
    max-width: 500px;
    min-width: 400px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    object-fit: contain;
}

/* 下载部分 */
.download {
    background: #f8f9fa;
    padding: 80px 0;
}

.download-options {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 40px;
}

.download-option {
    text-align: center;
}

.download-option img {
    width: 250px;
    height: 250px;
    margin-bottom: 20px;
    object-fit: contain;
}

/* 页脚样式 */
.footer {
    background: #333;
    color: white;
    padding: 40px 0;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-info {
    margin-bottom: 20px;
}

.footer-info p {
    margin: 8px 0;
}

.footer-beian {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

.footer a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer a:hover {
    opacity: 0.8;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .download-options {
        flex-direction: column;
        align-items: center;
    }
    
    .footer {
        padding: 30px 0;
    }
    
    .footer-content {
        gap: 15px;
    }
    
    .logo {
        font-size: 18px;
    }
    
    .app-icon {
        width: 32px;
        height: 32px;
    }
}

/* 模态框样式 */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    overflow: auto;
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
}

.modal-close {
    position: fixed;
    right: 35px;
    top: 15px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.modal-close:hover,
.modal-close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* 为可点击图片添加鼠标样式 */
.screenshot-slider img,
.feature-item img {
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.screenshot-slider img:hover,
.feature-item img:hover {
    opacity: 0.8;
}

/* 适配移动端 */
@media only screen and (max-width: 700px) {
    .modal-content {
        max-width: 100%;
    }
} 