/* 下载页面专用样式 */

/* Hero 区域 */
.download-hero {
    background: url('meiqa-download.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding-top: 150px;
    padding-bottom: 60px;
    position: relative;
}

.download-title {
    color: #ffffff;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.download-subtitle {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 0;
}

/* 下载卡片区域 */
.download-section {
    background: #ffffff;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1a3a5c;
}

.download-card {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.download-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.card-icon {
    position: relative;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.platform-icon {
    width: 80px;
    height: 80px;
}

.new-badge {
    position: absolute;
    top: -5px;
    right: 20%;
    background: #22c55e;
    color: white;
    font-size: 0.65rem;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 600;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a3a5c;
    margin-bottom: 10px;
}

.card-version {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 15px;
}

.update-badge {
    background: #fef3c7;
    color: #92400e;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    margin-left: 5px;
}

.card-info {
    text-align: left;
    background: #f9fafb;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    flex-grow: 1;
}

.info-item {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 8px;
    line-height: 1.6;
}

.info-item:last-child {
    margin-bottom: 0;
}

.link-text {
    color: #3b99fc;
    text-decoration: none;
    margin-left: 5px;
}

.link-text:hover {
    text-decoration: underline;
}

.btn-download-card {
    width: 100%;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    border: none;
    transition: all 0.3s ease;
    background: #1a3a5c;
    color: white;
    text-decoration: none;
    display: inline-block;
}

.btn-download-card i {
    margin-right: 5px;
}

.btn-download-card:hover {
    background: #0f2942;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(26, 58, 92, 0.3);
}

.btn-android {
    background: #22c55e;
}

.btn-android:hover {
    background: #16a34a;
}

.btn-windows {
    background: #3b99fc;
}

.btn-windows:hover {
    background: #2563eb;
}

.btn-macos {
    background: #6b7280;
}

.btn-macos:hover {
    background: #4b5563;
}

.card-footer-text {
    font-size: 0.75rem;
    color: #999;
    margin-top: 10px;
    margin-bottom: 0;
}

/* 无需下载区域 */
.web-version {
    background: #f9fafb !important;
}

.web-version-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1a3a5c;
    margin-bottom: 15px;
}

.web-version-text {
    font-size: 0.95rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

/* FAQs 区域 */
.faqs-section {
    background: #f9fafb;
}

.accordion-item {
    border: 1px solid #e5e7eb;
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
}

.accordion-button {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a3a5c;
    background-color: #ffffff;
    padding: 1.25rem 1.5rem;
}

.accordion-button:not(.collapsed) {
    background-color: #f0f9ff;
    color: #3b99fc;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: #e5e7eb;
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%233b99fc'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
    padding: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.8;
    color: #4b5563;
}

.accordion-body strong {
    color: #1a3a5c;
    font-weight: 600;
}

/* 响应式 */
@media (max-width: 992px) {
    .download-hero {
        padding-top: 120px;
    }
    
    .download-title {
        font-size: 2rem;
        text-align: center;
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .download-title {
        font-size: 1.75rem;
    }
    
    .platform-icon {
        width: 60px;
        height: 60px;
    }
}

