/* ===== 通用页面样式 ===== */
.page-header {
    background: linear-gradient(135deg, #ffffff 0%, #f9fafb 50%, #f3f4f6 100%);
    background-size: cover;
    background-position: center;
    color: var(--text-primary);
    padding: 80px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border-light);
}

/* 页面头部背景图 */
.page-header.has-bg-image {
    background-image: url('../images/page-header-bg.jpg');
    background-size: cover;
    background-position: center;
}

/* 精准圈客服务页面特殊背景 */
.page-header.precision-customers-bg {
    background: linear-gradient(135deg, #F7F6EB 0%, #D8D49D 100%);
}

.page-header.precision-customers-bg h1,
.page-header.precision-customers-bg p {
    color: #303133;
    text-shadow: none;
}

.page-header.precision-customers-bg h1 {
    background: none;
    -webkit-text-fill-color: #303133;
}

/* 装饰性背景元素 */
.page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(114, 112, 83, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -5%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(114, 112, 83, 0.04) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.page-header h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 16px;
    position: relative;
    color: #4D490C;
}

.page-header p {
    font-size: 18px;
    color: #303133;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

/* 在page-header内的consult-btn统一使用首页样式 */
.page-header .consult-btn {
    background: #303133 !important;
    color: white !important;
    border: 2px solid #303133 !important;
    box-shadow: 0 4px 12px rgba(48, 49, 51, 0.2) !important;
}

.page-header .consult-btn:hover {
    background: #4a4a4a !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(48, 49, 51, 0.3) !important;
}

.page-breadcrumb {
    padding: 16px 0;
    background-color: var(--bg-light);
    border-bottom: 1px solid var(--border-color);
}

.breadcrumb {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: var(--text-secondary);
}

.breadcrumb a {
    color: var(--text-secondary);
    transition: var(--transition);
}

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

.breadcrumb span {
    margin: 0 8px;
    color: var(--text-muted);
}

.breadcrumb .current {
    color: var(--brand-color);
    font-weight: 600;
}

/* 内容区域 */
.page-content {
    padding: 60px 0;
}

.content-section {
    margin-bottom: 48px;
}

.content-section h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
    padding-bottom: 20px;
    position: relative;
}

.section-desc {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.content-section h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 16px;
    margin-top: 32px;
    color: var(--text-primary);
}

.content-section p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.content-section ul,
.content-section ol {
    margin-left: 24px;
    margin-bottom: 20px;
}

.content-section li {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

/* 特性卡片 */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin: 32px 0;
}

.feature-item {
    background-color: var(--bg-white);
    padding: 32px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-brand);
    opacity: 0;
    transition: var(--transition);
}

.feature-item:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
    border-color: var(--brand-light);
}

.feature-item:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: var(--gradient-dark);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 16px;
    transition: var(--transition);
}

.feature-item:hover .feature-icon {
    background: var(--primary-color);
    transform: scale(1.05);
}

.feature-item h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    margin-top: 0;
    color: var(--text-primary);
}

.feature-item p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* 列表页面 */
.list-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.list-card {
    background-color: var(--bg-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.list-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
    border-color: var(--brand-light);
}

.list-card-image {
    width: 100%;
    height: 200px;
    background: var(--gradient-brand);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    position: relative;
}

.list-card-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-brand);
}

.list-card-content {
    padding: 24px;
}

.list-card-content h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.list-card-content p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.list-card-link {
    display: inline-block;
    color: var(--brand-color);
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
}

.list-card-link:hover {
    color: var(--brand-dark);
}

/* 新闻列表 */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.news-item {
    display: flex;
    gap: 20px;
    padding: 24px;
    background-color: var(--bg-white);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.news-item:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--brand-light);
}

.news-date {
    flex-shrink: 0;
    width: 80px;
    text-align: center;
    padding: 12px;
    background: var(--gradient-dark);
    border-radius: 12px;
    color: white;
}

.news-date .day {
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
}

.news-date .month {
    font-size: 12px;
    margin-top: 4px;
    opacity: 0.9;
}

.news-content {
    flex: 1;
}

.news-content h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.news-content h3 a {
    color: var(--text-primary);
    transition: var(--transition);
}

.news-content h3 a:hover {
    color: var(--brand-color);
}

.news-content p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.news-meta {
    display: flex;
    gap: 16px;
    font-size: 13px;
    color: var(--text-muted);
}

/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 48px;
}

.pagination-item {
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 14px;
    color: var(--text-secondary);
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.pagination-item:hover {
    color: var(--brand-color);
    border-color: var(--brand-color);
}

.pagination-item.active {
    background: var(--gradient-brand);
    color: white;
    border-color: transparent;
}

.pagination-item.disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* 响应式 */
@media (max-width: 1024px) {
    .features-grid,
    .list-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 50px 0 40px;
    }

    .page-header h1 {
        font-size: 32px;
    }

    .page-header p {
        font-size: 16px;
    }

    .page-content {
        padding: 40px 0;
    }

    .content-section h2 {
        font-size: 24px;
    }

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

    .features-grid,
    .list-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .news-item {
        flex-direction: column;
    }

    .news-date {
        width: auto;
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 8px 16px;
    }

    .news-date .day {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .page-header h1 {
        font-size: 26px;
    }

    .page-breadcrumb {
        padding: 12px 0;
    }

    .breadcrumb {
        font-size: 13px;
    }

    .feature-item,
    .list-card-content {
        padding: 20px;
    }
}
