/* 下载页面样式 */

/* 面包屑导航 */
.breadcrumb-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 20px 0;
    margin-bottom: 30px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    color: #fff;
    font-size: 14px;
}

.breadcrumb a {
    color: #fff;
    text-decoration: none;
    transition: opacity 0.3s;
}

.breadcrumb a:hover {
    opacity: 0.8;
}

.breadcrumb-separator {
    margin: 0 10px;
    opacity: 0.6;
}

.breadcrumb-current {
    opacity: 0.9;
}

/* 主要布局 */
.main-content {
    padding: 30px 0 60px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.download-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 30px;
}

/* 软件头部 */
.download-main {
    background: #fff;
}

.software-header {
    display: flex;
    gap: 25px;
    padding: 30px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.software-icon {
    flex-shrink: 0;
}

.software-icon img {
    width: 120px;
    height: 120px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    object-fit: cover;
}

.software-info {
    flex: 1;
}

.software-title {
    font-size: 28px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 15px 0;
}

.software-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 14px;
    color: #555;
}

.software-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.software-meta i {
    color: #667eea;
}

.software-description {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* 下载按钮区 */
.download-actions {
    padding: 30px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    margin-bottom: 30px;
    text-align: center;
}

.btn-download-primary,
.btn-download-backup {
    padding: 15px 40px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    margin: 0 10px 15px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.btn-download-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-download-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

.btn-download-backup {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(245, 87, 108, 0.4);
}

.btn-download-backup:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 87, 108, 0.5);
}

.download-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    font-size: 14px;
    color: #666;
}

.download-stats span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.download-stats i {
    color: #667eea;
}

.download-stats strong {
    color: #333;
    font-weight: 600;
}

/* 软件详情 */
.software-detail,
.software-features,
.system-requirements {
    padding: 30px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    margin-bottom: 30px;
}

.section-title {
    font-size: 20px;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 20px 0;
    padding-bottom: 15px;
    border-bottom: 2px solid #667eea;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title i {
    color: #667eea;
}

.detail-content {
    color: #555;
    line-height: 1.8;
}

/* 功能特性 */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.feature-item {
    padding: 20px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 8px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.feature-icon i {
    font-size: 24px;
    color: #fff;
}

.feature-title {
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 10px 0;
}

.feature-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* 系统要求表格 */
.requirements-table {
    overflow-x: auto;
}

.requirements-table table {
    width: 100%;
    border-collapse: collapse;
}

.requirements-table th,
.requirements-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.requirements-table th {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    font-weight: 600;
}

.requirements-table tr:hover {
    background: #f8f9fa;
}

/* 侧边栏 */
.download-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar-card {
    padding: 25px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.sidebar-title {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 20px 0;
    padding-bottom: 12px;
    border-bottom: 2px solid #667eea;
}

/* 信息列表 */
.info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-list li {
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.info-list li:last-child {
    border-bottom: none;
}

.info-label {
    color: #666;
    font-size: 14px;
}

.info-value {
    color: #333;
    font-weight: 500;
    font-size: 14px;
    text-align: right;
}

.info-value.small {
    font-size: 12px;
    word-break: break-all;
}

/* 安装步骤 */
.install-steps {
    padding-left: 20px;
    margin: 0;
}

.install-steps li {
    padding: 8px 0;
    color: #555;
    line-height: 1.6;
}

/* 相关链接 */
.related-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.related-links li {
    margin-bottom: 10px;
}

.related-links a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 8px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s;
}

.related-links a:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    transform: translateX(5px);
}

.related-links i {
    font-size: 16px;
}

/* 警告提示 */
.alert {
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

.alert-warning {
    background: #fff3cd;
    border: 1px solid #ffc107;
    color: #856404;
}

.text-center {
    text-align: center;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .download-layout {
        grid-template-columns: 1fr;
    }
    
    .download-sidebar {
        order: -1;
    }
    
    .software-header {
        flex-direction: column;
        text-align: center;
    }
    
    .software-icon {
        margin: 0 auto;
    }
    
    .software-meta {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .software-title {
        font-size: 22px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .btn-download-primary,
    .btn-download-backup {
        display: flex;
        width: 100%;
        justify-content: center;
        margin: 0 0 10px 0;
    }
    
    .download-stats {
        flex-direction: column;
        gap: 10px;
    }
}

/* 软件截图 */
.software-screenshots {
    padding: 30px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    margin-bottom: 30px;
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.screenshot-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.screenshot-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.screenshot-item a {
    display: block;
    position: relative;
    padding-bottom: 75%; /* 4:3 比例 */
    overflow: hidden;
}

.screenshot-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.screenshot-item:hover img {
    transform: scale(1.05);
}

/* 响应式 - 截图 */
@media (max-width: 768px) {
    .screenshots-grid {
        grid-template-columns: 1fr;
    }
}


/* 中间主要内容区的安装说明 */
.software-install {
    background: #fff;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.install-steps-main {
    list-style: none;
    counter-reset: step-counter;
    padding: 0;
    margin: 20px 0 0 0;
}

.install-steps-main li {
    counter-increment: step-counter;
    position: relative;
    padding: 15px 15px 15px 50px;
    margin-bottom: 15px;
    background: #f8f9fa;
    border-radius: 6px;
    border-left: 3px solid #007bff;
    transition: all 0.3s ease;
}

.install-steps-main li:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.install-steps-main li::before {
    content: counter(step-counter);
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    background: #007bff;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
}

/* 右侧边栏的功能特性列表样式 */
.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-item-sidebar {
    display: flex;
    align-items: flex-start;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.feature-item-sidebar:last-child {
    border-bottom: none;
}

.feature-item-sidebar i {
    font-size: 18px;
    color: #007bff;
    margin-right: 12px;
    margin-top: 2px;
    flex-shrink: 0;
}

.feature-content {
    flex: 1;
}

.feature-content strong {
    display: block;
    color: #333;
    font-size: 14px;
    margin-bottom: 4px;
}

.feature-content p {
    margin: 0;
    font-size: 13px;
    color: #666;
    line-height: 1.5;
}
