/* 基础样式重置 */
* {
    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;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

/* 头部样式 */
.header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1.5rem 0;
    text-align: center;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    max-width: 200px;
    height: auto;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

/* 主要内容样式 */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.hero-section {
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 3rem 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    text-align: center;
    backdrop-filter: blur(10px);
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.download-link {
    display: inline-block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 15px;
    overflow: hidden;
}

.download-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.download-img {
    max-width: 180px;
    height: auto;
    display: block;
}

.hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.hero-image:hover {
    transform: scale(1.02);
}

/* 平板端适配 */
@media (max-width: 768px) {
    .header {
        padding: 1rem 0;
    }
    
    .logo {
        max-width: 150px;
    }
    
    .main-content {
        padding: 1rem 0.5rem;
    }
    
    .hero-section {
        padding: 2rem 1.5rem;
    }
    
    .download-buttons {
        gap: 1rem;
        margin-bottom: 2rem;
    }
    
    .download-img {
        max-width: 140px;
    }
}

/* 手机端适配 */
@media (max-width: 480px) {
    .header {
        padding: 0.75rem 0;
    }
    
    .logo {
        max-width: 120px;
    }
    
    .main-content {
        padding: 0.5rem;
    }
    
    .hero-section {
        padding: 1.5rem 1rem;
    }
    
    .download-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .download-link {
        width: 100%;
        max-width: 200px;
    }
    
    .download-img {
        max-width: 100%;
        height: auto;
    }
    
    .hero-image {
        border-radius: 10px;
    }
}

/* 超小屏幕适配 */
@media (max-width: 320px) {
    .logo {
        max-width: 100px;
    }
    
    .hero-section {
        padding: 1rem 0.75rem;
    }
    
    .download-link {
        max-width: 160px;
    }
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-section {
    animation: fadeInUp 0.8s ease-out;
}

.download-link:nth-child(1) {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.download-link:nth-child(2) {
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-image {
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

/* 触摸设备优化 */
@media (hover: none) {
    .download-link:hover,
    .logo:hover,
    .hero-image:hover {
        transform: none;
    }
    
    .download-link:active {
        transform: scale(0.95);
    }
}