/* 全局样式重置 */
* {
    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-color: #f5f5f5;
}

/* 头部样式 */
header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem 0;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

header p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 800px;
    margin: 0 auto;
}

/* 主容器样式 */
.container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 2rem;
}

/* 软件介绍部分 */
.intro-section {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 2rem;
}

.intro-section h2 {
    color: #667eea;
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature-item {
    background: #f9f9f9;
    padding: 1.5rem;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.feature-item h3 {
    color: #764ba2;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.feature-item p {
    color: #666;
}

/* 下载部分 */
.download-section {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.download-section h2 {
    color: #667eea;
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

/* 下载按钮容器 */
.download-buttons {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    justify-content: center;
    align-items: center;
    margin: 2rem 0;
    flex-wrap: wrap;
    width: 100%;
}

/* 下载按钮样式 */
.download-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 2.5rem;
    border-radius: 15px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    min-width: 250px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.download-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* 苹果按钮样式 */
.ios-btn {
    background: linear-gradient(135deg, #007aff 0%, #0056b3 100%);
    color: white;
}

.ios-btn:hover {
    box-shadow: 0 8px 25px rgba(0, 122, 255, 0.3);
}

/* 安卓按钮样式 */
.android-btn {
    background: linear-gradient(135deg, #34a853 0%, #2d8f47 100%);
    color: white;
}

.android-btn:hover {
    box-shadow: 0 8px 25px rgba(52, 168, 83, 0.3);
}

/* 按钮图标样式 */
.download-btn i {
    font-size: 2.5rem;
}

/* 按钮内容样式 */
.btn-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.btn-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.btn-subtitle {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* 系统要求部分 */
.requirements {
    margin-top: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.requirements h3 {
    color: #667eea;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.requirements ul {
    list-style: none;
    padding-left: 0;
}

.requirements li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #666;
}

.requirements li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
}

/* 页脚样式 */
footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin-top: 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }
    
    header p {
        font-size: 1rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .intro-section,
    .download-section {
        padding: 1.5rem;
    }
    
    .intro-section h2,
    .download-section h2 {
        font-size: 1.5rem;
    }
    
    .feature-list {
        grid-template-columns: 1fr;
    }
    
    /* 下载按钮响应式调整 */
    .download-buttons {
        gap: 1rem;
    }
    
    .download-btn {
        min-width: 100px;
        padding: 1rem 1.5rem;
        gap: 0.75rem;
    }
    
    .download-btn i {
        font-size: 1.8rem;
    }
    
    .btn-title {
        font-size: 1rem;
    }
    
    .btn-subtitle {
        font-size: 0.75rem;
    }
}

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.intro-section,
.download-section {
    animation: fadeIn 0.6s ease-out;
}

.feature-item {
    animation: fadeIn 0.6s ease-out;
    animation-fill-mode: both;
}

.feature-item:nth-child(1) {
    animation-delay: 0.1s;
}

.feature-item:nth-child(2) {
    animation-delay: 0.2s;
}

.feature-item:nth-child(3) {
    animation-delay: 0.3s;
}

.feature-item:nth-child(4) {
    animation-delay: 0.4s;
}

.feature-item:nth-child(5) {
    animation-delay: 0.5s;
}

.feature-item:nth-child(6) {
    animation-delay: 0.6s;
}