/* ===== 博客页面样式 ===== */
.blog-list, .blog-post {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.blog-card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-image {
    height: 200px;
    background-color: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-color);
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-content {
    padding: 25px;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 14px;
    color: var(--gray-color);
}

.blog-date, .blog-category {
    display: inline-block;
}

.blog-category {
    background-color: var(--primary-color);
    color: white;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.blog-card h2 {
    margin-bottom: 15px;
    font-size: 20px;
}

.blog-card h2 a {
    color: var(--dark-color);
    text-decoration: none;
    transition: var(--transition);
}

.blog-card h2 a:hover {
    color: var(--primary-color);
}

.blog-card p {
    color: var(--gray-color);
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.6;
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    transition: var(--transition);
}

.read-more:after {
    content: '→';
    margin-left: 5px;
    transition: var(--transition);
}

.read-more:hover:after {
    transform: translateX(3px);
}

/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 50px;
    gap: 10px;
}

.page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: white;
    color: var(--dark-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    box-shadow: var(--box-shadow);
}

.page-link.active, .page-link:hover {
    background-color: var(--primary-color);
    color: white;
}

.page-link.next {
    width: auto;
    padding: 0 20px;
    border-radius: 20px;
}

/* 博客文章页面 */
.post-header {
    margin-bottom: 40px;
    text-align: center;
}

.post-meta {
    margin-bottom: 15px;
}

.post-date, .post-category {
    display: inline-block;
    margin: 0 10px;
    color: var(--gray-color);
}

.post-category {
    background-color: var(--primary-color);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 14px;
}

.post-title {
    font-size: 36px;
    margin-bottom: 30px;
    line-height: 1.3;
}

.post-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    margin-bottom: 5px;
}

.author-info p {
    color: var(--gray-color);
    font-size: 14px;
}

.post-content {
    max-width: 1200px;
    margin: 0 auto;
    background-color: white;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.post-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--border-radius);
    margin-bottom: 30px;
}

.post-content h2 {
    margin: 30px 0 15px;
    color: var(--dark-color);
}

.post-content h3 {
    margin: 25px 0 12px;
    color: var(--dark-color);
}

.post-content p {
    margin-bottom: 20px;
    line-height: 1.7;
}

.post-content ul, .post-content ol {
    margin-bottom: 20px;
    padding-left: 20px;
}

