/* 详情页面样式 */
.detail-section {
    padding: 120px 20px 80px;
    min-height: 100vh;
    background: var(--bg-light);
}

.detail-content {
    margin: 0 auto;
}

/* 面包屑导航 */
.detail-breadcrumb {
    padding: 1rem 0;
    margin-bottom: 2rem;
    color: var(--text-light);
    border-bottom: 1px solid #e5e7eb;
}

.detail-breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s;
}

.detail-breadcrumb a:hover {
    color: var(--secondary-color);
}

.detail-breadcrumb span {
    color: var(--text-light);
}

/* 详情文章 */
.detail-article {
    background: var(--white);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.detail-header {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--primary-color);
}

.detail-title {
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    color: var(--text-light);
    font-size: 0.95rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.meta-icon {
    font-size: 1.1rem;
}

/* 案例缩略图 */
.case-thumbnail {
    font-size: 4rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

/* 案例标签 */
.case-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.case-tag {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* 详情内容 */
.detail-body {
    line-height: 1.8;
    color: var(--text-color);
}

.detail-body h2,
.detail-body h3 {
    color: var(--text-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.detail-body h2 {
    font-size: 2rem;
    color: var(--primary-color);
}

.detail-body h3 {
    font-size: 1.5rem;
}

.detail-body p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.detail-body ul {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.detail-body li {
    margin-bottom: 0.75rem;
    color: var(--text-light);
    line-height: 1.7;
}

.detail-body strong {
    color: var(--text-color);
    font-weight: 600;
}

/* 客户签名 */
.client-signature {
    font-style: italic;
    color: var(--primary-color);
    text-align: right;
    margin-top: 2rem;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

/* 错误信息 */
.error-message {
    text-align: center;
    padding: 3rem;
    color: var(--text-light);
}

.error-message h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

/* 导航按钮 */
.detail-nav {
    margin-top: 2rem;
    text-align: center;
}

.btn-secondary {
    display: inline-block;
    padding: 12px 32px;
    background: var(--bg-light);
    color: var(--text-color);
    border: 2px solid var(--primary-color);
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .detail-section {
        padding: 100px 20px 60px;
    }

    .detail-article {
        padding: 2rem;
    }

    .detail-title {
        font-size: 2rem;
    }

    .detail-meta {
        gap: 1rem;
    }

    .detail-body h2 {
        font-size: 1.5rem;
    }

    .detail-body h3 {
        font-size: 1.3rem;
    }

    .case-thumbnail {
        font-size: 3rem;
    }
}

@media (max-width: 480px) {
    .detail-article {
        padding: 1.5rem;
    }

    .detail-title {
        font-size: 1.5rem;
    }

    .detail-meta {
        flex-direction: column;
        gap: 0.5rem;
    }

    .detail-body h2 {
        font-size: 1.3rem;
    }

    .detail-body h3 {
        font-size: 1.1rem;
    }
}

/* 深色模式支持 */
@media (prefers-color-scheme: dark) {
    :root {
        --text-color: #f3f4f6;
        --text-light: #d1d5db;
        --bg-light: #374151;
        --white: #1f2937;
    }
}