/* 产品中心页面新增样式，与原有style.css无冲突 */

/* 分类筛选栏与定制按钮布局 */
.filter-bar-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin: 20px 0 30px;
}

.category-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    background: var(--white);
    border-radius: 50px;
    padding: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}

.filter-btn {
    padding: 8px 24px;
    border-radius: 40px;
    font-size: 14px;
    font-weight: 500;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-light);
}

.filter-btn:hover {
    color: var(--primary-color);
    background: rgba(30,136,229,0.08);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    box-shadow: 0 4px 12px rgba(30,136,229,0.3);
}

.custom-service-btn {
    background: linear-gradient(135deg, #f5f7fa, #ffffff);
    border: 1px solid var(--primary-color);
    border-radius: 40px;
    padding: 8px 24px;
    font-size: 14px;
    font-weight: 500;
    color: var(--primary-color);
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.custom-service-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30,136,229,0.2);
}

/* 产品分类区域 */
.products-category {
    margin-bottom: 50px;
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--gray-200);
}

.category-header h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-color);
    position: relative;
    padding-left: 16px;
}

.category-header h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 2px;
}

.category-count {
    font-size: 13px;
    color: var(--text-light);
}

.category-products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* 产品卡片增强（不覆盖原样式，仅补充） */
.product-card {
    background: var(--white);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border: 1px solid var(--gray-100);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(30,136,229,0.15);
    border-color: var(--primary-color);
}

.product-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 26px;
    color: var(--primary-color);
}

.product-card h3 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-color);
}

.product-card p {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.5;
    margin-bottom: 16px;
    flex: 1;
}

.product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.product-tag {
    font-size: 11px;
    padding: 4px 10px;
    background: var(--gray-100);
    border-radius: 20px;
    color: var(--text-light);
}

.product-link {
    font-size: 13px;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}

.product-link i {
    transition: transform 0.3s ease;
}

.product-card:hover .product-link i {
    transform: translateX(4px);
}

/* 个性化定制专区 */
.custom-section {
    background: linear-gradient(135deg, #1a237e 0%, #0d47a1 100%);
    border-radius: 28px;
    padding: 50px 48px;
    margin: 30px 0;
    position: relative;
    overflow: hidden;
}

.custom-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
}

.custom-content {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}

.custom-text {
    flex: 1;
    color: white;
}

.custom-text h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
}

.custom-text p {
    font-size: 16px;
    opacity: 0.85;
    line-height: 1.7;
    margin-bottom: 28px;
    max-width: 500px;
}

.custom-features {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 32px;
}

.custom-feature {
    display: flex;
    align-items: center;
    gap: 10px;
}

.custom-feature i {
    width: 32px;
    height: 32px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.custom-feature span {
    font-size: 14px;
    opacity: 0.9;
}

.custom-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: white;
    color: var(--primary-dark);
    padding: 12px 32px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.custom-btn:hover {
    transform: translateY(-2px);
    gap: 14px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.custom-stats {
    background: rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 24px 32px;
    backdrop-filter: blur(10px);
    text-align: center;
    min-width: 240px;
}

.custom-stats .stat-number {
    font-size: 36px;
    font-weight: 700;
    color: white;
}

.custom-stats .stat-label {
    font-size: 14px;
    opacity: 0.8;
}

.custom-stats hr {
    margin: 16px 0;
    border-color: rgba(255,255,255,0.2);
}

/* 检测流程区域 */
.process-section {
    background: var(--gray-50);
    border-radius: 24px;
    padding: 48px;
    margin: 40px 0;
    text-align: center;
}

.process-section h3 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 12px;
}

.process-section > p {
    color: var(--text-light);
    margin-bottom: 40px;
}

.process-steps-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.process-step-card {
    text-align: center;
}

.step-number {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    margin: 0 auto 16px;
}

.process-step-card h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 6px;
}

.process-step-card p {
    font-size: 12px;
    color: var(--text-light);
}

/* 常见问题 */
.faq-section {
    margin: 40px 0 60px;
}

.faq-section h3 {
    font-size: 28px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 40px;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.faq-item {
    background: var(--white);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
    border: 1px solid var(--gray-100);
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 6px 20px rgba(30,136,229,0.1);
}

.faq-question {
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: var(--text-color);
}

.faq-question i {
    color: var(--primary-color);
    font-size: 18px;
}

.faq-answer {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
    padding-left: 28px;
}

/* 响应式调整 */
@media (max-width: 1024px) {
    .category-products { grid-template-columns: repeat(3, 1fr); }
    .process-steps-grid { grid-template-columns: repeat(3, 1fr); gap: 30px; }
}
@media (max-width: 768px) {
    .filter-bar-wrapper { flex-direction: column; align-items: stretch; }
    .category-filter { justify-content: center; border-radius: 30px; }
    .filter-btn { padding: 6px 16px; font-size: 13px; }
    .custom-service-btn { justify-content: center; }
    .category-products { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .custom-section { padding: 40px 24px; }
    .custom-text h2 { font-size: 24px; }
    .custom-stats { width: 100%; }
    .process-steps-grid { grid-template-columns: repeat(2, 1fr); }
    .faq-grid { grid-template-columns: 1fr; }
    .process-section { padding: 32px 20px; }
}
@media (max-width: 480px) {
    .category-products { grid-template-columns: 1fr; }
    .custom-features { flex-direction: column; gap: 12px; }
}

