@charset "UTF-8";

:root {
    --primary-color: #2c5aa0;
    --primary-dark: #1e3d72;
    --secondary-color: #6c757d;
    --accent-color: #e74c3c;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --success-color: #28a745;
    --info-color: #17a2b8;
    --warning-color: #ffc107;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans SC', sans-serif;
    color: #333;
    line-height: 1.7;
    background-color: #fff;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

/* 导航栏样式 */
.navbar {
    padding: 0.75rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    background-color: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(10px);
}

.navbar-brand {
    font-weight: 900;
    font-size: 1.8rem;
    color: var(--primary-color) !important;
    display: flex;
    align-items: center;
}

.navbar-brand i {
    margin-right: 10px;
    font-size: 1.5rem;
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    border-radius: 4px;
    transition: all 0.3s ease;
    color: var(--dark-color) !important;
}

.nav-link:hover, .nav-link.active {
    background-color: rgba(44, 90, 160, 0.1);
    color: var(--primary-color) !important;
}

/* 页面标题区域 */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 2.5rem 0;
    margin-bottom: 2rem;
}

.page-title {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
}

.page-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.meta-item {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    opacity: 0.9;
}

.meta-item i {
    margin-right: 0.5rem;
}

.breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 1rem;
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
}

.breadcrumb-item.active {
    color: white;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5);
}

/* 主要内容区域 */
.main-content {
    padding: 0 0 3rem;
}

/* 内容区域样式 */
.content-area {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 2rem;
    margin-bottom: 2rem;
}

/* 软件基本信息 */
.software-basic {
    display: flex;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #eee;
}

.software-logo {
    width: 120px;
    height: 120px;
    border-radius: 12px;
    overflow: hidden;
    margin-right: 2rem;
    flex-shrink: 0;
    background: var(--light-color);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.software-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.software-logo .placeholder {
    font-size: 3rem;
    color: var(--primary-color);
}

.software-info {
    flex: 1;
}

.software-rating {
    color: #ffc107;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.software-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.software-tag {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: var(--light-color);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--secondary-color);
}

.software-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.btn-primary {
    background: var(--primary-color);
    border-color: var(--primary-color);
    padding: 0.6rem 1.5rem;
    font-weight: 500;
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-outline {
    border: 1px solid #dee2e6;
    color: var(--secondary-color);
    padding: 0.6rem 1.5rem;
    font-weight: 500;
}

.btn-outline:hover {
    background: var(--light-color);
    color: var(--dark-color);
}

/* 内容标签页 */
.content-tabs {
    margin-bottom: 2rem;
}

.nav-tabs {
    border-bottom: 2px solid #dee2e6;
}

.nav-tabs .nav-link {
    border: none;
    border-bottom: 3px solid transparent;
    padding: 0.75rem 1.5rem;
    color: var(--secondary-color);
    font-weight: 500;
}

.nav-tabs .nav-link.active {
    color: var(--primary-color);
    border-bottom: 3px solid var(--primary-color);
    background: transparent;
}

.tab-content {
    padding: 1.5rem 0;
}

/* 内容区块样式 */
.content-section {
    margin-bottom: 2rem;
}

.content-section h2 {
    font-size: 1.6rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--light-color);
}

.content-section h3 {
    font-size: 1.3rem;
    color: var(--dark-color);
    margin: 1.5rem 0 1rem;
}

.content-section p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.content-section ul, .content-section ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.content-section li {
    margin-bottom: 0.5rem;
}

/* 特性表格 */
.feature-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
}

.feature-table th, .feature-table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.feature-table th {
    background: var(--light-color);
    font-weight: 600;
    color: var(--dark-color);
}

.feature-table tr:hover {
    background: #f9f9f9;
}

/* 图片展示 */
.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.gallery-item {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

/* 评测总结 */
.review-summary {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 8px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.summary-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.summary-rating {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-right: 1rem;
}

.summary-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0;
}

.pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.pros-list, .cons-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pros-list li, .cons-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.pros-list li:before {
    content: "✓";
    color: var(--success-color);
    font-weight: bold;
    margin-right: 0.5rem;
}

.cons-list li:before {
    content: "✗";
    color: var(--accent-color);
    font-weight: bold;
    margin-right: 0.5rem;
}

/* 侧边栏样式 */
.sidebar-widget {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.widget-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    padding-bottom: 0.75rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--light-color);
    position: relative;
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-color);
}

/* 软件信息卡片 */
.info-card {
    background: var(--light-color);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.info-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.info-item:last-child {
    border-bottom: none;
}

.info-label {
    font-weight: 600;
    color: var(--dark-color);
}

.info-value {
    color: var(--secondary-color);
}

/* 相关软件 */
.related-software {
    display: grid;
    gap: 1rem;
}

.related-item {
    display: flex;
    align-items: center;
    padding: 0.75rem;
    background: var(--light-color);
    border-radius: 6px;
    transition: all 0.3s ease;
}

.related-item:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.related-logo {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    overflow: hidden;
    margin-right: 1rem;
    flex-shrink: 0;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.related-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-logo .placeholder {
    font-size: 1.2rem;
    color: var(--primary-color);
}

.related-info {
    flex: 1;
}

.related-title {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--dark-color);
}

.related-rating {
    color: #ffc107;
    font-size: 0.8rem;
}

/* 页脚样式 */
footer {
    background: var(--dark-color);
    color: white;
    padding: 3rem 0 1.5rem;
    margin-top: 3rem;
}

.footer-widget {
    margin-bottom: 2rem;
}

.footer-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-color);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

/* 响应式调整 */
@media (max-width: 992px) {
    .software-basic {
        flex-direction: column;
        text-align: center;
    }
    
    .software-logo {
        margin-right: 0;
        margin-bottom: 1.5rem;
        align-self: center;
    }
    
    .pros-cons {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .page-title {
        font-size: 1.8rem;
    }
    
    .page-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .software-actions {
        justify-content: center;
    }
    
    .nav-tabs .nav-link {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .image-gallery {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
}

@media (max-width: 576px) {
    .content-area {
        padding: 1.5rem;
    }
    
    .software-logo {
        width: 100px;
        height: 100px;
    }
    
    .software-logo .placeholder {
        font-size: 2.5rem;
    }
    
    .btn-primary, .btn-outline {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}