/* 全局样式重置和基础设置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f8f8;
}

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

/* 头部样式 */
.app-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

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

.app-icon {
    width: 120px;
    height: 120px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    background-color: white;
    padding: 8px;
}

.app-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
}

.app-details h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
}

.app-description {
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto 8px;
    opacity: 0.9;
}

.app-version {
    font-size: 16px;
    opacity: 0.8;
}

/* 下载按钮区域 */
.download-section {
    padding: 40px 0;
    text-align: center;
}

.download-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.download-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    border-radius: 28px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.download-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.ios-button {
    background-color: #007AFF;
    color: white;
}

.ios-button:hover {
    background-color: #0056CC;
}

.android-button {
    background-color: #34A853;
    color: white;
}

.android-button:hover {
    background-color: #2D8E47;
}

.download-button .icon {
    width: 24px;
    height: 24px;
}

/* iOS 安装指南 */
.ios-guide {
    background-color: white;
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.ios-guide h2 {
    font-size: 28px;
    margin-bottom: 30px;
    text-align: center;
    color: #333;
}

.guide-steps {
    max-width: 800px;
    margin: 0 auto;
}

.step {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    align-items: flex-start;
}

.step:last-child {
    margin-bottom: 0;
}

.step-number {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: #007AFF;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 20px;
    margin-bottom: 8px;
    color: #333;
}

.step-content p {
    font-size: 16px;
    color: #666;
}

/* 应用截图 */
.screenshots-section {
    margin-bottom: 60px;
}

.screenshots-section h2 {
    font-size: 28px;
    margin-bottom: 30px;
    text-align: center;
    color: #333;
}

.screenshots-grid {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.screenshot-item {
    width: 280px;
    height: 560px;
    overflow: hidden;
    border-radius: 24px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    background-color: #f5f5f5;
}

.screenshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 功能特点 */
.features-section {
    background-color: white;
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.features-section h2 {
    font-size: 28px;
    margin-bottom: 30px;
    text-align: center;
    color: #333;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-item {
    text-align: center;
    padding: 20px;
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    color: #007AFF;
}

.feature-item h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #333;
}

.feature-item p {
    font-size: 16px;
    color: #666;
}

/* 页脚 */
footer {
    background-color: #333;
    color: white;
    padding: 30px 0;
    text-align: center;
}

footer p {
    font-size: 16px;
    opacity: 0.8;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .app-header {
        padding: 40px 0;
    }
    
    .app-details h1 {
        font-size: 28px;
    }
    
    .app-description {
        font-size: 16px;
    }
    
    .download-button {
        padding: 14px 28px;
        font-size: 16px;
    }
    
    .ios-guide,
    .features-section {
        padding: 30px 20px;
    }
    
    .ios-guide h2,
    .screenshots-section h2,
    .features-section h2 {
        font-size: 24px;
    }
    
    .screenshot-item {
        width: 240px;
        height: 480px;
    }
    
    .step {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}