.post-content li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.post-tags {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.tag {
    display: inline-block;
    background-color: var(--light-color);
    color: var(--gray-color);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 14px;
    margin-right: 10px;
    text-decoration: none;
    transition: var(--transition);
}

.tag:hover {
    background-color: var(--primary-color);
    color: white;
}

.post-footer {
    max-width: 1200px;
    margin: 40px auto 0;
}

.post-share {
    margin-bottom: 40px;
    text-align: center;
}

.post-share h4 {
    margin-bottom: 15px;
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.share-btn {
    display: inline-block;
    padding: 8px 20px;
    border-radius: var(--border-radius);
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.share-btn.twitter {
    background-color: #1da1f2;
}

.share-btn.linkedin {
    background-color: #0077b5;
}

.share-btn.wechat {
    background-color: #07c160;
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.author-bio {
    display: flex;
    gap: 20px;
    padding: 30px;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin-bottom: 40px;
}

.author-details h4 {
    margin-bottom: 10px;
}

.author-details p {
    color: var(--gray-color);
    line-height: 1.6;
}

.post-navigation {
    display: flex;
    justify-content: space-between;
}

.nav-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.nav-link:hover {
    text-decoration: underline;
}

/* 相关文章 */
.related-posts {
    padding: 60px 0;
    background-color: white;
}

.related-posts h2 {
    text-align: center;
    margin-bottom: 40px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.related-card {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.related-card:hover {
    transform: translateY(-5px);
}

.related-image {
    height: 180px;
    overflow: hidden;
}

.related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.related-card:hover .related-image img {
    transform: scale(1.05);
}

.related-content {
    padding: 20px;
}

.related-content h3 {
    margin-bottom: 10px;
    font-size: 18px;
}

.related-content h3 a {
    color: var(--dark-color);
    text-decoration: none;
    transition: var(--transition);
}

.related-content h3 a:hover {
    color: var(--primary-color);
}

.related-content p {
    color: var(--gray-color);
    font-size: 14px;
    line-height: 1.5;
}

/* ===== 下载页面样式 ===== */
.download-section {
    padding: 60px 0;
    background-color: #f0f4f8;
}

.download-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.download-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.download-card:hover {
    transform: translateY(-5px);
}

.platform-icon {
    font-size: 50px;
    margin-bottom: 20px;
}

.windows { color: #0078d7; }
.mac { color: #999; }
.android { color: #3ddc84; }
.ios { color: #000; }

.download-card h3 {
    margin-bottom: 15px;
}

.version-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 14px;
    color: var(--gray-color);
}

.platform-details {
    list-style: none;
    margin-bottom: 25px;
    text-align: left;
}

.platform-details li {
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
    padding-left: 20px;
}

.platform-details li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.platform-details li:last-child {
    border-bottom: none;
}

.download-link {
    display: block;
    background-color: var(--primary-color);
    color: white;
    padding: 12px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    margin-bottom: 10px;
}

.download-link.alt {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.download-link:hover {
    background-color: #0d5bb7;
}

.download-link.alt:hover {
    background-color: rgba(26, 115, 232, 0.1);
}

.checksum {
    margin-top: 15px;
    font-size: 12px;
    color: var(--gray-color);
}

/* 版本历史 */
.version-history {
    padding: 60px 0;
    background-color: white;
}

.version-timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.version-timeline:before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: #e0e0e0;
}

.version-item {
    display: flex;
    margin-bottom: 40px;
    position: relative;
}

.version-date {
    width: 120px;
    padding-right: 20px;
    text-align: right;
    font-weight: 500;
    color: var(--primary-color);
}

.version-content {
    flex: 1;
    padding-left: 30px;
}

.version-content h3 {
    margin-bottom: 10px;
    color: var(--dark-color);
}

.version-content ul {
    list-style: none;
    padding-left: 0;
}

.version-content li {
    padding: 5px 0;
    position: relative;
    padding-left: 20px;
}

.version-content li:before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.version-item:before {
    content: '';
    position: absolute;
    left: 120px;
    top: 5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--primary-color);
    border: 2px solid white;
    box-shadow: 0 0 0 2px var(--primary-color);
}

/* 安装指南 */
.installation-guide {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.guide-tabs {
    max-width: 900px;
    margin: 0 auto;
}

.tab-buttons {
    display: flex;
    margin-bottom: 30px;
    border-bottom: 1px solid #e0e0e0;
}

.tab-button {
    background: none;
    border: none;
    padding: 12px 25px;
    font-size: 16px;
    font-weight: 500;
    color: var(--gray-color);
    cursor: pointer;
    transition: var(--transition);
    border-bottom: 2px solid transparent;
}

.tab-button.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.tab-button:hover {
    color: var(--primary-color);
}

.tab-content {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.tab-pane h3 {
    margin-bottom: 20px;
    color: var(--dark-color);
}

.tab-pane ol {
    margin-bottom: 30px;
    padding-left: 20px;
}

.tab-pane li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.troubleshooting {
    background-color: #fff9e6;
    padding: 20px;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--accent-color);
}

.troubleshooting h4 {
    margin-bottom: 10px;
    color: var(--dark-color);
}

.troubleshooting ul {
    list-style: none;
    padding-left: 0;
}

.troubleshooting li {
    padding: 5px 0;
    position: relative;
    padding-left: 20px;
}

.troubleshooting li:before {
    content: '⚠';
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

/* ===== 企业版页面样式 ===== */
.enterprise-features {
    padding: 60px 0;
    background-color: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--box-shadow);
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 15px;
    font-size: 20px;
}

.feature-details {
    list-style: none;
    margin-top: 20px;
    text-align: left;
}

.feature-details li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    padding-left: 20px;
}

.feature-details li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.feature-details li:last-child {
    border-bottom: none;
}

/* 定价部分 */
.pricing-section {
    padding: 60px 0;
    background-color: #f0f4f8;
}

.pricing-table {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.pricing-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border: 2px solid transparent;
}

.pricing-card.featured {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.pricing-card:hover {
    transform: translateY(-5px);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.pricing-header {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.pricing-name {
    font-size: 24px;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.pricing-price {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.pricing-period {
    color: var(--gray-color);
}

.pricing-features {
    list-style: none;
    margin-bottom: 30px;
    text-align: left;
}

.pricing-features li {
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.pricing-features li:last-child {
    border-bottom: none;
}

/* 客户案例 */
.case-studies {
    padding: 60px 0;
    background-color: white;
}

.case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.case-card {
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.case-card:hover {
    transform: translateY(-5px);
}

.case-logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 20px;
    margin-bottom: 20px;
}

.case-card h3 {
    margin-bottom: 15px;
    color: var(--dark-color);
}

.case-card p {
    color: var(--gray-color);
    margin-bottom: 20px;
    line-height: 1.6;
}

.case-result h4 {
    margin-bottom: 10px;
    color: var(--dark-color);
}

.case-result ul {
    list-style: none;
    padding-left: 0;
}

.case-result li {
    padding: 5px 0;
    position: relative;
    padding-left: 20px;
}

.case-result li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* 联系我们 */
.contact-enterprise {
    padding: 80px 0;
    background: linear-gradient(135deg, #1a73e8 0%, #6c8ef5 100%);
    color: white;
    text-align: center;
}

.contact-content h2 {
    margin-bottom: 15px;
    font-size: 36px;
}

.contact-content p {
    margin-bottom: 30px;
    font-size: 18px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== 功能页面样式 ===== */
.core-features {
    padding: 60px 0;
    background-color: white;
}

/* 技术规格 */
.tech-specs {
    padding: 60px 0;
    background-color: #f0f4f8;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.spec-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.spec-card:hover {
    transform: translateY(-5px);
}

.spec-card h3 {
    margin-bottom: 15px;
    color: var(--dark-color);
}

.spec-card p {
    color: var(--gray-color);
    margin-bottom: 20px;
    line-height: 1.6;
}

.spec-details {
    margin-top: 20px;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.spec-item:last-child {
    border-bottom: none;
}

.spec-label {
    font-weight: 500;
}

.spec-value {
    color: var(--gray-color);
}

/* 功能对比 */
.feature-comparison {
    padding: 60px 0;
    background-color: white;
}

.comparison-table {
    overflow-x: auto;
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
    box-shadow: var(--box-shadow);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.comparison-table th,
.comparison-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #f0f0f0;
}

.comparison-table th {
    background-color: var(--primary-color);
    color: white;
    font-weight: 600;
}

.comparison-table tr:nth-child(even) {
    background-color: #f8f9fa;
}

.comparison-table tr:hover {
    background-color: #f0f4f8;
}

.comparison-table td:first-child {
    font-weight: 500;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .download-cards {
        grid-template-columns: 1fr;
    }
    
    .pricing-table {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-5px);
    }
    
    .features-grid, .specs-grid, .case-grid {
        grid-template-columns: 1fr;
    }
    
    .tab-buttons {
        flex-wrap: wrap;
    }
    
    .tab-button {
        flex: 1;
        min-width: 120px;
    }
    
    .version-timeline:before {
        left: 15px;
    }
    
    .version-date {
        width: 80px;
        padding-right: 10px;
        font-size: 14px;
    }
    
    .version-content {
        padding-left: 20px;
    }
    
    .version-item:before {
        left: 80px;
    }
    
    .author-bio {
        flex-direction: column;
        text-align: center;
    }
    
    .post-navigation {
        flex-direction: column;
        gap: 15px;
    }
    
    .comparison-table {
        font-size: 14px;
    }
}