* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1;
    color: #333;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 顶部Logo */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.logo{
    max-width: 1200px;
    margin: 0 auto;
}

.logo img {
    height: 50px;
    width: auto;
}

/* Banner区域 */
.banner {
    margin-top: 50px;
    position: relative;
    overflow: hidden;
}

.banner-content {
    position: relative;
    height: 460px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-text {
    text-align: center;
    color: white;
    z-index: 1;
    animation: fadeInUp 1s ease-out;
    margin-top: 180px;
}

.banner-text h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.banner-text p {
    font-size: 1.2rem;
    font-weight: 300;
    opacity: 0.9;
}

/* 下载区域 */
.download-section {
    padding: 80px 0;
    background: white;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 50px;
    color: #333;
}

.download-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.download-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.download-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
}

.download-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.platform-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.android .platform-icon {
    color: #3DDC84;
}

.ios .platform-icon {
    color: #000000;
}

.download-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.version {
    font-weight: 500;
    color: #666;
    margin-bottom: 5px;
}

.size {
    font-size: 0.9rem;
    color: #999;
    margin-bottom: 30px;
}

.qr-container {
    margin: 30px 0;
}

.qr-code {
    background: white;
    padding: 15px;
    border-radius: 15px;
    display: inline-block;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.qr-code:hover {
    transform: scale(1.05);
}

.qr-code img {
    width: 150px;
    height: 150px;
    display: block;
}

.scan-text {
    margin-top: 15px;
    font-size: 0.9rem;
    color: #666;
}

.download-btn {
    width: 100%;
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.android-btn {
    background: linear-gradient(135deg, #3DDC84, #2ECC71);
    color: white;
}

.android-btn:hover {
    background: linear-gradient(135deg, #2ECC71, #27AE60);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(61, 220, 132, 0.4);
}

.ios-btn {
    background: linear-gradient(135deg, #000000, #333333);
    color: white;
}

.ios-btn:hover {
    background: linear-gradient(135deg, #333333, #000000);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* 页脚 */
.footer {
    background: #2c3e50;
    color: white;
    padding: 40px 0;
    text-align: center;
}

.footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #667eea;
}

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

/* 响应式设计 */
@media (max-width: 768px) {
    .banner-text h1 {
        font-size: 2rem;
    }
    
    .banner-text p {
        font-size: 1rem;
    }
    
    .banner-content {
        height: 300px;
    }
    
    .download-cards {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .download-card {
        padding: 30px 20px;
    }
    
    .banner-text h1 {
        font-size: 1.5rem;
    }
}

/* 加载动画 */
.download-btn.loading {
    position: relative;
    color: transparent;
}

.download-btn.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-left: -10px;
    margin-top: -10px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spinner 0.6s linear infinite;
}

@keyframes spinner {
    to { transform: rotate(360deg); }
}