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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #ffffff;
    overflow-x: hidden;
    background: #1a1a1a;
}

/* 主容器 */
.download-container {
    min-height: 100vh;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
    position: relative;
}

/* 导航栏样式 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container .nav-logo {
    height: 40px;
    width: auto;
    transition: transform 0.3s ease;
}

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

.nav-menu {
    list-style: none;
    display: flex;
    gap: 40px;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #ffd700;
    background: rgba(255, 215, 0, 0.1);
    transform: translateY(-2px);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    background: linear-gradient(to right, #ffd700, #ff6b35);
    border-radius: 2px;
}

/* 主要内容区域 */
.download-main {
    padding-top: 120px;
    padding-bottom: 80px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* 欢迎区域 */
.welcome-section {
    text-align: center;
    margin-bottom: 80px;
    animation: fadeInUp 1s ease-out;
}

.welcome-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff 0%, #ffd700 50%, #ff6b35 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 3px;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    animation: titleGlow 3s ease-in-out infinite alternate;
}

.welcome-subtitle {
    font-size: 1.5rem;
    opacity: 0.9;
    font-weight: 300;
    color: #cccccc;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

@keyframes titleGlow {
    from {
        filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.3));
    }
    to {
        filter: drop-shadow(0 0 20px rgba(255, 107, 53, 0.5));
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 下载卡片容器 */
.download-cards-container {
    display: flex;
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

/* 下载卡片 */
.download-card {
    width: 320px;
    height: 150px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
    animation: cardFloat 2s ease-in-out infinite alternate;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* iOS卡片特殊样式 */
.ios-card {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.15) 0%, rgba(118, 75, 162, 0.1) 100%);
    border: 1px solid rgba(102, 126, 234, 0.3);
}

.ios-card:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.25) 0%, rgba(118, 75, 162, 0.15) 100%);
    border-color: rgba(102, 126, 234, 0.5);
}

/* Android卡片特殊样式 */
.android-card {
    background: linear-gradient(135deg, rgba(168, 237, 234, 0.15) 0%, rgba(254, 214, 227, 0.1) 100%);
    border: 1px solid rgba(168, 237, 234, 0.3);
}

.android-card:hover {
    background: linear-gradient(135deg, rgba(168, 237, 234, 0.25) 0%, rgba(254, 214, 227, 0.15) 100%);
    border-color: rgba(168, 237, 234, 0.5);
}

.download-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

.download-card:nth-child(2) {
    animation-delay: 0.5s;
}

@keyframes cardFloat {
    from {
        transform: translateY(0px);
    }
    to {
        transform: translateY(-8px);
    }
}



/* 卡片内容 */
.card-content {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 25px;
    text-align: center;
}

/* 下载按钮 */
.download-card-btn {
    display: inline-block;
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 15px;
    overflow: hidden;
}

.download-card-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.download-card-btn:active {
    transform: translateY(-1px) scale(1.02);
}

.download-btn-img {
    width: 100%;
    max-width: 180px;
    height: auto;
    display: block;
    transition: all 0.3s ease;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.download-card-btn:hover .download-btn-img {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* 返回首页链接 */
.back-to-home {
    margin-top: 40px;
    text-align: center;
}

.back-link {
    color: #cccccc;
    text-decoration: none;
    font-size: 1.1rem;
    padding: 10px 20px;
    border-radius: 25px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.back-link:hover {
    color: #ffd700;
    background: rgba(255, 215, 0, 0.1);
    border-color: #ffd700;
    transform: translateY(-2px);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-container {
        padding: 15px 20px;
        flex-direction: column;
        gap: 20px;
    }
    
    .nav-menu {
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .nav-link {
        font-size: 16px;
        padding: 8px 16px;
    }
    
    .download-main {
        padding-top: 140px;
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .welcome-title {
        font-size: 2.5rem;
        letter-spacing: 2px;
    }
    
    .welcome-subtitle {
        font-size: 1.2rem;
    }
    
    .download-cards-container {
        gap: 30px;
        margin-bottom: 40px;
    }
    
    .download-card {
        width: 280px;
        height: 130px;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 10px 15px;
    }
    
    .nav-menu {
        gap: 15px;
    }
    
    .nav-link {
        font-size: 14px;
        padding: 6px 12px;
    }
    
    .download-main {
        padding-top: 120px;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .welcome-title {
        font-size: 2rem;
        letter-spacing: 1px;
    }
    
    .welcome-subtitle {
        font-size: 1rem;
    }
    
    .download-card {
        width: 260px;
        height: 120px;
    }
} 