/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    color: #333;
}

.container {
    width: 100%;
    max-width: 600px;
}

.app-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    padding: 40px;
    animation: slideUp 0.5s ease-out;
}

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

/* App Logo */
.app-logo {
    text-align: center;
    margin-bottom: 30px;
}

.app-logo img {
    width: 120px;
    height: 120px;
    border-radius: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    object-fit: cover;
}

/* App Info */
.app-info {
    text-align: center;
    margin-bottom: 30px;
}

.app-name {
    font-size: 28px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 10px;
}

.app-version {
    font-size: 14px;
    color: #718096;
    margin-bottom: 5px;
}

.app-size {
    font-size: 14px;
    color: #718096;
    margin-bottom: 15px;
}

.app-description {
    font-size: 15px;
    color: #4a5568;
    line-height: 1.6;
    padding: 0 20px;
}

/* Download Section */
.download-section {
    text-align: center;
    margin: 30px 0;
}

.download-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 16px 50px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.5);
}

.download-btn:active {
    transform: translateY(0);
}

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

.device-info {
    margin-top: 15px;
    font-size: 14px;
    color: #718096;
    font-weight: 500;
}

/* QR Code Section */
.qrcode-section {
    text-align: center;
    background: #f7fafc;
    border-radius: 12px;
    padding: 30px;
    margin: 30px 0;
}

.qrcode-section h3 {
    color: #2d3748;
    font-size: 20px;
    margin-bottom: 10px;
}

.qrcode-tip {
    color: #718096;
    font-size: 14px;
    margin-bottom: 20px;
}

.qrcode-container {
    display: inline-block;
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
}

.qrcode-container img {
    display: block;
    border-radius: 8px;
}

.qrcode-url {
    color: #4a5568;
    font-size: 12px;
    word-break: break-all;
    padding: 0 20px;
    margin-top: 10px;
}

/* iOS Guide */
.ios-guide {
    background: #f7fafc;
    border-left: 4px solid #667eea;
    border-radius: 8px;
    padding: 20px;
    margin: 30px 0;
}

.ios-guide h3 {
    color: #2d3748;
    font-size: 18px;
    margin-bottom: 15px;
}

.ios-guide ol {
    margin-left: 20px;
    color: #4a5568;
    line-height: 1.8;
}

.ios-guide li {
    margin-bottom: 8px;
}

/* Update Log */
.update-log {
    background: #f7fafc;
    border-radius: 8px;
    padding: 20px;
    margin: 30px 0;
}

.update-log h3 {
    color: #2d3748;
    font-size: 18px;
    margin-bottom: 15px;
}

.update-log ul {
    list-style: none;
    color: #4a5568;
}

.update-log > ul > li {
    margin-bottom: 15px;
}

.update-log ul ul {
    margin-left: 20px;
    margin-top: 8px;
}

.update-log ul ul li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 5px;
}

.update-log ul ul li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
}

.update-log strong {
    color: #2d3748;
    font-weight: 600;
}

/* Footer */
.footer {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

.footer p {
    font-size: 13px;
    color: #a0aec0;
}

/* 响应式设计 */
@media (max-width: 640px) {
    .app-card {
        padding: 30px 20px;
    }

    .app-name {
        font-size: 24px;
    }

    .download-btn {
        width: 100%;
        justify-content: center;
    }

    .app-description {
        padding: 0;
    }
}
