/* 版本页面专用样式 */

.versions-container {
    padding: 100px 20px 60px;
    background: var(--light-gray);
    min-height: 100vh;
}

/* 页面标题 */
.versions-header {
    text-align: center;
    margin-bottom: 60px;
}

.versions-header h1 {
    font-size: 42px;
    color: var(--dark-blue);
    margin-bottom: 15px;
}

.versions-header p {
    font-size: 18px;
    color: var(--text-gray);
}

/* 最新版本区域 */
.latest-version {
    margin-bottom: 60px;
    position: relative;
}

.version-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
}

/* 版本卡片 */
.version-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.version-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    transform: translateY(-3px);
}

.version-card.featured {
    border: 3px solid var(--primary-blue);
    box-shadow: 0 8px 30px rgba(74, 144, 226, 0.15);
}

/* 版本头部 */
.version-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--light-gray);
}

.version-info {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.version-info h2,
.version-info h3 {
    margin: 0;
    color: var(--dark-blue);
    font-size: 28px;
}

.version-info h3 {
    font-size: 24px;
}

.version-date {
    color: var(--text-gray);
    font-size: 16px;
}

.version-tag {
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
}

.version-tag.stable {
    background: #4caf50;
    color: white;
}

.version-tag.beta {
    background: #ff9800;
    color: white;
}

.version-tag.alpha {
    background: #9e9e9e;
    color: white;
}

/* 按钮样式 */
.btn-large {
    padding: 14px 30px;
    font-size: 18px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* 下载按钮组 */
.download-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.upgrade-tips {
    margin-top: 25px;
    padding: 20px;
    background: var(--light-blue);
    border-radius: 8px;
    border-left: 4px solid var(--primary-blue);
}

.upgrade-tips h4 {
    color: var(--dark-blue);
    margin-top: 0;
    margin-bottom: 15px;
}

.upgrade-tips ul {
    margin: 0;
    padding-left: 20px;
}

.upgrade-tips li {
    margin-bottom: 8px;
    line-height: 1.6;
}

/* 版本内容 */
.version-content h3,
.version-content h4 {
    color: var(--dark-blue);
    margin-top: 25px;
    margin-bottom: 15px;
}

.version-content h3 {
    font-size: 20px;
}

.version-content h4 {
    font-size: 18px;
}

.version-content ul {
    list-style: none;
    padding-left: 0;
}

.version-content li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    line-height: 1.6;
    color: var(--text-dark);
}

.version-content li::before {
    content: '•';
    position: absolute;
    left: 8px;
    color: var(--primary-blue);
    font-weight: bold;
}

/* 版本元信息 */
.version-meta {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid var(--light-gray);
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 14px;
    color: var(--text-gray);
}

/* 章节标题 */
.section-title {
    font-size: 32px;
    color: var(--dark-blue);
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--primary-blue);
}

/* 历史版本区域 */
.version-history {
    margin-bottom: 60px;
}

/* 升级说明区域 */
.upgrade-guide {
    margin-bottom: 60px;
}

.info-card,
.warning-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.info-card {
    border-left: 5px solid #2196f3;
}

.warning-card {
    border-left: 5px solid #ff9800;
}

.info-card h3,
.warning-card h3 {
    color: var(--dark-blue);
    margin-top: 0;
    margin-bottom: 20px;
}

.info-card h4,
.warning-card h4 {
    color: var(--primary-blue);
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 18px;
}

.info-card h4:first-of-type {
    margin-top: 20px;
}

.info-card p,
.warning-card p {
    margin-bottom: 15px;
    line-height: 1.8;
    color: var(--text-dark);
}

.info-card code {
    background: var(--light-gray);
    padding: 2px 8px;
    border-radius: 4px;
    font-family: 'Monaco', 'Courier New', monospace;
    font-size: 13px;
    color: var(--primary-blue);
}

.info-card ol,
.warning-card ul,
.info-card ul {
    margin: 10px 0 20px 0;
    padding-left: 25px;
}

.info-card li,
.warning-card li {
    margin-bottom: 10px;
    line-height: 1.8;
}

/* 技术支持区域 */
.support-section {
    margin-bottom: 40px;
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.support-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.support-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.support-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.support-card h3 {
    color: var(--dark-blue);
    margin-bottom: 10px;
    font-size: 22px;
}

.support-card p {
    color: var(--text-gray);
    margin-bottom: 20px;
}

.support-link {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.support-link:hover {
    color: var(--dark-blue);
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .support-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .versions-container {
        padding: 80px 15px 40px;
    }
    
    .versions-header h1 {
        font-size: 32px;
    }
    
    .versions-header p {
        font-size: 16px;
    }
    
    .version-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    .version-info {
        width: 100%;
    }
    
    .version-info h2,
    .version-info h3 {
        font-size: 24px;
    }
    
    .btn-large {
        width: 100%;
        justify-content: center;
    }
    
    .version-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .section-title {
        font-size: 26px;
    }
    
    .support-grid {
        grid-template-columns: 1fr;
    }
    
    .version-card {
        padding: 20px;
    }
    
    .info-card,
    .warning-card {
        padding: 20px;
    }
}

